/* Magic UI motion adaptations. MIT notice: /assets/vendor/magicui/LICENSE. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2500;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.top { border-bottom-color: #e9e9e5; }
.nav > .hide { position: relative; }
.nav > .hide::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease-out);
}
.nav > .hide:hover::after, .nav > [aria-pressed="true"]::after { transform: scaleX(1); }
.intro {
  position: relative;
  isolation: isolate;
  padding-top: 26px;
  padding-bottom: 22px;
}
/* A quiet, masked dot field: the background treatment explored on 21st.dev,
   drawn independently in CSS for this page's warm neutral palette. */
.intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -20px;
  left: 40%;
  right: 0;
  background-image: radial-gradient(circle, #b4b9af 0.7px, transparent 1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at 55% 25%, #0007, transparent 72%);
  pointer-events: none;
}
.intro h1 {
  font-size: clamp(36px, 4.1vw, 59px);
  font-weight: 570;
  letter-spacing: -.065em;
  line-height: 1.15;
}
.intro h1 .title-word { display: inline-block; color: var(--i); }
.title-word + .title-word { margin-left: .03em; }
.intro h1 .title-muted { color: #7d8575; }
.intro h1 .title-dot { color: var(--red); }
.intro-copy { color: #62695b; }
.bar {
  background: #f6f7f2;
  border-color: #e8eadf;
  border-radius: 18px;
  box-shadow: 0 2px 0 #fff inset, 0 10px 25px -22px #26301d50;
}
.f input, .f select, .btn, .save, .nav #savedNav {
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.f input:focus, .f select:focus {
  border-color: #858f7c;
  box-shadow: 0 0 0 3px #e5eadd;
}
.f input:focus-visible, .f select:focus-visible { outline-offset: 2px; }
.control-icon { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; }
#moreBtn[aria-expanded="true"] { background: #e8ecdf; border-color: #a9b09d; }
#moreBtn .control-icon { transition: transform .3s var(--ease-out); }
#moreBtn[aria-expanded="true"] .control-icon { transform: rotate(90deg); }
[data-selection-track] { position: relative; isolation: isolate; }
[data-selection-track]::before {
  content: "";
  position: absolute;
  width: var(--selection-w, 0px);
  height: var(--selection-h, 0px);
  top: 0;
  left: 0;
  border-radius: 9px;
  transform: translate(var(--selection-x, 0px), var(--selection-y, 0px));
  pointer-events: none;
  opacity: 0;
  background: white;
  box-shadow: 0 2px 6px #2024200d;
}
[data-selection-track].track-ready::before {
  opacity: 1;
  transition: transform .38s var(--ease-out), width .38s var(--ease-out), height .2s;
}
[data-selection-track] > button { position: relative; overflow: hidden; z-index: 1; }
.seg.track-ready [aria-pressed="true"], .tg.track-ready [aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}
.citybar::before { border-radius: 30px; background: #273023; box-shadow: none; }
.citybar.track-ready [aria-pressed="true"] { background: transparent; border-color: transparent; }
.citybar button { background: transparent; transition: color .2s, border-color .2s; min-height: 38px; }
.tg::before { border-radius: 25px; }
.seg button, .tg button { transition: color .2s; }
.interactive-button { position: relative; isolation: isolate; overflow: hidden; min-width: 120px; }
.button-rest { display: flex; align-items: center; justify-content: center; gap: 9px; }
.button-rest > i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}
.button-rest, .button-hover { transition: transform .3s var(--ease-out), opacity .2s; }
.button-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: translateX(-14px);
  opacity: 0;
}
.button-hover > span { font-size: 19px; font-weight: 450; }
.interactive-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #bb261f;
  left: -30px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform .42s var(--ease-out);
}
.interactive-button:focus-visible .button-rest { transform: translateX(16px); opacity: 0; }
.interactive-button:focus-visible .button-hover { transform: translateX(0); opacity: 1; }
.interactive-button:focus-visible::before { transform: translateY(-50%) scale(12); }
.button-ripple { position: absolute; border-radius: 50%; background: currentColor; pointer-events: none; z-index: 4; }
.head { padding-top: 15px; padding-bottom: 19px; }
.head h2 { display: flex; align-items: center; gap: 12px; }
.count-value { font-size: 36px; line-height: 1; font-weight: 560; letter-spacing: -.07em; color: var(--red); font-variant-numeric: tabular-nums; }
.count-caption { display: flex; flex-direction: column; gap: 1px; line-height: 1.35; letter-spacing: 0; }
.count-caption strong { font-weight: 600; font-size: 12px; }
.count-caption > span { font-size: 10px; color: var(--m); font-weight: 450; }
.ph { border-radius: 15px; aspect-ratio: 1.5; }
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(-45deg, transparent 60%, #fff3 70%, transparent 78%);
  background-size: 250% 250%;
  background-position: -100% -100%;
}
.card .ph img { transition: transform .65s var(--ease-out); }
.info { padding-top: 13px; }
.card .price { font-size: 26px; font-weight: 620; letter-spacing: -.055em; }
.card .open { font-size: 13px; }
.card .factsline { color: #67735c; padding-top: 9px; }
.card .open > span { display: inline-block; transition: transform .3s var(--ease-out), opacity .3s; margin-left: 4px; opacity: 0; transform: translate(-4px, 4px); }
.card:focus-within .open > span { opacity: 1; transform: none; }
.save { backdrop-filter: blur(8px); }
.save[aria-pressed="true"] { background: #fff5f3; border-color: #fff; }
.save:focus-visible { outline-offset: 3px; }
.map { border-radius: 18px; }
.map-bottom { backdrop-filter: blur(12px); }
.save-notice {
  position: fixed;
  z-index: 2200;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  max-width: calc(100vw - 32px);
  width: max-content;
  padding: 13px 20px;
  background: #253020;
  border: 1px solid #ffffff20;
  box-shadow: 0 10px 30px #18221126;
  border-radius: 40px;
  color: white;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s, transform .3s var(--ease-out);
}
.save-notice.visible { opacity: 1; transform: translate(-50%, 0); }
.motion-preference {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid #dce1d4;
  border-radius: 20px;
  min-height: 36px;
  padding: 0 12px;
  margin-top: 7px;
  font-size: 10px;
  color: #515c45;
}
.motion-preference::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #81897a; }
.motion-preference[aria-pressed="true"]::before { background: var(--red); }
.motion-preference[hidden] { display: none; }
#dlg[open] { animation: detail-enter .3s var(--ease-out); }
#dlg[open]::backdrop { animation: backdrop-enter .22s ease-out; }
@keyframes detail-enter { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }

/* Native customizable selects keep the browser's keyboard, touch and assistive
   technology behaviour. Older browsers retain the original native controls. */
@supports (appearance: base-select) {
  .f select, #sort, .f select::picker(select), #sort::picker(select) { appearance: base-select; }
  .f select, #sort { align-items: center; }
  select::picker(select) {
    border: 1px solid #e4e8dc;
    border-radius: 13px;
    padding: 5px;
    background: white;
    box-shadow: 0 12px 40px #28321c1c;
    margin-top: 7px;
  }
  select::picker-icon { transition: rotate .22s var(--ease-out); width: 12px; color: #69755f; }
  select:open::picker-icon { rotate: 180deg; }
  select option { padding: 10px 13px; border-radius: 8px; font-size: 12px; cursor: pointer; gap: 10px; transition: background .14s; }
  select option:checked { background: #f0f3e9; color: #253020; font-weight: 650; }
  select option:hover, select option:focus { background: #f4f5f0; outline: 0; }
  select option::checkmark { order: 1; margin-left: auto; color: var(--red); }
  select::picker(select):popover-open { animation: select-enter .16s var(--ease-out); }
  @keyframes select-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (hover: hover) and (pointer: fine) {
  .interactive-button:hover .button-rest { transform: translateX(16px); opacity: 0; }
  .interactive-button:hover .button-hover { transform: translateX(0); opacity: 1; }
  .interactive-button:hover::before { transform: translateY(-50%) scale(12); }
  .card:hover .ph::before { background-position: 100% 100%; transition: background-position .8s ease; }
  .card:hover .open > span { opacity: 1; transform: none; }
  .card:hover .ph img { transform: scale(1.035); }
  .nav #savedNav:hover { background: #faf8f5; }
}
@media (min-width: 1600px) {
  .intro { padding-top: 34px; padding-bottom: 30px; }
  .card .price { font-size: 30px; }
  .card .open { font-size: 15px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .card .price { font-size: 23px; }
  .card .open { font-size: 12px; }
  .interactive-button { min-width: 105px; }
}
@media (max-width: 900px) {
  .intro { padding-top: 26px; padding-bottom: 23px; }
  .intro h1 { font-size: 43px; }
  .save-notice { bottom: 88px; }
  .count-value { font-size: 31px; }
}
@media (max-width: 560px) {
  .intro { padding-top: 24px; padding-bottom: 23px; }
  .intro h1 { font-size: clamp(32px, 9.7vw, 45px); }
  .intro-copy { font-size: 12px; margin-top: 12px; }
  .intro::before { left: 30%; }
  .bar { border-radius: 16px; }
  .f input, .f select { font-size: 16px; height: 43px; }
  .f label, .lb { font-size: 10px; }
  .citybar { padding-bottom: 16px; scrollbar-width: none; }
  .citybar::-webkit-scrollbar { display: none; }
  .citybar button { min-height: 38px; }
  .head { gap: 8px; }
  .head h2 { gap: 10px; }
  .count-value { font-size: 31px; }
  .count-caption strong { font-size: 11px; }
  .count-caption > span { font-size: 9px; }
  .card .price { font-size: 29px; }
  .card .open { font-size: 14px; }
  .card .open > span { opacity: 1; transform: none; }
  .ph { aspect-ratio: 1.4; }
  .save { width: 39px; height: 39px; }
  .tg { bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card:hover .ph img { transform: none; }
  .ph::before, .reading-progress { display: none; }
}
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.motion-off .card:hover .ph img { transform: none; }
.motion-off .ph::before, .motion-off .reading-progress { display: none; }
