@import url("/js/vendor/av-maps/0.1.0/av-maps.css");

.region-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.region-bar button {
  display: grid;
  grid-template-columns: auto 14px;
  gap: 3px 8px;
  text-align: left;
  background: none;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: 5px 8px;
  max-width: 230px;
  min-width: 88px;
}
.region-bar button:hover {
  background: var(--sage);
}
.region-bar button > span {
  grid-column: 1 / -1;
  font-size: 9px;
  color: var(--muted);
}
.region-bar strong {
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.region-bar i {
  font-style: normal;
}
footer {
  flex-wrap: wrap;
}
footer .region-bar {
  width: 100%;
  display: flex;
  border-bottom: 0;
  border-top: 1px solid var(--line);
  justify-content: flex-start;
  margin-top: 4px;
}
.region-dialog {
  max-width: 760px;
  padding: 24px;
}
.region-dialog h2 {
  margin: 12px 0;
}
.region-dialog p {
  font-size: 13px;
}
.region-dialog .field {
  margin: 10px 0;
}
.region-dialog .actions {
  position: sticky;
  bottom: -24px;
  background: var(--white);
  padding: 12px 0;
  margin-top: 14px;
}
.gift-search .radius-field::before {
  content: none;
}
.region-dialog .grid2 > * {
  min-width: 0;
}
.region-dialog select {
  max-width: 100%;
}
.region-footnote {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.searchbar.gift-search .radius-field {
  flex: 0 0 130px;
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.searchbar.gift-search .radius-field select {
  width: 100%;
  margin-top: 3px;
  color: var(--ink);
}
.search-context {
  color: var(--muted);
  font-size: 11px;
  margin: -9px 0 22px;
}
.gift-search + .search-context + .home-oracle {
  margin-top: -8px;
}
.admin-main > .region-bar {
  margin: -15px 0 24px;
}
@media (max-width: 700px) {
  .region-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
    padding: 8px 0;
  }
  .region-bar button {
    width: 100%;
    max-width: none;
  }
  footer .region-bar {
    display: grid;
  }
  .searchbar.gift-search > label:first-child {
    flex: 1 0 100%;
  }
  .searchbar.gift-search .radius-field {
    flex: 1 1 120px;
  }
  .searchbar.gift-search > button {
    align-self: flex-end;
  }
  .region-dialog .grid2 {
    gap: 0;
  }
}

:root {
  --bg: #f6f4ec;
  --ink: #213e35;
  --muted: #70796f;
  --accent: #ec7153;
  --line: #dadfd3;
  --white: #fffef9;
  --sage: #e3e9dc;
  --radius: 22px;
  --shadow: 0 16px 50px #213e350b;
  font-family: Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
.gifts-map.av-map {
  background: #e9ede5;
  background-image:
    linear-gradient(#bdcaba55 1px, transparent 1px),
    linear-gradient(90deg, #bdcaba55 1px, transparent 1px);
  background-size: 64px 64px;
  touch-action: none;
  font-family: inherit;
}
.gifts-map .map-label,
.gifts-map .map-note {
  z-index: 101;
  pointer-events: none;
}
.gifts-map.av-map .map-note {
  bottom: 40px;
}
.gifts-map .av-marker.pin {
  rotate: none;
  width: 39px;
  height: 43px;
  min-width: 39px;
  min-height: 43px;
  border-radius: 50% 50% 50% 8%;
  background: var(--ink);
  color: white;
  border: 3px solid white;
  font-size: 18px;
}
.gifts-map .av-marker.pin.active {
  background: var(--accent);
}
.gifts-map .av-marker.pin span {
  transform: none;
}
.gifts-map .av-zoom button {
  color: var(--ink);
  background: var(--white);
}
.gifts-map .av-attribution {
  color: var(--ink);
  font-size: 10px;
}
.gifts-map .av-scale {
  border-color: var(--ink);
  font-size: 10px;
}
.live-map {
  background: #e9ede5;
  touch-action: pan-y;
}
.geo-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#bdcaba55 1px, transparent 1px),
    linear-gradient(90deg, #bdcaba55 1px, transparent 1px);
  background-size: 64px 64px;
}
.geo-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
}
.geo-credit {
  position: absolute;
  bottom: 0;
  right: 8px;
  background: #fffef9ee;
  font-size: 9px;
  padding: 4px;
  max-width: 90%;
}
.live-map .map-note {
  bottom: 20px;
  max-width: calc(100% - 30px);
}
.live-map .map-label {
  max-width: calc(100% - 80px);
  line-height: 1.4;
}
.searchbar select {
  width: auto;
  max-width: 230px;
  margin: 7px 0 0;
}
.home-oracle {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #a64b35;
  margin: -8px 0 16px;
}
.geo-filter {
  padding: 0 0 16px;
  border: 0;
  font-size: 12px;
}
.geo-filter > .field {
  max-width: 250px;
}
.geo-filter[open] {
  margin-bottom: 15px;
}
.photo-placeholder {
  display: grid;
  place-items: center;
  background: var(--sage);
  border-radius: 12px;
  font-size: 36px;
}
.news-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}
.news-body {
  white-space: pre-wrap;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.news-summary {
  font-size: 20px;
}
.cover-preview {
  max-width: 100%;
  max-height: 180px;
  border-radius: 12px;
}
.brand-mark {
  font-size: 70px;
  color: var(--accent);
}
.admin-side .staff-logout {
  color: #fffef9;
}
.panel,
.store-card > div,
.header-intro {
  overflow-wrap: anywhere;
  min-width: 0;
}
dialog {
  max-height: 90vh;
  overflow-y: auto;
}
@media (max-width: 1250px) {
  .home-header {
    flex-wrap: wrap;
  }
  .home-header nav {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 700px) {
  .searchbar {
    flex-wrap: wrap;
  }
  .searchbar label {
    flex-basis: 100%;
  }
  .searchbar select {
    flex: 1;
    max-width: none;
    min-width: 0;
  }
  .home-header nav {
    justify-content: space-between;
    gap: 10px;
  }
  header nav {
    gap: 12px;
  }
  .map-label {
    font-size: 9px;
  }
  .admin-side .actions {
    margin-top: 12px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #d55535;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -80px;
}
.skip:focus {
  top: 8px;
  z-index: 99;
  background: white;
  padding: 15px;
}
.shell {
  max-width: 1440px;
  margin: auto;
  padding: 0 48px;
}
header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 28px;
}
.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.1px;
}
.brand b {
  color: var(--accent);
  font-size: 31px;
  margin-right: 7px;
}
.home-header {
  min-height: 110px;
  height: auto;
  padding: 16px 0;
  gap: 24px;
}
.home-header .brand,
.home-header nav {
  flex-shrink: 0;
}
.header-intro {
  flex: 1;
  max-width: 390px;
}
.header-intro .eyebrow {
  font-size: 8px;
  letter-spacing: 1.2px;
}
.header-intro h1 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 5px 0;
}
.header-intro p {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}
.home-header + main {
  padding-top: 24px;
}
.home-header + main .mobile-oracle {
  display: block;
  text-align: right;
  color: #a64b35;
  font-size: 12px;
  margin: -9px 0 18px;
}
@media (max-width: 1150px) {
  .home-header {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .home-header .header-intro {
    max-width: none;
  }
  .home-header nav {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 700px) {
  .home-header .brand {
    font-size: 18px;
  }
  .home-header .brand b {
    font-size: 24px;
    margin-right: 4px;
  }
  .home-header .header-intro {
    min-width: 0;
  }
  .header-intro .eyebrow {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .header-intro h1 {
    font-size: 21px;
  }
  .header-intro p {
    font-size: 9px;
  }
  .home-header nav {
    justify-content: space-between;
  }
  .home-header + main {
    padding-top: 16px;
  }
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
nav .login {
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 11px 23px;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 40px 0 25px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -3px;
  margin: 12px 0 15px;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
p {
  line-height: 1.6;
}
.hero p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.universe {
  max-width: 242px;
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 28px;
  font-size: 14px;
  line-height: 1.5;
}
.universe span {
  display: block;
  font-size: 31px;
  color: var(--accent);
  margin-bottom: 10px;
}
.universe strong {
  display: block;
  margin-bottom: 6px;
}
.searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3px 0 23px;
}
.searchbar label {
  flex: 1;
  position: relative;
}
.searchbar input {
  width: 100%;
  padding-left: 45px;
  background: var(--white);
}
.searchbar label:before {
  content: "⌕";
  position: absolute;
  left: 18px;
  top: 8px;
  font-size: 28px;
}
.searchbar small {
  color: var(--muted);
  max-width: 230px;
  font-size: 11px;
}
.btn,
button.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: white;
  padding: 14px 23px;
  border-radius: 12px;
  font-weight: 600;
  gap: 8px;
}
.btn.coral {
  background: var(--accent);
  border-color: var(--accent);
}
button.secondary,
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 11px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  padding: 8px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
.category {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  min-height: 108px;
  padding: 14px 18px;
  text-align: left;
  position: relative;
  color: var(--ink);
  font-weight: 600;
  transition: 0.2s;
}
.category i {
  font-size: 35px;
  display: block;
  font-style: normal;
  margin-bottom: 7px;
  color: #789078;
}
.category:after {
  content: "↗";
  position: absolute;
  right: 15px;
  top: 18px;
  color: #a1aa9b;
}
.category:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.category.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.category.active i {
  color: #f5b89f;
}
.resultsbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 15px;
}
.resultsbar h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0;
}
.resultsbar span {
  font-size: 12px;
  color: var(--muted);
}
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: start;
}
.map {
  height: 485px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9e7da;
  border: 1px solid #d9ddcd;
  isolation: isolate;
}
.map-world {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      18deg,
      transparent 0 77px,
      #faf9f1 79px 92px,
      transparent 94px 163px
    ),
    repeating-linear-gradient(
      108deg,
      transparent 0 83px,
      #faf9f1 85px 99px,
      transparent 101px 180px
    );
  transition: transform 0.2s;
}
.river {
  position: absolute;
  width: 150%;
  height: 100px;
  background: #b4d2ce;
  transform: rotate(-43deg);
  top: 63%;
  left: -20%;
  border: 8px solid #d2e1d8;
  border-radius: 45%;
}
.park {
  position: absolute;
  background: #cddbb8;
  border: 10px solid #dae2c7;
  border-radius: 35% 15% 40% 25%;
  width: 170px;
  height: 125px;
  transform: rotate(18deg);
}
.p1 {
  left: 8%;
  top: 15%;
}
.p2 {
  right: 2%;
  bottom: 10%;
}
.district {
  position: absolute;
  font-size: 10px;
  letter-spacing: 2px;
  color: #8f9985;
}
.d1 {
  top: 14%;
  left: 44%;
}
.d2 {
  top: 55%;
  left: 47%;
}
.street {
  position: absolute;
  top: 38%;
  left: 10%;
  font-size: 11px;
  color: #909986;
  transform: rotate(18deg);
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 39px;
  height: 45px;
  border-radius: 20px 20px 20px 3px;
  rotate: -45deg;
  background: var(--ink);
  color: white;
  border: 3px solid white;
  box-shadow: 0 5px 15px #213e3530;
  font-size: 15px;
  z-index: 3;
}
.pin.active {
  background: var(--accent);
  scale: 1.18;
}
.pin {
  font-weight: 700;
}
.map-label {
  position: absolute;
  top: 17px;
  left: 17px;
  background: var(--white);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: 1px;
}
.map-note {
  position: absolute;
  bottom: 12px;
  left: 15px;
  background: #fffef9dd;
  padding: 5px 8px;
  font-size: 10px;
  color: #657365;
}
.zoom {
  position: absolute;
  right: 15px;
  top: 15px;
  display: grid;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.zoom button {
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  width: 37px;
  height: 37px;
  font-size: 24px;
  color: var(--ink);
}
.store-list {
  display: grid;
  gap: 12px;
  max-height: 485px;
  overflow: auto;
  padding: 2px;
}
.store-card {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--white);
  border-radius: 16px;
}
.store-card.selected {
  border: 2px solid var(--accent);
  padding: 11px;
}
.store-card img {
  width: 115px;
  height: 125px;
  object-fit: cover;
  border-radius: 10px;
}
.store-card h3 {
  font-size: 17px;
  margin: 4px 0 7px;
}
.store-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 5px 0;
}
.store-card .tags {
  font-size: 10px;
}
.card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}
.card-actions button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 12px;
}
.demo-line {
  font-size: 11px;
  color: var(--muted);
  padding: 13px 0;
}
.bottom-note {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  font-size: 14px;
}
.bottom-note b {
  font-size: 25px;
  color: var(--accent);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  margin-top: 25px;
  font-size: 11px;
  color: var(--muted);
}
footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.page {
  padding: 40px 0;
  min-height: 65vh;
}
.page h1 {
  font-size: 46px;
  letter-spacing: -1.8px;
}
.narrow {
  max-width: 650px;
  margin: 0 auto;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}
