/* Full-screen area picker, enabled only on /findchat mobile view. */
.area-picker-trigger { display: none; }
.area-menu { border: 0; padding: 0; color: #1f1f1f; background: #fff; font-family: 'Noto Sans JP', sans-serif; }
.area-menu::backdrop { background: rgba(0,0,0,.5); }
.area-menu__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 20px 18px; padding-top: max(24px, env(safe-area-inset-top)); flex: none; }
.area-menu__title { font-size: 21px; line-height: 1.5; font-weight: 700; margin: 0; }
.area-menu__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -6px -6px -6px 0; padding: 10px; border: 0; background: transparent; color: #1f1f1f; border-radius: 8px; cursor: pointer; }
.area-menu__close svg { display: block; width: 24px; height: 24px; }
.area-menu__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px max(24px, env(safe-area-inset-bottom)); }
.area-menu__help { font-size: 13px; line-height: 1.8; color: #626262; margin: 0 0 18px; }
.area-menu__option { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 2px; border: 0; border-bottom: 1px solid #e7e6ef; border-radius: 0; background: #fff; color: #1f1f1f; text-align: left; font: inherit; cursor: pointer; }
.area-menu__option[aria-pressed="true"] { color: #2DC56A; }
.area-menu__name { display: block; font-size: 17px; font-weight: 700; line-height: 1.5; }
.area-menu__detail { display: block; margin-top: 5px; font-size: 12px; line-height: 1.7; color: #626262; font-weight: 400; }
.area-menu__check { display: grid; place-items: center; width: 24px; height: 24px; flex: none; color: #2DC56A; }
.area-menu__check svg { display: block; width: 24px; height: 24px; }
.area-menu__close:focus-visible, .area-menu__option:focus-visible { outline: 3px solid #1f9e50; outline-offset: -3px; }
@media (max-width: 700px) {
  .area-picker-ready #directoryArea, .category-picker-ready #directoryCategory { display: none; }
  .area-picker-ready .area-picker-trigger, .category-picker-ready .area-picker-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 48px; border: 1.5px solid #e7e6ef; border-radius: 10px; padding: 11px 13px; color: #1f1f1f; background: #fff; font: inherit; font-size: 16px; line-height: 1.5; text-align: left; cursor: pointer; }
  .area-picker-trigger svg { width: 12px; height: 12px; flex: none; color: #3f4249; }
  .area-picker-trigger:focus-visible { outline: 3px solid #1f9e50; outline-offset: 2px; }
  .area-menu { --area-menu-top-gap: clamp(40px, 8vh, 64px); position: fixed; inset: var(--area-menu-top-gap) 0 0; width: 100%; max-width: none; height: calc(100vh - var(--area-menu-top-gap)); height: calc(100dvh - var(--area-menu-top-gap)); max-height: none; margin: 0; border-radius: 24px 24px 0 0; overflow: hidden; box-sizing: border-box; }
  @supports (height: 100dvh) { .area-menu { --area-menu-top-gap: clamp(40px, 8dvh, 64px); } }
  .area-menu[open] { display: flex; flex-direction: column; }
  @media (prefers-reduced-motion: no-preference) {
    .area-menu[open] { animation: area-menu-slide-up 0.2s cubic-bezier(.22, 1, .36, 1) both; }
  }
  @keyframes area-menu-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}
