/* Web portal: shared tokens and layouts; the native app uses its own UI. */
:root { --color-primary:#2563eb; --color-primary-dark:#1d4ed8; --color-primary-light:#eff6ff; --color-tab-active:#2563eb; --color-accent:#16a34a; --color-accent-light:#f0fdf4; --color-bg:#f8fafc; --color-bg-soft:#f8fafc; --color-bg-elevated:#f1f5f9; --color-text:#0f172a; --color-text-secondary:#334155; --color-text-muted:#64748b; --color-border:#cbd5e1; --color-border-light:#e2e8f0; --radius:12px; --radius-sm:12px; --radius-lg:12px; --radius-xl:12px; --shadow-sm:0 2px 8px #0f172a0a; --shadow:var(--shadow-sm); --shadow-md:var(--shadow-sm); --shadow-lg:var(--shadow-sm); --shadow-primary:var(--shadow-sm); }
body, #app-screen { background:#fff; }
button, a, input, select { touch-action:manipulation; }
button:disabled { cursor:default; }
.btn-primary, .map-tools button, .fab { background:var(--color-primary); box-shadow:var(--shadow-sm); }
.btn, .open-in-app, .segment-btn { min-height:44px; }
.app-header { background:#fff; backdrop-filter:none; gap:24px; }
.app-header-left { flex:0 0 auto; }
.app-logo { display:flex; align-items:center; gap:8px; color:var(--color-text); font-size:18px; font-weight:700; letter-spacing:-.04em; }
.brand-mark { width:32px; height:32px; border-radius:8px; display:grid; place-items:center; color:#fff; background:var(--color-primary); font-size:18px; }
.service-status { display:none; }
.app-header-center { display:none; }
.app-header-right { flex:0 0 auto; margin-left:auto; }
.open-in-app { display:inline-flex; align-items:center; border:1px solid var(--color-border-light); border-radius:8px; background:white; color:var(--color-text); padding:8px 16px; font-size:13px; font-weight:600; }
.app-header-right a { color:var(--color-primary); background:var(--color-primary-light); border-color:transparent; }
.browse-nav { background:var(--color-bg); padding:0 24px; gap:24px; border-bottom:1px solid var(--color-border-light); }
.browse-nav a { min-height:40px; color:var(--color-text-secondary); font-size:12px; }
.app-nav { background:white; border-color:var(--color-border-light); box-shadow:none; backdrop-filter:none; }
.app-nav-btn { min-width:0; }
.app-nav-btn.active { background:var(--color-primary-light); }
.tab-icon svg, .app-nav-btn.active .tab-icon svg { stroke-width:1.75; }
.page-heading { padding:32px 32px 24px; display:flex; align-items:end; justify-content:space-between; gap:16px; flex-shrink:0; }
.page-heading h2 { font-size:28px; letter-spacing:-.04em; margin:0 0 8px; }
.page-heading p { color:var(--color-text-muted); font-size:14px; margin:0; }
.page-heading .eyebrow, .eyebrow { font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--color-primary); margin:0 0 8px; }
#feed-result-count { font-size:12px; color:var(--color-text-muted); }
.map-tools { padding:24px; border-bottom:1px solid var(--color-border-light); z-index:2; }
.map-tools h2 { margin:0 0 8px; font-size:22px; letter-spacing:-.04em; }
.map-tools .map-intro { margin:0 0 16px; font-size:13px; }
.map-tools input[type=search] { height:48px; padding:12px; font-size:14px; }
.map-tools button { padding:8px 16px; font-size:14px; }
.map-tools #map-search-status { font-size:11px; margin:12px 0 0; min-height:16px; }
.map-filter-row { display:flex; gap:12px; align-items:center; margin-top:8px; }
.map-filter-row select { min-width:0; min-height:44px; padding:8px; border:1px solid var(--color-border-light); background:var(--color-bg); border-radius:8px; font-size:13px; }
.map-filter-row .trash-filter { padding:0; font-size:13px; }
.trash-filter input { accent-color:var(--color-accent); }
.map-display-tools { position:absolute; top:16px; right:16px; z-index:800; display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--color-border-light); padding:4px; border-radius:8px; box-shadow:var(--shadow-sm); }
.map-display-tools label { font-size:11px; padding-left:8px; color:#64748b; }
.map-display-tools select, .map-display-tools button { height:40px; background:#fff; color:#0f172a; border:0; border-radius:4px; font-size:13px; }
.map-display-tools button { width:40px; color:#2563eb; font-size:26px; }
.map-load-status { top:72px; font-size:12px; }
.leaflet-control-attribution { font-size:10px !important; max-width:calc(100vw - 32px); }
.leaflet-control-zoom { border:1px solid var(--color-border-light) !important; box-shadow:var(--shadow-sm) !important; border-radius:8px !important; overflow:hidden; }
.leaflet-control-zoom a { color:#334155 !important; background:white !important; width:40px !important; height:40px !important; line-height:40px !important; }
.map-pin-marker { background:none; border:0; }
#map .map-pin-marker span { position:absolute; left:2px; top:0; width:32px; height:32px; border:2px solid #fff; border-radius:10px 10px 10px 2px; background:#2563eb; color:white; transform:rotate(-45deg); box-shadow:0 2px 4px #0f172a26; }
#map .map-pin-marker.has-trash span { background:#16a34a; }
#map .map-pin-marker span::after { display:none; }
.map-pin-marker svg { width:22px; height:22px; margin:3px; transform:rotate(45deg); }
.spot-cluster { border-radius:50%; border:4px solid #bfdbfe; background:#2563eb; color:white; display:grid; place-items:center; font-size:13px; font-weight:700; }
.home-spot-panel { background:white; border-radius:0; box-shadow:none; }
.home-spot-title-row { padding:16px; gap:8px; }
.home-spot-title { font-size:14px; }
.segment-control { background:#f1f5f9; border:0; border-radius:8px; padding:4px; }
.segment-btn { font-size:12px; padding:8px 12px; border-radius:6px; }
.segment-btn.active { color:#1d4ed8; background:#fff; box-shadow:var(--shadow-sm); }
.home-spot-card { border:1px solid var(--color-border-light); border-radius:12px; overflow:hidden; color:var(--color-text); box-shadow:none; }
.home-spot-card:active { transform:none; }
.home-spot-card:hover, .feed-card:hover { border-color:#93c5fd; }
.home-spot-card-name { font-size:14px; font-weight:600; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; }
.home-spot-card-address { display:block; font-size:12px; line-height:1.6; margin:8px 0; color:var(--color-text-muted); }
.home-spot-card-meta { font-size:11px; color:var(--color-text-muted); line-height:1.5; }
.home-spot-card-body { min-width:0; padding:16px; }
.card-confirmation { font-size:11px; color:var(--color-text-muted); margin:8px 0 0; }
.trash-chip { display:inline-flex; align-items:center; font-size:11px; line-height:1.5; color:#64748b; border-radius:4px; background:#f8fafc; padding:4px 8px; margin-top:8px; }
.trash-chip.available { background:#f0fdf4; color:#15803d; }
.spot-photo-wrap { position:relative; background:#f1f5f9; overflow:hidden; flex-shrink:0; }
.spot-photo-wrap img { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; }
.spot-photo-wrap.photo-loaded img { opacity:1; }
.spot-photo-wrap.photo-loaded .spot-photo-placeholder { display:none; }
.spot-photo-placeholder { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#94a3b8; padding:8px; text-align:center; }
.spot-photo-placeholder svg { width:40px; height:40px; }
.spot-photo-placeholder span { font-size:11px; color:#64748b; }
.fab { width:auto; height:48px; min-width:48px; border-radius:24px; padding:0 16px; display:flex; align-items:center; gap:8px; font-size:24px; line-height:1; }
.fab span { font-size:13px; font-weight:600; }
.home-ad-banner { background:var(--color-bg); border:0; box-shadow:none; font-size:11px; }
.home-ad-cta { color:var(--color-primary); background:#eff6ff; }
#page-feed, #page-ranking, #page-settings, #page-profile { overflow-y:auto; overscroll-behavior-y:contain; background:white; }
.feed-toolbar { flex-direction:row; align-items:center; position:static; background:#fff; flex-shrink:0; padding:0 32px 16px; flex-wrap:wrap; }
.feed-search { flex:1; width:auto; min-width:180px; }.feed-category-filter { width:220px; }
.feed-search, .feed-category-filter { background:#f8fafc; border:1px solid var(--color-border-light); border-radius:8px; height:44px; }
#page-feed > .trash-filter { padding:0 32px 8px; }
.feed-list { overflow:visible; flex:none; display:grid; width:100%; max-width:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; padding:16px 32px 32px; margin:0; }
.feed-card, .feed-card:last-child { border:1px solid var(--color-border-light); border-radius:12px; overflow:hidden; margin:0; box-shadow:none; color:var(--color-text); min-width:0; }
.feed-card-image { width:100%; height:auto; aspect-ratio:4/3; }
.feed-card-body { padding:16px; }
.feed-card-title { font-size:15px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:4px 0 8px; min-height:45px; }
.feed-card-category { background:transparent; padding:0; color:var(--color-text-muted); font-size:11px; margin:0; }
.spot-address { margin:0 0 8px; font-size:12px; line-height:1.6; color:var(--color-text-muted); overflow-wrap:anywhere; }
.feed-card-meta { font-size:12px; }
.feed-empty { grid-column:1/-1; font-size:13px; color:var(--color-text-muted); }
.ranking-toolbar, .ranking-note, .ranking-standing { width:100%; max-width:1040px; margin:0 auto; padding:0 32px 16px; }
.ranking-note { font-size:12px; line-height:1.7; color:var(--color-text-muted); }
.ranking-standing { font-size:14px; color:var(--color-primary); }
.ranking-list { width:100%; max-width:1040px; margin:0 auto; padding:8px 32px 40px; overflow:visible; flex:none; }
.ranking-top-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:16px; margin:0 0 24px; }
.ranking-top-user { display:flex; flex-direction:column; align-items:center; gap:8px; border:1px solid var(--color-border-light); background:#f8fafc; border-radius:12px; padding:24px 8px; box-shadow:none; color:var(--color-text); overflow:hidden; }
.ranking-top-user.place-1 { order:2; background:#eff6ff; padding-top:40px; border-color:#bfdbfe; }
.ranking-top-user.place-2 { order:1; }.ranking-top-user.place-3 { order:3; }
.ranking-medal { font-size:14px; font-weight:700; color:var(--color-primary); }
.ranking-avatar { width:48px; height:48px; background:#dbeafe; color:#1d4ed8; font-size:18px; border-radius:50%; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.ranking-avatar img { width:100%; height:100%; object-fit:cover; }
.ranking-top-name { font-size:14px; overflow-wrap:anywhere; }.ranking-top-count { font-size:24px; font-weight:700; color:var(--color-text); }.ranking-top-count small { font-size:12px; font-weight:400; }
.ranking-level { font-size:11px; color:var(--color-text-muted); }
.ranking-table { border-collapse:collapse; width:100%; font-size:14px; text-align:left; }
.ranking-table th { color:var(--color-text-muted); font-size:11px; font-weight:500; background:#f8fafc; }
.ranking-table th, .ranking-table td { padding:16px; border-bottom:1px solid var(--color-border-light); }
.ranking-table td:last-child, .ranking-table th:last-child { text-align:right; }
.ranking-person { border:0; background:none; display:flex; align-items:center; gap:12px; color:var(--color-text); font-size:14px; text-align:left; overflow-wrap:anywhere; }
.ranking-person .ranking-avatar { width:32px; height:32px; font-size:13px; }
#page-profile { padding:32px; gap:32px; align-items:start; }
.profile-card { width:100%; background:#fff; border:1px solid var(--color-border-light); border-radius:12px; box-shadow:none; padding:24px; }
.profile-avatar { background:#eff6ff; color:var(--color-primary); box-shadow:none; }
.profile-content { width:100%; min-width:0; }.profile-section { width:100%; max-width:none; margin:0 0 32px; padding:0; }
.profile-section h3 { font-size:18px; margin:0 0 16px; }
.profile-content .favorite-list { max-width:none; }
#profile-post-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.is-guest .profile-stats-row, .is-guest .profile-rank-row, .is-guest #profile-post-scope, .is-guest #profile-favorite-count { display:none; }
.guest-welcome { grid-column:1/-1; padding:40px; background:#f8fafc; border:1px solid var(--color-border-light); border-radius:12px; }
.guest-welcome svg { width:48px; height:48px; color:var(--color-primary); }
.guest-welcome h2 { font-size:22px; }.guest-welcome p { font-size:14px; line-height:1.8; color:var(--color-text-muted); }
.settings-layout { padding:0 32px 40px; width:100%; max-width:1280px; margin:0 auto; display:grid; grid-template-columns:264px minmax(0,1fr); gap:32px; align-items:start; }
.settings-list { max-width:none; width:100%; margin:0; padding:8px; box-shadow:none; border:1px solid var(--color-border-light); border-radius:12px; }
.settings-item { border:0; border-radius:8px; min-height:48px; padding:12px; }.settings-item.active { background:#eff6ff; color:#1d4ed8; }
.settings-item-icon { font-size:14px; width:24px; }.settings-item-label { font-size:13px; }
.settings-content { background:#fff; border:1px solid var(--color-border-light); padding:32px; border-radius:12px; min-height:400px; }
.settings-content h2 { font-size:22px; margin:0 0 24px; }#settings-body { white-space:pre-wrap; font-size:14px; line-height:1.9; color:var(--color-text-secondary); overflow-wrap:anywhere; }
#auth-screen { background:#fff; padding:40px; gap:48px; }#auth-screen::before, #auth-screen::after { display:none; }
.auth-header { text-align:left; margin:0; padding:0; }.auth-header .logo-icon { display:none; }.auth-brand { font-weight:700; color:var(--color-primary); font-size:18px; }.auth-header h1 { font-size:40px; line-height:1.5; letter-spacing:-.05em; }.auth-header .tagline { font-size:15px; line-height:1.8; }
.auth-main { width:100%; max-width:400px; background:#fff; box-shadow:none; border:1px solid var(--color-border-light); border-radius:12px; padding:24px; }
.auth-tabs, .auth-form, .auth-note, .auth-social { padding-left:0; padding-right:0; }
.auth-illustration { width:100%; height:240px; position:relative; margin-top:24px; background:repeating-linear-gradient(0deg,transparent 0 55px,#e2e8f0 55px 60px),repeating-linear-gradient(90deg,#f1f5f9 0 75px,#e2e8f0 75px 80px); border-radius:12px; overflow:hidden; }
.illustration-road { position:absolute; width:200%; height:32px; background:#fff; transform:rotate(-30deg); top:100px; left:-100px; }.illustration-pin { position:absolute; left:25%; top:50px; width:56px; height:56px; border-radius:16px 16px 16px 0; background:#2563eb; color:white; display:grid; place-items:center; font-size:24px; }.illustration-pin.green { background:#16a34a; left:70%; top:120px; width:40px; height:40px; font-size:20px; }.illustration-caption { position:absolute; bottom:16px; left:16px; font-size:10px; letter-spacing:.16em; color:#64748b; }
.pin-detail .pin-detail-image { min-height:200px; height:220px; border-radius:0; }
.pin-detail .pin-detail-image img { width:100%; height:100%; object-fit:cover; }
.pin-primary-action { position:sticky; bottom:0; background:#fff; padding:16px; border-top:1px solid var(--color-border-light); z-index:2; }
.pin-detail-body { padding:24px; }.pin-detail-body h2 { font-size:22px; }.modal-close { z-index:4; background:#fff; border:1px solid var(--color-border-light); }
.site-directory { border-top:1px solid var(--color-border-light); }.site-directory h1 { letter-spacing:-.04em; }.site-directory nav a { background:#f8fafc; border-radius:8px; color:#334155; }.directory-spot { border-radius:12px; }
@media (min-width:1024px) {
  #app-screen { max-width:none; height:100dvh; min-height:0; }
  .app-header { height:72px; min-height:72px; padding:0 32px; }
  .app-header .app-nav { position:static; flex:1; width:auto; padding:0; border:0; min-height:0; gap:4px; max-width:680px; margin:0 auto; }
  .app-nav-btn { flex-direction:row; gap:8px; padding:8px; min-height:44px; font-size:13px; flex:1; white-space:nowrap; border-radius:8px; }
  .tab-icon { width:20px; }.tab-icon svg { width:20px; height:20px; }
  .page { padding-bottom:0; }
  #page-map.active { display:grid; grid-template-columns:400px minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto; min-height:0; }
  .map-tools { grid-column:1; grid-row:1; }
  #map { grid-column:2; grid-row:1/-1; min-height:0; min-width:0; height:100%; }
  .home-spot-panel { grid-column:1; grid-row:2; border-left:0; border-right:1px solid var(--color-border-light); padding:0; height:100%; contain:size; display:flex; flex-direction:column; overflow:hidden; min-height:0; }
  .home-spot-scroll { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; flex-direction:column; padding:0 16px 16px; gap:12px; overscroll-behavior:contain; }
  .home-spot-card { display:grid; grid-template-columns:112px minmax(0,1fr); width:100%; min-height:156px; flex-shrink:0; }
  .home-spot-card-img { width:112px; height:100%; min-height:156px; align-self:stretch; }
  .home-spot-card-body { padding:12px; }
  .home-spot-drag, .home-spot-close { display:none; }
  .home-ad-banner { grid-column:1; grid-row:3; position:static; width:auto; max-width:none; margin:0; min-height:48px; padding:12px 16px; border-radius:0; }
  .fab { grid-column:2; grid-row:1/-1; position:relative; inset:auto; align-self:end; justify-self:end; margin:0 24px 40px; z-index:600; }
  #map .leaflet-bottom.leaflet-left { bottom:24px; left:24px; }
  .feed-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #page-profile.active { display:grid; grid-template-columns:320px minmax(0,1fr); align-content:start; }
  .profile-card { position:sticky; top:0; }
  #auth-screen { flex-direction:row; }.auth-header { width:440px; }
  #pin-modal.map-context { position:fixed; inset:128px 16px 16px 416px; padding:0; justify-content:flex-start; align-items:start; pointer-events:none; z-index:900; }
  #pin-modal.map-context .modal-backdrop { display:none; }
  #pin-modal.map-context .modal-content { pointer-events:auto; width:400px; max-width:calc(100vw - 464px); margin:0; max-height:100%; border:1px solid var(--color-border-light); border-radius:12px; box-shadow:var(--shadow-sm); }
  .site-directory { max-width:1440px; padding:48px; }
}
@media (min-width:1440px) { .feed-list { grid-template-columns:repeat(4,minmax(0,1fr)); } #profile-post-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:1023px) {
  .app-header { padding:8px 16px; gap:8px; min-height:64px; }.app-logo { font-size:16px; }.brand-mark { width:28px; height:28px; font-size:16px; }.app-header-right { gap:8px; }.open-in-app { padding:8px; font-size:11px; }.app-header-right a { font-size:11px; }
  .browse-nav { padding:0 16px; gap:24px; }.browse-nav a { min-height:32px; }
  .app-nav { position:static; min-height:64px; flex-shrink:0; padding-bottom:env(safe-area-inset-bottom); }.page { padding-bottom:0; }
  .map-tools { padding:12px 16px; }.map-tools h2, .map-tools .map-intro { display:none; }.map-tools #map-search-status { margin-top:4px; }.map-filter-row { margin-top:4px; }.map-tools input[type=search] { height:44px; }
  #map { min-height:0; }.map-display-tools { right:8px; top:8px; }.map-display-tools label { display:none; }
  .home-ad-banner { display:none; }
  .home-spot-panel { position:absolute; bottom:8px; left:8px; right:8px; border:1px solid var(--color-border-light); border-radius:12px; padding:0; max-height:208px; z-index:500; }
  .home-spot-title-row { padding:8px 12px; }.home-spot-drag { display:none; }.home-spot-title { display:none; }.home-spot-title-row .segment-control { flex:0 1 auto; }.segment-btn { min-height:36px; }.home-spot-scroll { padding:0 8px 8px; gap:8px; }
  .home-spot-card { display:grid; grid-template-columns:72px minmax(0,1fr); width:272px; min-height:124px; }.home-spot-card-img { width:72px; height:100%; min-height:124px; }.home-spot-card-body { padding:8px; }.home-spot-card-name { font-size:12px; -webkit-line-clamp:1; }.home-spot-card-address { font-size:11px; margin:4px 0; }.home-spot-card-meta { font-size:10px; }.home-spot-card .trash-chip { margin-top:4px; padding:2px 4px; }.home-spot-card .card-confirmation { margin-top:4px; font-size:10px; }
  .fab { position:absolute; bottom:224px; right:8px; z-index:500; }.fab span { display:none; }#map .leaflet-bottom.leaflet-left { bottom:224px; left:8px; }.leaflet-control-zoom { margin:0 !important; }
  #page-map:has(.home-spot-panel[style*="none"]) .fab, #page-map:has(.home-spot-panel[style*="none"]) .leaflet-bottom.leaflet-left { bottom:32px; }
  .settings-layout { grid-template-columns:200px minmax(0,1fr); gap:16px; padding:0 24px 32px; }.settings-content { padding:24px; }
  #page-profile { padding:24px; }.profile-card { max-width:none; }.profile-content { width:100%; }
}
@media (max-width:600px) {
  .page-heading { padding:24px 16px 16px; display:block; }.page-heading h2 { font-size:24px; }.page-heading p { font-size:12px; }#feed-result-count { display:block; margin-top:12px; }
  .feed-toolbar { padding:0 16px 8px; gap:8px; }.feed-search { flex:1 1 100%; }.feed-category-filter { flex:1; min-width:0; }#feed-segment { min-width:0; }
  #page-feed > .trash-filter { padding:0 16px 8px; }.feed-list { padding:8px 16px 24px; gap:12px; }.feed-card-body { padding:12px; }.feed-card-title { font-size:13px; min-height:39px; }.feed-card-meta { font-size:10px; }.spot-address { font-size:11px; }.feed-card .card-confirmation { font-size:10px; }.feed-card .trash-chip { padding:4px; font-size:10px; }
  .ranking-toolbar, .ranking-note, .ranking-standing { padding:0 16px 16px; }.ranking-list { padding:0 16px 24px; }.ranking-top-three { gap:8px; }.ranking-top-user { padding:16px 4px; }.ranking-top-name { font-size:11px; }.ranking-top-count { font-size:20px; }.ranking-top-user .ranking-level { font-size:9px; }.ranking-table th, .ranking-table td { padding:12px 4px; font-size:12px; }.ranking-table th:nth-child(3), .ranking-table td:nth-child(3) { display:none; }.ranking-person { font-size:12px; gap:8px; }.ranking-avatar { width:40px; height:40px; }
  #page-profile { padding:16px; gap:24px; }.profile-card { padding:24px 16px; }.guest-welcome { padding:24px; }.guest-welcome h2 { font-size:20px; }
  .settings-layout { display:flex; flex-direction:column; padding:0 16px 24px; }.settings-list { display:flex; flex-wrap:wrap; gap:4px; padding:8px; }.settings-item { min-height:44px; padding:8px; }.settings-item-icon { display:none; }.settings-item-label { font-size:12px; }.settings-content { width:100%; padding:24px; min-height:0; }
  #auth-screen { padding:24px 16px; gap:24px; }.auth-header { width:100%; max-width:400px; }.auth-header h1 { font-size:28px; }.auth-illustration { display:none; }.auth-header .tagline { font-size:13px; }.auth-main { padding:24px; }
  .pin-detail .pin-detail-image { height:180px; min-height:180px; }.pin-detail-body { padding:16px; }.pin-primary-action { padding:12px 16px max(12px,env(safe-area-inset-bottom)); }
}
@media (max-height:700px) and (max-width:1023px) { .home-spot-panel { max-height:160px; }.home-spot-card .card-confirmation, .home-spot-card .trash-chip { display:none; }.home-spot-card, .home-spot-card-img { min-height:88px; }.fab, #map .leaflet-bottom.leaflet-left { bottom:176px; } }

#profile-post-list, #favorite-list { box-shadow:none; border:0; background:transparent; }

.map-display-tools #map-show-results{font-size:12px;color:#2563eb;min-width:44px}.home-spot-close{margin-left:auto;min-width:32px;min-height:32px}
@media (max-height:500px) and (min-width:600px) and (max-width:1023px) {
  .browse-nav { display:none; }
  .app-header { min-height:56px; height:56px; padding:4px 16px; }
  .app-nav { min-height:56px; height:56px; }
  #page-map.active { display:grid; grid-template-columns:300px minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); }
  .map-tools { grid-column:1; grid-row:1; padding:8px; }
  .map-tools #map-search-status { display:none; }
  .map-filter-row select, .map-filter-row .trash-filter { min-height:36px; }
  #map { grid-column:2; grid-row:1/-1; height:100%; }
  .home-spot-panel { position:relative; inset:auto; grid-column:1; grid-row:2; min-height:0; max-height:none; height:100%; contain:size; display:flex; flex-direction:column; border-radius:0; border-width:0 1px 0 0; }
  .home-spot-scroll { flex:1; min-height:0; overflow:auto; }
  .home-spot-title-row { flex-shrink:0; padding:4px 8px; }
  .home-spot-card, .home-spot-card-img { min-height:88px; }
  .fab { grid-column:2; grid-row:1/-1; position:relative; inset:auto; align-self:end; justify-self:end; margin:0 16px 32px; }
  #map .leaflet-bottom.leaflet-left { bottom:24px; }
}
@media (max-height:560px) and (max-width:599px) {
  .browse-nav, .map-tools #map-search-status { display:none; }
  .map-tools { padding:8px; }
  .home-spot-panel { max-height:144px; }
  .home-spot-title-row { padding:4px 8px; }
  .fab, #map .leaflet-bottom.leaflet-left { bottom:160px; }
}

.settings-item-icon svg { width:20px;height:20px;vertical-align:middle; }