.muted {
  color: var(--muted);
}
.notice {
  background: var(--sage);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  margin: 15px 0;
}
.error {
  background: #f9e0d5;
  color: #8e3628;
}
.success {
  background: #e3eddd;
}
.field {
  display: block;
  margin: 17px 0;
  font-size: 13px;
  font-weight: 600;
}
.field small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd2c5;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  margin-top: 7px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  display: inline;
  margin: 0 8px 0 0;
  accent-color: var(--ink);
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 23px;
}
.steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.step {
  padding: 9px 13px;
  border-radius: 24px;
  background: var(--sage);
  font-size: 12px;
}
.step.current {
  background: var(--ink);
  color: white;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 20px;
  background: var(--sage);
  display: inline-block;
}
.badge.pending {
  background: #f7e6bb;
}
.badge.bad {
  background: #f8ded4;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}
.gallery button {
  border: 0;
  padding: 0;
  background: none;
  display: block;
  width: 100%;
}
.dropzone {
  border: 2px dashed #bbc6b4;
  padding: 27px;
  border-radius: 15px;
  text-align: center;
  background: #f3f5ed;
}
.dropzone.over {
  border-color: var(--accent);
}
.photo {
  position: relative;
}
.photo button {
  width: auto;
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--white);
  padding: 6px;
  border-radius: 7px;
  font-size: 11px;
}
.empty {
  text-align: center;
  padding: 45px 20px;
  border: 1px dashed var(--line);
  border-radius: 18px;
}
.empty b {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
}
.certificate {
  border: 1px solid #b79e71;
  outline: 5px double #d4c8a7;
  outline-offset: -12px;
  padding: 44px;
  text-align: center;
  background: #faf5e6;
}
.certificate h2 {
  font-family: Georgia, serif;
  font-size: 30px;
}
.certificate .seal {
  font-size: 65px;
  color: var(--accent);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  max-width: 700px;
  width: 90%;
  color: var(--ink);
  background: var(--white);
}
dialog::backdrop {
  background: #183a32a6;
}
dialog img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.admin-layout {
  display: grid;
  grid-template-columns: 225px 1fr;
  min-height: 100vh;
}
.admin-side {
  background: #203d35;
  color: #f4f3e8;
  padding: 30px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-side .brand {
  font-size: 21px;
}
.admin-side nav {
  display: grid;
  gap: 8px;
  margin-top: 40px;
}
.admin-side nav a {
  padding: 12px;
  border-radius: 10px;
}
.admin-side nav a.active {
  background: #37564a;
}
.admin-side small {
  display: block;
  margin-top: 35px;
  color: #b2c1b6;
  line-height: 1.7;
}
.admin-main {
  padding: 30px 38px;
  min-width: 0;
}
.admin-main h1 {
  font-size: 36px;
  letter-spacing: -1.2px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}
.stat {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}
.stat strong {
  display: block;
  font-size: 35px;
  margin-top: 10px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 11px;
  color: var(--muted);
}
td button {
  background: none;
  border: 0;
  text-decoration: underline;
  color: var(--ink);
}
.filters {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.filters select {
  max-width: 230px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  z-index: 100;
  max-width: 90%;
  box-shadow: var(--shadow);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  font-size: 14px;
}
.loading {
  height: 150px;
  border-radius: 15px;
  background: linear-gradient(110deg, #e3e9dc 30%, #f8faf4 50%, #e3e9dc 70%);
  background-size: 200%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  to {
    background-position: -200%;
  }
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 50px;
  }
  .map {
    height: 530px;
  }
  .store-list {
    max-height: 530px;
  }
}
@media (max-width: 1000px) {
  .shell {
    padding: 0 24px;
  }
  nav {
    gap: 16px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .explorer {
    grid-template-columns: 1.25fr 1fr;
  }
  .store-card {
    grid-template-columns: 85px 1fr;
  }
  .store-card img {
    width: 85px;
  }
  .category {
    padding: 12px;
  }
  .admin-main {
    padding: 25px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .shell {
    padding: 0 18px;
  }
  header {
    height: auto;
    min-height: 85px;
    flex-wrap: wrap;
    padding: 17px 0;
    gap: 15px;
  }
  .brand {
    font-size: 22px;
  }
  header nav {
    width: 100%;
    gap: 18px;
    overflow: auto;
    white-space: nowrap;
    font-size: 12px;
    padding-bottom: 3px;
  }
  nav .login {
    padding: 6px 12px;
  }
  .hero {
    padding: 27px 0 20px;
  }
  .hero h1 {
    font-size: 47px;
    letter-spacing: -2px;
  }
  .hero p {
    font-size: 14px;
  }
  .universe {
    display: none;
  }
  .searchbar {
    flex-wrap: wrap;
  }
  .searchbar label {
    min-width: 210px;
  }
  .searchbar small {
    max-width: none;
    width: 100%;
  }
  .searchbar .btn {
    padding: 14px;
  }
  .categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
  }
  .category {
    min-height: 88px;
    padding: 10px 13px;
    font-size: 13px;
  }
  .category i {
    font-size: 27px;
    margin-bottom: 5px;
  }
  .category:after {
    top: 12px;
    right: 10px;
  }
  .resultsbar {
    align-items: start;
    gap: 10px;
  }
  .resultsbar h2 {
    font-size: 18px;
  }
  .resultsbar span {
    font-size: 11px;
  }
  .explorer {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .explorer .map {
    width: 100%;
    height: 340px;
  }
  .store-list {
    width: 100%;
    max-height: none;
  }
  .store-card {
    grid-template-columns: 100px 1fr;
  }
  .store-card img {
    width: 100px;
  }
  .bottom-note {
    font-size: 12px;
    padding: 20px 0;
  }
  footer {
    flex-direction: column;
    font-size: 11px;
  }
  .page {
    padding: 25px 0;
  }
  .page h1 {
    font-size: 37px;
  }
  .panel {
    padding: 20px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .gallery img {
    height: 100px;
  }
  .admin-layout {
    display: block;
  }
  .admin-side {
    position: static;
    height: auto;
    padding: 20px;
  }
  .admin-side nav {
    display: flex;
    overflow: auto;
    white-space: nowrap;
    margin-top: 15px;
    font-size: 12px;
  }
  .admin-side small {
    margin-top: 12px;
  }
  .admin-main {
    padding: 20px 16px;
  }
  .admin-main h1 {
    font-size: 30px;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 14px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters select {
    max-width: none;
  }
  .certificate {
    padding: 30px 20px;
  }
  .certificate h2 {
    font-size: 25px;
  }
}

#map-slot {
  width: 100%;
  min-width: 0;
}
@media (max-width: 700px) {
  .searchbar label {
    min-width: 0;
  }
  .searchbar .btn {
    font-size: 12px;
    padding: 14px 12px;
  }
  header nav {
    gap: 14px;
    font-size: 11px;
  }
}
.pin span {
  display: block;
  transform: rotate(45deg);
}
.searchbar > label {
  min-width: 0;
}
@media (max-width: 700px) {
  .searchbar > label {
    flex: 1 0 100%;
  }
  .home-header nav {
    font-size: 10px;
    gap: 8px;
  }
  .home-header nav .login {
    padding: 6px 10px;
  }
}
.mobile-oracle {
  display: none;
}
@media (max-width: 700px) {
  .mobile-oracle {
    display: block;
    font-size: 12px;
    color: #a64b35;
    margin: -5px 0 15px;
  }
}
