
    :root {
      --bg: #a7d4e6;
      --panel: #ffffff;
      --panel-2: #f1f8ff;
      --text: #080d18;
      --muted: #18212f;
      --line: rgba(8, 13, 24, .14);
      --line-strong: rgba(8, 13, 24, .24);
      --gold: #f1a928;
      --green: #159c6e;
      --red: #c2412d;
      --blue: #2f7df6;
      --blue-soft: #eaf5ff;
      --surface: rgba(255, 255, 255, .90);
      --shadow: 0 12px 34px rgba(35, 111, 190, .12);
      --shadow-soft: 0 6px 18px rgba(35, 111, 190, .10);
      --radius: 18px;
      --radius-sm: 14px;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * { box-sizing: border-box; }

    html,
    body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      overscroll-behavior-x: none;
      overflow-anchor: none;
      scroll-behavior: auto;
    }

    body {
      margin: 0;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      min-height: 100vh;
      overflow: hidden;
      background: var(--bg);
      color: var(--text);
    }

    button, input { font: inherit; }

    button {
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      user-select: none;
      transition: transform .25s cubic-bezier(.2, .8, .2, 1), filter .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
      touch-action: manipulation;
    }

    .pressable {
      position: relative;
      transform-origin: center;
      will-change: transform, filter;
      isolation: isolate;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      user-select: none;
      touch-action: manipulation;
      cursor: pointer;
      transition: transform .25s cubic-bezier(.2, .8, .2, 1), filter .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
    }

    .pressable::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      border-radius: inherit;
      pointer-events: none;
      opacity: 0;
      transform: scale(.92);
      background: radial-gradient(circle at var(--press-x, 50%) var(--press-y, 50%), rgba(255, 255, 255, .62), rgba(255, 255, 255, .18) 34%, transparent 66%);
      transition: opacity .28s ease, transform .30s cubic-bezier(.2, .8, .2, 1);
    }

    .pressable > * {
      position: relative;
      z-index: 2;
    }

    .pressable.is-pressing {
      transform: translateY(1px) scale(.965);
      filter: brightness(.985) saturate(1.04);
    }

    .area-btn.pressable.is-pressing,
    .area-card.pressable.is-pressing,
    .bar-card.pressable.is-pressing,
    .bar-card.is-card-pressing {
      transform: translateY(2px) scale(.982);
    }

    .pressable.is-pressing::after {
      opacity: 1;
      transform: scale(1);
    }

    .pressable.press-released {
      animation: pressRelease .34s cubic-bezier(.18, .82, .2, 1);
    }

    @keyframes pressRelease {
      0% { transform: translateY(1px) scale(.97); }
      68% { transform: translateY(-1px) scale(1.012); }
      100% { transform: translateY(0) scale(1); }
    }

    @media (prefers-reduced-motion: reduce) {
      .pressable,
      .pressable::after {
        transition: none !important;
      }
      .pressable.is-pressing,
      .area-btn.pressable.is-pressing,
      .area-card.pressable.is-pressing,
      .bar-card.pressable.is-pressing,
      .bar-card.is-card-pressing {
        transform: none;
      }
      .pressable.press-released {
        animation: none;
      }
    }

    button:active { transform: scale(.985); }

    button.pressable:active { transform: none; }

    button:focus-visible, input:focus-visible {
      outline: 3px solid rgba(8, 13, 24, .18);
      outline-offset: 2px;
    }

    .app {
      width: min(100vw, 460px);
      max-width: 100vw;
      height: 100vh;
      height: 100dvh;
      min-height: 100vh;
      margin: 0 auto;
      padding: 0 16px;
      overflow: hidden;
    }

    .app-scroll {
      height: 100%;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      padding: env(safe-area-inset-top) 0 calc(env(safe-area-inset-bottom) + 8px);
      scrollbar-width: none;
      scroll-behavior: auto;
      overflow-anchor: none;
    }

    .app-scroll::-webkit-scrollbar { display: none; }

    .top-nav {
      position: sticky;
      top: 0;
      z-index: 10;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr .66fr;
      gap: 8px;
      padding: 12px 0 10px;
      background: transparent;
      backdrop-filter: none;
    }

    .top-nav button {
      min-height: 52px;
      display: grid;
      place-items: center;
      gap: 1px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, .78);
      color: var(--text);
      font-size: 22px;
      font-weight: 800;
      cursor: pointer;
      touch-action: manipulation;
      box-shadow: var(--shadow-soft);
    }

    .top-nav button[data-open-how] {
      min-height: 46px;
      padding: 0 4px;
      border-radius: 13px;
      font-size: 18px;
    }

    .top-nav button small {
      display: block;
      font-size: 10px;
      line-height: 1;
      letter-spacing: .01em;
      font-weight: 800;
    }

    .top-nav button[data-open-how] small {
      font-size: 9px;
    }

    .top-nav button.active {
      color: var(--text);
      background: #fff;
      border-color: var(--line-strong);
      box-shadow: 0 8px 22px rgba(47, 125, 246, .12);
    }

    h1, h2, h3, p { margin: 0; }

    h1 {
      font-size: 18px;
      line-height: 1.1;
      letter-spacing: 0;
    }

    .tagline, .muted {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .screen { display: none; padding-bottom: 28px; }
    .screen.active { display: block; }
    .screen:not(#home) {
      padding-bottom: calc(env(safe-area-inset-bottom) + 132px);
    }

    .ghost-btn, .primary-btn, .choice-btn, .chip, .small-btn {
      border: 0;
      cursor: pointer;
      touch-action: manipulation;
      color: var(--text);
    }

    .ghost-btn {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
    }

    .home-stage {
      min-height: calc(100vh - 74px - env(safe-area-inset-top));
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 12px;
      padding: 0 0 28px;
    }

    .home-stage.area-menu-open {
      padding-bottom: calc(env(safe-area-inset-bottom) + 132px);
    }

    .home-bottom {
      display: grid;
      gap: 10px;
      margin-top: 0;
      padding-top: 0;
    }

    .app-intro {
      display: grid;
      gap: 12px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .76);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(12px);
    }

    .app-intro-eyebrow {
      color: var(--text);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .app-intro h2 {
      max-width: 360px;
      font-size: 24px;
      line-height: 1.05;
      letter-spacing: -.025em;
      text-wrap: balance;
    }

    .app-intro p {
      max-width: 390px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .info-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .info-chip {
      min-height: 58px;
      display: grid;
      align-content: center;
      gap: 3px;
      padding: 9px 8px;
      border: 1px solid rgba(8, 13, 24, .10);
      border-radius: var(--radius-sm);
      background: #f7fbff;
      text-align: center;
    }

    .info-chip b {
      color: var(--text);
      font-size: 15px;
      line-height: 1;
    }

    .info-chip span {
      color: var(--muted);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .03em;
      text-transform: uppercase;
    }

    .how-it-works {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-top: 2px;
    }

    .step {
      min-height: 54px;
      display: grid;
      align-content: center;
      gap: 4px;
      padding: 8px 7px;
      border-radius: var(--radius-sm);
      color: var(--muted);
      background: rgba(255, 255, 255, .62);
      font-size: 11px;
      font-weight: 800;
      line-height: 1.15;
      text-align: center;
    }

    .step b {
      width: 22px;
      height: 22px;
      display: grid;
      place-items: center;
      margin: 0 auto;
      border-radius: 999px;
      background: var(--blue-soft);
      color: var(--text);
      font-size: 12px;
    }

    .signal {
      width: fit-content;
      margin: 0 auto;
      padding: 7px 10px;
      border: 1px solid rgba(8, 13, 24, .14);
      border-radius: 999px;
      color: var(--text);
      background: var(--surface);
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      text-align: center;
    }

    .hero {
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: var(--surface);
      text-align: center;
      box-shadow: var(--shadow);
    }

    .home-stage.area-menu-open {
      padding-top: 0;
    }

    .home-stage.area-menu-open .hero {
      display: none;
    }

    .home-stage.area-menu-open .section-title {
      margin: 0;
    }

    .brand-logo {
      display: block;
      width: min(100%, 350px);
      height: auto;
      margin: 0 auto;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .quick-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      margin: 0;
    }

    .choice-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 11px;
      min-height: 150px;
      padding: 16px 12px;
      text-align: center;
      border-radius: var(--radius-sm);
      border: 1px solid var(--line);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .choice-icon {
      flex: 0 0 auto;
      width: 66px;
      height: 66px;
      display: grid;
      place-items: center;
      border-radius: var(--radius-sm);
      background: var(--blue-soft);
      color: var(--text);
      font-size: 40px;
    }

    .choice-btn strong {
      display: block;
      font-size: 16px;
      line-height: 1.1;
      margin-bottom: 0;
    }

    .choice-btn span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .choice-btn.primary {
      color: var(--text);
      background: var(--surface);
      border-color: var(--line-strong);
      box-shadow: 0 12px 28px rgba(47, 125, 246, .12);
    }

    .choice-btn.primary .choice-icon {
      background: var(--blue-soft);
    }

    .choice-btn.primary span { color: var(--muted); }
    .choice-btn.primary strong { color: var(--text); }

    .search {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0;
      padding: 15px 14px;
      border-radius: var(--radius-sm);
      background: var(--surface);
      border: 1px solid var(--line);
    }

    .search input {
      flex: 1;
      min-width: 0;
      color: var(--text);
      border: 0;
      outline: 0;
      background: transparent;
      font-size: 16px;
    }

    .search button {
      flex: 0 0 auto;
      min-height: 34px;
      padding: 0 12px;
      border: 0;
      border-radius: 999px;
      color: #fff;
      background: var(--blue);
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
      touch-action: manipulation;
    }

    .search-status {
      margin: -2px 2px 0;
      min-height: 18px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 750;
      line-height: 1.35;
    }

    .search-status.error {
      color: var(--red);
    }

    .search-status.info {
      color: var(--blue);
    }

    .home-note {
      max-width: 280px;
      margin: 0 auto;
      padding: 9px 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      color: var(--muted);
      background: var(--surface);
      font-size: 12px;
      line-height: 1.4;
      text-align: center;
    }

    .map-disclaimer {
      max-width: none;
      margin: 0 0 10px;
    }

    .section-title {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
      margin: 18px 0 10px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: var(--surface);
    }

    #home .section-title {
      margin: 0;
    }

    .section-title h3 { font-size: 15px; }

    .area-menu-back {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 8px 11px;
      white-space: nowrap;
      font-size: 12px;
      font-weight: 900;
    }

    #areaBackBtn {
      flex-shrink: 0;
      white-space: nowrap;
      line-height: 1;
    }

    .area-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
    }

    .area-btn {
      min-height: 74px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: var(--panel);
      color: var(--text);
      text-align: left;
    }

    .area-btn strong {
      display: block;
      font-size: 16px;
      margin-bottom: 5px;
    }

    .area-btn span {
      color: var(--muted);
      font-size: 12px;
    }

    .map {
      position: relative;
      overflow: hidden;
      min-height: 232px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background:
        linear-gradient(90deg, rgba(0,104,214,.08) 1px, transparent 1px),
        linear-gradient(rgba(0,104,214,.08) 1px, transparent 1px),
        linear-gradient(145deg, #ffffff, #d8edff);
      background-size: 42px 42px, 42px 42px, auto;
      box-shadow: var(--shadow);
    }

    .map::before {
      content: "";
      position: absolute;
      inset: 32px -20px auto;
      height: 54px;
      transform: rotate(-13deg);
      background: rgba(47, 125, 246, .14);
      border-top: 1px solid rgba(8, 13, 24, .12);
      border-bottom: 1px solid rgba(8, 13, 24, .12);
    }

    .map::after {
      content: "";
      position: absolute;
      left: 9%;
      bottom: 12%;
      width: 84%;
      height: 46px;
      border-radius: 999px;
      transform: rotate(8deg);
      background: rgba(241, 169, 40, .10);
      border: 1px dashed rgba(241, 169, 40, .24);
    }

    .map-label {
      position: absolute;
      left: 12px;
      top: 12px;
      z-index: 2;
      padding: 8px 10px;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, .88);
      border: 1px solid var(--line);
      font-size: 12px;
      color: var(--muted);
    }

    .pin {
      position: absolute;
      z-index: 2;
      width: 32px;
      height: 32px;
      border: 2px solid rgba(255, 255, 255, .92);
      border-radius: 50% 50% 50% 4px;
      transform: rotate(-45deg);
      background: #2f7df6;
      box-shadow: 0 10px 22px rgba(47, 125, 246, .16);
    }

    .pin span {
      display: grid;
      place-items: center;
      width: 100%;
      height: 100%;
      transform: rotate(45deg);
      color: #fff;
      font-size: 11px;
      font-weight: 900;
    }

    .chips {
      display: flex;
      gap: 8px;
      margin: 12px -14px 14px;
      padding: 0 14px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .chips::-webkit-scrollbar { display: none; }

    .chip {
      flex: 0 0 auto;
      padding: 10px 12px;
      border-radius: 999px;
      background: var(--surface);
      border: 1px solid var(--line);
      font-size: 13px;
      white-space: nowrap;
    }

    .chip.active {
      color: var(--text);
      background: #fff;
      border-color: var(--line-strong);
      box-shadow: 0 6px 16px rgba(47, 125, 246, .08);
      font-weight: 800;
    }

    .bar-list {
      display: grid;
      gap: 10px;
    }

    .bar-card, .price-panel {
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .bar-card {
      padding: 10px;
      scroll-margin-top: 92px;
    }

    .bar-card.has-map-action {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 104px;
      gap: 8px;
      align-items: center;
      padding: 6px;
    }

    .bar-card-main {
      min-width: 0;
      display: grid;
      align-content: center;
      gap: 5px;
      padding-left: 4px;
    }

    .bar-card.has-map-action .actions {
      margin-top: 8px;
    }

    .bar-card.has-map-action .bar-top {
      margin-bottom: 0;
    }

    .bar-card.has-map-action .small-btn {
      min-height: 36px;
    }

    .bar-card.has-map-action .bar-top h3 {
      font-size: 17px;
    }

    .bar-card.has-map-action .muted {
      font-size: 11px;
      line-height: 1.2;
    }

    .bar-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .bar-heading {
      min-width: 0;
      display: grid;
      align-content: center;
      gap: 3px;
    }

    .bar-top h3 { font-size: 18px; }

    .bar-detail-link {
      color: inherit;
      text-decoration: none;
    }

    .bar-detail-link:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 3px;
      border-radius: 4px;
    }

    .bar-top-actions {
      flex: 0 0 auto;
      display: grid;
      justify-items: end;
      gap: 6px;
    }

    .bar-card-map-btn,
    .bar-card-map-placeholder {
      width: 104px;
      height: 104px;
      padding: 5px;
      border: 1px solid rgba(47, 125, 246, .18);
      border-radius: 17px;
      background: #fff;
      box-shadow: 0 6px 16px rgba(47, 125, 246, .12);
      justify-self: end;
      align-self: center;
    }

    .bar-card-map-btn {
      cursor: pointer;
      touch-action: manipulation;
    }

    .bar-card-map-placeholder {
      opacity: .78;
      cursor: default;
    }

    .bar-card-map-btn img,
    .bar-card-map-placeholder img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .distance {
      flex: 0 0 auto;
      padding: 5px 8px;
      border-radius: 999px;
      background: rgba(8, 13, 24, .04);
      color: var(--text);
      font-size: 12px;
      font-weight: 800;
    }

    .prices {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
      gap: 7px;
      min-width: 0;
    }

    .price {
      padding: 10px 6px;
      border-radius: var(--radius-sm);
      background: #f8fafc;
      border: 1px solid rgba(8, 13, 24, .10);
      color: var(--text);
      min-width: 0;
    }

    .price b {
      display: block;
      color: var(--text);
      font-size: 18px;
      line-height: 1;
    }

    .price span {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 11px;
    }

    .meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 10px 0;
    }

    .confidence-row {
      width: 100%;
      display: grid;
      gap: 7px;
      margin: 10px 0 2px;
    }

    .confidence-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--text);
      font-size: 12px;
      font-weight: 800;
    }

    .confidence-head span {
      color: var(--muted);
      font-weight: 700;
    }

    .confidence-status {
      color: var(--muted);
      font-weight: 800;
    }

    .confidence-status.recheck {
      color: var(--red);
    }

    .confidence-status.confident {
      color: var(--green);
    }

    .confidence-bars {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 5px;
    }

    .confidence-bars i {
      height: 7px;
      border-radius: 999px;
      background: rgba(8, 13, 24, .10);
    }

    .confidence-bars i.on {
      background: var(--green);
    }

    .pill {
      padding: 6px 8px;
      border-radius: 999px;
      color: var(--muted);
      background: rgba(8, 13, 24, .045);
      font-size: 11px;
    }

    .pill.good { color: var(--text); }
    .pill.warn { color: var(--text); }

    .actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 10px;
    }

    .actions.has-admin-tools {
      grid-template-columns: 1fr 1fr;
    }

    .actions.has-owner-tools {
      grid-template-columns: 1fr 1fr;
      gap: 7px;
    }

    .owner-delete-btn {
      border-color: rgba(194, 65, 45, .22);
      background: rgba(194, 65, 45, .08);
      color: var(--red);
    }

    .owner-location-status {
      min-height: 18px;
      color: var(--muted);
      font-size: 12.5px;
      line-height: 1.25;
    }

    .small-btn {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-sm);
      background: var(--surface);
      border: 1px solid var(--line);
      color: var(--text);
      text-decoration: none;
      font-weight: 800;
    }

    .map-btn {
      border-color: rgba(47, 125, 246, .24);
      background: #eef7ff;
      color: #075477;
    }

    .edit-pin-btn {
      border-color: rgba(21, 156, 110, .24);
      background: #effcf6;
      color: #0f6b49;
    }

    .bar-card-map-btn.map-btn {
      width: 56px;
      height: 50px;
      min-height: 50px;
      padding: 5px;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, .86);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }

    .bar-card-map-btn.map-btn img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .small-btn.good { background: rgba(21, 156, 110, .10); color: var(--green); }
    .small-btn.bad { background: rgba(194, 65, 45, .09); color: var(--red); }

    .owner-tools-card {
      margin-top: 10px;
      padding: 10px;
      display: grid;
      gap: 8px;
      border: 1px solid rgba(255, 255, 255, .7);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .58);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(12px);
    }

    .owner-tools-card[hidden] {
      display: none !important;
    }

    .owner-tools-card .actions {
      margin-top: 0;
      grid-template-columns: 1fr 1fr;
    }

    .owner-tools-card [data-owner-locationless-list] {
      grid-column: 1 / -1;
      width: 100%;
    }

    .owner-status {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
      text-align: center;
    }

    #detail {
      padding-top: 0;
    }

    .detail-head {
      display: flex;
      align-items: center;
      gap: 16px;
      margin: 0 0 12px;
      padding: 13px 14px;
      min-height: 94px;
      box-sizing: border-box;
    }

    .detail-heading {
      position: relative;
      min-width: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-right: 66px;
    }

    .detail-title-row {
      display: block;
      width: 100%;
      min-width: 0;
    }

    .detail-title-row h2 {
      min-width: 0;
      flex: 1 1 auto;
      overflow-wrap: anywhere;
      margin: 0;
      line-height: 1.02;
    }

    #detailArea {
      margin: 2px 0 0;
      line-height: 1.12;
    }

    .detail-map-btn.bar-card-map-btn {
      width: 52px;
      height: 48px;
      min-height: 48px;
      margin: 0;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      padding: 5px;
    }

    .back {
      width: 52px;
      height: 48px;
      flex: 0 0 52px;
      display: grid;
      place-items: center;
      padding: 0 0 3px;
      line-height: 1;
      border-radius: var(--radius-sm);
      color: var(--text);
      background: rgba(255, 255, 255, .86);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-soft);
      font-size: 31px;
      font-weight: 850;
    }

    .price-panel {
      padding: 14px;
    }

    .notice {
      margin-top: 12px;
      padding: 12px;
      border: 1px solid rgba(241, 169, 40, .24);
      border-radius: var(--radius-sm);
      color: #75500b;
      background: rgba(241, 169, 40, .12);
      font-size: 13px;
      line-height: 1.4;
    }

    dialog {
      position: fixed;
      /* Keep horizontal centering tied to the stable layout viewport.
         iOS changes visualViewport.offsetLeft/width while focusing inputs,
         which was making the whole modal/app appear to slide right. */
      left: 50%;
      right: auto;
      width: min(calc(100vw - 24px), 430px);
      max-width: calc(100vw - 24px);
      max-height: calc(var(--vv-height, 100dvh) - 18px);
      margin: calc(var(--vv-offset-top, 0px) + 9px) 0 0;
      transform: translateX(-50%);
      padding: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      color: var(--text);
      background: var(--panel);
      box-shadow: var(--shadow);
    }

    dialog::backdrop { background: rgba(0, 0, 0, .72); }

    .modal-body {
      display: grid;
      gap: 12px;
      max-height: calc(var(--vv-height, 100dvh) - 20px);
      padding: 18px;
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }

    .modal-body h3 { font-size: 22px; }

    .map-dialog {
      width: min(calc(100vw - 18px), 430px);
    }

    .map-modal-body {
      gap: 10px;
      padding: 12px;
      max-height: calc(var(--vv-height, 100dvh) - 18px);
    }

    .map-dialog-head {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: start;
    }

    .map-dialog-head h3 {
      font-size: 20px;
      line-height: 1.05;
    }

    .map-dialog-head .muted {
      margin-top: 3px;
      font-size: 11.5px;
      line-height: 1.2;
    }

    .map-dialog-close {
      width: 40px;
      height: 40px;
      border-radius: 14px;
      font-size: 24px;
      line-height: 1;
      font-weight: 900;
    }

    .embedded-map-shell {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--panel-2);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
    }

    .embedded-map-shell iframe,
    .google-js-map {
      display: block;
      width: 100%;
      height: min(58vh, 430px);
      min-height: 330px;
      border: 0;
    }

    .embedded-map-shell iframe[hidden],
    .google-js-map[hidden] {
      display: none;
    }

    .google-js-map .gm-style-iw-chr {
      min-height: 0;
    }

    .google-map-blue-dot,
    .google-map-blue-dot-accuracy {
      position: absolute;
      left: 50%;
      top: 50%;
      z-index: 3;
      pointer-events: none;
      transform: translate(-50%, -50%);
    }

    .google-map-blue-dot {
      width: 20px;
      height: 20px;
      border: 3px solid #fff;
      border-radius: 50%;
      background: #1677ff;
      box-shadow: 0 0 0 4px rgba(22,119,255,.22), 0 3px 12px rgba(8,13,24,.28);
    }

    .google-map-blue-dot-accuracy {
      width: 42px;
      height: 42px;
      border: 1px solid rgba(22,119,255,.24);
      border-radius: 50%;
      background: rgba(22,119,255,.16);
    }

    .google-map-blue-dot[hidden],
    .google-map-blue-dot-accuracy[hidden] {
      display: none;
    }

    .map-location-note {
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 10px;
      z-index: 4;
      padding: 7px 9px;
      border: 1px solid rgba(8, 13, 24, .12);
      border-radius: 12px;
      background: rgba(255, 255, 255, .92);
      color: var(--muted);
      font-size: 11px;
      line-height: 1.2;
      box-shadow: 0 6px 18px rgba(8, 13, 24, .10);
      pointer-events: none;
    }

    .map-location-note[hidden] {
      display: none;
    }

    .map-dialog-actions {
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin: 0;
    }

    .map-dialog-actions .primary-btn,
    .map-dialog-actions .small-btn {
      min-height: 44px;
      padding: 0 10px;
      font-size: 14px;
    }

    .intro-points {
      display: grid;
      gap: 9px;
      margin: 2px 0;
    }

    .intro-point {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 44px;
      padding: 9px;
      border-radius: var(--radius-sm);
      background: var(--surface);
      color: var(--text);
      font-size: 14px;
      line-height: 1.25;
    }

    .intro-point b {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: var(--radius-sm);
      background: var(--blue-soft);
      color: var(--text);
      font-size: 19px;
    }

    .field-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }

    .field-choice {
      min-height: 48px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      color: var(--text);
      background: var(--surface);
    }

    .field-choice.active {
      color: var(--text);
      background: #fff;
      border-color: var(--blue);
      box-shadow: 0 8px 20px rgba(47, 125, 246, .10);
      font-weight: 900;
    }

    .price-input {
      width: 100%;
      min-height: 54px;
      padding: 0 14px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--line);
      outline: none;
      color: var(--text);
      background: var(--surface);
      font-size: 22px;
      font-weight: 900;
      transition: border-color .20s ease, background .20s ease, box-shadow .20s ease, transform .20s cubic-bezier(.2, .8, .2, 1);
    }

    .primary-btn {
      min-height: 52px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--blue);
      background: #fff;
      color: var(--text);
      font-weight: 900;
    }

    .confirm-btn {
      border-color: #12805a;
      background: var(--green);
      color: #fff;
      box-shadow: 0 8px 20px rgba(21, 156, 110, .20);
    }

    .update-btn {
      border-color: rgba(194, 65, 45, .38);
      background: #fff7f5;
      color: var(--red);
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 92px;
      z-index: 20;
      max-width: min(calc(100% - 28px), 420px);
      padding: 12px 14px;
      transform: translate(-50%, 16px);
      border-radius: var(--radius-sm);
      opacity: 0;
      pointer-events: none;
      background: #162033;
      color: #fff;
      font-weight: 900;
      box-shadow: var(--shadow);
      transition: .18s ease;
    }

    .toast.show {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    .moderator-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin: 0 0 12px;
      padding: 9px 10px;
      border: 1px solid rgba(21, 156, 110, .16);
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, .70);
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .moderator-strip b { color: var(--green); }

    .moderator-strip button {
      min-height: 34px;
      padding: 0 10px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .login-form {
      display: grid;
      gap: 10px;
    }

    .login-form label {
      display: grid;
      gap: 5px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .login-form input {
      min-height: 50px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      color: var(--text);
      background: var(--surface);
      font-size: 16px;
      font-weight: 800;
    }


    .nav-icon, .search-icon {
      display: block;
      font-weight: 900;
      line-height: 1;
    }

    .nav-icon { font-size: 23px; }
    .search-icon { color: var(--text); font-size: 19px; }

    .ui-icon {
      width: 24px;
      height: 24px;
      display: block;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .ui-icon.large {
      width: 38px;
      height: 38px;
      stroke-width: 1.9;
    }

    .home-note {
      max-width: 330px;
      padding: 11px 14px;
      font-size: 13px;
      line-height: 1.35;
    }

    #map .map-disclaimer {
      width: 100%;
      max-width: none;
      margin: 0 0 10px;
    }

    .home-help {
      width: fit-content;
      min-height: 38px;
      padding: 0 14px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .choice-icon {
      position: relative;
      font-size: 34px;
      box-shadow: inset 0 0 0 1px rgba(8, 13, 24, .08);
    }

    .choice-btn strong { font-size: 16px; }

    .area-btn, .bar-card, .price-panel, .map, .hero, .search, .section-title {
      backdrop-filter: blur(10px);
    }

    .area-btn {
      box-shadow: var(--shadow-soft);
      transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
    }

    .area-btn:active { transform: scale(.99); }
    .area-btn strong { color: var(--text); }

    .map {
      min-height: 210px;
      box-shadow: var(--shadow-soft);
    }

    .near-note, .empty-state {
      margin: 0 0 12px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, .70);
      color: var(--muted);
      font-size: 13px;
      line-height: 1.35;
      text-align: center;
    }

    .near-note .near-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 10px;
    }

    .near-note .near-actions.has-settings {
      grid-template-columns: 1fr;
    }

    .near-note .near-action {
      min-height: 42px;
      display: grid;
      place-items: center;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 14px;
      color: var(--text);
      background: rgba(255,255,255,.88);
      font-size: 12px;
      font-weight: 900;
      text-decoration: none;
    }

    .near-note .near-action.primary {
      border-color: rgba(21,156,110,.25);
      background: rgba(241,251,246,.95);
      color: #0b6f4e;
    }

    .near-note .near-action.refreshing {
      opacity: .72;
      pointer-events: none;
    }

    .near-note .near-location-updated {
      display: inline-block;
      margin-top: 3px;
      font-size: 12px;
      color: rgba(8, 13, 24, .68);
    }

    .empty-state {
      display: grid;
      gap: 8px;
      padding: 18px 14px;
      color: var(--text);
      background: #fff;
      box-shadow: var(--shadow-soft);
    }

    .empty-state b {
      font-size: 17px;
    }

    .empty-state span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.4;
    }

    .map-label {
      color: var(--text);
      font-weight: 800;
    }

    .pin {
      width: 34px;
      height: 34px;
      border-color: #fff;
    }

    .chips {
      margin-top: 14px;
      margin-bottom: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      overflow: visible;
    }

    .chip {
      min-height: 38px;
      font-weight: 750;
      color: var(--muted);
      box-shadow: 0 4px 12px rgba(41, 75, 122, .05);
    }

    .chip.active {
      color: var(--text);
      background: #fff;
      border-color: var(--line-strong);
      box-shadow: 0 6px 16px rgba(47, 125, 246, .08);
    }

    .area-filter-strip {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      flex-wrap: nowrap;
      gap: 3px;
      margin: 8px 0 12px;
      padding: 4px;
      border: 1px solid rgba(255,255,255,.48);
      border-radius: 17px;
      overflow: hidden;
      background:
        linear-gradient(100deg, rgba(2,12,48,.64) 0%, rgba(4,18,62,.48) 48%, rgba(7,22,66,.24) 78%, rgba(255,255,255,.08) 100%),
        linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 44%),
        rgba(5, 18, 58, .16);
      -webkit-backdrop-filter: blur(1px) saturate(1.04);
      backdrop-filter: blur(1px) saturate(1.04);
      box-shadow: 0 10px 22px rgba(0, 28, 68, .20), inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.12);
      scrollbar-width: none;
    }

    .area-filter-strip .chip {
      min-width: 0;
      min-height: 32px;
      padding: 6px 4px;
      border: 1px solid transparent;
      border-radius: 12px;
      background: transparent;
      color: rgba(255,255,255,.94);
      font-size: 11.5px;
      line-height: 1;
      font-weight: 900;
      text-shadow: 0 1px 9px rgba(1,8,35,.48);
      box-shadow: none;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .area-filter-strip .chip.active {
      color: #071525;
      border-color: rgba(255,255,255,.72);
      background: rgba(255,255,255,.94);
      text-shadow: none;
      box-shadow: 0 4px 10px rgba(0, 28, 68, .16), inset 0 1px 0 rgba(255,255,255,.76);
    }

    .bar-card {
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .bar-card.price-confirmed {
      animation: confirmedPriceCardOutline 3.6s cubic-bezier(.18, .9, .22, 1) both;
    }

    .bar-card.price-confirmed::before {
      width: 3px;
      animation: confirmedPriceLeftEdge 3.8s ease both;
    }

    @keyframes confirmedPriceLeftEdge {
      0%, 82% { opacity: 0; }
      92% { opacity: .35; }
      100% { opacity: 1; }
    }

    @keyframes confirmedPriceCardOutline {
      0% {
        border-color: rgba(14, 165, 233, .34);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 38px rgba(14, 116, 144, .18), 0 0 0 1px rgba(255, 255, 255, .75) inset;
      }
      8% {
        border-color: rgba(34, 197, 94, 1);
        background: #f4fff8;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, .98), 0 0 0 12px rgba(34, 197, 94, .22), var(--shadow-soft);
      }
      23% {
        border-color: rgba(34, 197, 94, .92);
        background: #f4fff8;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, .86), 0 0 0 10px rgba(34, 197, 94, .15), var(--shadow-soft);
      }
      36% {
        border-color: rgba(31, 141, 74, .34);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 0 0 1px rgba(34, 197, 94, .20), 0 0 0 2px rgba(34, 197, 94, .03), var(--shadow-soft);
      }
      50% {
        border-color: rgba(34, 149, 204, .24);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 13px 30px rgba(14, 116, 144, .12), 0 0 0 1px rgba(255, 255, 255, .70) inset;
      }
      58% {
        border-color: rgba(34, 197, 94, 1);
        background: #f4fff8;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, .94), 0 0 0 11px rgba(34, 197, 94, .19), var(--shadow-soft);
      }
      73% {
        border-color: rgba(34, 197, 94, .82);
        background: #f4fff8;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, .68), 0 0 0 8px rgba(34, 197, 94, .11), var(--shadow-soft);
      }
      84% {
        border-color: rgba(35, 151, 89, .46);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 9px 24px rgba(14, 116, 144, .09), 0 0 0 1px rgba(34, 197, 94, .14), 0 0 0 2px rgba(34, 197, 94, .03);
      }
      93% {
        border-color: rgba(68, 168, 214, .36);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 15px 34px rgba(14, 116, 144, .15), 0 0 0 1px rgba(255, 255, 255, .74) inset;
      }
      100% {
        border-color: rgba(14, 165, 233, .34);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 38px rgba(14, 116, 144, .18), 0 0 0 1px rgba(255, 255, 255, .75) inset;
      }
    }

    .bar-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 3px;
      background: rgba(8, 13, 24, .14);
      opacity: 1;
    }

    .bar-top h3 {
      font-size: 19px;
      line-height: 1.12;
      letter-spacing: -.01em;
    }

    .distance {
      background: #eefaf5;
      color: var(--green);
      border: 1px solid rgba(21, 156, 110, .12);
    }

    .price {
      min-height: 70px;
      display: grid;
      align-content: center;
      gap: 5px;
      text-align: center;
      background: #f7fbff;
    }

    button.price {
      width: 100%;
      border: 1px solid rgba(180, 112, 24, .24);
      border-radius: var(--radius-sm);
      cursor: pointer;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.60);
    }

    button.price:active { transform: scale(.985); }

    .price b {
      font-size: 21px;
      letter-spacing: -.02em;
      white-space: nowrap;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .price b.range-price {
      font-size: 15px;
      letter-spacing: -.045em;
    }

    .price b.fixed-price {
      font-size: 18px;
      letter-spacing: -.04em;
    }

    .price span {
      margin-top: 0;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
      white-space: nowrap;
    }

    .price small {
      color: var(--red);
      font-size: 9px;
      font-weight: 950;
      line-height: 1;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .price em {
      width: 100%;
      height: 5px;
      display: block;
      margin-top: 5px;
      border-radius: 999px;
      background: rgba(8, 13, 24, .10);
      font-size: 0;
      line-height: 0;
      overflow: hidden;
    }

    .price em::before {
      content: "";
      display: block;
      width: var(--status-fill, 42%);
      height: 100%;
      border-radius: inherit;
      background: var(--status-color, #d8dee8);
    }

    .price.confidence-strong, .price.confidence-confident { border-color: rgba(21, 156, 110, .24); background: #f4fbf7; }
    .price.confidence-checked { border-color: rgba(47, 125, 246, .22); background: #f7fbff; }
    .price.confidence-recheck { border-color: rgba(241, 169, 40, .26); background: #fffaf0; }
    .price.confidence-variation { border-color: rgba(194, 65, 45, .55); background: #fff7f5; box-shadow: inset 0 0 0 1px rgba(194, 65, 45, .18); }
    .price.confidence-weak { border-color: rgba(8, 13, 24, .10); background: #f8fafc; }
    .price.confidence-strong em, .price.confidence-confident em { --status-color: var(--green); --status-fill: 100%; }
    .price.confidence-checked em { --status-color: var(--blue); --status-fill: 72%; }
    .price.confidence-recheck em { --status-color: var(--gold); --status-fill: 36%; }
    .price.confidence-variation em { --status-color: var(--red); --status-fill: 45%; }
    .price.confidence-weak em { --status-color: #aeb7c5; --status-fill: 24%; }

    #detailPrices {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
    }

    #detailPrices .price {
      height: 74px;
      min-height: 74px;
      position: relative;
      display: block;
      padding: 0;
      box-shadow: none;
      overflow: hidden;
    }

    #detailPrices .price b {
      position: absolute;
      left: 0;
      right: 0;
      top: 8px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      font-size: 18px;
      line-height: 1;
      letter-spacing: -.03em;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    #detailPrices .price span {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 8px;
      height: 12px;
      margin-top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9.5px;
      line-height: 1;
      text-align: center;
    }

    #detailPrices .price em,
    #detailPrices .price small {
      display: none;
    }

    #detailPrices .price.price-available {
      border-color: rgba(21, 156, 110, .26);
      background: #f1fbf6;
    }

    #detailPrices .price.price-unavailable {
      border-color: rgba(241, 169, 40, .32);
      background: #fff8e6;
    }

    #detailPrices .price.price-unavailable b {
      font-size: 7.8px;
      line-height: 1.08;
      letter-spacing: -.035em;
      white-space: nowrap;
      overflow: visible;
      text-overflow: clip;
    }

    .pill {
      min-height: 30px;
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      font-weight: 750;
    }

    .pill.secondary {
      color: var(--muted);
      background: transparent;
      border: 1px solid var(--line);
    }

    .actions {
      gap: 9px;
    }

    .small-btn {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      text-decoration: none;
      background: #fff;
      box-shadow: 0 4px 12px rgba(41, 75, 122, .05);
    }

    .small-btn.good { color: var(--green); border-color: rgba(21, 156, 110, .16); }
    .small-btn.bad { color: var(--red); border-color: rgba(194, 65, 45, .14); }
    .small-btn.price-available-btn,
    .small-btn.price-unavailable-btn {
      width: 100%;
      padding-inline: 10px;
      white-space: normal;
      text-align: center;
      line-height: 1.1;
      border-radius: 17px;
    }
    .small-btn.price-available-btn {
      color: #0b6f4e;
      border-color: rgba(21, 156, 110, .24);
      background: #f1fbf6;
    }
    .small-btn.price-unavailable-btn {
      color: #8a5b04;
      border-color: rgba(241, 169, 40, .34);
      background: #fff8e6;
    }

    .small-btn.price-expanded-btn {
      color: #ffffff;
      border-color: rgba(7, 89, 133, .38);
      background: linear-gradient(180deg, #0ea5e9, #0284c7);
      box-shadow: 0 8px 18px rgba(14, 165, 233, .20), inset 0 1px 0 rgba(255, 255, 255, .28);
    }

    .detail-head {
      padding-top: 12px;
    }

    .detail-head h2 {
      font-size: 22px;
      line-height: 1.05;
      letter-spacing: -.02em;
    }

    .price-panel {
      box-shadow: var(--shadow-soft);
    }

    .detail-extra {
      display: grid;
      gap: 10px;
      margin: 12px 0 14px;
    }

    .detail-block {
      display: grid;
      gap: 8px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: #f7fbff;
    }

    .detail-block h3 {
      font-size: 13px;
      line-height: 1;
    }

    .detail-confidence-grid {
      display: grid;
      gap: 7px;
    }

    .detail-confidence-item {
      display: block;
      padding: 10px 12px;
      border: 1px solid rgba(8, 13, 24, .08);
      border-radius: 12px;
      background: #fff;
      font-size: 13px;
      line-height: 1.18;
      font-weight: 850;
    }

    .detail-confidence-item span {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.2;
      font-weight: 800;
    }

    .detail-confidence-item.has-variation {
      border-color: rgba(194, 65, 45, .28);
      background: #fffafa;
    }

    .mini-history {
      display: grid;
      gap: 4px;
      margin-top: 7px;
    }

    .mini-history div {
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 8px;
      align-items: center;
      padding: 5px 7px;
      border-radius: 9px;
      background: #f8fafc;
      font-size: 11px;
    }

    .mini-history b {
      color: var(--text);
      font-size: 12px;
    }

    .mini-history span {
      font-size: 10px;
    }

    .status-pill {
      min-width: 74px;
      padding: 5px 8px;
      border-radius: 999px;
      color: var(--text);
      background: #eef2f7;
      text-align: center;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .03em;
    }

    .status-pill.strong, .status-pill.confident { color: var(--green); background: #eefaf5; }
    .status-pill.checked { color: var(--text); background: var(--blue-soft); }
    .status-pill.recheck { color: #9a6a11; background: #fff4d8; }
    .status-pill.variation { color: var(--red); background: #ffe9e4; }
    .status-pill.weak { color: var(--muted); background: #eef2f7; }

    .detail-prices {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }

    .detail-price {
      display: grid;
      gap: 3px;
      padding: 10px;
      border: 1px solid rgba(8, 13, 24, .08);
      border-radius: 12px;
      background: #fff;
    }

    .detail-price b {
      font-size: 18px;
      line-height: 1;
    }

    .detail-price span, .policy-note span {
      color: var(--muted);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .drinks-policy {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border-radius: 12px;
      background: #fff;
    }

    .drink-count {
      min-width: 74px;
      min-height: 54px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(8, 13, 24, .10);
      border-radius: 12px;
      background: #f7fbff;
      color: var(--text);
      font-size: 23px;
      font-weight: 900;
      line-height: 1;
    }

    .drink-counts {
      display: grid;
      grid-template-columns: repeat(2, minmax(74px, 1fr));
      gap: 8px;
    }

    .drink-count small {
      display: block;
      margin-bottom: 4px;
      color: var(--muted);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .policy-note {
      display: grid;
      gap: 4px;
      padding: 10px;
      border-radius: 12px;
      background: #fff;
      color: var(--text);
      font-size: 13px;
      line-height: 1.35;
      font-weight: 750;
    }

    .notice {
      font-size: 13px;
      background: #fffaf0;
    }

    .report-list {
      display: grid;
      gap: 8px;
      margin: 12px 0;
    }

    .report-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 13px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: #f7fbff;
      font-size: 16px;
      line-height: 1.18;
      font-weight: 850;
    }

    .report-row span {
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.2;
      font-weight: 780;
      text-align: right;
    }

    #priceDialogSummary,
    .price-dialog-summary {
      font-size: 13.5px;
      line-height: 1.32;
    }

    .inline-price-entry {
      display: grid;
      grid-template-columns: 1fr;
      gap: 9px;
      padding: 12px 13px;
      border: 1px solid rgba(180, 112, 24, .24);
      border-radius: var(--radius-sm);
      background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72), 0 5px 14px rgba(180, 112, 24, .05);
    }

    .inline-price-entry.two-fields {
      grid-template-columns: 1fr 1fr;
    }

    .inline-price-entry.fine-range-entry {
      grid-template-columns: 1fr 1fr;
    }

    .inline-price-entry .range-hint {
      grid-column: 1 / -1;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.15;
      font-weight: 800;
    }

    .inline-price-entry label {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.18;
      font-weight: 850;
    }

    .inline-price-entry input {
      width: 100%;
      min-height: 44px;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 9px 10px;
      outline: none;
      background: #f7fbff;
      color: var(--text);
      font-size: 16px;
      font-weight: 850;
      transition: border-color .20s ease, background .20s ease, box-shadow .20s ease, transform .20s cubic-bezier(.2, .8, .2, 1);
    }

    #priceDialog .inline-price-entry input:focus,
    #reportDialog .price-input:focus {
      border-color: transparent;
      background: #fffdf6;
      box-shadow: none;
      transform: translateY(-1px);
    }

    #priceDialog .inline-price-entry:focus-within {
      border-color: rgba(244, 211, 139, .46);
      background: #fffdf7;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .78), 0 0 0 3px rgba(244, 211, 139, .10), 0 6px 16px rgba(180, 112, 24, .07);
    }

    #reportDialog .price-input:focus {
      animation: priceInputDirectRing .62s cubic-bezier(.18, .9, .22, 1) both;
    }

    #priceDialog .inline-price-entry label:focus-within,
    #reportDialog .input-label:focus-within {
      color: #a16207;
    }

    #priceDialog .price-input-field:focus-within .baht-prefix {
      color: #b7791f;
      text-shadow: 0 0 14px rgba(244, 211, 139, .34);
    }

    .price-input-field {
      position: relative;
      display: block;
      min-width: 0;
      border-radius: 14px;
    }

    .price-input-field::after {
      content: "";
      position: absolute;
      inset: -4px;
      border-radius: 16px;
      border: 2px solid rgba(244, 211, 139, 0);
      opacity: 0;
      pointer-events: none;
      transform: scale(.985);
      transform-origin: center;
    }

    .price-input-field:focus-within::after {
      animation: priceInputFocusRing .62s cubic-bezier(.18, .9, .22, 1) both;
    }

    @keyframes priceInputFocusRing {
      0% {
        opacity: 0;
        border-color: rgba(244, 211, 139, 0);
        transform: scale(.982);
      }
      38% {
        opacity: 1;
        border-color: rgba(244, 211, 139, 1);
        transform: scale(1.035);
      }
      68% {
        opacity: 1;
        border-color: rgba(244, 211, 139, .92);
        transform: scale(.996);
      }
      100% {
        opacity: 1;
        border-color: rgba(244, 211, 139, .82);
        transform: scale(1);
      }
    }

    @keyframes priceInputDirectRing {
      0% {
        box-shadow: 0 0 0 0 rgba(244, 211, 139, 0);
      }
      38% {
        box-shadow: 0 0 0 3px rgba(244, 211, 139, .24);
      }
      68% {
        box-shadow: 0 0 0 1px rgba(244, 211, 139, .18);
      }
      100% {
        box-shadow: 0 0 0 1px rgba(244, 211, 139, .14);
      }
    }

    .price-input-field .baht-prefix {
      position: absolute;
      left: 12px;
      top: 50%;
      z-index: 1;
      transform: translateY(-50%);
      color: #071525;
      font-size: 18px;
      line-height: 1;
      font-weight: 950;
      pointer-events: none;
    }

    .inline-price-entry .price-input-field input {
      padding-left: 32px;
    }

    .dialog-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      min-width: 0;
    }

    .dialog-actions > * {
      min-width: 0;
    }

    /* Compact price-check modal: keep LT/ST forms visible above the iPhone keyboard. */
    #priceDialog {
      width: min(calc(100vw - 22px), 414px);
      max-height: calc(var(--price-dialog-vv-height, 100dvh) - 42px);
      margin-top: calc(var(--price-dialog-vv-offset-top, 0px) + 24px);
      transform-origin: center 62%;
    }

    #priceDialog[open] {
      animation: priceDialogIn .34s cubic-bezier(.18, .9, .22, 1) both;
    }

    #priceDialog[open]::backdrop {
      animation: priceDialogBackdropIn .34s ease both;
    }

    #priceDialog.price-dialog-closing {
      pointer-events: none;
      overflow: hidden;
      animation: priceDialogCollapse .50s cubic-bezier(.4, 0, .2, 1) both;
    }

    #priceDialog.price-dialog-closing::backdrop {
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
      animation: priceDialogBackdropClear .50s cubic-bezier(.4, 0, .2, 1) both;
    }

    @keyframes priceDialogIn {
      0% { opacity: 0; transform: translateX(-50%) translateY(18px) scale(.972); }
      64% { opacity: 1; transform: translateX(-50%) translateY(-2px) scale(1.004); }
      100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    }

    @keyframes priceDialogCollapse {
      0% {
        max-height: var(--price-dialog-close-height);
        opacity: 1;
        transform: translateX(-50%);
        clip-path: inset(0 0 0 0 round 22px);
      }
      100% {
        max-height: 0;
        opacity: 1;
        transform: translateX(-50%);
        clip-path: inset(0 0 100% 0 round 22px);
      }
    }

    @keyframes priceDialogBackdropIn {
      0% { background: rgba(0, 0, 0, 0); }
      100% { background: rgba(0, 0, 0, .72); }
    }

    @keyframes priceDialogBackdropClear {
      0% { background: rgba(0, 0, 0, .72); }
      100% { background: rgba(0, 0, 0, 0); }
    }


    #priceDialog .modal-body {
      gap: 8px;
      padding: 14px 14px 10px;
      max-height: min(calc(var(--price-dialog-vv-height, 100dvh) - 42px), 520px);
      scroll-padding-bottom: calc(env(safe-area-inset-bottom) + 74px);
    }

    #priceDialog .modal-body h3 {
      font-size: 20px;
      line-height: 1.04;
      margin: 0;
    }

    #priceDialogSummary,
    #priceDialog .price-dialog-summary {
      font-size: 12.5px;
      line-height: 1.2;
      margin: -2px 0 2px;
    }

    .price-guide-note {
      display: flex;
      align-items: flex-start;
      gap: 7px;
      margin: -1px 0 1px;
      padding: 7px 9px;
      border: 1px solid rgba(241, 169, 40, .28);
      border-radius: 13px;
      background: linear-gradient(135deg, rgba(255, 247, 229, .95), rgba(245, 255, 248, .88));
      color: #6c4c08;
      font-size: 11.5px;
      line-height: 1.18;
      font-weight: 820;
    }

    .price-guide-note b {
      color: #0f5132;
      font-weight: 950;
    }

    .price-guide-note::before {
      content: "ⓘ";
      flex: 0 0 auto;
      color: #159c6e;
      font-size: 13px;
      line-height: 1;
      margin-top: 1px;
      font-weight: 950;
    }

    .guide-info-link {
      appearance: none;
      border: 0;
      background: transparent;
      color: #0f766e;
      padding: 0;
      font-size: inherit;
      line-height: inherit;
      font-weight: 950;
      text-decoration: underline;
      text-underline-offset: 2px;
      box-shadow: none;
    }

    .guide-info-link:active {
      transform: none;
      opacity: .72;
    }

    .guide-detail-copy {
      display: grid;
      gap: 9px;
    }

    .guide-detail-copy p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.35;
    }

    .guide-detail-copy b {
      color: var(--text);
    }

    #priceDialog .report-list {
      gap: 6px;
      margin: 5px 0 6px;
    }

    #priceDialog .report-row {
      padding: 9px 11px;
      border-radius: 14px;
      font-size: 15px;
      line-height: 1.05;
    }

    #priceDialog .report-row span {
      font-size: 11.5px;
      line-height: 1.05;
    }

    #priceDialog .inline-price-entry {
      gap: 7px;
      padding: 9px 10px;
      border-radius: 14px;
    }

    #priceDialog .inline-price-entry.two-fields,
    #priceDialog .inline-price-entry.fine-range-entry {
      gap: 7px;
      align-items: end;
    }

    #priceDialog .inline-price-entry.fine-range-entry {
      margin-top: -3px;
      border-color: rgba(47, 125, 246, .20);
      background: #f8fbff;
    }

    #priceDialog .inline-price-entry label {
      gap: 4px;
      font-size: 11.5px;
      line-height: 1.05;
    }

    #priceDialog .inline-price-entry input {
      min-height: 38px;
      padding: 7px 9px;
      border-radius: 11px;
      /* iPhone auto-zooms inputs below 16px, which pans the viewport sideways. */
      font-size: 16px;
      line-height: 1;
    }

    #priceDialog .inline-price-entry .price-input-field input {
      padding-left: 32px;
    }

    #priceDialog .dialog-actions {
      gap: 7px;
      margin-top: 4px;
    }

    #priceDialog .dialog-actions .primary-btn,
    #priceDialog .dialog-actions .small-btn {
      min-height: 44px;
      padding: 0 8px;
      font-size: 15px;
      line-height: 1;
      white-space: nowrap;
    }

    #priceDialog .modal-body > button[type="submit"] {
      min-height: 38px;
      font-size: 14px;
    }

    @media (max-height: 560px) {
      #priceDialog {
        margin-top: calc(var(--price-dialog-vv-offset-top, 0px) + 18px);
      }
      #priceDialog .modal-body {
        gap: 6px;
        padding: 11px 12px 8px;
      }
      #priceDialog .modal-body h3 { font-size: 18px; }
      #priceDialogSummary,
      #priceDialog .price-dialog-summary { font-size: 11.5px; margin-bottom: 0; }
      #priceDialog .price-guide-note { padding: 6px 8px; font-size: 10.6px; line-height: 1.12; }
      #priceDialog .report-list { gap: 5px; margin: 3px 0 4px; }
      #priceDialog .report-row { padding: 7px 9px; font-size: 14px; }
      #priceDialog .inline-price-entry { padding: 7px 8px; gap: 6px; }
      #priceDialog .inline-price-entry label { font-size: 10.8px; }
      #priceDialog .inline-price-entry input { min-height: 34px; padding: 5px 8px; font-size: 16px; }
      #priceDialog .inline-price-entry .price-input-field input { padding-left: 30px; }
      #priceDialog .dialog-actions .primary-btn,
      #priceDialog .dialog-actions .small-btn { min-height: 40px; font-size: 14px; }
      #priceDialog .modal-body > button[type="submit"] { min-height: 34px; }
    }

    .add-bar-dialog {
      width: min(calc(100vw - 22px), 414px);
    }

    .add-bar-form {
      gap: 10px;
      padding: 14px;
      padding-bottom: calc(env(safe-area-inset-bottom) + 14px);
      scroll-padding: 12px 0 calc(env(safe-area-inset-bottom) + 90px);
    }

    .add-bar-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: -2px;
    }

    .add-bar-head h3 {
      font-size: 24px;
      line-height: 1;
    }

    .add-bar-close {
      width: 40px;
      min-height: 40px;
      padding: 0;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.92);
      color: var(--text);
      font-size: 28px;
      line-height: 1;
      font-weight: 700;
    }

    .add-bar-form .muted {
      font-size: 13px;
      line-height: 1.25;
    }

    .add-bar-form label {
      min-width: 0;
    }

    .add-bar-form input,
    .add-bar-form select,
    .add-bar-form textarea {
      width: 100%;
      min-width: 0;
      max-width: 100%;
      min-height: 48px;
      border: 1px solid var(--line);
      border-radius: var(--control-radius, var(--radius-sm));
      background: rgba(255,255,255,.94);
      color: var(--text);
      font-size: 16px;
      font-weight: 850;
    }

    .add-bar-form input:not([type="file"]),
    .add-bar-form select {
      padding: 0 12px;
    }

    .add-bar-form textarea {
      min-height: 82px;
      padding: 10px 12px;
      resize: vertical;
      line-height: 1.3;
      font-family: inherit;
    }

    .add-bar-form input[type="file"] {
      min-height: 44px;
      padding: 8px;
      overflow: hidden;
      font-size: 14px;
      font-weight: 750;
    }

    .add-bar-gps-actions .small-btn,
    .add-bar-save-actions .small-btn,
    .add-bar-save-actions .primary-btn {
      min-height: 48px;
      padding: 0 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .add-bar-coords {
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .add-bar-coords .price-input {
      min-height: 48px;
      padding: 0 10px;
      font-size: 16px;
      font-weight: 850;
    }

    .add-bar-message {
      display: none;
      padding: 12px;
      border: 1px solid rgba(194, 65, 45, .34);
      border-radius: var(--radius-sm);
      background: #fff4f2;
      color: #b42318;
      font-size: 14px;
      font-weight: 950;
      line-height: 1.28;
    }

    .add-bar-message.show { display: block; }
    .add-bar-message.success {
      border-color: rgba(6,182,212,.42);
      background: rgba(6,182,212,.1);
      color: #075e72;
    }

    @media (max-width: 380px) {
      .add-bar-form { padding: 12px; gap: 9px; }
      .add-bar-form .muted { font-size: 12px; }
      .add-bar-gps-actions,
      .add-bar-save-actions { gap: 7px; }
      .add-bar-gps-actions .small-btn,
      .add-bar-save-actions .small-btn,
      .add-bar-save-actions .primary-btn { font-size: 14px; }
    }

    .fine-check-list {
      display: grid;
      gap: 8px;
    }

    .fine-check-row {
      display: grid;
      gap: 9px;
      padding: 11px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: #f7fbff;
    }

    .fine-check-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-size: 13px;
      font-weight: 900;
    }

    .fine-check-head span {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .sub-choice-label {
      margin-top: 2px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .report-inputs {
      display: grid;
      gap: 8px;
    }

    .input-label {
      display: grid;
      gap: 5px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    [hidden], .input-label[hidden] {
      display: none !important;
    }

    .input-label .price-input {
      margin-top: 0;
    }


    /* Pattaya Bar Radar screenshot-match redesign overrides */
    :root {
      --bg: #16c6d4;
      --panel: #ffffff;
      --panel-2: #fff8de;
      --text: #0d2733;
      --muted: #31525c;
      --line: rgba(5, 52, 64, .18);
      --line-strong: rgba(5, 52, 64, .32);
      --gold: #ffc83d;
      --green: #17a05d;
      --red: #ef4444;
      --blue: #0988c8;
      --blue-soft: #e8fbff;
      --surface: rgba(255, 255, 255, .94);
      --shadow: 0 14px 0 rgba(5, 52, 64, .10), 0 18px 34px rgba(5, 52, 64, .16);
      --shadow-soft: 0 7px 0 rgba(5, 52, 64, .08), 0 12px 24px rgba(5, 52, 64, .12);
      --radius: 24px;
      --radius-sm: 18px;
    }

    body {
      background:
        radial-gradient(circle at 80% 6%, rgba(255, 238, 137, .95) 0 62px, transparent 63px),
        radial-gradient(circle at 12% 2%, rgba(255,255,255,.34) 0 42px, transparent 44px),
        linear-gradient(180deg, #13bfd3 0%, #58d8df 46%, #ffe37a 78%, #ffc94c 100%);
      background-attachment: fixed;
    }

    body::before, body::after {
      content: "";
      position: fixed;
      left: 0;
      right: 0;
      pointer-events: none;
      z-index: -1;
    }

    body::before {
      top: 96px;
      height: 160px;
      opacity: .32;
      background:
        radial-gradient(ellipse at 12% 100%, rgba(255,255,255,.80) 0 18px, transparent 19px),
        radial-gradient(ellipse at 38% 100%, rgba(255,255,255,.65) 0 24px, transparent 25px),
        radial-gradient(ellipse at 70% 100%, rgba(255,255,255,.55) 0 20px, transparent 21px);
    }

    body::after {
      bottom: -36px;
      height: 190px;
      background:
        radial-gradient(ellipse at 20% 24%, rgba(255,255,255,.34), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(255, 196, 64, .72));
    }

    .app { padding-left: 12px; padding-right: 12px; }

    .top-nav {
      gap: 10px;
      padding: 10px 0 8px;
    }

    .top-nav button {
      min-height: 58px;
      border: 2px solid rgba(255,255,255,.74);
      border-radius: 18px;
      background: linear-gradient(180deg, #ffffff 0%, #e9fbff 100%);
      color: #073545;
      box-shadow: 0 5px 0 rgba(5, 52, 64, .18), 0 12px 20px rgba(5, 52, 64, .14);
    }

    .top-nav button.active {
      color: #ffffff;
      background: linear-gradient(180deg, #077fb7 0%, #065a8d 100%);
      border-color: rgba(255,255,255,.88);
      box-shadow: 0 5px 0 rgba(3, 54, 82, .35), 0 14px 24px rgba(5, 52, 64, .18);
    }

    .top-nav button small { font-size: 11px; }
    .top-nav button.active .ui-icon { stroke: #fff; }

    .moderator-strip {
      margin: 0 0 10px;
      padding: 8px;
      border: 2px solid rgba(255,255,255,.68);
      border-radius: 999px;
      background: rgba(5, 52, 64, .14);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
    }

    .moderator-strip span {
      padding-left: 8px;
      color: #083544;
      font-weight: 900;
    }

    .moderator-strip .small-btn {
      border-radius: 999px;
      background: #ffffff;
      color: #075477;
      border: 1px solid rgba(5,52,64,.12);
      box-shadow: 0 3px 0 rgba(5,52,64,.13);
    }

    .home-stage { gap: 10px; }

    .hero {
      position: relative;
      overflow: hidden;
      min-height: 190px;
      display: grid;
      grid-template-columns: 1fr;
      align-items: end;
      padding: 16px;
      border: 3px solid #ffffff;
      border-radius: 28px;
      background:
        linear-gradient(180deg, rgba(3, 164, 198, .30), rgba(255, 211, 67, .50)),
        linear-gradient(135deg, #0f9fc6 0%, #48d1d1 48%, #ffd44c 100%);
      box-shadow: 0 8px 0 rgba(7, 91, 108, .22), 0 22px 32px rgba(5, 52, 64, .18);
      text-align: left;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: auto -20px -22px -20px;
      height: 82px;
      background:
        radial-gradient(ellipse at 18% 100%, rgba(4, 94, 107, .38) 0 38px, transparent 39px),
        radial-gradient(ellipse at 58% 100%, rgba(4, 94, 107, .30) 0 46px, transparent 47px),
        linear-gradient(180deg, transparent 0%, rgba(5, 65, 68, .24) 100%);
    }

    .radar-hero-art {
      position: absolute;
      inset: 0;
      overflow: hidden;
    }

    .radar-sun {
      position: absolute;
      right: 18px;
      top: 18px;
      width: 76px;
      height: 76px;
      border-radius: 50%;
      background: radial-gradient(circle, #fff7a3 0 40%, #ffbe31 42% 100%);
      box-shadow: 0 0 0 10px rgba(255,255,255,.18), 0 0 38px rgba(255, 205, 60, .75);
    }

    .radar-sweep {
      position: absolute;
      left: -42px;
      top: 18px;
      width: 210px;
      height: 210px;
      border: 2px solid rgba(255,255,255,.56);
      border-radius: 50%;
      background:
        repeating-radial-gradient(circle, transparent 0 29px, rgba(255,255,255,.30) 30px 31px),
        conic-gradient(from -34deg, rgba(255,255,255,.55) 0deg 36deg, transparent 37deg 360deg);
      opacity: .76;
    }

    .radar-pins span {
      position: absolute;
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border: 2px solid #fff;
      border-radius: 999px;
      background: #f04444;
      color: #fff;
      font-size: 18px;
      font-weight: 950;
      box-shadow: 0 5px 0 rgba(5,52,64,.20);
    }
    .radar-pins span:nth-child(1) { left: 126px; top: 42px; background: #f04444; }
    .radar-pins span:nth-child(2) { right: 90px; top: 86px; background: #0b72b4; }
    .radar-pins span:nth-child(3) { left: 72px; bottom: 34px; background: #14a05d; }

    .radar-brand {
      position: relative;
      z-index: 1;
      max-width: 310px;
      padding: 12px 14px;
      border: 2px solid rgba(255,255,255,.76);
      border-radius: 20px;
      background: rgba(255,255,255,.88);
      box-shadow: 0 6px 0 rgba(5,52,64,.14);
    }

    .radar-kicker {
      display: inline-flex;
      margin-bottom: 4px;
      padding: 4px 9px;
      border-radius: 999px;
      background: #ff443d;
      color: #fff;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .radar-brand h2 {
      color: #063346;
      font-size: 30px;
      line-height: .94;
      letter-spacing: -.05em;
      text-transform: uppercase;
      text-shadow: 0 2px 0 rgba(255,255,255,.80);
    }

    .radar-brand p {
      margin-top: 6px;
      color: #174d5b;
      font-size: 13px;
      font-weight: 850;
    }

    .section-title {
      padding: 11px 13px;
      border: 2px solid rgba(255,255,255,.78);
      border-radius: 20px;
      background: rgba(255, 255, 255, .88);
      box-shadow: 0 5px 0 rgba(5,52,64,.10);
    }

    .section-title h3 {
      color: #073545;
      font-size: 18px;
      letter-spacing: -.02em;
    }

    .section-title .muted { font-weight: 850; }

    #map .section-title {
      align-items: center;
      padding: 15px 15px;
      min-height: 66px;
      border-color: rgba(255,255,255,.48);
      background:
        linear-gradient(100deg, rgba(2,12,48,.64) 0%, rgba(4,18,62,.48) 48%, rgba(7,22,66,.24) 78%, rgba(255,255,255,.08) 100%),
        linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 44%),
        rgba(5, 18, 58, .16);
      -webkit-backdrop-filter: blur(1px) saturate(1.04);
      backdrop-filter: blur(1px) saturate(1.04);
      box-shadow: 0 14px 30px rgba(0, 28, 68, .24), inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(255,255,255,.16);
    }

    #map .section-title h3 {
      color: #fff;
      font-size: 20px;
      line-height: 1;
      letter-spacing: -.035em;
      text-shadow: 0 2px 14px rgba(1,8,35,.52);
    }

    #areaBackBtn {
      min-height: 46px;
      padding: 0 14px;
      font-size: 14px;
      font-weight: 950;
      color: #fff;
      background: rgba(2, 12, 48, .42);
      border-color: rgba(255,255,255,.46);
      box-shadow: 0 7px 16px rgba(0, 28, 68, .28), inset 0 1px 0 rgba(255,255,255,.24);
      text-shadow: 0 1px 10px rgba(1,8,35,.42);
    }

    .area-grid { gap: 10px; }

    .area-btn {
      position: relative;
      overflow: hidden;
      min-height: 118px;
      padding: 12px;
      border: 3px solid #ffffff;
      border-radius: 23px;
      background: linear-gradient(180deg, #ffffff 0%, #fff5cf 100%);
      color: #083544;
      text-align: center;
      box-shadow: 0 6px 0 rgba(5,52,64,.15), 0 14px 22px rgba(5,52,64,.12);
    }

    .area-btn::before {
      content: attr(data-icon);
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      margin: 0 auto 8px;
      border-radius: 16px;
      background: linear-gradient(180deg, #1ac7d6 0%, #0988c8 100%);
      color: #fff;
      font-size: 24px;
      box-shadow: 0 4px 0 rgba(5,52,64,.16);
    }

    .area-btn:nth-child(2n)::before { background: linear-gradient(180deg, #ffcf46 0%, #ff8a2d 100%); }
    .area-btn:nth-child(3n)::before { background: linear-gradient(180deg, #33d17a 0%, #108b5a 100%); }
    .area-btn:nth-child(4n)::before { background: linear-gradient(180deg, #ff6861 0%, #d9354d 100%); }

    .area-btn strong {
      color: #073545;
      font-size: 17px;
      line-height: 1.05;
    }

    .area-btn span {
      color: #31525c;
      font-size: 11px;
      font-weight: 800;
    }

    .home-note, .near-note, .notice {
      border: 2px solid rgba(255,255,255,.72);
      background: rgba(255,255,255,.86);
      box-shadow: 0 4px 0 rgba(5,52,64,.10);
      color: #173f4c;
      font-weight: 800;
    }

    .bar-card, .price-panel, .detail-head, .modal-body {
      border: 2px solid rgba(255,255,255,.78);
      background: rgba(255,255,255,.94);
      box-shadow: 0 6px 0 rgba(5,52,64,.10), 0 16px 28px rgba(5,52,64,.12);
    }

    .primary-btn, .small-btn, .back, .chip, .field-btn {
      border-radius: 999px;
    }



    /* Closer pass: match Steven's screenshot reference more literally */
    .app {
      width: min(100%, 430px);
      padding-left: 14px;
      padding-right: 14px;
    }

    body {
      background:
        radial-gradient(circle at 82% 7%, rgba(255,255,255,.86) 0 34px, transparent 35px),
        radial-gradient(circle at 8% 11%, rgba(255,255,255,.58) 0 54px, transparent 55px),
        linear-gradient(180deg, #0b9df2 0%, #86d8ff 34%, #f7eefb 55%, #eef8ff 100%);
    }

    body::before {
      top: 18px;
      right: 0;
      left: auto;
      width: 132px;
      height: 160px;
      background:
        linear-gradient(112deg, transparent 0 48%, rgba(4,35,55,.40) 49% 53%, transparent 54%),
        radial-gradient(ellipse at 70% 100%, rgba(5,45,60,.38), transparent 56%);
      clip-path: polygon(58% 0, 100% 0, 100% 100%, 0 56%);
      opacity: .9;
    }

    body::after {
      bottom: 0;
      height: 52%;
      background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(239,248,255,.90) 38%, rgba(239,248,255,1) 100%);
    }

    .top-nav {
      gap: 14px;
      padding-top: 14px;
      padding-bottom: 16px;
    }

    .top-nav button {
      min-height: 72px;
      border-radius: 22px;
      border: 2px solid rgba(185, 202, 218, .55);
      background: rgba(255,255,255,.88);
      color: #101923;
      font-size: 23px;
      box-shadow: 0 8px 18px rgba(22, 52, 77, .18), inset 0 1px 0 rgba(255,255,255,.95);
    }

    .top-nav button.active {
      color: #198cdf;
      background: rgba(255,255,255,.92);
      border-color: #9ef1ff;
      box-shadow: 0 0 0 3px rgba(115,238,255,.80), 0 9px 22px rgba(20, 102, 159, .22), inset 0 1px 0 #fff;
    }

    .top-nav button.active .ui-icon { stroke: #198cdf; }
    .top-nav button small { color: currentColor; font-size: 11px; font-weight: 850; }

    .moderator-strip {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      padding: 0;
      margin: 0 4px 14px;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .moderator-strip span,
    .moderator-strip .small-btn {
      min-height: 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: #fff;
      border: 1px solid rgba(186,202,218,.55);
      box-shadow: 0 6px 16px rgba(26, 57, 83, .14);
      font-size: 14px;
      font-weight: 850;
    }

    .moderator-strip span {
      color: #fff;
      background: linear-gradient(90deg, #129be9 0%, #bd45e0 100%);
    }

    .moderator-strip span::before { content: "👥"; margin-right: 9px; }

    .moderator-strip .small-btn {
      color: #d33c59;
      background: rgba(255,255,255,.92);
    }
    .moderator-strip .small-btn::before { content: "🛡️"; margin-right: 8px; }

    .home-stage { gap: 12px; }

    .hero {
      min-height: 174px;
      margin: 0 0 2px;
      padding: 18px;
      border: 0;
      border-radius: 25px;
      background:
        linear-gradient(90deg, rgba(4,19,74,.98) 0%, rgba(5,28,91,.88) 45%, rgba(14,34,103,.45) 100%),
        radial-gradient(circle at 74% 34%, rgba(255,84,191,.86) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 42%, rgba(255,198,91,.88) 0 2px, transparent 3px),
        linear-gradient(150deg, #061447 0%, #102f7e 45%, #ff6ec7 72%, #ffd15e 100%);
      box-shadow: 0 10px 22px rgba(15, 48, 95, .28);
    }

    .hero::before {
      inset: auto 0 0 43%;
      height: 106px;
      background:
        linear-gradient(to top, #091347 0 28px, transparent 29px),
        linear-gradient(to top, #0b1f63 0 72px, transparent 73px),
        linear-gradient(to top, #152c78 0 94px, transparent 95px),
        linear-gradient(to top, #101f66 0 56px, transparent 57px);
      background-size: 28px 100%, 34px 100%, 42px 100%, 24px 100%;
      background-position: 0 100%, 30px 100%, 68px 100%, 116px 100%;
      background-repeat: no-repeat;
      opacity: .84;
    }

    .radar-sun, .radar-sweep, .radar-pins { display: none; }

    .radar-brand {
      position: relative;
      display: grid;
      grid-template-columns: 126px 1fr;
      align-items: center;
      gap: 16px;
      max-width: none;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .radar-brand::before {
      content: "⌁↗♕";
      width: 116px;
      height: 116px;
      display: grid;
      place-items: center;
      border-radius: 34px 34px 34px 10px;
      transform: rotate(-45deg);
      border: 5px solid #42e8ff;
      color: #fff;
      font-size: 43px;
      font-weight: 950;
      text-shadow: 0 0 14px #ff72dc;
      box-shadow: 0 0 0 2px #fa7dea, inset 0 0 28px rgba(56,231,255,.55), 0 0 24px rgba(250,125,234,.68);
    }

    .radar-brand::after {
      content: "PATTAYA  city";
      position: absolute;
      right: 18px;
      top: 54px;
      color: #ff456d;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .12em;
      text-shadow: 0 0 8px rgba(255,255,255,.85);
    }

    .radar-kicker { display: none; }

    .radar-brand h2 {
      color: #fff;
      font-size: 38px;
      line-height: .96;
      letter-spacing: -.055em;
      text-transform: none;
      text-shadow: 0 2px 12px rgba(0,0,0,.24);
    }

    .radar-brand h2::first-line { color: #fff; }
    .radar-brand h2 span { color: #62eaff; }

    .radar-brand p {
      margin-top: 8px;
      color: rgba(255,255,255,.92);
      font-size: 15px;
      font-weight: 650;
      line-height: 1.15;
    }

    #home .section-title {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
    }

    .home-stage.area-menu-open #home .section-title,
    .home-stage.area-menu-open .section-title {
      position: static;
      width: auto;
      height: auto;
      overflow: visible;
      clip: auto;
    }

    .area-grid {
      gap: 12px;
    }

    .area-btn {
      min-height: 78px;
      display: grid;
      grid-template-columns: 56px 1fr 16px;
      align-items: center;
      column-gap: 12px;
      padding: 11px 10px;
      border: 0;
      border-radius: 15px;
      background: rgba(255,255,255,.94);
      text-align: left;
      box-shadow: 0 5px 14px rgba(28, 60, 91, .12);
    }

    .area-btn::before {
      width: 54px;
      height: 54px;
      margin: 0;
      border-radius: 14px;
      font-size: 27px;
      background: linear-gradient(180deg, #4ed9ff 0%, #116be8 100%);
      box-shadow: none;
    }



    .area-copy {
      min-width: 0;
      display: block;
    }

    .area-copy strong,
    .area-copy span {
      display: block;
      min-width: 0;
    }

    .area-btn::after {
      content: "›";
      color: #99a9b7;
      font-size: 30px;
      font-weight: 300;
    }

    .area-btn strong {
      font-size: 16px;
      font-weight: 900;
      margin: 0 0 5px;
    }

    .area-btn span {
      font-size: 11px;
      line-height: 1.22;
      font-weight: 750;
    }

    .promo-banner {
      position: relative;
      overflow: hidden;
      min-height: 92px;
      display: grid;
      grid-template-columns: 126px 1fr 36px;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 10px 12px;
      border: 2px solid #39e5ff;
      border-radius: 17px;
      background:
        radial-gradient(circle at 18% 50%, rgba(255,44,203,.45), transparent 28%),
        linear-gradient(100deg, #21003d 0%, #08124f 45%, #030629 100%);
      color: #fff;
      box-shadow: 0 0 0 1px rgba(255,42,205,.80), 0 7px 18px rgba(5, 24, 72, .28);
      text-align: left;
    }

    .promo-art {
      color: #ff77e1;
      font-size: 58px;
      text-shadow: 0 0 16px #ff5cdb, 0 0 22px #27dfff;
    }

    .promo-copy strong {
      display: block;
      font-size: 25px;
      line-height: .93;
      letter-spacing: -.04em;
    }

    .promo-copy em { color: #49e8ff; font-style: normal; }
    .promo-copy small { display: block; margin-top: 4px; color: rgba(255,255,255,.88); font-size: 13px; }
    .promo-flower { color: #ff74df; font-size: 34px; text-shadow: 0 0 13px #ff74df; }
    .promo-arrow { position: absolute; right: 9px; top: 28px; color: #fff; font-size: 40px; }

    .home-note {
      max-width: none;
      min-height: 58px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      padding: 10px 14px;
      border: 0;
      border-radius: 17px;
      background: rgba(255,255,255,.90);
      box-shadow: 0 5px 14px rgba(28, 60, 91, .10);
      text-align: left;
      font-size: 12px;
      font-weight: 750;
    }

    .home-note::before {
      content: "🛡️";
      flex: 0 0 44px;
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: linear-gradient(180deg, #3bdcff, #126ee9);
      color: #fff;
      font-size: 22px;
    }

    @media (max-width: 380px) {
      .radar-brand { grid-template-columns: 104px 1fr; gap: 12px; }
      .radar-brand::before { width: 96px; height: 96px; font-size: 34px; }
      .radar-brand h2 { font-size: 32px; }
      .promo-banner { grid-template-columns: 96px 1fr 28px; }
      .promo-copy strong { font-size: 22px; }
    }



    /* Exact-match pass from Steven's screenshot */
    :root {
      --bg: #dff3ff;
      --text: #071525;
      --muted: #62738a;
      --line: rgba(118, 142, 164, .18);
      --surface: rgba(255,255,255,.92);
      --shadow: 0 7px 18px rgba(36, 66, 94, .13);
      --shadow-soft: 0 5px 14px rgba(36, 66, 94, .12);
    }

    body {
      background:
        radial-gradient(ellipse at 84% 12%, rgba(12, 34, 73, .28) 0 34px, transparent 35px),
        linear-gradient(180deg, #1eaaf6 0%, #83d9ff 17%, #f6d6fb 34%, #edf8ff 54%, #f0f9ff 100%);
      background-attachment: fixed;
    }

    body::before {
      content: "";
      position: fixed;
      right: 0;
      top: 36px;
      width: 128px;
      height: 170px;
      opacity: .55;
      pointer-events: none;
      background:
        linear-gradient(118deg, transparent 0 46%, rgba(7, 34, 64, .55) 47% 51%, transparent 52%),
        radial-gradient(ellipse at 80% 30%, rgba(7, 34, 64, .42), transparent 58%);
      clip-path: polygon(56% 0, 100% 0, 100% 100%, 15% 66%);
      z-index: -1;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 168px 0 0;
      pointer-events: none;
      z-index: -1;
      background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(242,249,255,.82) 50%, #f2f9ff 100%);
    }

    .app {
      width: min(100%, 430px);
      padding: env(safe-area-inset-top) 14px calc(env(safe-area-inset-bottom) + 12px);
    }

    .top-nav {
      gap: 14px;
      padding: 14px 6px 14px;
    }

    .top-nav button {
      min-height: 72px;
      border: 1px solid rgba(184, 202, 218, .7);
      border-radius: 22px;
      background: rgba(255,255,255,.88);
      color: #121824;
      box-shadow: 0 8px 18px rgba(40, 70, 96, .16), inset 0 1px 0 rgba(255,255,255,.96);
      font-size: 25px;
    }

    .top-nav button.active {
      color: #168de5;
      background: #fff;
      border-color: #9bf2ff;
      box-shadow: 0 0 0 4px rgba(124,239,255,.9), 0 8px 19px rgba(40,70,96,.16), inset 0 1px 0 #fff;
    }

    .top-nav button.active .ui-icon { stroke: #168de5; }
    .top-nav button small { color: currentColor; font-size: 11px; font-weight: 800; }

    .moderator-strip {
      display: grid;
      grid-template-columns: 1.32fr 1fr;
      gap: 12px;
      margin: 0 6px 14px;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    .moderator-strip span,
    .moderator-strip .small-btn {
      min-height: 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(202, 215, 229, .7);
      background: #fff;
      box-shadow: 0 6px 15px rgba(38, 68, 93, .13);
      font-size: 14px;
      font-weight: 800;
    }

    .moderator-strip span {
      color: #fff;
      background: linear-gradient(90deg, #0f97e8 0%, #bf45de 100%);
    }

    .moderator-strip span::before { content: "👥"; margin-right: 10px; }
    .moderator-strip .small-btn { color: #d24558; }
    .moderator-strip .small-btn::before { content: "🛡️"; margin-right: 8px; }

    .home-stage { gap: 12px; }

    .hero {
      min-height: 204px;
      margin: 0 0 2px;
      padding: 22px 18px;
      border: 0;
      border-radius: 24px;
      background:
        linear-gradient(90deg, rgba(6,21,72,.98) 0%, rgba(8,24,74,.96) 38%, rgba(8,24,74,.32) 100%),
        radial-gradient(circle at 74% 44%, rgba(255, 82, 188, .95) 0 3px, transparent 4px),
        radial-gradient(circle at 84% 52%, rgba(255, 210, 85, .9) 0 2px, transparent 3px),
        linear-gradient(165deg, #041346 0%, #092870 45%, #eb4cba 66%, #ffd15e 100%);
      box-shadow: 0 8px 18px rgba(25, 59, 96, .24);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: auto 0 0 48%;
      height: 126px;
      background:
        linear-gradient(to top, #07134a 0 90px, transparent 91px),
        linear-gradient(to top, #0d2567 0 126px, transparent 127px),
        linear-gradient(to top, #102b75 0 104px, transparent 105px),
        linear-gradient(to top, #07134a 0 74px, transparent 75px),
        radial-gradient(ellipse at 75% 80%, rgba(255,219,95,.65), transparent 44%);
      background-size: 30px 100%, 42px 100%, 34px 100%, 26px 100%, auto;
      background-position: 0 100%, 36px 100%, 84px 100%, 128px 100%, 0 0;
      background-repeat: no-repeat;
      opacity: .88;
    }

    .hero::after {
      content: "";
      position: absolute;
      left: 52%;
      right: 0;
      bottom: 0;
      height: 54px;
      background:
        radial-gradient(ellipse at 36% 50%, rgba(255,255,255,.82) 0 2px, transparent 3px),
        linear-gradient(160deg, transparent 0 45%, rgba(255,255,255,.75) 46% 48%, transparent 49%),
        linear-gradient(180deg, transparent, rgba(9,15,52,.75));
      opacity: .8;
    }

    .radar-sun, .radar-sweep, .radar-pins { display: none !important; }

    .radar-brand {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 128px 1fr;
      align-items: center;
      gap: 16px;
      max-width: none;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    .radar-brand::before {
      content: "⌁↗♕";
      width: 118px;
      height: 118px;
      display: grid;
      place-items: center;
      transform: rotate(-45deg);
      border-radius: 36px 36px 36px 10px;
      border: 5px solid #4deaff;
      color: #fff;
      font-size: 43px;
      font-weight: 950;
      text-shadow: 0 0 12px #ff69dc, 0 0 18px #42eaff;
      box-shadow: 0 0 0 2px #ff7ce2, inset 0 0 25px rgba(70,234,255,.55), 0 0 22px rgba(255, 91, 220, .66);
    }

    .radar-brand::after {
      content: "PATTAYA  city";
      position: absolute;
      left: 295px;
      top: 68px;
      color: #ff496f;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .10em;
      white-space: nowrap;
      text-shadow: 0 0 8px rgba(255,255,255,.9);
    }

    .radar-kicker { display: none; }

    .radar-brand h2 {
      color: #fff;
      font-size: 38px;
      line-height: .96;
      letter-spacing: -.055em;
      text-transform: none;
      text-shadow: 0 2px 12px rgba(0,0,0,.28);
    }

    .radar-brand h2 span { color: #67e9ff; }

    .radar-brand p {
      max-width: 190px;
      margin-top: 9px;
      color: rgba(255,255,255,.94);
      font-size: 15px;
      line-height: 1.12;
      font-weight: 650;
    }

    #home .section-title {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
    }

    .area-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .area-btn {
      min-height: 86px;
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr) 12px;
      align-items: center;
      column-gap: 10px;
      padding: 11px 10px;
      border: 0;
      border-radius: 15px;
      background: rgba(255,255,255,.94);
      text-align: left;
      box-shadow: 0 5px 14px rgba(28, 60, 91, .11);
    }

    .area-btn::before {
      content: attr(data-icon);
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      margin: 0;
      border-radius: 15px;
      color: #fff;
      font-size: 29px;
      background: linear-gradient(180deg, #5cdcff 0%, #176ce8 100%);
      box-shadow: none;
    }

    .area-btn::after {
      content: "›";
      color: #a9b7c3;
      font-size: 28px;
      font-weight: 350;
    }

    .area-copy { min-width: 0; display: block; }
    .area-copy strong,
    .area-copy span { display: block; min-width: 0; }

    .area-btn strong {
      color: #081525;
      font-size: 16px;
      line-height: 1.05;
      margin: 0 0 6px;
      font-weight: 900;
    }

    .area-btn span {
      color: #65738a;
      font-size: 11px;
      line-height: 1.22;
      font-weight: 750;
    }

    .area-btn[data-area-name="Pattaya"]::before { background: linear-gradient(180deg, #ff7782 0%, #ef4655 100%); content: "🌴"; }
    .area-btn[data-area-name="Walking Street"]::before { background: linear-gradient(180deg, #342095 0%, #16005b 100%); content: "🚶"; }
    .area-btn[data-area-name="Jomtien"]::before { background: linear-gradient(180deg, #48d7e4 0%, #1fa9c5 100%); content: "☂️"; }
    .area-btn[data-area-name="Pratamnak"]::before, .area-btn[data-area-name="Pratumnak"]::before { background: linear-gradient(180deg, #49c783 0%, #15965b 100%); content: "⛰️"; }
    .area-btn[data-area-name="Darkside"]::before, .area-btn[data-area-name="Dark Side"]::before { background: linear-gradient(180deg, #2a167d 0%, #17004e 100%); content: "😈"; }

    .promo-banner {
      position: relative;
      overflow: hidden;
      min-height: 96px;
      display: grid;
      grid-template-columns: 130px 1fr 38px;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 10px 12px;
      border: 2px solid #39e8ff;
      border-radius: 17px;
      background:
        radial-gradient(circle at 17% 48%, rgba(255,49,203,.48), transparent 30%),
        linear-gradient(100deg, #21003d 0%, #08124f 45%, #020522 100%);
      color: #fff;
      box-shadow: 0 0 0 1px rgba(255,42,205,.75), 0 7px 18px rgba(5, 24, 72, .28);
      text-align: left;
    }

    .promo-art {
      color: #ff76df;
      font-size: 62px;
      text-shadow: 0 0 16px #ff5cdb, 0 0 22px #27dfff;
    }

    .promo-copy strong { display: block; font-size: 25px; line-height: .93; letter-spacing: -.04em; }
    .promo-copy em { color: #4deaff; font-style: normal; }
    .promo-copy small { display: block; margin-top: 5px; color: rgba(255,255,255,.88); font-size: 13px; }
    .promo-flower { color: #ff74df; font-size: 36px; text-shadow: 0 0 13px #ff74df; }
    .promo-arrow { position: absolute; right: 9px; top: 28px; color: #fff; font-size: 42px; }

    .home-note {
      max-width: none;
      min-height: 64px;
      display: flex;
      align-items: center;
      gap: 13px;
      padding: 10px 14px;
      border: 0;
      border-radius: 17px;
      background: rgba(255,255,255,.86);
      box-shadow: 0 5px 14px rgba(28, 60, 91, .10);
      color: #15263a;
      text-align: left;
      font-size: 12px;
      line-height: 1.35;
      font-weight: 750;
    }

    .home-note::before {
      content: "🛡️";
      flex: 0 0 44px;
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: linear-gradient(180deg, #34d9ff, #1673ec);
      color: #fff;
      font-size: 22px;
    }

    @media (max-width: 380px) {
      .radar-brand { grid-template-columns: 106px 1fr; gap: 12px; }
      .radar-brand::before { width: 98px; height: 98px; font-size: 35px; }
      .radar-brand h2 { font-size: 32px; }
      .radar-brand::after { left: 245px; top: 58px; font-size: 9px; }
      .area-btn { grid-template-columns: 60px minmax(0, 1fr) 10px; min-height: 88px; padding: 9px 7px; }
      .area-icon-img,
      .area-icon-fallback { width: 60px; height: 60px; }
    }


    /* Asset-driven pass: use Steven's extracted screenshot resources directly */
    body {
      background: #061438;
    }

    body::before, body::after { display: none !important; }

    body {
      background:
        linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(10,74,146,.08) 30%, rgba(240,248,255,.52) 78%, #f3f9ff 100%),
        url("assets/reference/pattaya_skyline_fullpage_bg_portrait.jpg") center center / cover fixed no-repeat;
    }

    .app {
      width: min(100%, 430px);
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding-left: 15px;
      padding-right: 15px;
      background: linear-gradient(180deg, rgba(48,184,251,.12) 0%, rgba(191,238,255,.10) 22%, rgba(247,216,251,.16) 35%, rgba(242,249,255,.22) 54%, rgba(243,249,255,.26) 100%);
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }

    .hero {
      min-height: 0;
      padding: 0;
      border: 0;
      border-radius: 24px;
      background: transparent;
      box-shadow: 0 8px 18px rgba(25, 59, 96, .18);
    }

    .hero::before, .hero::after,
    .radar-hero-art, .radar-brand { display: none !important; }

    .hero-reference-img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 24px;
    }

    .hero-scenic {
      position: relative;
      min-height: 196px;
      display: grid;
      grid-template-columns: 126px 1fr;
      align-items: center;
      gap: 14px;
      padding: 24px 18px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(4,15,56,.94) 0%, rgba(6,22,70,.82) 39%, rgba(6,22,70,.22) 68%, rgba(6,22,70,.06) 100%),
        url("assets/reference/pattaya_scenic_clean.jpg") center center / cover no-repeat;
    }

    .hero-logo-mark {
      position: relative;
      z-index: 1;
      width: 114px;
      max-width: 100%;
      filter: drop-shadow(0 0 14px rgba(63,226,255,.55)) drop-shadow(0 0 18px rgba(255,87,220,.38));
    }

    .hero-title-lockup {
      position: relative;
      z-index: 1;
      min-width: 0;
      color: #fff;
      text-shadow: 0 2px 14px rgba(1,8,35,.45);
    }

    .hero-title-lockup strong {
      display: block;
      font-size: 43px;
      line-height: .93;
      letter-spacing: -.055em;
      font-weight: 950;
    }

    .hero-title-lockup strong span {
      color: #63e9ff;
    }

    .hero-title-lockup small {
      display: block;
      margin-top: 10px;
      color: rgba(255,255,255,.94);
      font-size: 15px;
      line-height: 1.16;
      font-weight: 650;
      letter-spacing: -.01em;
    }

    .area-btn {
      grid-template-columns: 74px minmax(0, 1fr) 10px;
      grid-template-rows: auto auto;
      min-height: 124px;
      align-items: center;
      column-gap: 8px;
      row-gap: 7px;
      padding: 9px 8px 10px;
      background: rgba(255,255,255,.94);
      border-radius: 16px;
      box-shadow: 0 5px 14px rgba(28, 60, 91, .12);
    }

    .area-btn::before { content: none !important; display: none !important; }

    .area-icon-wrap {
      grid-column: 1;
      grid-row: 1;
      min-width: 0;
      display: grid;
      justify-items: center;
      align-content: center;
    }

    .area-icon-img,
    .area-icon-fallback {
      width: 74px;
      height: 74px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      object-fit: cover;
      flex: 0 0 auto;
    }

    .area-icon-fallback {
      background: linear-gradient(180deg, #5cdcff 0%, #176ce8 100%);
      color: #fff;
      font-size: 30px;
    }

    .area-copy {
      grid-column: 2;
      grid-row: 1;
      min-width: 0;
      display: grid;
      align-content: center;
      justify-items: center;
      text-align: center;
    }

    .area-copy span {
      display: block;
      min-width: 0;
      color: #65738a;
      font-size: 11px;
      line-height: 1.18;
      font-weight: 850;
    }

    .area-name-footer {
      grid-column: 1 / -1;
      grid-row: 2;
      display: block;
      width: 100%;
      margin: 0;
      padding: 1px 3px 0;
      color: #081525;
      font-size: 15px;
      line-height: 1.05;
      font-weight: 950;
      text-align: center;
      overflow-wrap: anywhere;
      hyphens: auto;
    }

    .area-btn::after {
      grid-column: 3;
      grid-row: 1;
      align-self: center;
      justify-self: center;
      content: "›";
      display: block;
      color: #a9b7c3;
      font-size: 29px;
      line-height: 1;
      font-weight: 350;
    }

    .promo-banner {
      display: block;
      min-height: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      line-height: 0;
      overflow: visible;
    }

    .promo-banner img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 0;
      background: transparent;
    }

    .promo-art, .promo-copy, .promo-flower, .promo-arrow { display: none !important; }

    .home-note {
      min-height: 58px;
      border-radius: 16px;
      background: rgba(255,255,255,.90);
    }



    /* Literal reference correction: keep the scenic art in the real hero only.
       The original layout does NOT repeat/extend the Pattaya banner behind the cards. */
    .app {
      position: relative;
      isolation: isolate;
    }

    /* The fixed Pattaya skyline now lives on body only. Keep app shell overlays transparent
       so the hero and page background line up instead of using duplicate image layers. */
    .app::before {
      display: none !important;
    }

    .app::after {
      content: "";
      position: absolute;
      z-index: 0;
      left: 0;
      right: 0;
      top: 300px;
      bottom: 0;
      pointer-events: none;
      background: transparent;
    }

    .top-nav,
    .moderator-strip,
    .screen {
      position: relative;
      z-index: 1;
    }

    #home .home-stage {
      gap: 10px;
    }

    #home .hero {
      margin-bottom: 8px;
    }

    #home .area-grid {
      margin-top: 0;
    }

    .hero.hero-glass-card {
      min-height: 152px;
      display: grid;
      grid-template-columns: 94px minmax(0, 1fr);
      align-items: center;
      gap: 14px;
      padding: 16px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.48);
      border-radius: 24px;
      background:
        linear-gradient(100deg, rgba(2,12,48,.82) 0%, rgba(4,18,62,.56) 42%, rgba(7,22,66,.18) 68%, rgba(255,255,255,.06) 100%),
        linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 42%),
        url("assets/reference/pattaya_skyline_fullpage_bg_portrait.jpg");
      background-size: auto, auto, cover;
      background-position: 0 0, 0 0, center center;
      background-attachment: scroll, scroll, fixed;
      background-repeat: no-repeat;
      -webkit-backdrop-filter: blur(13px) saturate(1.18);
      backdrop-filter: blur(13px) saturate(1.18);
      box-shadow: 0 14px 30px rgba(0, 28, 68, .26), inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(255,255,255,.16);
    }

    .hero.hero-glass-card::before,
    .hero.hero-glass-card::after,
    .hero-reference-img {
      display: none !important;
    }

    .hero-logo-mark {
      position: relative;
      z-index: 1;
      width: 90px;
      height: auto;
      filter: drop-shadow(0 0 14px rgba(63,226,255,.58)) drop-shadow(0 0 18px rgba(255,87,220,.45));
    }

    .hero-title-lockup {
      position: relative;
      z-index: 1;
      min-width: 0;
      color: #fff;
      text-shadow: 0 2px 14px rgba(1,8,35,.52);
    }

    .hero-title-lockup h2 {
      margin: 0;
      color: #fff;
      font-size: 34px;
      line-height: .98;
      letter-spacing: -.04em;
      font-weight: 950;
    }

    .hero-title-lockup h2 span { color: #62eaff; }

    .hero-title-lockup p {
      margin-top: 6px;
      color: rgba(255,255,255,.96);
      font-size: 13px;
      line-height: 1.2;
      font-weight: 750;
      text-shadow: 0 2px 10px rgba(0,0,0,.62);
    }

    .area-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .top-nav button,
    .moderator-strip span,
    .moderator-strip .small-btn,
    .area-btn,
    .home-note {
      -webkit-backdrop-filter: blur(12px) saturate(1.08);
      backdrop-filter: blur(12px) saturate(1.08);
    }

    .top-nav button {
      background: rgba(255,255,255,.78);
    }

    .moderator-strip .small-btn,
    .area-btn,
    .home-note {
      background: rgba(255,255,255,.82);
      border: 1px solid rgba(255,255,255,.34);
    }


    @media (min-width: 560px) {
      body { padding: 0; }
      .app {
        min-height: 100vh;
        min-height: 100dvh;
        border: 1px solid var(--line);
        border-radius: 28px;
        overflow: hidden;
        padding-left: 14px;
        padding-right: 14px;
        box-shadow: var(--shadow);
      }
    }

    /* Live fixed scenic layer: Steven-approved uploaded sunset/palm background. */
    body {
      background: #061438 !important;
    }

    .viewport-skyline-bg {
      position: fixed;
      top: 0;
      left: 50%;
      width: min(100vw, 430px);
      height: 100lvh;
      min-height: 100vh;
      z-index: 0;
      pointer-events: none;
      transform: translate3d(-50%, 0, 0);
      backface-visibility: hidden;
      contain: paint;
      background:
        linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(10,74,146,.07) 30%, rgba(240,248,255,.48) 78%, #f3f9ff 100%),
        url("assets/reference/pattaya_uploaded_bg_20260525_v2.jpg") right top / cover no-repeat;
    }

    .app {
      position: relative;
      z-index: 1;
    }

    .hero.hero-glass-card {
      background:
        linear-gradient(100deg, rgba(2,12,48,.82) 0%, rgba(4,18,62,.58) 42%, rgba(7,22,66,.22) 68%, rgba(255,255,255,.08) 100%),
        linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 42%) !important;
      background-color: rgba(5, 18, 58, .16) !important;
      background-attachment: scroll, scroll !important;
      -webkit-backdrop-filter: blur(1px) saturate(1.04) !important;
      backdrop-filter: blur(1px) saturate(1.04) !important;
    }

    /* Shape consistency pass: keep controls in the same rounded-square language as the cards. */
    :root {
      --control-radius: 16px;
      --control-radius-large: 18px;
    }

    .moderator-strip span,
    .moderator-strip .small-btn,
    .primary-btn,
    .small-btn,
    .back,
    .chip,
    .field-btn,
    .choice-btn,
    .area-menu-back,
    .search button,
    .price-dialog-actions button,
    .report-inputs button,
    .modal-body button {
      border-radius: var(--control-radius) !important;
    }

    .top-nav button,
    .hero.hero-glass-card,
    .bar-card,
    .price-panel,
    .detail-head,
    .modal-body {
      border-radius: var(--control-radius-large) !important;
    }

    .bar-card.has-map-action .small-btn.price-available-btn,
    .bar-card.has-map-action .small-btn.price-unavailable-btn {
      border-radius: 17px !important;
    }

    .promo-banner,
    .promo-banner img {
      border-radius: var(--control-radius) !important;
      overflow: hidden;
    }

    .area-filter-strip .chip {
      border-radius: 12px !important;
    }


    .zone-hero-card {
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 92px;
      padding: 14px 15px;
      border: 1px solid rgba(255,255,255,.46);
      border-radius: var(--control-radius-large);
      background:
        linear-gradient(100deg, rgba(2,12,48,.76) 0%, rgba(4,18,62,.48) 52%, rgba(255,255,255,.08) 100%),
        linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 46%),
        rgba(5, 18, 58, .18);
      color: #fff;
      -webkit-backdrop-filter: blur(1px) saturate(1.04);
      backdrop-filter: blur(1px) saturate(1.04);
      box-shadow: 0 12px 28px rgba(0, 28, 68, .24), inset 0 1px 0 rgba(255,255,255,.28);
      text-shadow: 0 2px 12px rgba(1,8,35,.50);
    }

    .zone-hero-card:not([hidden]) { display: flex; }

    .home-stage.area-menu-open > .section-title,
    #areas.subarea-menu-open > .section-title {
      display: none;
    }

    .zone-hero-main {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .zone-hero-card img {
      width: 62px;
      height: 62px;
      object-fit: contain;
      flex: 0 0 auto;
      filter: drop-shadow(0 8px 18px rgba(0,0,0,.30));
    }

    .zone-hero-copy { min-width: 0; }

    .zone-hero-copy span {
      display: block;
      margin-bottom: 4px;
      color: #ff6f8a;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .zone-hero-copy strong {
      display: block;
      color: #fff;
      font-size: 26px;
      line-height: .98;
      letter-spacing: -.035em;
      font-weight: 950;
    }

    .zone-hero-copy small {
      display: block;
      margin-top: 5px;
      color: rgba(255,255,255,.92);
      font-size: 12px;
      line-height: 1.15;
      font-weight: 780;
    }

    .zone-hero-change {
      flex: 0 0 auto;
      min-height: 46px;
      padding: 0 14px;
      color: #fff;
      background: rgba(2, 12, 48, .42);
      border-color: rgba(255,255,255,.46);
      box-shadow: 0 7px 16px rgba(0, 28, 68, .28), inset 0 1px 0 rgba(255,255,255,.24);
      text-shadow: 0 1px 10px rgba(1,8,35,.42);
      white-space: nowrap;
    }

    /* Compact fixed icon-only top nav: taller glass tabs, content scrolls behind. */
    .app { padding-top: 0; }
    .app-scroll {
      padding-top: calc(env(safe-area-inset-top) + 96px);
      /* Safari/browser needs extra bottom room because the iPhone URL toolbar can cover the last card. */
      padding-bottom: calc(env(safe-area-inset-bottom) + 180px);
      scroll-padding-bottom: calc(env(safe-area-inset-bottom) + 180px);
    }

    @media all and (display-mode: standalone) {
      .app-scroll {
        /* Installed PWA has no Safari toolbar, so stop just after the last card. */
        padding-bottom: calc(env(safe-area-inset-bottom) + 16px);
        scroll-padding-bottom: calc(env(safe-area-inset-bottom) + 16px);
      }
    }

    html.is-standalone-app .app-scroll {
      /* iOS home-screen apps can miss display-mode matching; the PWA start_url/source flag is reliable. */
      padding-bottom: env(safe-area-inset-bottom);
      scroll-padding-bottom: env(safe-area-inset-bottom);
    }

    html.is-standalone-app .install-app-card {
      display: none !important;
    }

    html.is-standalone-app #home.screen {
      padding-bottom: 0;
    }

    html.is-standalone-app #home .home-stage {
      padding-bottom: 8px;
    }

    .top-nav {
      position: fixed;
      left: 50%;
      top: calc(env(safe-area-inset-top) + 8px);
      width: min(calc(100vw - 30px), 400px);
      transform: translateX(-50%);
      z-index: 1000;
      pointer-events: none;
      gap: 7px;
      margin: 0;
      padding: 8px;
      border: 1px solid rgba(255,255,255,.44);
      border-radius: 18px;
      background:
        linear-gradient(100deg, rgba(2,12,48,.58) 0%, rgba(4,18,62,.36) 54%, rgba(255,255,255,.08) 100%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 48%),
        rgba(5, 18, 58, .18);
      -webkit-backdrop-filter: blur(1px) saturate(1.04);
      backdrop-filter: blur(1px) saturate(1.04);
      box-shadow: 0 12px 28px rgba(0, 28, 68, .24), inset 0 1px 0 rgba(255,255,255,.28);
    }

    .top-nav button {
      pointer-events: auto;
      touch-action: pan-y;
      min-height: 58px;
      padding: 0;
      gap: 0;
      border: 1px solid rgba(255,255,255,.20);
      background: rgba(255, 255, 255, .08);
      color: rgba(255,255,255,.86);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
    }

    .moderator-strip {
      position: fixed;
      left: 50%;
      top: calc(env(safe-area-inset-top) + 82px);
      width: min(calc(100vw - 30px), 400px);
      transform: translateX(-50%);
      z-index: 999;
      display: flex !important;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin: 0;
      padding: 7px 9px;
      border: 1px solid rgba(255,255,255,.36);
      border-radius: 18px;
      background: rgba(5, 18, 58, .24);
      -webkit-backdrop-filter: blur(1px) saturate(1.04);
      backdrop-filter: blur(1px) saturate(1.04);
      box-shadow: 0 10px 24px rgba(0, 28, 68, .18), inset 0 1px 0 rgba(255,255,255,.20);
    }

    .moderator-strip span {
      min-width: 0;
      color: rgba(255,255,255,.92) !important;
      font-size: 12px;
      font-weight: 850;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .moderator-strip span::before { content: "" !important; margin: 0 !important; }

    .moderator-strip .small-btn {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 13px;
      color: #072f41 !important;
      background: rgba(255,255,255,.90) !important;
      border: 1px solid rgba(255,255,255,.50);
      box-shadow: 0 4px 12px rgba(0, 28, 68, .16);
      white-space: nowrap;
    }

    .moderator-strip .small-btn::before { content: "🔐" !important; margin-right: 7px !important; }

    .top-nav button small {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }

    .top-nav .ui-icon {
      width: 28px;
      height: 28px;
      stroke: currentColor;
      filter: drop-shadow(0 1px 8px rgba(1,8,35,.34));
    }

    .top-nav button.active {
      color: #ffffff;
      border-color: rgba(111, 237, 255, .62);
      background: rgba(2, 95, 154, .66);
      box-shadow: 0 0 18px rgba(72, 232, 255, .28), inset 0 1px 0 rgba(255,255,255,.28);
    }

    #map .map-disclaimer {
      transform: translateY(5px);
    }

    /* iOS Safari can briefly composite CSS drop-shadow around the PNG's
       rectangular image box on a cold first load. Put the neon aura on a
       stable wrapper layer instead, and keep the transparent PNG unfiltered. */
    .hero-logo-wrap {
      position: relative;
      z-index: 1;
      width: 90px;
      max-width: 100%;
      display: grid;
      place-items: center;
      isolation: isolate;
      transform: translateZ(0);
    }

    .hero-logo-wrap::before,
    .hero-logo-wrap::after {
      content: "";
      position: absolute;
      pointer-events: none;
      z-index: -1;
      border-radius: 999px;
      transform: translateZ(0);
    }

    .hero-logo-wrap::before {
      inset: 6px 0 8px -4px;
      background:
        radial-gradient(ellipse at 38% 44%, rgba(76, 232, 255, .58), transparent 58%),
        radial-gradient(ellipse at 62% 46%, rgba(255, 92, 220, .42), transparent 62%);
      filter: blur(13px);
      opacity: .86;
    }

    .hero-logo-wrap::after {
      inset: 12px 10px 17px 6px;
      border: 1px solid rgba(111, 237, 255, .34);
      box-shadow: 0 0 20px rgba(72, 232, 255, .34), 0 0 24px rgba(255, 90, 219, .20);
      opacity: .7;
    }

    .hero-logo-mark {
      display: block;
      width: 100% !important;
      height: auto;
      filter: none !important;
      transform: translateZ(0);
    }


    /* Trust note: use a larger translucent shield PNG, not the old round emoji badge. */
    .home-note {
      position: relative;
      overflow: hidden;
      padding-left: 76px;
    }

    .home-note::before {
      content: "";
      position: absolute;
      left: 11px;
      top: 50%;
      width: 58px;
      height: 58px;
      flex: none;
      transform: translateY(-50%);
      border-radius: 0;
      background: url("assets/reference/shield-translucent-guide.png") center / contain no-repeat;
      opacity: .88;
      filter: drop-shadow(0 4px 9px rgba(17, 92, 205, .20));
    }

    .install-app-card {
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 0;
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,.34);
      border-radius: 17px;
      background:
        linear-gradient(105deg, rgba(4, 24, 76, .86), rgba(3, 74, 112, .76)),
        rgba(255,255,255,.08);
      color: #fff;
      box-shadow: 0 8px 18px rgba(0, 28, 68, .20), inset 0 1px 0 rgba(255,255,255,.24);
    }

    .install-app-card.show { display: flex; }

    .install-app-card strong {
      display: block;
      font-size: 15px;
      line-height: 1.1;
      font-weight: 950;
    }

    .install-app-card span {
      display: block;
      margin-top: 3px;
      color: rgba(255,255,255,.84);
      font-size: 12px;
      line-height: 1.25;
      font-weight: 700;
    }

    .install-app-card button {
      flex: none;
      min-height: 44px;
      padding: 0 14px;
      border: 0;
      border-radius: 14px;
      background: linear-gradient(180deg, #39e8ff, #0f91d8);
      color: #04183c;
      font-weight: 950;
      box-shadow: 0 5px 12px rgba(2, 21, 58, .24);
      cursor: pointer;
    }

    .install-help-body {
      gap: 14px;
      max-width: min(92vw, 390px);
      padding: 22px 20px calc(18px + env(safe-area-inset-bottom));
    }

    .install-help-lede {
      margin: -4px 0 0;
      font-size: 14px;
      line-height: 1.35;
      color: #4b5563;
      font-weight: 750;
    }

    .install-platforms {
      display: grid;
      gap: 12px;
    }

    .install-platform {
      padding: 14px;
      border: 1px solid rgba(15, 23, 42, .14);
      border-radius: 18px;
      background: #ffffff;
      box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    }

    .install-platform-copy strong {
      display: block;
      margin-bottom: 10px;
      color: #111827;
      font-size: 16px;
      line-height: 1.15;
      font-weight: 950;
    }

    .install-steps {
      display: grid;
      gap: 9px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .install-steps li {
      display: grid;
      grid-template-columns: 30px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      color: #1f2937;
      font-size: 14px;
      line-height: 1.28;
      font-weight: 750;
    }

    .install-step-num {
      display: grid;
      place-items: center;
      width: 28px;
      height: 28px;
      border-radius: 10px;
      background: #dc2626;
      color: #fff;
      font-size: 14px;
      font-weight: 950;
      box-shadow: 0 4px 10px rgba(220, 38, 38, .22);
    }

    .install-icon-chip {
      display: inline-grid;
      place-items: center;
      min-width: 30px;
      height: 26px;
      margin: 0 2px;
      padding: 0 7px;
      border: 1px solid rgba(220, 38, 38, .30);
      border-radius: 9px;
      background: #fff5f5;
      color: #b91c1c;
      font-weight: 950;
      white-space: nowrap;
    }

    .install-small-note {
      margin: 2px 0 0;
      color: #6b7280;
      font-size: 12px;
      line-height: 1.3;
      font-weight: 700;
    }

    /* Alignment pass after larger card/map imagery: keep every bar-card header,
       map icon, price grid, confidence row, and Details button on the same rails. */
    .bar-card {
      padding: 16px;
    }

    .bar-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      column-gap: 12px;
      min-height: 52px;
      margin-bottom: 10px;
    }

    .bar-heading {
      min-width: 0;
      align-content: center;
    }

    .bar-card.has-map-action .bar-heading {
      padding-right: 0;
    }

    .bar-top-actions {
      grid-column: 2;
      grid-row: 1;
      align-self: center;
      justify-self: end;
      display: grid;
      justify-items: end;
      gap: 6px;
    }

    .bar-card.has-map-action .bar-card-map-btn {
      position: static;
      top: auto;
      right: auto;
    }

    .bar-card-map-btn.map-btn,
    .detail-map-btn.bar-card-map-btn {
      display: grid;
      place-items: center;
      width: 56px;
      height: 50px;
      min-height: 50px;
      padding: 5px;
    }

    .bar-card-map-btn.map-btn img,
    .detail-map-btn.bar-card-map-btn img {
      width: 88%;
      height: 88%;
      object-fit: contain;
      object-position: center;
    }

    .prices,
    .confidence-row,
    .actions {
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }

    .price {
      min-height: 74px;
      display: grid;
      align-content: center;
      justify-items: center;
      text-align: center;
    }

    .actions .small-btn {
      width: 100%;
    }

    /* Compact list cards: fit more bars per phone screen while preserving the right map/no-map affordance. */
    .bar-list {
      gap: 8px;
    }

    .bar-card.has-map-action {
      grid-template-columns: minmax(0, 1fr) 88px;
      gap: 7px;
      padding: 6px;
      align-items: center;
    }

    .bar-card-main {
      gap: 3px;
      padding-left: 5px;
    }

    .bar-card.has-map-action .bar-top {
      min-height: 42px;
      margin-bottom: 0;
    }

    .bar-card.has-map-action .bar-top h3 {
      font-size: 16px;
      line-height: 1.03;
    }

    .bar-card.has-map-action .muted {
      font-size: 10.5px;
      line-height: 1.12;
    }

    .bar-card.has-map-action .actions {
      margin-top: 5px;
    }

    .bar-card.has-map-action .small-btn.price-available-btn,
    .bar-card.has-map-action .small-btn.price-unavailable-btn {
      min-height: 34px;
      padding: 6px 9px;
      border-radius: 15px !important;
      font-size: 15px;
      line-height: 1.05;
    }

    .bar-card-map-btn,
    .bar-card-map-placeholder {
      width: 88px;
      height: 88px;
      padding: 4px;
      border-radius: 15px;
    }

    .bar-card.is-expanded {
      align-items: start;
      border-color: rgba(14, 165, 233, .34);
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 18px 38px rgba(14, 116, 144, .18), 0 0 0 1px rgba(255, 255, 255, .75) inset;
    }

    .bar-card.is-expanded .bar-card-main {
      transform: translateY(-1px);
      transition: transform .22s ease;
    }

    .bar-card-expanded {
      grid-column: 1 / -1;
      min-width: 0;
      max-width: 100%;
      overflow: hidden;
      display: grid;
      gap: 9px;
      margin-top: 6px;
      padding: 11px 8px 6px;
      border-top: 1px solid rgba(14, 165, 233, .18);
      border-radius: 0 0 13px 13px;
      background: linear-gradient(180deg, rgba(240, 249, 255, .72), rgba(255, 255, 255, .22));
      transform-origin: top center;
      animation: pricePanelOpen .50s cubic-bezier(.4, 0, .2, 1) both;
      will-change: max-height, opacity, transform, padding, margin;
    }

    @keyframes pricePanelOpen {
      0% {
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
      }
      38% {
        opacity: .96;
      }
      100% {
        max-height: var(--expand-height, 420px);
        opacity: 1;
        transform: translateY(0);
        padding-top: 11px;
        padding-bottom: 6px;
        margin-top: 6px;
      }
    }

    .bar-card-expanded.is-measuring {
      animation: none !important;
      max-height: none !important;
    }

    .bar-card-expanded.is-collapsing {
      pointer-events: none;
      animation: pricePanelClose .50s cubic-bezier(.4, 0, .2, 1) both;
    }


    .bar-card.is-collapsing {
      border-color: rgba(14, 165, 233, .22);
      box-shadow: 0 10px 22px rgba(14, 116, 144, .10), var(--shadow-soft);
      transition: border-color .50s ease, box-shadow .50s ease, transform .50s cubic-bezier(.4, 0, .2, 1);
    }


    @keyframes pricePanelClose {
      0% {
        max-height: var(--collapse-height, 260px);
        opacity: 1;
        transform: translateY(0);
        padding-top: 11px;
        padding-bottom: 6px;
        margin-top: 6px;
      }
      70% {
        opacity: .94;
      }
      100% {
        max-height: 0;
        opacity: 0;
        transform: translateY(-5px);
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .bar-card-expanded,
      .bar-card-expanded.is-collapsing,
      .bar-card-expanded .price {
        animation: none;
      }
    }

    .bar-card-expanded .prices {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
    }

    .bar-card-expanded .price-guide-note {
      margin: 0;
      padding: 7px 9px;
      border: 1px solid rgba(244, 211, 139, .72);
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(255, 250, 240, .97) 0%, rgba(255, 253, 246, .94) 100%);
      color: #3d2d17;
      font-size: 11.7px;
      line-height: 1.16;
      box-shadow: 0 4px 11px rgba(180, 112, 24, .06), inset 0 1px 0 rgba(255, 255, 255, .72);
    }

    .bar-card-expanded .price-guide-note b {
      color: #2f2415;
    }

    .bar-card-expanded .expanded-guide-note > span {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      width: 100%;
      min-width: 0;
    }

    .bar-card-expanded .expanded-guide-note .guide-info-link {
      flex: 0 0 auto;
      white-space: nowrap;
      color: #8a570f;
    }

    .bar-card-expanded .price-guide-note::before {
      content: "ⓘ";
      width: auto;
      min-width: 14px;
      height: auto;
      display: grid;
      place-items: center;
      border-radius: 0;
      background: transparent;
      color: #b47018;
      font-family: inherit;
      font-size: 13px;
      line-height: 1;
      margin-top: 1px;
      font-weight: 950;
    }

    .bar-card-expanded .price {
      height: 86px;
      min-height: 86px;
      position: relative;
      display: block;
      padding: 0;
      border: 2px solid rgba(244, 211, 139, .72) !important;
      border-radius: 24px;
      background: linear-gradient(180deg, #fffaf0 0%, #fffdf6 100%) !important;
      box-shadow: 0 5px 12px rgba(180, 112, 24, .06);
      overflow: hidden;
      animation: priceBoxEnter .34s cubic-bezier(.2, .8, .2, 1) both;
      animation-delay: 115ms;
      transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease, transform .16s cubic-bezier(.2, .8, .2, 1);
      will-change: opacity, transform, box-shadow;
    }

    .bar-card-expanded .price:active,
    .bar-card-expanded .price.is-pressing {
      background: linear-gradient(180deg, #f5dfa6 0%, #fff2bf 100%) !important;
      border-color: rgba(180, 112, 24, .92) !important;
      box-shadow: inset 0 0 0 1px rgba(180, 112, 24, .18), 0 6px 15px rgba(180, 112, 24, .12);
      filter: none;
      transform: translateY(1px) scale(.985);
    }

    .bar-card-expanded .price.price-accepted {
      border-color: rgba(244, 211, 139, .98) !important;
      animation: acceptedPriceTileConfirm 1.55s cubic-bezier(.18, .9, .22, 1) both;
    }

    @keyframes acceptedPriceTileConfirm {
      0% {
        border-color: rgba(180, 112, 24, .52);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.66), 0 5px 12px rgba(180, 112, 24, .06);
        background: linear-gradient(180deg, #fffaf0 0%, #fffdf6 100%);
        transform: translateY(0) scale(1);
        filter: saturate(1);
      }
      16% {
        border-color: rgba(244, 211, 139, 1);
        box-shadow: inset 0 0 0 1px rgba(180, 112, 24, .28), 0 0 0 6px rgba(244, 211, 139, .24), 0 10px 20px rgba(180, 112, 24, .12);
        background: linear-gradient(120deg, #fff8da 0%, #ffe49b 46%, #fffaf0 100%);
        transform: translateY(-1px) scale(1.018);
        filter: saturate(1.08);
      }
      34% {
        border-color: rgba(180, 112, 24, .86);
        box-shadow: inset 0 0 0 1px rgba(180, 112, 24, .18), 0 0 0 3px rgba(244, 211, 139, .14), 0 8px 16px rgba(180, 112, 24, .09);
        background: linear-gradient(120deg, #fffaf0 0%, #fff3c4 58%, #fffdf6 100%);
        transform: translateY(0) scale(1);
        filter: saturate(1.03);
      }
      62% {
        border-color: rgba(244, 211, 139, .78);
        box-shadow: inset 0 0 0 1px rgba(180, 112, 24, .14), 0 0 0 2px rgba(244, 211, 139, .08), 0 6px 14px rgba(180, 112, 24, .07);
        background: linear-gradient(180deg, #fff6cf 0%, #fffdf6 100%);
        transform: translateY(0) scale(1);
        filter: saturate(1);
      }
      100% {
        border-color: rgba(180, 112, 24, .52);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.66), 0 5px 12px rgba(180, 112, 24, .06);
        background: linear-gradient(180deg, #fffaf0 0%, #fffdf6 100%);
        transform: translateY(0) scale(1);
        filter: saturate(1);
      }
    }

    .bar-card-expanded .price.pressable::after {
      content: none;
    }

    .bar-card-expanded.is-collapsing .price {
      animation: none;
      opacity: 1;
      transform: none;
    }

    @keyframes priceBoxEnter {
      0% {
        opacity: .18;
        transform: translateY(10px) scale(.975);
        box-shadow: 0 2px 8px rgba(180, 112, 24, .03);
      }
      72% {
        opacity: 1;
        transform: translateY(-1px) scale(1.003);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 5px 12px rgba(180, 112, 24, .06);
      }
    }

    .bar-card-expanded .price b,
    .bar-card-expanded .price b.availability-text {
      position: absolute;
      left: 0;
      right: 0;
      top: 11px;
      height: 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: none;
      color: #071525;
      font-size: 18px;
      line-height: 1;
      letter-spacing: -.045em;
      font-weight: 950;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .bar-card-expanded .price b.fixed-price {
      font-size: 18px;
    }

    .bar-card-expanded .price b.range-price {
      left: -4px;
      right: -4px;
      font-size: 13.5px;
      letter-spacing: -.075em;
      text-overflow: clip;
    }

    .bar-card-expanded .price.price-unavailable b {
      left: -2px;
      right: -2px;
      font-size: 12px;
      line-height: 1.08;
      letter-spacing: -.035em;
      white-space: nowrap;
      overflow: visible;
      text-overflow: clip;
    }

    .bar-card-expanded .price span {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 12px;
      height: 12px;
      margin-top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #5f6d81;
      font-size: 12px;
      line-height: 1;
      font-weight: 950;
      letter-spacing: .18em;
      text-transform: uppercase;
      text-align: center;
    }

    .bar-card-expanded .meta-row {
      margin: 0;
    }

    .bar-card-expanded .confidence-row {
      margin: 0;
      gap: 5px;
    }

    .bar-card-expanded .detail-extra {
      margin: 0;
      gap: 8px;
    }

    .bar-card-expanded .detail-block {
      padding: 10px;
      gap: 7px;
      background: rgba(255,255,255,.58);
    }

    .bar-card-expanded .detail-confidence-grid {
      gap: 6px;
    }

    .bar-card-expanded .detail-confidence-item {
      padding: 8px 9px;
      font-size: 12px;
    }

    .inline-fine-summary {
      display: grid;
      grid-template-columns: 1fr 1fr 1.25fr;
      gap: 6px;
    }

    .inline-fine-summary div,
    .inline-fine-summary button {
      min-width: 0;
      padding: 8px 7px;
      border: 1px solid rgba(8, 13, 24, .08);
      border-radius: 13px;
      background: rgba(255,255,255,.62);
      text-align: center;
      font: inherit;
    }

    .inline-fine-summary button {
      cursor: pointer;
    }

    .inline-fine-summary button:active {
      transform: scale(.985);
    }

    .inline-fine-summary b {
      display: block;
      font-size: 15px;
      line-height: 1.05;
      color: var(--text);
      white-space: nowrap;
    }

    .inline-fine-summary span {
      display: block;
      margin-top: 3px;
      font-size: 10.2px;
      line-height: 1.05;
      color: var(--muted);
      font-weight: 800;
    }

    .inline-action-note {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 8px;
      align-items: center;
      padding: 9px 10px;
      border: 1px solid rgba(21, 156, 110, .14);
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(241, 251, 246, .95), rgba(255, 248, 230, .82));
      color: var(--text);
      font-size: 11.5px;
      line-height: 1.22;
      font-weight: 800;
    }

    .inline-action-note .note-spark {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      background: rgba(21, 156, 110, .12);
      color: #0b6f4e;
      font-size: 13px;
    }

    .inline-action-note b {
      display: block;
      margin-bottom: 2px;
      font-size: 12.5px;
      line-height: 1;
    }

    .top-nav {
      grid-template-columns: 1fr 1fr 1fr .66fr;
    }

    .top-nav button[data-open-how] {
      min-height: 46px;
      padding-inline: 4px;
      font-size: 18px;
    }

    .top-nav button[data-open-how] small {
      font-size: 9px;
    }
  

/* Genuine-page isolation: keep the exact live skin without the SPA scroll owner. */
html.preview-v2,
body.preview-v2-body {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto;
}
body.preview-v2-body { min-height: 100dvh; }
.preview-v2-body .app.multi-page {
  width: min(100%, 430px);
  max-width: 100vw;
  height: auto !important;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: visible !important;
  padding-left: 15px;
  padding-right: 15px;
  /* The old SPA tint stretched with document height and exposed its edges during iOS rubber-band scrolling. */
  background: transparent;
}
.preview-v2-body .app.multi-page .app-scroll {
  height: auto !important;
  min-height: 100dvh;
  overflow: visible !important;
  padding-top: calc(env(safe-area-inset-top) + 96px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 44px);
  transition: padding-top .50s cubic-bezier(.18,.88,.22,1);
}

/* Every genuine public page now ends shortly after its final card/control. This
   trims only document spacing; the fixed skyline keeps its exact image crop. */
.preview-v2-body .app.multi-page {
  padding-bottom: 0;
}
.preview-v2-body .app.multi-page .app-scroll {
  padding-bottom: calc(env(safe-area-inset-bottom) + 12px);
}
.preview-v2-body .app.multi-page .public-page > .screen,
.preview-v2-body .app.multi-page .public-page > section.screen,
.preview-v2-body .app.multi-page .public-page > .screen:not(#home),
.preview-v2-body .app.multi-page .public-page #home .home-stage {
  padding-bottom: 0;
}

.preview-v2-body .top-nav button.is-locating .nav-icon {
  animation: pbrNearMeLocating .86s cubic-bezier(.4,0,.2,1) infinite alternate;
  color: #22d3ee;
}
.preview-v2-body .top-nav button.is-locating small { color: #67e8f9; }
@keyframes pbrNearMeLocating {
  from { transform: translateY(0) scale(1); filter: drop-shadow(0 0 0 rgba(34,211,238,0)); }
  to { transform: translateY(-1px) scale(1.08); filter: drop-shadow(0 0 5px rgba(34,211,238,.72)); }
}
@media (prefers-reduced-motion: reduce) {
  .preview-v2-body .top-nav button.is-locating .nav-icon { animation: none; }
}

/* True snapshot-based hand-off for genuine page routes. The old and new pages move together while the fixed nav stays stable; there is no pre-navigation fade. */
@view-transition { navigation: auto; }
:root { view-transition-name: none; }
html.pbr-page-route-old,
html.pbr-page-route-enter {
  view-transition-name: root;
}
html.pbr-page-route-old .top-nav,
html.pbr-page-route-enter .top-nav {
  view-transition-name: pbr-page-nav;
}
::view-transition-group(root) {
  animation-duration: .48s;
  animation-timing-function: cubic-bezier(.22,.76,.22,1);
  overflow: hidden;
}
::view-transition-old(root) {
  animation: pbrAreaSnapshotOld .48s cubic-bezier(.22,.76,.22,1) both;
  opacity: 1;
}
::view-transition-new(root) {
  animation: pbrAreaSnapshotNew .48s cubic-bezier(.22,.76,.22,1) both;
  opacity: 1;
}
::view-transition-group(pbr-page-nav),
::view-transition-new(pbr-page-nav) {
  animation: none;
  opacity: 1;
}
::view-transition-old(pbr-page-nav) {
  animation: none;
  opacity: 0;
}
@keyframes pbrAreaSnapshotOld {
  from { transform: translateX(0); }
  to { transform: translateX(-22%); }
}
@keyframes pbrAreaSnapshotNew {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  :root { view-transition-name: none !important; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
.preview-v2-body.nav-search-open .app.multi-page .app-scroll {
  padding-top: calc(env(safe-area-inset-top) + 182px);
}
.preview-v2-body .public-list-screen > .section-title:first-child {
  margin-top: 0;
}
.preview-v2-body .bar-card,
.preview-v2-body .bar-card * {
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Approved hero-style glass treatment for Home tiles and area-zone chooser tiles. */
.preview-v2-body #homeAreaGrid .area-btn,
.preview-v2-body .area-menu-stage .area-grid .area-btn {
  color: #fff !important;
  background:
    linear-gradient(110deg, rgba(2, 12, 48, .76) 0%, rgba(4, 18, 62, .52) 52%, rgba(255, 255, 255, .10) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 48%) !important;
  background-color: rgba(5, 18, 58, .18) !important;
  border: 1px solid rgba(255, 255, 255, .46) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.06) !important;
  backdrop-filter: blur(3px) saturate(1.06) !important;
  box-shadow: 0 12px 26px rgba(0, 28, 68, .24), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}
.preview-v2-body #homeAreaGrid .area-btn .area-copy span,
.preview-v2-body #homeAreaGrid .area-btn .area-name-footer,
.preview-v2-body .area-menu-stage .area-grid .area-btn .area-copy span,
.preview-v2-body .area-menu-stage .area-grid .area-btn .area-name-footer {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 18, 48, .42);
}
.preview-v2-body #homeAreaGrid .area-btn .area-icon-wrap,
.preview-v2-body .area-menu-stage .area-grid .area-btn .area-icon-wrap {
  border-color: rgba(255, 255, 255, .34) !important;
  /* Keep transparent PNG cut-outs clean; a box-shadow here paints the wrapper's square bounds. */
  box-shadow: none !important;
}

/* Compact text-first cards for every sub-area; sign artwork is intentionally hidden. */
.preview-v2-body .area-menu-stage .area-grid .area-btn {
  height: 106px;
  min-height: 106px;
  padding: 15px 36px 14px 15px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 42px 21px;
  align-content: center;
  gap: 8px;
  text-align: left;
  background:
    linear-gradient(110deg, rgba(2, 12, 48, .82) 0%, rgba(4, 18, 62, .58) 58%, rgba(19, 73, 118, .42) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0) 48%) !important;
}
.preview-v2-body .area-menu-stage .area-grid .area-btn .area-icon-wrap {
  display: none !important;
}
.preview-v2-body .area-menu-stage .area-grid .area-btn .area-name-footer {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: block;
  height: 42px;
  overflow: hidden;
  width: 100%;
  font-size: 19px;
  line-height: 1.075;
  letter-spacing: -.025em;
  text-align: left;
}
.preview-v2-body .area-menu-stage .area-grid .area-btn .area-copy {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: start;
  display: inline-flex;
  width: auto;
}
.preview-v2-body .area-menu-stage .area-grid .area-btn .area-copy span {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid rgba(111, 237, 255, .38);
  border-radius: 999px;
  background: rgba(71, 221, 255, .11);
  color: #c8f8ff !important;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: none;
}
.preview-v2-body .area-menu-stage .area-grid .area-btn::before {
  content: "›" !important;
  display: grid !important;
  position: absolute;
  right: 13px;
  top: 50%;
  width: 24px;
  height: 24px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(111, 237, 255, .32);
  border-radius: 50%;
  background: rgba(71, 221, 255, .10);
  color: #bff8ff;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.preview-v2-body .area-menu-stage .area-grid .area-btn::after {
  content: "" !important;
}

/* Carry the approved Home glass language into the Home install card only. */
.preview-v2-body #home .install-app-card {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(2, 12, 48, .76) 0%, rgba(4, 18, 62, .52) 52%, rgba(255, 255, 255, .10) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 48%) !important;
  background-color: rgba(5, 18, 58, .18) !important;
  border: 1px solid rgba(255, 255, 255, .46) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.06) !important;
  backdrop-filter: blur(3px) saturate(1.06) !important;
  box-shadow: 0 12px 26px rgba(0, 28, 68, .24), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}
.preview-v2-body #home .install-app-card span {
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 2px rgba(0, 18, 48, .34);
}

.preview-v2-body .top-nav,
.preview-v2-body .top-nav button {
  pointer-events: auto;
}
.preview-v2-body .top-nav {
  z-index: 2147483000;
  isolation: isolate;
  -webkit-transform: translate3d(-50%, 0, 1px);
  transform: translate3d(-50%, 0, 1px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
.preview-v2-body .top-nav > a[data-open-search] {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 0;
  gap: 0;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  touch-action: pan-y;
}
.preview-v2-body .top-nav > a[data-open-search] small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.preview-v2-body .top-nav > a[data-open-search].active,
.preview-v2-body .top-nav > a[data-open-search][aria-expanded="true"] {
  color: #fff;
  border-color: rgba(111,237,255,.62);
  background: rgba(2,95,154,.66);
  box-shadow: 0 0 18px rgba(72,232,255,.28), inset 0 1px 0 rgba(255,255,255,.28);
}
.preview-v2-body .nav-search-panel {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 96px);
  z-index: 2147482999;
  width: min(calc(100vw - 30px), 400px);
  max-width: calc(100vw - 30px);
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 21px;
  background: rgba(245,250,255,.94);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
  backdrop-filter: blur(16px) saturate(1.18);
  box-shadow: 0 18px 38px rgba(5,35,70,.24), inset 0 1px 0 rgba(255,255,255,.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0 round 21px);
  transform: translate(-50%, -14px) scale(.975);
  transform-origin: 50% 0;
  transition: opacity .50s ease, transform .50s cubic-bezier(.18,.88,.22,1), clip-path .50s cubic-bezier(.18,.88,.22,1), visibility 0s linear .50s;
}
.preview-v2-body .nav-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0 0 0 0 round 21px);
  transform: translate(-50%, 0) scale(1);
  transition-delay: 0s;
}
.preview-v2-body .nav-search-form.search {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 56px;
  box-sizing: border-box;
  gap: 9px;
  padding: 6px 10px 6px 13px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94);
  transition: border-color .20s ease, background .20s ease, box-shadow .20s ease, transform .20s cubic-bezier(.2,.8,.2,1);
}
.preview-v2-body .nav-search-panel.is-empty .nav-search-form {
  border-color: rgba(212,72,72,.62);
  animation: navSearchEmptyNudge .34s cubic-bezier(.2,.8,.2,1);
}
.preview-v2-body .top-nav [data-open-search][aria-expanded="true"] {
  color: #fff;
  border-color: rgba(111,237,255,.62);
  background: rgba(2,95,154,.66);
  box-shadow: 0 0 18px rgba(72,232,255,.28), inset 0 1px 0 rgba(255,255,255,.28);
}
@keyframes navSearchEmptyNudge {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-4px); }
  70% { transform: translateX(3px); }
}
.preview-v2-body .app.multi-page .public-page {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.preview-v2-body .app.multi-page .public-page > .screen,
.preview-v2-body .app.multi-page .public-page > section.screen {
  display: block;
}
.preview-v2-body .app.multi-page .public-footer { display: none; }
.preview-v2-body .standalone-dialog-page {
  display: block !important;
  padding: 0;
}
.preview-v2-body .standalone-dialog-card {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 20px;
  border: 1px solid rgba(214, 225, 236, 0.96);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(9, 30, 50, 0.14);
}
.preview-v2-body .standalone-dialog-card .primary-btn,
.preview-v2-body .standalone-dialog-card > .ghost-btn { width: 100%; }
.preview-v2-body .search-page .search-card {
  width: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
  border-color: rgba(214, 225, 236, 0.88);
  box-shadow: 0 10px 22px rgba(9, 30, 50, 0.12);
}
.preview-v2-body .search-card-head {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 2px;
  min-height: 30px;
}
.preview-v2-body .search-card-head h3 {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.preview-v2-body .search-page .search {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  gap: 9px;
  padding: 6px 10px 6px 13px;
  border-radius: 16px;
  transition: border-color .20s ease, background .20s ease, box-shadow .20s ease, transform .20s cubic-bezier(.2, .8, .2, 1);
}
.preview-v2-body .search-focus-shell > * {
  position: relative;
  z-index: 1;
}
.preview-v2-body .search-focus-shell::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 0;
  border: 2px solid rgba(47, 134, 196, 0);
  border-radius: 19px;
  opacity: 0;
  transform: scale(.985);
  transform-origin: center;
  pointer-events: none;
}
.preview-v2-body .search-focus-shell:focus-within {
  border-color: rgba(47, 134, 196, .52);
  background: #fbfdff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.82), 0 0 0 3px rgba(47,134,196,.10), 0 7px 18px rgba(26,94,146,.09);
  transform: translateY(-1px);
}
.preview-v2-body .search-focus-shell:focus-within::after {
  animation: searchInputFocusRing .62s cubic-bezier(.18, .9, .22, 1) both;
}
.preview-v2-body .search-focus-shell input:focus-visible {
  outline: none;
}
.preview-v2-body .search-focus-shell:focus-within .search-icon {
  color: #2f86c4;
  transform: scale(1.06);
}
@keyframes searchInputFocusRing {
  0% { opacity: 0; border-color: rgba(47,134,196,0); transform: scale(.982); }
  38% { opacity: 1; border-color: rgba(47,134,196,.92); transform: scale(1.025); }
  68% { opacity: 1; border-color: rgba(47,134,196,.72); transform: scale(.997); }
  100% { opacity: 1; border-color: rgba(47,134,196,.58); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .preview-v2-body .app.multi-page .app-scroll { transition-duration: .01ms; }
  .preview-v2-body .nav-search-panel,
  .preview-v2-body .nav-search-panel.is-open { transition-duration: .01ms; transform: translate(-50%, 0) scale(1); }
  .preview-v2-body .nav-search-panel.is-empty .nav-search-form { animation: none; }
  .preview-v2-body .search-focus-shell:focus-within { transform: none; }
  .preview-v2-body .search-focus-shell:focus-within::after {
    animation: none;
    opacity: 1;
    border-color: rgba(47,134,196,.58);
    transform: none;
  }
}
.preview-v2-body .search-page .search-icon {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  transition: color .20s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}
.preview-v2-body .search-page .search input {
  font-size: 16px;
}
.preview-v2-body .search-page .search button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}
.preview-v2-body .search-page .search-status {
  min-height: 0;
  margin: 0 2px;
  font-size: 12px;
}
.preview-v2-body .search-page .search-status:empty { display: none; }
.preview-v2-body .search-page .search-results { margin-top: 0; }
.preview-v2-body .unified-search-page .search-results-count {
  margin: 0 2px 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(3,28,62,.38);
}
.preview-v2-body .results-title {
  margin-top: 14px;
  color: #fff;
  border: 2px solid rgba(255,255,255,.58);
  background: linear-gradient(135deg, rgba(14,39,95,.90), rgba(38,41,102,.86));
  box-shadow: 0 10px 24px rgba(0,28,68,.20);
}
.preview-v2-body .search-area-grid { margin-bottom: 12px; }
.preview-v2-body .area-menu-stage .area-menu-back {
  min-height: 42px;
  padding: 0 14px;
}
.preview-v2-body .pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 14px 0 4px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 24px rgba(0,28,68,.14);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}
.preview-v2-body .pagination > :first-child { justify-self: start; }
.preview-v2-body .pagination > :last-child { justify-self: end; }
.preview-v2-body .pagination .small-btn { min-width: 92px; }

.preview-v2-body .near-note:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  text-align: center;
}
.preview-v2-body .near-note:not([hidden]) > b,
.preview-v2-body .near-note:not([hidden]) > span { display: block; }
.preview-v2-body .near-note:not([hidden]) > button { width: 100%; }

.preview-v2-body .bar-card-map-btn.show-map-label {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  overflow: hidden;
}
.preview-v2-body .bar-card-map-btn.show-map-label img {
  width: 100%;
  height: 62px;
  min-height: 0;
  object-fit: contain;
}
.preview-v2-body .bar-card-map-label {
  display: block;
  color: #075477;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.preview-v2-body .map-external {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.preview-v2-body .near-more {
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px 12px 28px;
  color: rgba(8, 13, 24, .62);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.preview-v2-body .near-more.is-loading::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid rgba(21, 156, 110, .18);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: near-more-spin .7s linear infinite;
}

.preview-v2-body .list-more {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 9px;
  margin: 14px 0 4px;
  padding: 16px 12px 22px;
  border: 1px solid rgba(111, 237, 255, .18);
  border-radius: 16px;
  color: rgba(226, 244, 252, .76);
  background: linear-gradient(145deg, rgba(2, 12, 48, .56), rgba(4, 18, 62, .40), rgba(19, 73, 118, .28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.preview-v2-body .list-more.is-loading::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid rgba(111, 237, 255, .18);
  border-top-color: #6fedff;
  border-radius: 50%;
  animation: list-more-spin .7s linear infinite;
}

@keyframes list-more-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .preview-v2-body .list-more.is-loading::before { animation: none; }
}

/* How-it-works page: reuse the accepted Install guidance glass language. */
.preview-v2-body .how-info-card {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 26px !important;
  background:
    linear-gradient(145deg, rgba(2, 12, 48, .88) 0%, rgba(4, 24, 72, .76) 54%, rgba(22, 66, 112, .62) 100%),
    rgba(5, 18, 58, .56);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 26px 70px rgba(0, 8, 30, .52), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.preview-v2-body .how-info-card h3 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 8, 30, .34);
}
.preview-v2-body .how-info-card .intro-points {
  gap: 10px;
}
.preview-v2-body .how-info-card .intro-point {
  border: 1px solid rgba(255, 255, 255, .24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)),
    rgba(3, 18, 56, .30);
  color: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(9px) saturate(1.08);
  backdrop-filter: blur(9px) saturate(1.08);
  box-shadow: 0 10px 24px rgba(0, 8, 30, .22), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.preview-v2-body .how-info-card .intro-point b {
  width: 38px;
  height: 38px;
  color: #031633;
  background: linear-gradient(180deg, #5df1ff, #1aa7e8);
  border: 1px solid rgba(150, 247, 255, .68);
  box-shadow: 0 5px 13px rgba(26, 188, 232, .32), inset 0 1px 0 rgba(255, 255, 255, .56);
}
.preview-v2-body .how-info-card .intro-point strong {
  color: #fff;
}
.preview-v2-body .how-info-card > .muted {
  color: rgba(255, 255, 255, .72);
}
.preview-v2-body .how-info-card > .primary-btn {
  min-height: 48px;
  border: 1px solid rgba(150, 247, 255, .72);
  background: linear-gradient(180deg, #5df1ff, #149bdc);
  color: #031633;
  box-shadow: 0 8px 20px rgba(0, 14, 48, .32), inset 0 1px 0 rgba(255, 255, 255, .58);
  font-weight: 950;
}

/* Home install guidance: cohesive, high-contrast glass over the scenic page. */
.preview-v2-body #installHelpDialog {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(2, 12, 48, .88) 0%, rgba(4, 24, 72, .76) 54%, rgba(22, 66, 112, .62) 100%),
    rgba(5, 18, 58, .56);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 26px 70px rgba(0, 8, 30, .52), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.preview-v2-body #installHelpDialog::backdrop {
  background: rgba(0, 7, 24, .60);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.preview-v2-body #installHelpDialog .install-help-body {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  color: #fff;
  background: transparent;
}
.preview-v2-body #installHelpDialog .install-help-body h3 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 8, 30, .34);
}
.preview-v2-body #installHelpDialog .install-help-lede {
  color: rgba(255, 255, 255, .84);
}
.preview-v2-body #installHelpDialog .install-platform {
  border: 1px solid rgba(255, 255, 255, .28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .07)),
    rgba(3, 18, 56, .34);
  -webkit-backdrop-filter: blur(9px) saturate(1.08);
  backdrop-filter: blur(9px) saturate(1.08);
  box-shadow: 0 12px 28px rgba(0, 8, 30, .25), inset 0 1px 0 rgba(255, 255, 255, .17);
}
.preview-v2-body #installHelpDialog .install-platform-copy strong,
.preview-v2-body #installHelpDialog .install-steps li {
  color: #fff;
}
.preview-v2-body #installHelpDialog .install-step-num {
  color: #031633;
  background: linear-gradient(180deg, #5df1ff, #1aa7e8);
  box-shadow: 0 5px 13px rgba(26, 188, 232, .32), inset 0 1px 0 rgba(255, 255, 255, .56);
}
.preview-v2-body #installHelpDialog .install-icon-chip {
  color: #bff8ff;
  border-color: rgba(104, 235, 255, .40);
  background: rgba(71, 221, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.preview-v2-body #installHelpDialog .install-small-note {
  color: rgba(255, 255, 255, .72);
}
.preview-v2-body #installHelpDialog [data-close-install] {
  min-height: 48px;
  border: 1px solid rgba(150, 247, 255, .72);
  background: linear-gradient(180deg, #5df1ff, #149bdc);
  color: #031633;
  box-shadow: 0 8px 20px rgba(0, 14, 48, .32), inset 0 1px 0 rgba(255, 255, 255, .58);
  font-weight: 950;
}

@keyframes near-more-spin {
  to { transform: rotate(360deg); }
}

/* Shared dark glass treatment for every public bar card; no layout or interaction changes. */
.preview-v2-body .bar-card {
  background-color: rgba(5, 18, 58, .12) !important;
  background-image:
    linear-gradient(110deg, rgba(2, 12, 48, .70) 0%, rgba(4, 18, 62, .44) 58%, rgba(19, 73, 118, .28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 48%) !important;
  border-color: rgba(255, 255, 255, .46) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.06) !important;
  backdrop-filter: blur(3px) saturate(1.06) !important;
  box-shadow: 0 12px 26px rgba(0, 28, 68, .24), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}
.preview-v2-body .bar-card .bar-detail-link {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 18, 48, .42);
}
.preview-v2-body .bar-card .bar-heading .muted {
  color: rgba(255, 255, 255, .76) !important;
}
.preview-v2-body .bar-card .bar-card-expanded {
  background: transparent !important;
}
.preview-v2-body .bar-card .confidence-head b {
  color: rgba(255, 255, 255, .92) !important;
}
.preview-v2-body .bar-card .confidence-head > span {
  color: rgba(255, 255, 255, .72) !important;
}

/* Price-save confirmation: two cyan glass-edge pulses, replacing the old green flash. */
.preview-v2-body .bar-card.price-confirmed {
  animation: none !important;
}
.preview-v2-body .bar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 2px solid transparent;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.preview-v2-body .bar-card.price-confirmed::after {
  animation: glassPriceSavedPulse 1.65s cubic-bezier(.22, .9, .3, 1) both;
}
@keyframes glassPriceSavedPulse {
  0%, 100% {
    opacity: 0;
    border-color: rgba(111, 237, 255, 0);
    box-shadow: inset 0 0 0 1px rgba(111, 237, 255, 0), inset 0 0 18px rgba(71, 221, 255, 0);
  }
  13% {
    opacity: 1;
    border-color: rgba(111, 237, 255, .92);
    box-shadow: inset 0 0 0 1px rgba(191, 248, 255, .42), inset 0 0 18px rgba(71, 221, 255, .20);
  }
  31% {
    opacity: 0;
    border-color: rgba(111, 237, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(111, 237, 255, .05), inset 0 0 18px rgba(71, 221, 255, 0);
  }
  52% {
    opacity: 1;
    border-color: rgba(111, 237, 255, .88);
    box-shadow: inset 0 0 0 1px rgba(191, 248, 255, .38), inset 0 0 18px rgba(71, 221, 255, .18);
  }
  74% {
    opacity: 0;
    border-color: rgba(111, 237, 255, .10);
    box-shadow: inset 0 0 0 1px rgba(111, 237, 255, .04), inset 0 0 18px rgba(71, 221, 255, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .preview-v2-body .bar-card.price-confirmed::after {
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }
}

/* Price-check dialog: denser navy glass, distinct from but aligned with the public cards. */
#priceDialog {
  border: 1px solid rgba(111, 237, 255, .42);
  background: linear-gradient(145deg, rgba(3, 13, 45, .96) 0%, rgba(7, 29, 72, .92) 54%, rgba(16, 61, 98, .88) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 24px 60px rgba(0, 5, 25, .56),
    0 0 0 1px rgba(35, 176, 226, .10);
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
  backdrop-filter: blur(24px) saturate(1.28);
}

#priceDialog::backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

#priceDialog .modal-body {
  background: transparent;
}

#priceDialog .modal-body h3 {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
}

#priceDialogSummary {
  color: rgba(222, 241, 255, .72);
}

#priceDialog .price-dialog-action-note {
  border: 1px solid rgba(111, 237, 255, .22);
  background: linear-gradient(135deg, rgba(95, 219, 235, .13), rgba(237, 188, 82, .10));
  color: rgba(238, 249, 255, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

#priceDialog .price-dialog-action-note b {
  color: #fff;
}

#priceDialog .price-dialog-action-note .note-spark {
  background: rgba(111, 237, 255, .15);
  color: #70edff;
  box-shadow: inset 0 0 0 1px rgba(111, 237, 255, .12);
}

#priceDialog .report-row {
  border-color: rgba(118, 210, 242, .20);
  background: linear-gradient(135deg, rgba(17, 54, 91, .68), rgba(11, 36, 73, .56));
  color: #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

#priceDialog .report-row span {
  color: rgba(213, 236, 249, .65);
}

#priceDialog .inline-price-entry,
#priceDialog .inline-price-entry.fine-range-entry,
#priceDialog .inline-price-entry:focus-within {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

#priceDialog .inline-price-entry input {
  border-color: rgba(240, 205, 125, .40);
  background: rgba(3, 17, 45, .66);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

#priceDialog .inline-price-entry input:focus {
  border-color: rgba(244, 211, 139, .64);
  background: rgba(4, 20, 50, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: none;
}

#priceDialog .price-input-field::after,
#priceDialog .price-input-field:focus-within::after {
  content: none;
  animation: none;
}

#priceDialog .price-input-field:focus-within .baht-prefix {
  color: #efbd5c;
  text-shadow: none;
}

#priceDialog .inline-price-entry label,
#priceDialog .inline-price-entry .range-hint {
  color: rgba(230, 241, 250, .72);
}

#priceDialog .baht-prefix {
  color: #efbd5c;
}

#priceDialog .dialog-actions .primary-btn {
  border-color: rgba(111, 237, 255, .46);
  background: linear-gradient(135deg, #137ea4, #15a8b8);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .20),
    0 8px 18px rgba(4, 116, 150, .22);
}

#priceDialog .dialog-actions .small-btn {
  border-color: rgba(152, 211, 235, .25);
  background: rgba(10, 35, 72, .68);
  color: rgba(245, 251, 255, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

/* Near Me GPS state: shared navy glass with a distinct refresh action. */
.preview-v2-body .near-note:not([hidden]) {
  border: 1px solid rgba(111, 237, 255, .34);
  background-color: rgba(5, 18, 58, .34);
  background-image: linear-gradient(145deg, rgba(3, 13, 45, .82) 0%, rgba(7, 29, 72, .68) 56%, rgba(16, 61, 98, .52) 100%);
  color: rgba(242, 250, 255, .92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    0 14px 30px rgba(0, 8, 35, .24),
    0 0 0 1px rgba(35, 176, 226, .08);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  backdrop-filter: blur(18px) saturate(1.22);
}

.preview-v2-body .near-note:not([hidden]) > b {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .24);
}

.preview-v2-body .near-note:not([hidden]) .near-location-updated,
.preview-v2-body .near-note:not([hidden]) > span {
  color: rgba(213, 238, 250, .72);
}

.preview-v2-body .near-note:not([hidden]) > #nearMeUseLocationPage {
  border: 1px solid rgba(111, 237, 255, .34);
  background: linear-gradient(135deg, rgba(20, 103, 136, .78), rgba(10, 45, 88, .86));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 8px 18px rgba(0, 14, 45, .18);
}

.preview-v2-body .near-note:not([hidden]) > #nearMeUseLocationPage:disabled {
  color: rgba(225, 243, 252, .72);
  opacity: .68;
}

@keyframes pbr-near-location-refreshed {
  0% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 18px rgba(0, 14, 45, .18), 0 0 0 0 rgba(75, 226, 255, 0); }
  42% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px rgba(0, 14, 45, .18), 0 0 0 3px rgba(75, 226, 255, .38); }
  100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 18px rgba(0, 14, 45, .18), 0 0 0 0 rgba(75, 226, 255, 0); }
}

.preview-v2-body .near-note:not([hidden]) > #nearMeUseLocationPage.is-refreshed {
  animation: pbr-near-location-refreshed 680ms cubic-bezier(.2, .75, .25, 1);
}

@media (prefers-reduced-motion: reduce) {
  .preview-v2-body .near-note:not([hidden]) > #nearMeUseLocationPage.is-refreshed { animation: none; }
}

/* Empty list state: match the approved navy-glass card language instead of the retired white sheet. */
.preview-v2-body .bar-list > .empty-state {
  display: grid;
  gap: 7px;
  padding: 20px 16px;
  border: 1px solid rgba(111, 237, 255, .32);
  border-radius: 20px;
  background-color: rgba(5, 18, 58, .34);
  background-image: linear-gradient(145deg, rgba(3, 13, 45, .84) 0%, rgba(7, 29, 72, .70) 56%, rgba(16, 61, 98, .54) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    0 14px 30px rgba(0, 8, 35, .24),
    0 0 0 1px rgba(35, 176, 226, .08);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  backdrop-filter: blur(18px) saturate(1.22);
}

.preview-v2-body .bar-list > .empty-state b {
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .24);
}

.preview-v2-body .bar-list > .empty-state span {
  color: rgba(213, 238, 250, .74);
  font-size: 13px;
  line-height: 1.4;
}

/* Expanded-card guide help: stay on the current list and return to the same card. */
#howDialog.how-guide-dialog {
  width: min(calc(100vw - 24px), 414px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#howDialog.how-guide-dialog[open] {
  animation: none;
}

#howDialog.how-guide-dialog[open]::backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: none;
}

#howDialog .how-info-dialog-card {
  width: 100%;
  max-height: calc(100dvh - 36px);
  padding: 15px;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
}

#howDialog .how-dialog-view {
  display: contents;
}

#howDialog .how-dialog-view[hidden] {
  display: none !important;
}

#howDialog .how-dialog-view > .muted {
  color: rgba(255, 255, 255, .72);
}

#howDialog .how-info-dialog-card .intro-points {
  gap: 8px;
}

#howDialog .how-info-dialog-card .intro-point {
  padding: 10px;
}

#howDialog .how-info-dialog-card > .primary-btn {
  width: 100%;
}

.preview-v2-body .missing-bar-callout {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(6,182,212,.34);
  border-radius: var(--radius-sm);
  background: rgba(6,182,212,.08);
}
.preview-v2-body .missing-bar-callout > div { display: grid; gap: 3px; }
.preview-v2-body .missing-bar-callout strong { font-size: 15px; }
.preview-v2-body .missing-bar-callout span { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.preview-v2-body .missing-bar-callout .primary-btn { width: 100%; min-height: 43px; }
.preview-v2-body .suggest-bar-dialog {
  width: min(calc(100vw - 22px), 414px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.preview-v2-body .suggest-bar-form {
  max-height: min(92dvh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(111, 237, 255, .34);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(3, 13, 45, .97), rgba(7, 29, 72, .96) 58%, rgba(12, 55, 91, .95));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 22px 52px rgba(0,8,35,.38), 0 0 0 1px rgba(35,176,226,.08);
}
.preview-v2-body .suggest-bar-dialog .add-bar-head h3,
.preview-v2-body .suggest-bar-dialog label,
.preview-v2-body .suggest-bar-dialog .field-label,
.preview-v2-body .suggest-bar-dialog .suggest-optional-label { color: #fff; }
.preview-v2-body .suggest-bar-dialog .field-label,
.preview-v2-body .suggest-bar-dialog .suggest-optional-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
.preview-v2-body .suggest-bar-dialog .suggest-optional-label { margin: 0; }
.preview-v2-body .suggest-bar-dialog .field-optional,
.preview-v2-body .suggest-bar-dialog .muted { color: rgba(220, 239, 249, .72); }
.preview-v2-body .suggest-bar-dialog .field-optional { font-size: .88em; font-weight: 500; }
.preview-v2-body .suggest-bar-dialog input,
.preview-v2-body .suggest-bar-dialog select,
.preview-v2-body .suggest-bar-dialog textarea {
  border-color: rgba(239, 189, 92, .58);
  background: rgba(3, 16, 48, .68);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.preview-v2-body .suggest-bar-dialog #suggestBarName,
.preview-v2-body .suggest-bar-dialog #suggestBarArea,
.preview-v2-body .suggest-bar-dialog #suggestBarType {
  height: 56px;
  min-height: 56px;
}
.preview-v2-body .suggest-bar-dialog input::placeholder,
.preview-v2-body .suggest-bar-dialog textarea::placeholder { color: rgba(226, 239, 248, .52); }
.preview-v2-body .suggest-bar-dialog select option { background: #071b3d; color: #fff; }
.preview-v2-body .suggest-bar-dialog .add-bar-close,
.preview-v2-body .suggest-bar-dialog .ghost-btn {
  border-color: rgba(111, 237, 255, .28);
  background: rgba(8, 33, 70, .76);
  color: #fff;
}
.preview-v2-body .suggest-bar-dialog .add-bar-gps-actions { grid-template-columns: 1fr; }
.preview-v2-body .suggest-bar-dialog .add-bar-gps-actions .ghost-btn { width: 100%; }
.preview-v2-body .suggest-bar-dialog .add-bar-gps-actions .location-added {
  border-color: rgba(111, 237, 255, .54);
  background: linear-gradient(135deg, rgba(19,126,164,.92), rgba(21,168,184,.92));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 7px 16px rgba(4,116,150,.18);
}
.preview-v2-body .suggest-bar-dialog .confirm-btn {
  border-color: rgba(111, 237, 255, .48);
  background: linear-gradient(135deg, #137ea4, #15a8b8);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 8px 18px rgba(4,116,150,.22);
}

/* Expanded prices: make the four price tiles' action explicit without adding another card surface. */
.preview-v2-body .bar-card-expanded .price-tap-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 7px 3px 9px;
  color: #fff;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 880;
  text-align: center;
}

.preview-v2-body .bar-card-expanded .price-tap-hint::before {
  content: "↓";
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(111, 237, 255, .30);
  border-radius: 50%;
  background: rgba(111, 237, 255, .10);
  color: #70edff;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

/* Information and install guidance use the same measured vertical motion as prices and maps. */
.preview-v2-body #howDialog.measured-dialog-opening,
.preview-v2-body #installHelpDialog.measured-dialog-opening {
  pointer-events: none;
  overflow: hidden;
  animation: measuredDialogReveal .50s cubic-bezier(.4, 0, .2, 1) both;
}

.preview-v2-body #howDialog.measured-dialog-closing,
.preview-v2-body #installHelpDialog.measured-dialog-closing {
  pointer-events: none;
  overflow: hidden;
  animation: measuredDialogCollapse .50s cubic-bezier(.4, 0, .2, 1) both;
}

.preview-v2-body #howDialog.measured-dialog-opening::backdrop,
.preview-v2-body #installHelpDialog.measured-dialog-opening::backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: measuredDialogBackdropIn .50s cubic-bezier(.4, 0, .2, 1) both;
}

.preview-v2-body #howDialog.measured-dialog-closing::backdrop,
.preview-v2-body #installHelpDialog.measured-dialog-closing::backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: measuredDialogBackdropClear .50s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes measuredDialogReveal {
  0% {
    max-height: 0;
    clip-path: inset(0 0 100% 0 round 24px);
  }
  100% {
    max-height: var(--measured-dialog-height);
    clip-path: inset(0 0 0% 0 round 24px);
  }
}

@keyframes measuredDialogCollapse {
  0% {
    max-height: var(--measured-dialog-height);
    clip-path: inset(0 0 0% 0 round 24px);
  }
  100% {
    max-height: 0;
    clip-path: inset(0 0 100% 0 round 24px);
  }
}

@keyframes measuredDialogBackdropIn {
  0% { background: rgba(0, 7, 24, 0); }
  100% { background: rgba(0, 7, 24, .60); }
}

@keyframes measuredDialogBackdropClear {
  0% { background: rgba(0, 7, 24, .60); }
  100% { background: rgba(0, 7, 24, 0); }
}

/* Map preview: match the navy-glass price experience and reveal/collapse vertically. */
.preview-v2-body #mapDialog {
  width: min(calc(100vw - 18px), 430px);
  border: 1px solid rgba(111, 237, 255, .34);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(3, 13, 45, .97) 0%, rgba(7, 29, 72, .94) 54%, rgba(16, 61, 98, .90) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 24px 60px rgba(0, 5, 25, .56),
    0 0 0 1px rgba(35, 176, 226, .10);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
}

.preview-v2-body #mapDialog[open]::backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: mapDialogBackdropIn .50s cubic-bezier(.4, 0, .2, 1) both;
}

.preview-v2-body #mapDialog.map-dialog-opening {
  pointer-events: none;
  overflow: hidden;
  animation: mapDialogReveal .50s cubic-bezier(.4, 0, .2, 1) both;
}

.preview-v2-body #mapDialog.map-dialog-closing {
  pointer-events: none;
  overflow: hidden;
  animation: mapDialogCollapse .50s cubic-bezier(.4, 0, .2, 1) both;
}

.preview-v2-body #mapDialog.map-dialog-closing::backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: mapDialogBackdropClear .50s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes mapDialogReveal {
  0% {
    max-height: 0;
    clip-path: inset(0 0 100% 0 round 22px);
  }
  100% {
    max-height: var(--map-dialog-height);
    clip-path: inset(0 0 0% 0 round 22px);
  }
}

@keyframes mapDialogCollapse {
  0% {
    max-height: var(--map-dialog-height);
    clip-path: inset(0 0 0% 0 round 22px);
  }
  100% {
    max-height: 0;
    clip-path: inset(0 0 100% 0 round 22px);
  }
}

@keyframes mapDialogBackdropIn {
  0% { background: rgba(0, 4, 18, 0); }
  100% { background: rgba(0, 4, 18, .64); }
}

@keyframes mapDialogBackdropClear {
  0% { background: rgba(0, 4, 18, .64); }
  100% { background: rgba(0, 4, 18, 0); }
}

.preview-v2-body #mapDialog .map-modal-body {
  gap: 10px;
  padding: 12px;
  background: transparent;
}

.preview-v2-body #mapDialog .map-dialog-head {
  align-items: center;
  padding: 1px 1px 0;
}

.preview-v2-body #mapDialog .map-dialog-head h3 {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .30);
}

.preview-v2-body #mapDialog .map-dialog-head .muted {
  color: rgba(206, 233, 250, .72);
}

.preview-v2-body #mapDialog .map-dialog-close {
  border: 1px solid rgba(111, 237, 255, .25);
  background: rgba(3, 17, 51, .64);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.preview-v2-body #mapDialog .embedded-map-shell {
  position: relative;
  padding: 3px;
  border: 1px solid rgba(111, 237, 255, .30);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(4, 18, 57, .94), rgba(14, 57, 92, .88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 10px 28px rgba(0, 5, 25, .30);
}

.preview-v2-body #mapDialog .embedded-map-shell iframe {
  position: relative;
  z-index: 2;
  border-radius: 13px;
  opacity: 1;
  transition: opacity .24s ease;
}

.preview-v2-body #mapDialog.is-map-loading .embedded-map-shell iframe {
  opacity: 0;
}

.preview-v2-body #mapDialog .map-loading-state {
  position: absolute;
  inset: 3px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(3, 17, 54, .96), rgba(12, 52, 88, .94));
  color: rgba(224, 245, 255, .86);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: opacity .18s ease;
}

.preview-v2-body #mapDialog.is-map-loading .map-loading-state {
  opacity: 1;
}

.preview-v2-body #mapDialog .map-loading-state span {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(111, 237, 255, .28);
  border-top-color: #6fedff;
  border-radius: 50%;
  animation: mapLoadingSpin .8s linear infinite;
}

@keyframes mapLoadingSpin {
  to { transform: rotate(360deg); }
}

.preview-v2-body #mapDialog .map-dialog-actions .map-external {
  border-color: rgba(111, 237, 255, .60);
  background: linear-gradient(180deg, rgba(33, 195, 236, .96), rgba(5, 132, 190, .96));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    0 8px 20px rgba(0, 122, 183, .24);
}

.preview-v2-body #mapDialog .map-dialog-actions .ghost-btn {
  border-color: rgba(177, 216, 240, .22);
  background: rgba(3, 17, 51, .66);
  color: rgba(235, 248, 255, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

@media (prefers-reduced-motion: reduce) {
  .preview-v2-body #howDialog.measured-dialog-opening,
  .preview-v2-body #howDialog.measured-dialog-closing,
  .preview-v2-body #installHelpDialog.measured-dialog-opening,
  .preview-v2-body #installHelpDialog.measured-dialog-closing,
  .preview-v2-body #howDialog.measured-dialog-opening::backdrop,
  .preview-v2-body #howDialog.measured-dialog-closing::backdrop,
  .preview-v2-body #installHelpDialog.measured-dialog-opening::backdrop,
  .preview-v2-body #installHelpDialog.measured-dialog-closing::backdrop,
  .preview-v2-body #mapDialog.map-dialog-opening,
  .preview-v2-body #mapDialog.map-dialog-closing,
  .preview-v2-body #mapDialog[open]::backdrop,
  .preview-v2-body #mapDialog.map-dialog-closing::backdrop {
    animation-duration: 1ms !important;
  }
  .preview-v2-body #mapDialog .map-loading-state span {
    animation: none;
  }
}

/* The fixed nav controls are physically small, so the generic 3.5% press was
   technically present but too subtle on a real phone. Give every nav item the
   same clearly visible tactile compression, cyan touch bloom and spring return. */
.preview-v2-body .top-nav > .pressable {
  transition: transform .16s cubic-bezier(.2, .8, .2, 1), filter .18s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.preview-v2-body .top-nav > .pressable::after {
  background: radial-gradient(circle at var(--press-x, 50%) var(--press-y, 50%), rgba(111, 237, 255, .78), rgba(111, 237, 255, .26) 38%, transparent 70%);
}

.preview-v2-body .top-nav > .pressable .nav-icon {
  transform-origin: center;
  transition: transform .16s cubic-bezier(.2, .8, .2, 1), filter .18s ease;
}

.preview-v2-body .top-nav > .pressable.is-pressing {
  transform: translateY(2px) scale(.94);
  filter: brightness(1.10) saturate(1.16);
}

.preview-v2-body .top-nav > .pressable.is-pressing::after {
  opacity: .94;
  transform: scale(1);
}

.preview-v2-body .top-nav > .pressable.is-pressing .nav-icon {
  transform: scale(.86);
  filter: brightness(1.16);
}

.preview-v2-body .top-nav > .pressable.press-released {
  animation: pbrNavPressRelease .36s cubic-bezier(.18, .82, .2, 1);
}

.preview-v2-body .top-nav > .pressable.press-released .nav-icon {
  animation: pbrNavIconRelease .36s cubic-bezier(.18, .82, .2, 1);
}

@keyframes pbrNavPressRelease {
  0% { transform: translateY(2px) scale(.94); }
  58% { transform: translateY(-1px) scale(1.04); }
  82% { transform: translateY(0) scale(.992); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes pbrNavIconRelease {
  0% { transform: scale(.86); }
  58% { transform: scale(1.12); }
  82% { transform: scale(.98); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .preview-v2-body .top-nav > .pressable,
  .preview-v2-body .top-nav > .pressable::after,
  .preview-v2-body .top-nav > .pressable .nav-icon {
    transition: none !important;
  }
  .preview-v2-body .top-nav > .pressable.is-pressing,
  .preview-v2-body .top-nav > .pressable.is-pressing .nav-icon {
    transform: none;
    filter: none;
  }
  .preview-v2-body .top-nav > .pressable.press-released,
  .preview-v2-body .top-nav > .pressable.press-released .nav-icon {
    animation: none !important;
  }
}

.preview-v2-body .owner-card-tools {
  display: contents;
}

.preview-v2-body .owner-card-tools[hidden] {
  display: none !important;
}

.preview-v2-body .owner-delete-btn {
  color: #9f2438;
  border-color: rgba(188, 48, 72, .32);
  background: rgba(255, 245, 247, .9);
}

.preview-v2-body .bar-card.is-newly-added {
  animation: newlyAddedBarArrival 1.45s cubic-bezier(.4, 0, .2, 1);
}

@keyframes newlyAddedBarArrival {
  0%, 100% { outline: 0 solid rgba(97, 230, 255, 0); outline-offset: 0; }
  24%, 68% { outline: 2px solid rgba(97, 230, 255, .88); outline-offset: 3px; }
  46% { outline: 2px solid rgba(97, 230, 255, .42); outline-offset: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .preview-v2-body .bar-card.is-newly-added { animation: none; }
}

/* Bar-name detail route: keep the complete card in the current navy-glass palette. */
.preview-v2-body #detail .detail-head,
.preview-v2-body #detail .price-panel,
.preview-v2-body #detail > .notice {
  border: 1px solid rgba(255, 255, 255, .46) !important;
  background-color: rgba(5, 18, 58, .12) !important;
  background-image:
    linear-gradient(110deg, rgba(2, 12, 48, .78) 0%, rgba(4, 18, 62, .54) 58%, rgba(19, 73, 118, .34) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 48%) !important;
  color: #fff;
  -webkit-backdrop-filter: blur(3px) saturate(1.06) !important;
  backdrop-filter: blur(3px) saturate(1.06) !important;
  box-shadow: 0 12px 26px rgba(0, 28, 68, .24), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}

.preview-v2-body #detail #detailName,
.preview-v2-body #detail .detail-block h3,
.preview-v2-body #detail .confidence-head b {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 18, 48, .42);
}

.preview-v2-body #detail #detailArea,
.preview-v2-body #detail .confidence-head > span,
.preview-v2-body #detail .detail-confidence-item > div > span,
.preview-v2-body #detail .drinks-policy .muted,
.preview-v2-body #detail > .notice {
  color: rgba(235, 248, 255, .78) !important;
}

.preview-v2-body #detail .back,
.preview-v2-body #detail .price-panel > .actions .small-btn {
  border-color: rgba(111, 237, 255, .42) !important;
  background: rgba(3, 24, 62, .72) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 16px rgba(0, 14, 45, .20) !important;
}

.preview-v2-body #detail .detail-block {
  border-color: rgba(111, 237, 255, .20) !important;
  background: rgba(3, 17, 52, .46) !important;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.preview-v2-body #detail .detail-confidence-item,
.preview-v2-body #detail .detail-price,
.preview-v2-body #detail .drinks-policy,
.preview-v2-body #detail .policy-note,
.preview-v2-body #detail .mini-history div {
  border-color: rgba(150, 219, 244, .18) !important;
  background: rgba(8, 35, 72, .66) !important;
  color: rgba(247, 252, 255, .94) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.preview-v2-body #detail .detail-confidence-item.has-variation {
  border-color: rgba(244, 211, 139, .34) !important;
  background: rgba(8, 35, 72, .66) !important;
}

.preview-v2-body #detail .confidence-status.confident {
  color: #6fedff !important;
}

.preview-v2-body #detail .confidence-bars i.on {
  background: #47ddff !important;
}

.preview-v2-body #detail .confidence-bars i:not(.on) {
  background: rgba(213, 238, 250, .18);
}

.preview-v2-body #detail .mini-history b,
.preview-v2-body #detail .detail-price b,
.preview-v2-body #detail .drinks-policy > div:first-child > span,
.preview-v2-body #detail .policy-note {
  color: #fff !important;
}

.preview-v2-body #detail .mini-history span,
.preview-v2-body #detail .detail-price span,
.preview-v2-body #detail .policy-note span {
  color: rgba(213, 238, 250, .70) !important;
}

.preview-v2-body #detail .drink-count {
  border-color: rgba(244, 211, 139, .34) !important;
  background: rgba(3, 17, 45, .70) !important;
  color: #f4d38b !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* Match the cream price tiles used by an expanded current bar card. */
.preview-v2-body #detail #detailPrices .price,
.preview-v2-body #detail #detailPrices .price.price-available,
.preview-v2-body #detail #detailPrices .price.price-unavailable {
  border: 2px solid rgba(244, 211, 139, .72) !important;
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf6 100%) !important;
  box-shadow: none !important;
}

.preview-v2-body #detail #detailPrices .price b {
  color: #071525 !important;
}

