* { box-sizing: border-box; }

:root {
  --bds-font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --hero-title-font: Inter, system-ui, sans-serif;
  --hero-lead-font: Inter, system-ui, sans-serif;
}

html, body { margin: 0; min-height: 100%; }

body {
  background: #e7ebf0;
  color: #1e293b;
  font-family: var(--bds-font);
  font-weight: var(--bds-font-weight, 400);
  font-style: var(--bds-font-style, normal);
  font-size: 15px;
  padding: 0 0 88px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.building {
  min-height: 52vh;
  display: grid;
  place-items: center;
  padding: 64px 20px;
  text-align: center;
}
.building h1 { margin: 0; font-size: 28px; font-weight: 750; letter-spacing: -0.03em; }
.region { min-width: 0; }

.region[data-region="root"] {
  background: #fff;
  border-radius: 28px;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  min-height: calc(100vh - 40px);
}

.region[data-region="hero"] { overflow: hidden; }

.region-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.region[data-region="hero"].hero-open {
  overflow: visible !important;
  z-index: 4;
}

.region-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0) 42%, rgba(15, 23, 42, 0.12));
  pointer-events: none;
}

.banner-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 22%;
  display: flex;
  align-items: center;
}
.banner-edge.prev { left: 0; justify-content: flex-start; padding-left: 14px; }
.banner-edge.next { right: 0; justify-content: flex-end; padding-right: 14px; }

