/* Customer MAP only: readable photos and portraits, native horizontal rails.
   No changes to the product's data, search, pins, or other role dashboards. */
.customer-home .customer-header:not(.customer-header-demo){grid-template-columns:minmax(0,1fr) auto;gap:16px}
/* Reuse the removed upper area-link row for 64px more visible MAP. */
.customer-home .discovery-map{height:532px}
.customer-home .store-rail,.customer-home .cast-rail{display:flex;flex-wrap:nowrap;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.customer-home .store-rail{gap:14px}
.customer-home .store-card{flex:0 0 240px;min-width:0;border-radius:12px}
.customer-home .store-visual{height:auto;aspect-ratio:3/2}
.customer-home .cast-rail{gap:18px;padding-bottom:10px}
.customer-home .cast-bubble{flex:0 0 96px;width:96px;scroll-snap-align:start}
.customer-home .cast-portrait{width:96px;height:96px}
.customer-home .cast-bubble strong{font-size:14px;line-height:1.5}
.customer-home :is(.store-rail,.cast-rail):focus-visible{outline:2px solid var(--customer-accent,#a73360);outline-offset:3px;border-radius:8px}
.customer-home .customer-categories a[data-pending]{outline:2px solid var(--customer-accent,#a73360);outline-offset:-2px}
.customer-home #search-help [data-filter-help][hidden]{display:none}
.customer-home #recommendations .section-title{flex-wrap:wrap;gap:8px}
.customer-home .visit-filter-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid var(--customer-accent,#a73360);border-radius:24px;background:var(--customer-panel,#fff);color:var(--customer-accent,#a73360);font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
.customer-home .visit-filter-button .ui-icon{width:18px;height:18px}
.customer-home .search-visit-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 12px;font-size:12px;color:var(--customer-muted,#637080)}
.customer-home .search-visit-summary a{display:inline-flex;align-items:center;min-height:44px;color:var(--customer-accent,#a73360)}
.customer-home .store-visit-facts{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:0 10px 6px;color:var(--customer-muted,#637080);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.customer-home .store-solo{padding:2px 7px;border-radius:12px;border:1px solid currentColor;color:var(--customer-accent,#a73360)}
.customer-home .store-visit-facts>a{display:inline-flex;align-items:center;min-height:44px;color:var(--customer-accent,#a73360);text-decoration:underline;text-underline-offset:3px}
.customer-home #search-dialog .visit-filter-help{margin:6px 0 12px;font-size:12px;line-height:1.6;color:var(--customer-muted,#637080)}
.customer-home #search-dialog .search-store-likes-range{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:8px}
.customer-home #search-dialog .search-store-likes-range input{width:100%;min-width:0;margin:0}
.customer-home #search-dialog .search-store-likes-range span{font-size:14px;color:var(--customer-muted,#637080)}
.customer-home #search-dialog .check{min-height:44px;display:flex;align-items:center;gap:10px}
.customer-home #search-dialog input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:var(--customer-accent,#a73360)}
.customer-home :is(.visit-filter-button,.store-visit-facts>a,.search-visit-summary a):focus-visible{outline:2px solid var(--customer-accent,#a73360);outline-offset:3px}
@media(max-width:600px){
  .customer-home .discovery-map{height:calc(clamp(240px,56.4vw,342px) + 64px)}
  .customer-home .customer-header:not(.customer-header-demo){gap:8px}
  .customer-home .header-actions>button,.customer-home .header-menu>summary{width:42px;height:42px}
  .customer-home .store-rail,.customer-home .cast-rail{max-width:calc(100% + 13px);gap:12px}
  .customer-home .store-card{flex-basis:clamp(156px,44vw,196px);border-radius:11px}
  .customer-home .store-copy{padding:9px 10px 10px}
  .customer-home .store-copy h2{font-size:14px;margin-bottom:4px}
  .customer-home .store-copy>p{font-size:11px;margin-bottom:9px}
  .customer-home .store-facts{font-size:10px}
  .customer-home .store-facts .ui-icon{width:12px;height:12px}
  .customer-home .store-state{font-size:10px;padding:3px 7px;left:7px;bottom:6px}
  .customer-home .cast-bubble{flex-basis:80px;width:80px}
  .customer-home .cast-portrait{width:80px;height:80px}
  .customer-home .cast-bubble strong{font-size:12px;margin-top:7px}
  .customer-home .on-duty{width:11px;height:11px;right:2px;bottom:3px}
}
@media(max-width:350px){
  .customer-home .customer-header:not(.customer-header-demo){gap:6px}
}

/* Shared, labelled category choices on MAP and the public store directory. */
:is(.customer-home,.public-directory) [data-category="all"]{--category-color:#2b89db;--category-ink:#205c91;--category-soft:#eaf5ff}
:is(.customer-home,.public-directory) [data-category="コンカフェ"]{--category-color:#e459b5;--category-ink:#a12b78;--category-soft:#fff0fa}
:is(.customer-home,.public-directory) [data-category="ガールズバー"]{--category-color:#4099ef;--category-ink:#2366aa;--category-soft:#edf6ff}
:is(.customer-home,.public-directory) [data-category="キャバクラ"]{--category-color:#23aeb9;--category-ink:#14747c;--category-soft:#e9fbfc}
:is(.customer-home,.public-directory) [data-category="ラウンジ"]{--category-color:#9680e4;--category-ink:#62509f;--category-soft:#f4f0ff}
:is(.customer-home,.public-directory) [data-category="スナック"]{--category-color:#e5a052;--category-ink:#8b5a22;--category-soft:#fff5e8}
.category-options{display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scroll-padding-inline:4px;-webkit-overflow-scrolling:touch}
.category-options .category-option,.customer-home .customer-categories a.category-option{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:7px 12px;border:1px solid transparent;border-radius:24px;background:var(--category-soft,#edf6ff)!important;color:var(--category-ink,#256397)!important;text-decoration:none;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}
.category-options .category-option>.ui-icon{width:20px;height:20px;flex:none;color:var(--category-color,#4099ef)}
.category-options .category-option>small{color:inherit;font-size:11px;font-weight:400;font-variant-numeric:tabular-nums;opacity:.85}
.category-options .category-option[aria-current],.customer-home .customer-categories a.category-option[aria-current]{background:var(--category-soft,#edf6ff)!important;border-color:var(--category-color,#4099ef);box-shadow:inset 0 0 0 1px var(--category-color,#4099ef);color:var(--category-ink,#256397)!important}
.category-options .category-option[data-category="all"][aria-current],.customer-home .customer-categories a.category-option[data-category="all"][aria-current]{background:#277fd0!important;border-color:#277fd0;color:#fff!important}
.category-options .category-option[data-category="all"][aria-current]>.ui-icon{color:inherit}
.category-options .category-option:focus-visible{outline:3px solid #2868ba;outline-offset:2px}
.category-options .category-option:hover{border-color:var(--category-color,#4099ef)}
@media(max-width:600px){.category-options{gap:6px}.category-options .category-option,.customer-home .customer-categories a.category-option{font-size:12px;padding:7px 10px;gap:5px}.category-options .category-option>.ui-icon{width:18px;height:18px}}
/* Search dialogs only; leave MAP/header/category dimensions unchanged. */
.customer-home :is(#search-dialog,#notice-dialog) .dialog-close{width:44px;height:44px;min-height:44px}
.customer-home #search-dialog .search-scope{margin:12px 0;padding:12px;border:1px solid #dce3ed;border-radius:10px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.customer-home #search-dialog .search-scope>span{display:block;font-size:12px;color:var(--customer-muted,#637080);margin-top:4px}
.customer-home #search-dialog .search-dialog-actions{display:grid;gap:4px}
.customer-home #search-dialog .search-clear{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:3px}