.preview-v2-body #detail #detailPrices .price span {
  color: #5f6d81 !important;
}

/* Public desktop visitors get a focused phone handoff; the standalone admin page is unaffected. */
.desktop-phone-gate {
  display: none;
}

@media (min-width: 800px) and (hover: hover) and (pointer: fine) {
  .preview-v2-body > .top-nav,
  .preview-v2-body > .nav-search-panel,
  .preview-v2-body > .app,
  .preview-v2-body > dialog {
    display: none !important;
  }

  .preview-v2-body .desktop-phone-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 32px;
    overflow: auto;
    background:
      radial-gradient(circle at 50% 18%, rgba(24, 143, 199, .18), transparent 38%),
      linear-gradient(180deg, rgba(1, 8, 32, .78), rgba(1, 7, 28, .94));
  }

  .desktop-phone-gate-card {
    width: min(430px, calc(100vw - 64px));
    padding: 38px 36px 30px;
    border: 1px solid rgba(103, 228, 255, .52);
    border-radius: 24px;
    text-align: center;
    color: #f7fcff;
    background:
      linear-gradient(145deg, rgba(2, 12, 48, .94), rgba(4, 18, 62, .88) 55%, rgba(19, 73, 118, .76));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .13),
      0 28px 72px rgba(0, 4, 25, .48),
      0 0 34px rgba(39, 201, 237, .11);
  }

  .desktop-phone-icon {
    position: relative;
    width: 58px;
    height: 92px;
    margin: 0 auto 22px;
    border: 2px solid rgba(111, 237, 255, .92);
    border-radius: 13px;
    box-shadow: 0 0 22px rgba(50, 211, 241, .22), inset 0 0 18px rgba(26, 160, 211, .10);
  }

  .desktop-phone-icon::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: rgba(111, 237, 255, .72);
    transform: translateX(-50%);
  }

  .desktop-phone-icon span {
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 6px;
    height: 6px;
    border: 1px solid rgba(111, 237, 255, .82);
    border-radius: 50%;
    transform: translateX(-50%);
  }

  .desktop-phone-kicker {
    margin: 0 0 8px;
    color: #69e9ff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .desktop-phone-gate h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -.025em;
  }

  .desktop-phone-gate-card > p:not(.desktop-phone-kicker) {
    margin: 0 auto;
    max-width: 340px;
    color: rgba(225, 242, 251, .86);
    font-size: 1rem;
    line-height: 1.62;
  }

  .desktop-phone-gate-card strong {
    color: #fff;
    font-weight: 750;
  }
}