.banner-nav {
  position: static;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .banner-edge:hover .banner-nav,
  .banner-edge:focus-within .banner-nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.banner-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.hero-title {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  top: 28px;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: pre-line;
  text-shadow: 0 2px 16px rgba(15, 23, 42, 0.45);
  pointer-events: none;
}

html.layout-edit .hero-title { pointer-events: auto; z-index: 5; cursor: pointer; }
html.layout-edit .hero-title.is-off { opacity: 0.4; outline: 1px dashed #fff; }

.fill { width: 100%; height: 100%; }

.header {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  padding: 0 22px;
  background: #fff;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  color: #1d4ed8;
  text-decoration: none;
  min-width: 0;
  flex: none;
}

.brand-logo {
  display: block;
  height: 62px;
  width: auto;
}

.region[data-region="header"] { position: relative; z-index: 90; height: auto !important; min-height: 84px; }

.header { height: auto; min-height: 84px; padding-top: 4px; padding-bottom: 2px; }

.brand-slogan {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -2px;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-slogan i {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #2563eb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}
.nav-track {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav-track > a,
.nav-track > .nav-menu { flex: none; }
.nav-more-wrap { position: relative; flex: none; }
.nav-more-wrap[hidden] { display: none; }
.nav-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.nav-more:hover,
.nav-more[aria-expanded="true"] { background: #f1f5f9; }
.nav-more-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  display: grid;
  gap: 2px;
  min-width: 210px;
  padding: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}
.nav-more-pop[hidden] { display: none; }
.nav-more-pop > a,
.nav-more-pop > .nav-menu { width: 100%; }
.header .nav .nav-more-pop a,
.header .nav .nav-more-pop .nav-open {
  width: 100%;
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 15px;
  text-align: left;
}
.nav-more-pop .nav-open { justify-content: space-between; }
.nav a, .nav-open { white-space: nowrap; }

.nav a {
  color: #334155;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover, .nav-open:hover, .nav-menu.is-open .nav-open { background: #f1f5f9; }
.nav a.is-current { background: #e0e7ff; color: #1e3a8a; font-weight: 700; }
.nav-menu { position: relative; }
.nav-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #334155;
  padding: 8px 12px;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}
.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.nav-drop {
  display: none;
  position: fixed;
  z-index: 80;
  min-width: 260px;
  padding-top: 8px;
}
.nav-drop.is-open { display: block; }
.nav-drop-card {
  background: color-mix(in srgb, var(--bds-surface, #fff) 62%, transparent);
  border: 1px solid color-mix(in srgb, #fff 74%, transparent);
  border-radius: var(--bds-radius-md, 16px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  padding: 6px;
  min-width: 220px;
  color: var(--bds-text, #0f172a);
}
.nav-branch { position: relative; }
.nav-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #0f172a;
  font-weight: 600;
  cursor: default;
}
.nav-drop-card > .nav-branch + .nav-branch > .nav-type {
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bds-text, #0f172a) 12%, transparent);
}
.nav-branch:hover > .nav-type { background: color-mix(in srgb, var(--bds-primary, #006aff) 12%, transparent); }
.nav-sub-caret {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
}
.nav-sub {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  padding-left: 8px;
}
.nav-branch:hover > .nav-sub { display: block; }
.nav-sub .nav-type { background: transparent; color: var(--bds-text, #0f172a); font-weight: 500; }
.nav-sub .nav-branch:hover > .nav-type { background: color-mix(in srgb, var(--bds-primary, #006aff) 14%, transparent); }

.header-actions {
  display: flex;
  align-items: center;
  flex: none;
  margin-left: auto;
  height: 48px;
  padding: 4px;
  gap: 2px;
  border-radius: var(--dock-radius, 16px);
  background: var(--dock-bg, rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(var(--dock-blur, 16px));
  -webkit-backdrop-filter: blur(var(--dock-blur, 16px));
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.dock-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 40px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--dock-ink, #1d1d1f);
  font-family: var(--dock-font, inherit);
  font-size: var(--dock-size, 13px);
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}
.dock-item:hover { background: rgba(15, 23, 42, 0.06); }
.dock-ico {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
}
.dock-ico svg { width: 18px; height: 18px; display: block; }
.dock-label { overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 108px; }
.post-btn .dock-ico {
  border-radius: 7px;
  background: var(--dock-post, linear-gradient(180deg, #64d2ff 0%, #0a84ff 100%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #fff;
}
.fav-btn { position: relative; color: var(--dock-fav, #e11d48); }
.fav-btn:hover { background: color-mix(in srgb, var(--dock-fav, #e11d48) 8%, transparent); color: var(--dock-fav, #e11d48); }
.fav-btn svg path { fill: none; }
.fav-btn.is-on svg path, .fav-btn:hover svg path { fill: currentColor; }
.dock-ico .fav-count { top: -6px; right: -8px; }
button.header-link.dock-item { color: var(--dock-ink, #1d1d1f); padding: 0 8px; font-size: var(--dock-size, 13px); font-weight: 650; }
button.header-link.dock-item:hover { color: var(--dock-ink, #1d1d1f); }

.account-layer.is-desk { padding: 28px 16px; }
.auth-desk {
  position: relative;
  width: min(420px, 100%);
  background: var(--bds-popup-bg, #fff);
  color: var(--bds-popup-text, #0f172a);
  font-family: var(--bds-popup-font, inherit);
  font-size: var(--bds-popup-size, 14px);
  border-radius: var(--bds-popup-radius, 22px);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  padding: 40px 28px 24px;
}
.auth-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--bds-primary, #f97316);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none;
}
.auth-logo { display: block; width: auto; height: 52px; max-width: 160px; margin: 0 auto 4px; object-fit: contain; }
.auth-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 0;
}
.auth-main h3 { margin: 4px 0 0; text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.auth-lead, .auth-main .account-lead { margin: 0; color: #6b7280; font-size: 14px; line-height: 1.5; text-align: center; }
.auth-title { position: relative; min-height: 36px; display: grid; align-items: center; }
.auth-title h3 { margin: 0; text-align: center; }
.auth-title .auth-back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.auth-back {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 18px;
  cursor: pointer;
  box-shadow: none;
}
.auth-main .field { display: flex; flex-direction: column; min-width: 0; }
.auth-line, .auth-main .secret-line, .auth-field > input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: #6b7280;
}
.auth-name { display: flex; align-items: center; gap: 6px; color: #374151; font-size: 13px; font-weight: 650; }
.auth-info {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #007aff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
}
.auth-tip { margin: -6px 0 0; color: #4b5563; font-size: 13px; line-height: 1.45; text-align: left; }
.auth-field { display: grid; gap: 6px; }
.auth-field span { font-size: 13px; font-weight: 650; color: #374151; }
.auth-line { position: relative; }
.auth-line:focus-within,
.auth-field > input:focus,
.auth-main .secret-line:focus-within {
  outline: none;
  border-color: var(--bds-primary, #f97316);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bds-primary, #f97316) 28%, transparent);
}
.auth-desk input[type="checkbox"],
.auth-desk input[type="radio"] { accent-color: var(--bds-primary, #f97316); }
.auth-line input, .secret-line input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 500;
  color: #111827;
}
.auth-line input:focus,
.secret-line input:focus,
.finder-query input:focus,
.range-box input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}
.auth-line input::placeholder,
.auth-field > input::placeholder,
.secret-line input::placeholder { color: #9ca3af; font-weight: 500; }
.auth-field > input { color: #111827; font: inherit; font-weight: 500; }
.auth-field .secret-line { padding-right: 6px; }
.auth-main .peek {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #6b7280;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}
.auth-terms { display: flex; align-items: flex-start; gap: 8px; color: #4b5563; font-size: 14px; line-height: 1.45; }
.auth-terms input { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.auth-terms a { color: #111827; }
.auth-go {
  height: 48px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #e5e7eb;
  color: #9ca3af;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.auth-go.is-ready {
  background: var(--bds-btn-bg, var(--bds-primary, #e11d48));
  color: var(--bds-btn-color, #fff);
  font-family: var(--bds-btn-font, inherit);
  border-radius: var(--bds-btn-radius, 999px);
  cursor: pointer;
}
.auth-forgot {
  align-self: flex-end;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  height: auto;
  padding: 0;
  box-shadow: none;
}
.auth-or { display: grid; justify-items: stretch; gap: 12px; margin-top: 4px; width: 100%; }
.auth-or p {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 360px);
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
}
.auth-or p::before, .auth-or p::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.auth-google {
  width: 100%;
  height: 48px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 16px;
}
.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}
.auth-remember input { width: 16px; height: 16px; margin: 0; }
.auth-note { margin: 0; text-align: center; color: #b45309; font-size: 14px; font-weight: 650; line-height: 1.45; }
.auth-switch { margin: 4px 0 0; text-align: center; color: #6b7280; font-size: 15px; }
.auth-switch button {
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  height: auto;
  box-shadow: none;
}
.auth-rules { display: grid; gap: 4px; }
.auth-rules p { margin: 0; color: #9ca3af; font-size: 14px; }
.auth-rules p.is-on { color: #16a34a; }
@media (max-width: 800px) {
  .account-layer.is-desk { padding: 12px; }
  .auth-desk { padding: 32px 16px 18px; max-height: calc(100dvh - 24px); overflow: auto; }
  .auth-main h3, .auth-title h3 { font-size: 26px; }
}
.account-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.42);
}
.account-card {
  width: min(440px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--bds-popup-radius, 22px);
  background: var(--bds-popup-bg, #fff);
  color: var(--bds-popup-text, #0f172a);
  font-family: var(--bds-popup-font, inherit);
  font-size: var(--bds-popup-size, 14px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.account-card h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; color: inherit; display: flex; align-items: center; gap: 8px; }
.account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-head h2 { flex: 1; }
.account-head .account-x { order: 2; }
.account-head .ui-extra { flex: 1 0 100%; order: 3; margin: 4px 0 0; }
.account-card > .ui-extra { margin: 4px 0 10px; color: #64748b; font-size: 14px; }
.account-lead, .account-status { margin: 0; color: var(--bds-popup-muted, #475569); font-size: 14px; line-height: 1.45; }
.account-card.is-ask { text-align: left; }
.account-card.is-ask h2 { justify-content: flex-start; margin: 0; font-size: 17px; letter-spacing: -0.02em; }
.account-card.is-ask .account-lead { text-align: left; }
.account-card.is-ask .account-actions { margin-top: 6px; }
.account-card.is-ask .account-actions button {
  width: auto;
  height: 32px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 10px;
  background-image: none;
  box-shadow: none;
  font-weight: 600;
}
.account-card.is-ask .account-stay {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.account-card.is-ask .is-go {
  border-color: transparent;
  background: var(--bds-confirm-button-bg, #f97316);
  color: var(--bds-confirm-button-color, #fff);
  font-family: var(--bds-confirm-button-font, inherit);
  font-size: var(--bds-confirm-button-size, 14px);
}
.account-status:empty { display: none; }
.account-card label { display: grid; gap: 6px; font-size: 13px; font-weight: 650; }
.account-card input,
.account-card select,
.account-card textarea {
  height: 42px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
}
.account-card textarea { height: auto; min-height: 84px; padding: 10px 12px; }
.account-card input:focus,
.account-card select:focus,
.account-card textarea:focus {
  outline: none;
  border-color: var(--bds-primary, #f97316);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bds-primary, #f97316) 28%, transparent);
}
.account-card input[data-kind="input"] {
  border-color: var(--part-line, #dbe3ee);
  background: var(--part-fill, #fff);
  border-radius: var(--part-radius, 12px);
}
.account-card input[data-kind="input"]:hover,
.account-card input[data-kind="input"]:focus {
  border-color: var(--part-line-hover, var(--bds-primary, #f97316));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--part-line-hover, var(--bds-primary, #f97316)) 28%, transparent);
}
.account-card input[data-style="fill"] {
  border-color: transparent;
  background: var(--part-fill, #f1f5f9);
}
.account-card input[data-style="fill"]:hover,
.account-card input[data-style="fill"]:focus {
  border-color: var(--part-line-hover, var(--bds-primary, #f97316));
}
.account-card input[data-style="line"] {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.account-card input[data-style="pill"] {
  border-radius: 999px;
}
.account-card input[type="checkbox"],
.account-card input[type="radio"] { accent-color: var(--bds-primary, #f97316); height: auto; }
.phone-line { position: relative; }
.phone-line input { width: 100%; box-sizing: border-box; }
.phone-line input.has-state { padding-right: 36px; }
.phone-state {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: #b45309;
  display: grid;
  place-items: center;
  cursor: help;
}
.phone-state.is-ok { color: #16a34a; }
.phone-state[hidden] { display: none; }
.phone-state-tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: 220px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.phone-state:hover .phone-state-tip,
.phone-state:focus .phone-state-tip { opacity: 1; }
.secret-line { position: relative; display: block; }
.secret-line input { width: 100%; padding-right: 42px; }
.account-card button.peek {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  box-shadow: none;
  display: grid;
  place-items: center;
}
.account-actions { display: flex; justify-content: flex-end; gap: 8px; }
.account-actions button { width: auto; }
.account-card button {
  height: 40px;
  border: 2px solid transparent;
  border-radius: var(--bds-btn-radius, 999px);
  padding: 0 var(--bds-btn-pad-x, 16px);
  background: var(--bds-btn-bg, var(--bds-primary, #006aff));
  color: var(--bds-btn-color, #fff);
  font-family: var(--bds-btn-font, inherit);
  font-size: var(--bds-btn-size, inherit);
  font-weight: var(--bds-btn-weight, 700);
  font-style: var(--bds-btn-style, normal);
  text-decoration: var(--bds-btn-deco, none);
  border-color: var(--bds-btn-border, transparent);
  cursor: pointer;
}
.account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
.auth-go.is-ready {
  width: auto;
  height: auto;
  padding: var(--bds-btn-pad-y, 10px) var(--bds-btn-pad-x, 16px);
  white-space: nowrap;
}
html[data-btn-w="fixed"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn-w="fixed"] .auth-go.is-ready,
html[data-btn-w="screen"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn-w="screen"] .auth-go.is-ready { width: var(--bds-btn-width, auto); }
html[data-btn-h="fixed"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn-h="fixed"] .auth-go.is-ready,
html[data-btn-h="screen"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn-h="screen"] .auth-go.is-ready { height: var(--bds-btn-height, auto); }
html[data-btn="gel"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="gel"] .auth-go.is-ready {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 48%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 16px rgba(15, 23, 42, 0.12);
}
html[data-btn="line"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="line"] .auth-go.is-ready {
  background: transparent;
  color: var(--bds-btn-bg, var(--bds-primary, #006aff));
  box-shadow: inset 0 0 0 2px var(--bds-btn-bg, var(--bds-primary, #006aff));
}
html[data-btn="press"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="press"] .auth-go.is-ready {
  box-shadow: 0 4px 0 color-mix(in srgb, var(--bds-btn-bg, var(--bds-primary, #006aff)) 62%, #000);
}
html[data-btn="jelly"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="jelly"] .auth-go.is-ready {
  box-shadow: inset 0 10px 14px rgba(255, 255, 255, 0.35), 0 10px 16px rgba(15, 23, 42, 0.16);
}
html[data-btn="soft"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="soft"] .auth-go.is-ready { box-shadow: 0 12px 24px color-mix(in srgb, var(--bds-btn-bg, var(--bds-primary, #006aff)) 36%, transparent); }
html[data-btn="glass"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="glass"] .auth-go.is-ready {
  background: color-mix(in srgb, var(--bds-btn-bg, var(--bds-primary, #006aff)) 16%, #fff);
  color: var(--bds-btn-bg, var(--bds-primary, #006aff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bds-btn-bg, var(--bds-primary, #006aff)) 42%, #fff);
}
html[data-btn="inset"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="inset"] .auth-go.is-ready { box-shadow: inset 0 4px 8px rgba(15, 23, 42, 0.28); }
html[data-btn="dash"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="dash"] .auth-go.is-ready {
  background: transparent;
  color: var(--bds-btn-bg, var(--bds-primary, #006aff));
  border: 2px dashed var(--bds-btn-bg, var(--bds-primary, #006aff));
  box-shadow: none;
}
html[data-btn="glow"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="glow"] .auth-go.is-ready {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bds-btn-bg, var(--bds-primary, #006aff)) 28%, transparent), 0 10px 22px color-mix(in srgb, var(--bds-btn-bg, var(--bds-primary, #006aff)) 36%, transparent);
}
html[data-btn="icon"] .account-card:not(.is-ask) button:not(.account-x):not(.account-ghost):not(.account-stay):not(.peek):not(.profile-photo),
html[data-btn="icon"] .auth-go.is-ready {
  background: color-mix(in srgb, var(--bds-btn-bg, #006aff) 12%, #fff);
  background-image: none;
  color: var(--bds-btn-bg, #006aff);
  border: 1px solid color-mix(in srgb, var(--bds-btn-bg, #006aff) 42%, #fff);
  box-shadow: none;
}
.account-card button[data-style="gel"] {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 48%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 16px rgba(15, 23, 42, 0.12);
}
.account-card button[data-style="line"] {
  background: transparent;
  color: var(--live-fill, var(--bds-btn-bg, var(--bds-primary, #006aff)));
  box-shadow: inset 0 0 0 2px var(--live-fill, var(--bds-btn-bg, var(--bds-primary, #006aff)));
}
.account-card button[data-style="dash"] {
  background: transparent;
  color: var(--live-fill, var(--bds-btn-bg, var(--bds-primary, #006aff)));
  border: 2px dashed var(--live-fill, var(--bds-btn-bg, var(--bds-primary, #006aff)));
  box-shadow: none;
}
.account-card button[data-style="press"] { box-shadow: 0 4px 0 color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 62%, #000); }
.account-card button[data-style="jelly"] {
  box-shadow: inset 0 10px 14px rgba(255, 255, 255, 0.35), 0 10px 16px rgba(15, 23, 42, 0.16);
}
.account-card button[data-style="soft"] { box-shadow: 0 12px 24px color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 36%, transparent); }
.account-card button[data-style="glass"] {
  background: color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 16%, #fff);
  color: var(--live-fill, var(--bds-btn-bg, #006aff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 42%, #fff);
}
.account-card button[data-style="inset"] { box-shadow: inset 0 4px 8px rgba(15, 23, 42, 0.28); }
.account-card button[data-style="glow"] {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 28%, transparent), 0 10px 22px color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 36%, transparent);
}
.account-card button[data-style="icon"] {
  background: color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 12%, #fff);
  background-image: none;
  color: var(--live-fill, var(--bds-btn-bg, #006aff));
  border: 1px solid color-mix(in srgb, var(--live-fill, var(--bds-btn-bg, #006aff)) 42%, #fff);
  box-shadow: none;
}
.account-card button.account-x {
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bds-primary, #f97316);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  box-shadow: none;
}
.account-ghost { background: #eef2f7; color: #0f172a; }
.auth-guide-layer { z-index: 90; }
.account-qr {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  background: #fff;
}
.account-qr[hidden] { display: none; }
.account-card { max-height: calc(100dvh - 32px); overflow: auto; }
.account-card.is-wide { width: min(960px, 100%); }
.doc-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.doc-group {
  display: grid;
  gap: 0;
  align-content: start;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: var(--bds-popup-radius, 16px);
  background: var(--bds-popup-surface, #f8fafc);
}
.doc-group.is-firm { grid-column: 1 / -1; }
.doc-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 11px 16px;
  background: var(--bds-popup-title-bg, #123a8f);
  color: var(--bds-popup-title-color, #fff);
  font-family: inherit;
  font-size: var(--bds-popup-title-size, 15px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.doc-group h3 .field-icon { color: inherit; }
.doc-group .form-row { padding: 14px; }
@media (max-width: 800px) {
  .doc-groups { grid-template-columns: 1fr; }
  .doc-group.is-firm { grid-column: auto; }
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  min-width: 0;
  align-items: start;
}
.field-label, .doc-slot-name { display: inline-flex; align-items: center; gap: 6px; }
.field-icon { display: inline-flex; color: var(--bds-popup-title-bg, #123a8f); }
.account-card input:disabled { background: #f8fafc; color: #64748b; }
.account-card .field-note {
  margin: 0;
  color: var(--bds-popup-muted, #64748b);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
}
.profile-shot { display: grid; justify-items: center; gap: 6px; }
.profile-face { position: relative; width: 84px; height: 84px; }
.account-card input.profile-file { display: none; }
.account-card button.profile-photo {
  width: 84px;
  height: 84px;
  min-height: 84px;
  padding: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--bds-popup-title-bg, #123a8f);
  font-size: 28px;
  font-weight: 700;
  overflow: hidden;
  box-shadow: none;
}
.profile-pen {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bds-primary, #f97316);
  color: #fff;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.profile-pen svg { width: 13px; height: 13px; display: block; }
.profile-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.profile-face:hover .profile-tip,
.profile-face:focus-within .profile-tip { opacity: 1; }
.profile-face:has(.profile-clear:hover) > .profile-tip,
.profile-face:has(.profile-clear:focus) > .profile-tip { opacity: 0; }
.account-card button.profile-clear {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 1;
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}
.account-card button.profile-clear[hidden] { display: none; }
.profile-clear .profile-tip { left: auto; right: 0; transform: none; white-space: nowrap; }
.account-card button.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doc-id-bubble {
  position: fixed;
  z-index: 80;
  width: min(240px, 70vw);
  margin: 0;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--bds-tip-bubble-text, #0f172a) 28%, transparent);
  border-radius: var(--bds-tip-bubble-radius, 16px);
  background: var(--bds-tip-bubble-bg, transparent);
  color: var(--bds-tip-bubble-text, #0f172a);
  font-family: var(--bds-tip-bubble-font, inherit);
  font-size: var(--bds-tip-bubble-size, 13px);
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}
.doc-id-bubble[hidden] { display: none; }
.doc-id-bubble.is-plain {
  background: var(--bds-tip-plain-bg, #fff);
  color: var(--bds-tip-plain-text, #0f172a);
  font-family: var(--bds-tip-plain-font, inherit);
  font-size: var(--bds-tip-plain-size, 14px);
  border-radius: var(--bds-tip-plain-radius, 16px);
  border-color: transparent;
}
.doc-id-bubble::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--bds-tip-bubble-bg, transparent);
  border: 1px solid color-mix(in srgb, var(--bds-tip-bubble-text, #0f172a) 28%, transparent);
}
.doc-id-bubble.is-plain::after { display: none; }
.doc-id-bubble[data-place="right"]::after {
  left: -6px;
  top: 18px;
  border-top: 0;
  border-right: 0;
  transform: rotate(45deg);
}
.doc-id-bubble[data-place="left"]::after {
  right: -6px;
  top: 18px;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.doc-id-bubble[data-place="top"]::after {
  left: 50%;
  bottom: -6px;
  margin-left: -5px;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.doc-id-bubble[data-place="bottom"]::after,
.doc-id-bubble[data-place="plain"]::after {
  left: 22px;
  top: -6px;
  border-bottom: 0;
  border-right: 0;
  transform: rotate(45deg);
}
.doc-id-bubble[data-place="plain"]::after { display: none; }
.doc-id-note { margin: 0; color: var(--bds-popup-muted, #64748b); font-size: 12px; font-weight: 550; line-height: 1.4; }
.doc-id-note:empty { display: none; }
.doc-id-note.is-ok { color: #15803d; }
.doc-id-note.is-bad { color: #b42318; }
.account-card button.doc-scan {
  height: 36px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #0f172a;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.account-card button.doc-scan[hidden] { display: none; }
@media (min-width: 801px) {
  .account-card button.doc-scan { display: none; }
}
.id-scan video {
  width: 100%;
  max-height: 60dvh;
  border-radius: 12px;
  background: #0b0b0d;
  object-fit: cover;
}
.form-row > * { min-width: 0; }
.doc-slot { display: grid; gap: 6px; min-width: 0; }
.doc-slot-name { font-size: 13px; font-weight: 650; }
.doc-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.doc-frame.is-reading::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  height: 22%;
  top: -22%;
  background: linear-gradient(to bottom, transparent, rgba(125, 211, 252, 0.15) 42%, rgba(255, 255, 255, 0.92) 50%, rgba(56, 189, 248, 0.55) 58%, transparent);
  animation: doc-scan 1.15s linear infinite;
  pointer-events: none;
}
@keyframes doc-scan {
  from { transform: translateY(0); }
  to { transform: translateY(560%); }
}
@media (prefers-reduced-motion: reduce) {
  .doc-frame.is-reading::after { animation: none; top: 39%; }
}
.account-card button.doc-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #64748b;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.account-card button.doc-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.account-card button.doc-open img[hidden],
.account-card button.doc-open > span[hidden],
.account-card button.doc-zoom[hidden],
.account-card button.doc-clear[hidden] { display: none; }
.account-card button.doc-open > span {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 12px;
  text-align: center;
}
.doc-empty strong { color: var(--bds-popup-text, #0f172a); font-size: 14px; font-weight: 700; }
.doc-empty small { color: var(--bds-popup-muted, #64748b); font-size: 12px; font-weight: 550; }
.account-card button.doc-zoom,
.account-card button.doc-clear {
  position: absolute;
  z-index: 2;
  top: 8px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  display: grid;
  place-items: center;
}
.account-card button.doc-zoom { left: 8px; }
.account-card button.doc-clear {
  right: 8px;
  font-size: 18px;
  line-height: 1;
}
.account-card .doc-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.doc-file-name {
  color: var(--bds-popup-muted, #64748b);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-slot.is-spot-target .doc-frame {
  border-color: #ff3b30;
  animation: spot-flash .8s ease 3;
}
.doc-view {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.42);
}
.doc-view .account-card { width: min(720px, 100%); }
.doc-view-card img {
  width: 100%;
  max-height: 68dvh;
  object-fit: contain;
  border-radius: 12px;
  background: #0b0b0d;
  display: block;
}
.auth-guide { width: min(420px, 100%); }
.guide-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guide-phones button {
  height: 40px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.guide-phones button.is-on {
  background: var(--bds-popup-title-bg, #123a8f);
  color: var(--bds-popup-title-color, #fff);
  border-color: var(--bds-popup-title-bg, #123a8f);
}
.guide-art { display: grid; place-items: center; }
.guide-art svg { width: min(220px, 70%); height: auto; }
.auth-guide h3 { margin: 0; font-size: 18px; color: inherit; }
.auth-guide p { margin: 0; color: var(--bds-popup-muted, #475569); line-height: 1.5; }
.guide-count { color: var(--bds-popup-muted, #64748b); font-size: 13px; }
.auth-guide .account-actions { margin-top: 4px; }
.auth-guide > .account-ghost,
.auth-guide .account-ghost {
  width: auto;
  background: #eef2f7;
  color: #0f172a;
}
.auth-guide > .account-ghost { width: 100%; }
.auth-guide .account-ghost:disabled { opacity: 0.45; }
.account-menu {
  position: fixed;
  z-index: 70;
  display: grid;
  gap: 2px;
  width: min(268px, calc(100vw - 24px));
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px);
}
.account-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 2px 4px;
  padding: 8px 8px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.account-menu-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  background: #e8e8ed;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 650;
}
.account-menu-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.account-menu-head div { min-width: 0; }
.account-menu-head strong,
.account-menu p { display: block; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-head strong { font-size: 14px; font-weight: 650; line-height: 1.25; }
.account-menu p { color: #6e6e73; font-size: 12px; line-height: 1.35; }
.account-menu p.account-menu-secure { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.account-menu-secure i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8e8e93;
  flex: none;
}
.account-menu-secure.is-on i { background: #34c759; }
.account-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1d1d1f;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.account-menu button i {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  flex: none;
  color: #3a3a3c;
}
.account-menu button svg { width: 16px; height: 16px; display: block; }
.account-menu button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu button:hover { background: rgba(0, 0, 0, 0.06); }
.account-menu hr { height: 0; margin: 4px 8px; border: 0; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.account-menu button.is-danger,
.account-menu button.is-danger i { color: #ff3b30; }
.account-menu button.is-danger:hover { background: rgba(255, 59, 48, 0.1); }
.account-secret {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #f1f5f9;
  text-align: center;
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.account-secret span { display: inline-block; margin: 0 5px; }
.secret-box { display: grid; gap: 8px; }
.secret-note { margin: 0; color: #475569; font-size: 13px; line-height: 1.45; }
.account-card .secret-box > button,
.auth-main .secret-box > button {
  height: 36px;
  width: auto;
  justify-self: center;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #0f172a;
  box-shadow: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.account-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.account-codes code { padding: 8px; border-radius: 8px; background: #f1f5f9; text-align: center; }

.fav-btn.is-on { color: #e11d48; }

.fav-btn.is-on svg path { fill: currentColor; }

.fav-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.fav-count[hidden] { display: none; }

.fav-panel {
  position: fixed;
  z-index: 30;
  top: 92px;
  right: 24px;
  width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 480px);
  overflow: auto;
  padding: 12px 12px 8px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.fav-panel[hidden] { display: none; }

.fav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 8px;
}

.fav-head strong { font-size: 15px; }

.fav-close {
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.fav-empty {
  margin: 4px 4px 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.fav-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
  padding: 8px 4px;
  border-top: 1px solid #f1f5f9;
}

.fav-row a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.fav-row img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.fav-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.fav-copy strong,
.fav-copy em {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-copy strong { font-size: 13px; }

.fav-copy em {
  font-style: normal;
  color: #64748b;
  font-size: 12px;
}

.fav-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff1f2;
  color: #e11d48;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.finder {
  width: 100%;
  padding: 12px 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(6px);
}

.finder-tabs { display: flex; gap: 16px; margin-bottom: 10px; padding-left: 4px; }

.finder-tabs button {
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 600;
  padding: 0 0 6px;
  cursor: pointer;
}

.finder-tabs button.is-active {
  color: #0f172a;
  box-shadow: inset 0 -2px 0 #0f172a;
}

.finder-row { display: flex; align-items: center; gap: 8px; }

.finder-query {
  flex: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  color: #64748b;
  font-size: 16px;
}

.finder-query .finder-loupe,
.finder-query .finder-pin svg {
  width: 1.35em;
  height: 1.35em;
  flex: none;
}
.finder-query button.finder-pin {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  cursor: pointer;
  flex: none;
}

.finder-query input {
  width: 100%;
  border: 0;
  outline: none;
  font: inherit;
  background: transparent;
  color: #0f172a;
}

.range-filter { position: relative; flex: none; }

.range-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  max-width: 280px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: #0f172a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.range-trigger.is-chip {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

.range-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.range-x {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  line-height: 1;
}

.range-panel {
  display: none;
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.range-panel.is-open { display: grid; gap: 12px; }

.type-panel {
  right: auto;
  left: 0;
  width: max-content;
  max-width: calc(100vw - 24px);
  overflow: hidden;
}

.type-panel.is-open { grid-template-rows: minmax(0, 1fr) auto; }

.type-options {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 8px 10px;
  width: max-content;
  min-height: 0;
  overflow: auto;
}

.type-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}

.type-options label:hover { background: #fff7ed; }

.type-panel.is-stack .type-options { grid-template-columns: max-content; }

.type-options input { accent-color: #f97316; width: 16px; height: 16px; flex: none; }

.range-scale, .range-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.dual-range { position: relative; height: 28px; }

.dual-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
}

.dual-range input[type="range"] {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
}

.dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
  cursor: pointer;
}

.dual-range input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
  border: 0;
}

.dual-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f97316;
  cursor: pointer;
}

.range-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: end;
}

.range-field { display: grid; gap: 4px; color: #64748b; font-size: 12px; }

.range-box {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}

.range-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  font-weight: 600;
  color: #0f172a;
}

.range-dash { padding-bottom: 10px; color: #94a3b8; }

.range-clear, .range-apply {
  height: 40px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.range-clear {
  flex: 1;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
}

.range-apply {
  flex: 1;
  margin-left: 8px;
  border: 0;
  background: #f97316;
  color: #fff;
}

.finder-more {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.finder-advanced {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.finder-advanced.is-open { display: grid; gap: 12px; }

.finder-block { display: grid; gap: 8px; }

.finder-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.direction-list, .amenity-list { display: flex; flex-wrap: wrap; gap: 8px; }

.direction-list label, .advisor-row, .amenity-list label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  color: #0f172a;
  font-size: 13px;
}

.advisor-row { flex-wrap: wrap; padding: 8px 10px; }

.advisor-row select, .advisor-row input, .amenity-list input, .amenity-list select {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  padding: 0 8px;
}

.advisor-row input { width: 110px; }

.amenity-list label { flex: 1 1 220px; }
.amenity-list input { width: 72px; }
.advice { margin: 0; color: #0f172a; font-size: 13px; font-weight: 600; }

.apply-directions {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0 10px;
  cursor: pointer;
}

.finder-row .range-filter,
.finder-row .type-filter,
.finder-row .finder-query { position: relative; z-index: 2; }
.finder-lens {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: none;
}
.finder-go {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 46%, rgba(249, 115, 22, 0.12) 0 11px, #f97316 13px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.finder-globe {
  position: absolute;
  z-index: 0;
  width: 76px;
  height: 76px;
  left: 50%;
  top: 2px;
  transform: translateX(-56%);
  pointer-events: none;
}
.finder-globe canvas {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.55) 0 54%, rgba(15, 23, 42, 0) 72%);
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  min-width: 0;
}

.board > section { min-width: 0; }

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.board-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.board-head a {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.board-arrows { display: flex; align-items: center; gap: 8px; }
.board-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}
.board-arrow svg { width: 18px; height: 18px; }
.board-arrow:disabled { opacity: 0.35; cursor: default; }
.board-jump {
  width: 26px;
  height: 26px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  cursor: pointer;
  opacity: 0.72;
}
.board-jump svg { width: 14px; height: 14px; }
.board-jump.is-on { display: grid; }
.board-jump:hover { opacity: 1; background: #dbeafe; }
.card-more {
  flex: 0 0 150px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2563eb;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.card-more[hidden] { display: none !important; }

.cards {
  display: flex;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  position: relative;
  flex: 0 0 272px;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover {
  z-index: 2;
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.card > a { display: block; color: inherit; text-decoration: none; padding: 14px 14px 16px; background: #fff; }

.card-cover { position: absolute; inset: 0; z-index: 1; }

.badge, .kind { z-index: 2; pointer-events: none; }

.card-fav {
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}

.card-fav.is-on { color: #e11d48; }

.card-fav.is-on svg path,
.fav-remove svg path { fill: currentColor; }

.card-fav.is-on svg path,
.fav-remove svg path { fill: currentColor; }

.card-tour {
  position: absolute;
  z-index: 3;
  left: 8px;
  bottom: 36px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(180deg, #ffffff 0%, #e7edf4 100%);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    0 6px 12px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 #fff,
    inset 0 -2px 4px rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.card-tour::before {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  top: 1px;
  height: 46%;
  border-radius: 10px 10px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.card-tour svg { position: relative; z-index: 1; width: 28px; height: 28px; }

.home-tip {
  position: fixed;
  z-index: 90;
  width: max-content;
  max-width: 220px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.card-loupe,
.card-video {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.75));
}

.card-loupe {
  right: 44px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  filter: none;
}

.card-loupe svg { width: 22px; height: 22px; display: block; }

.card-video {
  right: 8px;
  bottom: 46px;
  width: 28px;
  height: 28px;
}

.card-video svg { width: 28px; height: 28px; display: block; }

.home-zoom {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.home-zoom-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  padding: 48px 20px 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
}

.home-zoom-card.is-shot {
  width: max-content;
  max-width: calc(100vw - 32px);
}

.home-zoom-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bds-primary, #f97316);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.home-zoom-stage {
  position: relative;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
}

.home-zoom-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

button.home-zoom-step {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: auto 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

button.home-zoom-step.is-prev { left: 12px; }
button.home-zoom-step.is-next { right: 12px; }
button.home-zoom-step svg { width: 22px; height: 22px; display: block; }
button.home-zoom-step:hover,
button.home-zoom-step:focus-visible,
button.home-zoom-step:active { filter: none; transform: none; background: #fff; }

.home-zoom-count {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
}

.home-zoom-stage:hover button.home-zoom-step,
.home-zoom-stage:focus-within button.home-zoom-step {
  opacity: 1;
  pointer-events: auto;
}

.home-zoom-stage:hover .home-zoom-count,
.home-zoom-stage:focus-within .home-zoom-count { opacity: 1; }

.home-zoom-stage:hover button.home-zoom-step:disabled,
.home-zoom-stage:focus-within button.home-zoom-step:disabled {
  opacity: 0.38;
  pointer-events: none;
}

button.home-zoom-step[hidden],
.home-zoom-count[hidden] { display: none; }

@media (hover: none) {
  button.home-zoom-step,
  .home-zoom-count { opacity: 1; pointer-events: auto; }
  button.home-zoom-step:disabled { opacity: 0.38; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  button.home-zoom-step,
  .home-zoom-count { transition: none; }
}

.home-zoom-video {
  width: min(860px, 100%);
  height: min(70vh, 520px);
  border: 0;
  border-radius: 16px;
  background: #0f172a;
}

.home-zoom-jump {
  color: #0f172a;
  font-weight: 700;
}

.home-zoom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-zoom-nav button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.home-zoom-nav button:disabled { opacity: 0.4; }

.home-zoom-nav span { min-width: 72px; color: #475569; font-size: 13px; font-weight: 700; text-align: center; }

.home-tour {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.72);
}

.home-tour-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f172a;
}

.home-tour-x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bds-primary, #f97316);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.home-tour-stage,
.home-tour-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f172a;
}

.home-tour-card h3 {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 4;
  margin: 0;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  text-shadow: 0 1px 4px rgba(15, 23, 42, 0.6);
}

.home-tour-spin,
.home-tour-out {
  position: absolute;
  z-index: 5;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.home-tour-spin {
  left: 16px;
  bottom: 16px;
  width: 104px;
  background: #fff;
  color: #0f172a;
}

.home-tour-spin[aria-pressed="true"] {
  background: var(--bds-primary, #f97316);
  color: #fff;
}

.home-tour-out {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 0 16px;
  background: #fff;
  color: #0f172a;
}

.pnlm-hotspot-base.post-pano-arrow {
  width: 64px;
  height: 64px;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f172a' d='M12 5l6 7h-4v7h-4v-7H6z'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-size: 30px !important;
  background-repeat: no-repeat !important;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.pnlm-hotspot-base.post-pano-arrow.is-back {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f172a' d='M12 19l-6-7h4V5h4v7h4z'/%3E%3C/svg%3E") !important;
}

.pnlm-hotspot-base.post-pano-arrow span {
  position: absolute;
  visibility: visible !important;
  width: max-content !important;
  max-width: 180px;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.card-media {
  position: relative;
  aspect-ratio: 5 / 4;
  height: auto;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #e2e8f0;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  left: 8px;
  top: 8px;
  max-width: calc(100% - 16px);
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  border-radius: 8px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.kind {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: #fff;
  color: #0f172a;
  border-radius: 8px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
}

.card-rank {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 78px;
  height: 78px;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.35));
}

.card-rank svg { display: block; width: 100%; height: 100%; }

.home-zoom-stage .card-rank {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(15, 23, 42, 0.35));
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}

.play::before {
  content: "";
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #0f172a;
  margin-left: 2px;
}

.card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card h3 .card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.card h3 {
  margin: 0;
  padding: 14px 14px 16px;
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card h3 .unit-price {
  display: block;
  margin-top: 2px;
  color: #c2410c;
  font-weight: 800;
  white-space: normal;
}

.card-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 4px 0;
  color: #2a2a33;
  font-size: 13px;
}

.card-facts span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.card-media:has(.media-offer) .play { top: 40%; }

.media-offer {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 8px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.badge sup, .media-offer sup, .card h3 sup { font-size: 9px; }

.card p {
  margin: 0;
  color: #2a2a33;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card p.card-facts {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.card-place {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-place svg, .card-when svg { flex: none; }

.card-when {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.range-trigger sup { font-size: 9px; }

.site-foot { color: #334155; }
.site-foot-inner {
  width: 100%;
  margin-inline: auto;
  padding: 28px 28px 22px;
}
.foot-top {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.foot-logo img { display: block; height: 54px; width: auto; }
.foot-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.foot-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.foot-ico {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--bds-primary, #006aff);
  background: color-mix(in srgb, var(--bds-primary, #006aff) 12%, white);
}
.foot-ico svg { width: 18px; height: 18px; }
.foot-chip small { display: block; color: #64748b; font-size: 12px; }
.foot-chip strong { display: block; font-size: 14px; font-weight: 700; }
.foot-chip a { color: inherit; text-decoration: none; }
.foot-chip a:hover { color: var(--bds-primary, #006aff); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 0.9fr;
  gap: 32px;
  padding: 26px 0 8px;
}
.foot-company h2 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.foot-company p, .foot-card p { margin: 0 0 8px; color: #64748b; line-height: 1.55; font-size: 14px; }
.foot-company a, .foot-card a { color: #0f172a; text-decoration: none; font-weight: 650; }
.foot-col h3, .foot-aside h3, .foot-card h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.foot-card h3 { color: #0f172a; letter-spacing: 0; text-transform: none; font-size: 15px; }
.foot-col a, .foot-col span { display: block; padding: 5px 0; color: #334155; text-decoration: none; }
.foot-col a:hover { color: var(--bds-primary, #006aff); }
.foot-lang {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.foot-branches { border-top: 1px solid rgba(15, 23, 42, 0.08); }
.foot-branches summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.foot-branches summary::-webkit-details-marker { display: none; }
.foot-branches summary::before {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.foot-branches[open] summary::before { transform: rotate(45deg); }
.foot-branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 16px; }
.foot-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
.foot-legal p { margin: 0; }
.foot-badge {
  flex: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.status { padding: 48px 24px; color: #64748b; }

.browse-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
  padding: 20px 22px 8px;
}
.browse-block { min-width: 0; }
.browse-block h2 {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.browse-note {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
}
.browse-note .is-coarse { display: none; }
.browse-row {
  display: flex;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.browse-row::-webkit-scrollbar { display: none; }
.browse-tile {
  position: relative;
  flex: 0 0 188px;
  height: 118px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  color: #fff;
  font: inherit;
  text-align: left;
  background: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.browse-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2); }
.browse-photo { position: absolute; inset: 0; display: block; }
.browse-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.browse-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 28%, rgba(15, 23, 42, 0.82) 100%);
}
.browse-copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  gap: 2px;
}
.browse-copy strong {
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.browse-copy small { font-size: 12px; font-weight: 650; opacity: 0.92; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.browse-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
.browse-picks[hidden] { display: none !important; }
.browse-pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 4px 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bds-primary, #f49b01) 18%, white);
  color: #1e293b;
  font-size: 13px;
  font-weight: 650;
}
.browse-pick button,
.browse-clear,
.kind-pop-clear {
  border: 0;
  background: transparent;
  color: #9a3412;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.browse-pick button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
.browse-clear { height: 30px; padding: 0 8px; color: #2563eb; }
.browse-tile.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bds-primary, #f49b01);
}
.browse-empty {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 14px;
}
.kind-pop {
  position: fixed;
  z-index: 45;
  display: flex;
  flex-direction: column;
  width: 224px;
  max-height: min(300px, calc(100vh - 24px));
  padding: 10px 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.52);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-16px) scale(0.94);
  transform-origin: left center;
  transition: transform .42s cubic-bezier(.22, .9, .24, 1), opacity .24s ease;
}
.kind-pop.is-out { opacity: 1; pointer-events: auto; transform: none; }
.kind-pop[data-side="left"] { transform-origin: right center; transform: translateX(16px) scale(0.94); }
.kind-pop[data-side="below"] { transform-origin: center top; transform: translateY(-12px) scale(0.96); }
.kind-pop[data-side="above"] { transform-origin: center bottom; transform: translateY(12px) scale(0.96); }
.kind-pop[data-side="left"].is-out,
.kind-pop[data-side="below"].is-out,
.kind-pop[data-side="above"].is-out { transform: none; }
.kind-pop::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 12px;
  background: var(--bds-primary, #f49b01);
  top: var(--nib, 28px);
  left: -8px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.kind-pop[data-side="left"]::after { left: auto; right: -8px; transform: scaleX(-1); }
.kind-pop[data-side="below"]::after {
  left: var(--nib, 28px);
  top: -8px;
  width: 12px;
  height: 9px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.kind-pop[data-side="above"]::after {
  left: var(--nib, 28px);
  top: auto;
  bottom: -8px;
  width: 12px;
  height: 9px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.kind-pop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin: 0 0 8px; }
.kind-pop-head strong { display: block; max-width: 128px; font-size: 13px; line-height: 1.25; letter-spacing: -0.02em; color: #fff; }
.kind-pop-head span { color: rgba(255, 255, 255, 0.62); font-size: 11px; }
.kind-pop-tools { display: flex; align-items: center; gap: 2px; flex: none; }
.kind-pop-clear { height: 26px; padding: 0 6px; font-size: 12px; color: #fdba74; }
.kind-pop-x {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.kind-pop-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 0 0 8px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}
.kind-pop-tab {
  position: relative;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.kind-pop-tab.is-on { background: rgba(255, 255, 255, 0.92); color: #0f172a; }
.kind-pop-tab i {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bds-primary, #f49b01);
}
.kind-pop-body { min-height: 0; max-height: 168px; overflow: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.35) transparent; }
.kind-pop-list { min-height: 0; }
.kind-pop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 5px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.kind-pop-row span { min-width: 0; white-space: nowrap; }
.kind-pop-row b { flex: none; min-width: 18px; color: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 700; text-align: right; }
.kind-pop-row:hover { background: rgba(255, 255, 255, 0.14); }
.kind-pop-row.is-on { background: var(--bds-primary, #f49b01); color: #111827; font-weight: 750; }
.kind-pop-row.is-on b { color: #111827; }
.kind-pop-row.is-zero { color: rgba(255, 255, 255, 0.5); }
.kind-pop-empty { margin: 0; padding: 4px 8px; color: rgba(255, 255, 255, 0.6); font-size: 13px; }
@media (max-width: 1100px) {
  .card { flex-basis: calc(50% - 8px); }
  .finder-row { flex-wrap: wrap; }
  .hero-title { font-size: 32px; top: 18px; }
  .header { gap: 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-company { grid-column: 1 / -1; }
  .foot-contacts { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { padding: 0 0 88px; }

  .region[data-region="header"],
  .region[data-region="footer"] { height: auto !important; }

  .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    height: auto;
    gap: 6px 8px;
    padding: 10px 12px 6px;
  }

  .brand { grid-column: 1; grid-row: 1; min-width: 0; align-items: flex-start; }
  .brand-logo { height: 53px; width: auto; max-height: 53px; }
  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .dock-item { flex: 1; padding: 0 4px; font-size: 12px; }
  .dock-label { max-width: none; }
  .brand-slogan { display: none; }
  .fav-btn .fav-count { position: absolute; top: -6px; right: -8px; }

  .header .nav {
    grid-column: 1 / -1;
    grid-row: 3;
    overflow: visible;
    gap: 0;
  }
  .header .nav-track { justify-content: space-between; }

  .header .nav a,
  .header .nav-open {
    white-space: nowrap;
    justify-content: center;
    padding: 6px 2px;
    gap: 2px;
    font-size: clamp(9px, 2.55vw, 14px);
  }

  .site-foot-inner { padding: 22px 16px 88px; }
  .foot-top, .foot-grid, .foot-branch-grid, .foot-contacts { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; align-items: flex-start; }

  .board { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: 26px; left: 48px; right: 48px; }
  .region[data-region="featured"] { padding: 16px 12px 8px !important; }
  .browse-band { padding: 16px 12px 4px; }
}

@media (max-width: 640px) {
  .board section:first-child .cards,
  .board section:last-child .cards { gap: 12px; }
  .card { flex-basis: 86%; }
  .browse-tile { flex-basis: 64%; height: 118px; }
  .browse-note .is-fine { display: none; }
  .browse-note .is-coarse { display: inline; }
  .kind-pop-body { max-height: 36vh; }
  .finder { padding: 8px 10px 10px; }
  .finder-tabs { margin-bottom: 6px; }
  .finder-row { flex-direction: column; align-items: stretch; }
  .range-filter, .finder-query, .type-filter { width: 100%; min-width: 0; }
  .range-trigger { width: 100%; max-width: none; justify-content: space-between; }
  .range-panel { width: min(360px, calc(100vw - 48px)); }
  .type-panel { left: 0; right: 0; width: auto; max-width: none; }
  .type-options { grid-template-columns: 1fr; width: auto; }
  .type-options label { width: auto; min-height: 44px; font-size: clamp(13px, 3.6vw, 15px); }
  .finder-go { align-self: flex-end; }
  .finder-lens { align-self: flex-end; }
  .finder-globe, .finder-globe canvas { width: 70px; height: 70px; }
  .hero-title { font-size: 22px; top: 46px; }
  .region[data-region="hero"] {
    height: auto !important;
    overflow: visible !important;
  }
  .region[data-region="hero_image"] {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 220px !important;
  }
  .region[data-region="hero_search"] {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: calc(100% - 16px) !important;
    margin: 10px auto 12px;
  }
  .hero-title { top: 36px; }
  .header .nav a,
  .header .nav-open { padding: 6px 1px; font-size: clamp(8.5px, 2.35vw, 13px); }
  .card p.card-place,
  .card p.card-when { display: flex; }
}

html.layout-edit [data-region] { cursor: pointer; }
html.layout-edit [data-region]:hover { outline: 2px solid #2563eb; outline-offset: -2px; }
html.layout-edit [data-region].is-picked { outline: 2px solid #ea580c; outline-offset: -2px; }

.admin-return {
  position: fixed;
  z-index: 40;
  right: 88px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(28, 28, 30, 0.82);
  color: #fff;
  text-decoration: none;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.admin-return:hover { background: rgba(28, 28, 30, 0.94); }

body {
  background: var(--bds-bg, #e7ebf0);
  color: var(--bds-text, #1e293b);
  font-family: var(--bds-font, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif);
  font-size: var(--bds-size-body, 15px);
}

.region[data-region="root"] {
  background: var(--bds-surface, #fff);
  border-radius: var(--bds-radius-lg, 28px);
  width: var(--bds-width, 100%);
  max-width: var(--bds-max, none);
  margin-inline: auto;
}

.header { background: var(--bds-surface, #fff); gap: var(--bds-space-lg, 28px); }
.nav a, .nav-open, .nav-more, .nav-type { color: var(--bds-text, #334155); }
.nav a.is-current {
  background: color-mix(in srgb, var(--bds-primary, #006aff) 16%, #fff);
  color: var(--bds-primary, #1e3a8a);
}
.brand, .brand-slogan, .board-head a { color: var(--bds-primary, #1d4ed8); }
.brand-slogan i,
.finder-go,
.range-apply {
  background: var(--bds-btn-bg, var(--bds-primary, #006aff));
  color: var(--bds-btn-color, #fff);
}
.media-offer {
  background: var(--bds-video-bg, #f97316);
  color: var(--bds-video-color, #fff);
  font-family: var(--bds-video-font, inherit);
  font-size: var(--bds-video-size, 12px);
}
.badge {
  background: var(--bds-photo-bg, rgba(15, 23, 42, 0.82));
  color: var(--bds-photo-color, #fff);
  font-family: var(--bds-photo-font, inherit);
  font-size: var(--bds-photo-size, 12px);
}
html[data-menu="solid"] .nav-drop-card { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-menu="soft"] .nav-drop-card { background: var(--bds-surface, #f4f4f5); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
html[data-menu="dark"] .nav-drop-card { background: rgba(15, 23, 42, 0.9); border-color: transparent; color: #fff; }
html[data-menu="dark"] .nav-type,
html[data-menu="dark"] .nav-sub .nav-type { color: #fff; }
html[data-menu="dark"] .nav-drop-card > .nav-branch + .nav-branch > .nav-type { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
html[data-menu="line"] .nav-drop-card { background: transparent; box-shadow: none; border: 1px solid color-mix(in srgb, var(--bds-text, #0f172a) 28%, transparent); }
.dual-range input[type="range"]::-webkit-slider-thumb { background: var(--bds-primary, #006aff); }
.dual-range input[type="range"]::-moz-range-thumb { background: var(--bds-primary, #006aff); }
.hero-title { font-size: var(--bds-size-heading, clamp(28px, 2.6vw, 42px)); }
.card p, .banner-label {
  font-size: var(--bds-size-caption, 13px);
  font-family: var(--bds-caption-font, inherit);
  color: var(--bds-caption, #2a2a33);
}
.card p, .card-facts { color: var(--bds-caption, #2a2a33); }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):hover,
select:hover,
textarea:hover {
  border-color: var(--bds-hover-border, var(--bds-primary, #006aff));
}
.finder-query { position: relative; }
.finder-query .part-bubble {
  position: absolute;
  z-index: 4;
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
}
.finder-query:hover .part-bubble,
.finder-query:focus-within .part-bubble { opacity: 1; }
.finder-query .part-bubble[data-place="right"] { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.finder-query .part-bubble[data-place="left"] { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.finder-query .part-bubble[data-place="top"] { bottom: calc(100% + 8px); left: 0; }
.finder-query .part-bubble[data-place="bottom"] { top: calc(100% + 8px); left: 0; }
.board { gap: var(--bds-space-lg, 28px); }
.fav-panel { border-radius: var(--bds-radius-lg, 18px); }

.region[data-region="root"] {
  max-width: none;
  margin: 0 auto;
  border-radius: 0;
}
.region[data-region="header"] {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: none;
  background: var(--bds-header-bg, #fff);
  color: var(--bds-header-color, inherit);
  font-family: var(--bds-header-font, inherit);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}
.region[data-region="footer"] {
  width: 100%;
  max-width: none;
  height: auto !important;
  margin: 0 auto;
  background:
    radial-gradient(900px 220px at 12% 0%, color-mix(in srgb, var(--bds-primary, #006aff) 18%, transparent), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.header { background: var(--bds-header-bg, #fff); color: var(--bds-header-color, inherit); font-family: var(--bds-header-font, inherit); min-height: 64px; padding: 8px 20px; }

.corner-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.jump-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jump-nav[hidden] { display: none; }
.jump-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}
.jump-btn svg { width: 20px; height: 20px; pointer-events: none; }
.hub-toggle.dock-btn,
.jump-btn.dock-btn {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}
.hub-toggle.dock-btn.is-icon,
.jump-btn.dock-btn.is-icon { aspect-ratio: 1; padding: 0; border-radius: 50%; }
.dock-ico { display: grid; place-items: center; }
.dock-ico svg { width: 1.15em; height: 1.15em; pointer-events: none; }
.hub-item.is-plain { cursor: default; }
.hub {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.hub-toggle {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}
.hub-toggle svg { width: 20px; height: 20px; pointer-events: none; }
.finder-glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(203, 213, 225, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(100, 116, 139, 0.18);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  color: var(--bds-text, #0f172a);
}
html[data-menu="solid"] .finder-glass { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-menu="soft"] .finder-glass { background: var(--bds-surface, #f4f4f5); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
html[data-menu="dark"] .finder-glass { background: rgba(15, 23, 42, 0.9); border-color: transparent; color: #fff; }
html[data-menu="line"] .finder-glass { background: transparent; box-shadow: none; border: 1px solid color-mix(in srgb, var(--bds-text, #0f172a) 28%, transparent); }
.hub-pop {
  width: min(240px, calc(100vw - 36px));
  padding: 6px;
  border-radius: 16px;
}
.hub-pop[hidden] { display: none; }
.hub-item, .hub-form button, .hub-back {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  padding: 8px;
  cursor: pointer;
}
.hub-item:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.channel-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #fff;
}
.channel-ico svg { width: 16px; height: 16px; }
.channel-ico.is-logo { width: 32px; height: 32px; border-radius: 8px; background: transparent; }
.channel-ico.is-logo svg { width: 32px; height: 32px; }
.hub-form { display: flex; flex-direction: column; gap: 8px; padding: 6px; color: inherit; }
.hub-form textarea { width: 100%; min-height: 84px; border: 0; border-radius: 12px; padding: 8px; font: inherit; }
.hub-form button[type="submit"] { justify-content: center; background: #0f172a; color: #fff; }
.hub-back { justify-content: center; background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; }
button:active:not(:disabled) { transform: translateY(1px); }
button.is-busy { transform: translateY(1px); opacity: 0.72; pointer-events: none; }

.region[data-region="hero"].is-night { background: #07111f !important; }
.region[data-region="hero"].has-wash { background: var(--hero-wash) !important; transition: background-color 0.5s ease; }
.region[data-region="hero"].has-wash .hero-map { background: var(--hero-wash) !important; transition: background-color 0.5s ease; }
.region[data-region="hero"] {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    ". photo"
    "title photo"
    "lead photo"
    "search photo"
    ". photo";
  grid-template-rows: minmax(16px, 1fr) auto auto auto minmax(20px, 1fr);
  align-content: stretch;
  column-gap: 8px;
  row-gap: 0;
  --hero-inset: 56px;
  position: relative;
  min-height: 700px;
  height: auto !important;
  max-width: none;
  margin-bottom: 8px;
  padding: 0 0 0 56px !important;
  background: #fff !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.region[data-region="hero"] .hero-title {
  grid-area: title;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 24px 0 0 !important;
  max-width: none;
  white-space: normal !important;
  text-align: left !important;
  color: var(--hero-title-color, #123a8f) !important;
  text-shadow: none !important;
  font-family: var(--hero-title-font, inherit);
  font-size: var(--hero-title-size, clamp(28px, 2.35vw, 40px)) !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  z-index: 2;
}

.hero-line { display: block; white-space: nowrap; }
.hero-mark { position: relative; display: inline-block; }
.hero-underline {
  position: absolute;
  left: -4%;
  top: calc(100% + 5px);
  width: 124%;
  height: 11px;
  overflow: visible;
  pointer-events: none;
}
.hero-rays {
  position: absolute;
  left: calc(100% + 3px);
  bottom: 0.42em;
  width: 0.78em;
  height: 0.78em;
  overflow: visible;
  pointer-events: none;
}
.hero-underline path { stroke: var(--hero-underline, #38bdf8); }
.hero-rays path { stroke: var(--hero-rays, #38bdf8); }

.hero-lead {
  grid-area: lead;
  max-width: 520px;
  margin: 12px 24px 8px 0;
  color: var(--hero-lead-color, #5b6472);
  font-family: var(--hero-lead-font, inherit);
  font-size: var(--hero-lead-size, 15.5px);
  line-height: 1.55;
  z-index: 2;
}

.hero-globe {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-globe canvas { display: block; width: 100%; height: 100%; }

.hero-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.hero-map {
  position: absolute;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  pointer-events: none;
}
.hero-map.is-night { background: #07111f; }
.hero-map {
  -webkit-mask-image: linear-gradient(to right, #000 74%, transparent 100%);
  mask-image: linear-gradient(to right, #000 74%, transparent 100%);
}
.hero-map-strip {
  display: flex;
  width: 200%;
  height: 100%;
  animation: hero-map-drift 48s ease-in-out infinite alternate;
}
.hero-map-strip svg,
.hero-map-strip canvas { width: 50%; height: 100%; flex: none; display: block; }
.hero-map, .hero-globe { opacity: 1; }
.hero-map.is-off, .hero-globe.is-off { visibility: hidden; opacity: 0; }
.region[data-region="hero"].is-settled .hero-map,
.region[data-region="hero"].is-settled .hero-globe {
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}
.region[data-region="hero"].is-settled .hero-map:not(.is-off),
.region[data-region="hero"].is-settled .hero-globe:not(.is-off) {
  transition: opacity 0.55s ease;
}
.region[data-region="hero"].is-settled [data-region="hero_search"],
.region[data-region="hero"].is-settled .hero-title,
.region[data-region="hero"].is-settled .hero-lead {
  transition: width 0.55s ease, max-width 0.55s ease, font-size 0.55s ease;
}
@media (prefers-reduced-motion: reduce) {
  .region[data-region="hero"].is-settled .hero-map,
  .region[data-region="hero"].is-settled .hero-globe,
  .region[data-region="hero"].is-settled [data-region="hero_search"],
  .region[data-region="hero"].is-settled .hero-title,
  .region[data-region="hero"].is-settled .hero-lead { transition: none; }
}
@keyframes hero-map-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-18%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-map-strip { animation: none; }
}

.region[data-region="hero"].is-globe .region[data-region="hero_search"] {
  width: min(var(--globe-copy, 440px), 100%) !important;
  justify-self: center;
}
.region[data-region="hero"].is-globe .hero-title,
.region[data-region="hero"].is-globe .hero-lead {
  max-width: var(--globe-copy, 440px);
  justify-self: center;
}
.region[data-region="hero"].is-globe .hero-title { font-size: var(--hero-title-size, clamp(22px, 2.4vw, 32px)) !important; }
.region[data-region="hero"].is-globe .finder-tabs,
.region[data-region="hero"].is-globe .finder-filters { flex-wrap: nowrap; }
.region[data-region="hero"].is-globe .finder-tabs button,
.region[data-region="hero"].is-globe .finder-more,
.region[data-region="hero"].is-globe .finder-filters button,
.region[data-region="hero"].is-globe .type-filter { white-space: nowrap; font-size: 12px; }

.region[data-region="hero_search"] {
  grid-area: search;
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: min(560px, 100%) !important;
  height: auto !important;
  z-index: 4 !important;
  align-self: start;
  padding-right: 20px;
}

.region[data-region="hero_image"] {
  grid-area: photo;
  touch-action: pan-y;
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: 100% !important;
  align-self: stretch !important;
  min-height: 100%;
  overflow: hidden;
  z-index: 1;
}

.region[data-region="hero_image"] > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 36%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 36%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

@media (min-width: 801px) {
  .region[data-region="hero_image"] {
    position: absolute !important;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    top: 0 !important;
    bottom: 0 !important;
    left: calc(var(--hero-inset, 56px) * -1) !important;
    right: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    z-index: 1;
  }
  .region[data-region="hero_image"] > img {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 48%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 48%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  }
}

.region[data-region="hero"] .region[data-region="hero_image"]::after { display: none; }
.region[data-region="hero"].is-title-gradient .hero-title,
.region[data-region="hero"].is-night.is-title-gradient .hero-title {
  background-image: var(--hero-title-color);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.region[data-region="hero"].is-lead-gradient .hero-lead,
.region[data-region="hero"].is-night.is-lead-gradient .hero-lead {
  background-image: var(--hero-lead-color);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.region[data-region="hero"].is-night .hero-title { color: var(--hero-title-color, #f8fafc) !important; }
.region[data-region="hero"].is-night .hero-lead { color: var(--hero-lead-color, #d5e4f2); }
.region[data-region="hero"].is-night .hero-underline path { stroke: var(--hero-underline, #7dd3fc); }
.region[data-region="hero"].is-night .hero-rays path { stroke: var(--hero-rays, #7dd3fc); }

.banner-label { display: none; }

.finder {
  position: relative;
  z-index: 2;
  padding: 12px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.finder-tabs { align-items: center; padding-left: 2px; margin-bottom: 8px; max-width: 100%; min-width: 0; overflow: hidden; }
.finder-more-mark { display: none; }
.finder.is-tight .finder-tabs { gap: 8px; }
.finder.is-tight .finder-tabs > button:not(.finder-more) { font-size: 13px; }
.finder.is-tight .finder-more-label { display: none; }
.finder.is-tight .finder-more-mark { display: inline; }
.finder.is-tight .finder-tabs .finder-more {
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  height: 28px;
  padding: 0;
  overflow: hidden;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
}
.finder-tabs button.is-active { box-shadow: inset 0 -2px 0 #f97316; }
.finder-tabs .finder-more {
  margin: 0 4px 0 auto;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 4px 10px;
}

.finder-main { align-items: center; }
.finder-filters { margin-top: 10px; }
.finder-filters .type-filter,
.finder-filters .range-filter { flex: 1 1 0; min-width: 0; }

.finder-query,
.finder-filters .range-trigger {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.finder-filters .range-trigger {
  width: 100%;
  max-width: none;
  justify-content: space-between;
  font-size: 13.5px;
}

.finder-advanced { border-top-color: #e2e8f0; }

.finder-query {
  height: 52px;
  padding: 4px 4px 4px 12px;
  gap: 8px;
  border-radius: 14px;
}

.finder-query .finder-go {
  width: auto;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #f97316 !important;
  color: #fff !important;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.finder-globe canvas {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0 46%, rgba(249, 115, 22, 0) 72%);
}

@media (max-width: 1100px) {
  .region[data-region="hero"] { --hero-inset: 28px; padding-left: 28px !important; }
  .region[data-region="hero"] .hero-title { font-size: var(--hero-title-size, 32px) !important; }
}

@media (max-width: 800px) {
  .region[data-region="hero"] {
    grid-template-columns: 1fr !important;
    grid-template-areas: "title" "lead" "search" "photo" !important;
    grid-template-rows: auto auto auto minmax(280px, auto) !important;
    min-height: 0 !important;
    padding: 24px 16px 0 !important;
  }
  .region[data-region="hero"] .hero-title {
    font-size: var(--hero-title-size, clamp(18px, 4.8vw, 28px)) !important;
    margin-right: 0 !important;
  }
  .hero-line { white-space: nowrap; }
  .hero-lead { margin-right: 0; }
  .region[data-region="hero_search"] { width: 100% !important; padding-right: 0; }
  .finder-query { font-size: clamp(13px, 3.4vw, 16px); }
  .finder-tabs .finder-more-label { display: none; }
  .finder-tabs .finder-more-mark { display: inline; }
  .finder-tabs .finder-more {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 28px;
    padding: 0;
    overflow: hidden;
    text-align: center;
    font-size: 18px;
    line-height: 28px;
  }
  .region[data-region="hero_image"] {
    min-height: 320px;
    height: 360px !important;
    margin: 18px -16px 0;
  }
  .hero-map {
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .region[data-region="hero_image"] > img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
}

@media (max-width: 640px) {
  .finder-query { font-size: clamp(12px, 3.1vw, 15px); }
  .finder-query input { font-size: inherit; }
  .finder-query .finder-go { font-size: clamp(12px, 3.1vw, 14px); padding: 0 12px; }
  .finder-main { flex-direction: row; align-items: center; }
  .finder-filters { flex-direction: column; align-items: stretch; }
  .finder-query .finder-go { align-self: center; width: auto; }
}

input:focus,
select:focus,
textarea:focus,
.range-trigger:focus {
  outline: none;
  border-color: var(--bds-primary, #f97316);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bds-primary, #f97316) 28%, transparent);
}
.finder-query:focus-within,
.range-box:focus-within {
  border-color: var(--bds-primary, #f97316);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bds-primary, #f97316) 28%, transparent);
}
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type="range"]:focus,
input[type="color"]:focus,
input[type="file"]:focus {
  box-shadow: none;
}
.auth-line input:focus,
.secret-line input:focus,
.finder-query input:focus,
.range-box input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}
.advisor-row select:focus,
.advisor-row input:focus,
.amenity-list input:focus,
.amenity-list select:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--bds-primary, #f97316);
}
input[type="checkbox"],
input[type="radio"] { accent-color: var(--bds-primary, #f97316); }

.phone-bar { display: none; }
@media (max-width: 840px) {
  .phone-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 58px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.06);
  }
  .phone-bar a,
  .phone-bar button {
    border: 0;
    background: transparent;
    color: #64748b;
    font: 600 12px/1.2 inherit;
    text-decoration: none;
    cursor: pointer;
  }
  .phone-bar .is-on { color: var(--bds-primary, #f97316); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .corner-dock { bottom: calc(70px + env(safe-area-inset-bottom)); }
}
