/* Explore V5: ưu tiên tìm kiếm, bài đã lưu và thẻ gọn, không tràn hàng. */
.explore-page-v4 .local-content-search{margin:14px 0 10px;padding:12px 14px}
.explore-page-v4 .local-content-search button i{display:none}
.explore-page-v4 .explore-region-links{margin-bottom:8px;padding:14px 16px}
.explore-page-v4 .explore-v3-filters{margin-top:8px}
.explore-page-v4 .explore-fact-saved{border-color:rgba(36,92,146,.18)!important;background:rgba(255,255,255,.82)!important;color:var(--ex3-blue)!important}
.explore-page-v4 .explore-fact-saved i{font-size:17px}
.explore-page-v4 .explore-card{height:auto!important;min-height:0!important;align-self:start!important}
.explore-page-v4 .explore-card-body{flex:0 0 auto!important;height:auto!important;min-height:0!important}
.explore-page-v4 .explore-card-read{margin-top:12px!important}
.explore-page-v4 .explore-card-body h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.explore-page-v4 .explore-card-body p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.explore-page-v4 .explore-card-source{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;gap:3px;margin:-15px 0 -15px 4px;border-radius:9px;color:#0d766d;font-size:.92em;font-style:normal;font-weight:800;text-decoration:none;white-space:nowrap;touch-action:manipulation}.explore-page-v4 .explore-card-source:focus-visible{outline:2px solid #0d766d;outline-offset:2px}.explore-page-v4 .explore-card-source i{font-size:1em}
.explore-page-v4 .explore-card-placeholder--error[hidden]{display:none!important}
.explore-page-v4 .explore-card-media.is-image-error{background:#eef4f8}
.explore-page-v4 .explore-card-media.is-image-error .explore-card-media__link{display:flex;align-items:stretch;justify-content:stretch}
.explore-page-v4 .explore-card-media.is-image-error .explore-card-placeholder--error{width:100%;height:100%;min-height:inherit;color:#536d82}
.explore-page-v4 .explore-empty>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;touch-action:manipulation}
.explore-page-v4 .explore-empty__suggestions{display:grid;width:min(100%,430px);grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px auto 4px}.explore-page-v4 .explore-empty__suggestions>a{display:flex;min-width:0;min-height:48px;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(30,82,136,.12);border-radius:12px;background:#f7fbff;color:#244c72;text-align:left;text-decoration:none;touch-action:manipulation}.explore-page-v4 .explore-empty__suggestions>a>i{flex:0 0 auto;font-size:17px}.explore-page-v4 .explore-empty__suggestions>a>span{display:grid;min-width:0;line-height:1.15}.explore-page-v4 .explore-empty__suggestions b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.explore-page-v4 .explore-empty__suggestions small{margin-top:2px;color:#6c7d8e;font-size:10px}
.explore-page-v4 .explore-feed-notice{display:flex;align-items:flex-start;gap:9px;margin:8px 0 2px;border:1px solid rgba(180,111,15,.22);border-radius:13px;padding:9px 11px;background:#fff8e9;color:#67420d;font-size:12px;line-height:1.4}.explore-page-v4 .explore-feed-notice i{flex:0 0 auto;margin-top:1px;font-size:16px}.explore-page-v4 .explore-feed-notice b{display:block}.explore-page-v4 .explore-feed-notice span{display:block;color:#7b5b2a}
.explore-page-v4 .explore-mobile-filter{display:none}
@media(min-width:900px){body .explore-page-v4 .explore-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}}
@media(max-width:760px){
  .explore-page-v4{display:flex;flex-direction:column;min-width:0;max-width:100%;overflow-x:clip;padding-top:6px!important;padding-bottom:8px!important}
  .explore-page-v4>.explore-v3-hero{order:1}.explore-page-v4>.local-content-search{order:2}.explore-page-v4>.explore-v3-filters{order:3}.explore-page-v4>.explore-region-links{order:4}.explore-page-v4>.explore-v3-list,.explore-page-v4>.explore-empty{order:5;width:100%}
  .explore-page-v4 .explore-v3-hero{gap:7px;padding:11px 12px;border-radius:var(--lc-app-radius,18px)}
  .explore-page-v4 .explore-v3-eyebrow{font-size:10.5px}
  .explore-page-v4 .explore-v3-hero h1{margin:3px 0 1px;font-size:23px;line-height:1.1;letter-spacing:-.6px}
  .explore-page-v4 .explore-v3-hero__copy>p{display:none}
  .explore-page-v4 .explore-v3-hero__facts{grid-template-columns:76px minmax(0,1fr) minmax(0,1fr);gap:6px}
  .explore-page-v4 .explore-v3-hero__facts>span,.explore-page-v4 .explore-v3-hero__facts>a{grid-column:auto;min-height:44px;padding:6px 8px;border-radius:12px}
  .explore-page-v4 .explore-v3-hero__facts>a{flex-direction:row;gap:5px;justify-content:center;text-align:center}
  .explore-page-v4 .explore-v3-hero__facts strong{font-size:16px}.explore-page-v4 .explore-v3-hero__facts small{margin-top:2px;font-size:9px}.explore-page-v4 .explore-v3-hero__facts>a b{font-size:11px}
  .explore-page-v4 .local-content-search{margin:8px 0 4px;padding:6px 8px}.explore-page-v4 .local-content-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .explore-page-v4 .local-content-search>div{grid-template-columns:auto minmax(0,1fr) 44px;gap:6px}.explore-page-v4 .local-content-search button{grid-column:auto;width:44px;min-height:44px;padding:0}.explore-page-v4 .local-content-search button i{display:inline-block;font-size:16px}.explore-page-v4 .local-content-search button span{display:none}
  html body .explore-page-v4>.explore-desktop-category-rail,html body .explore-page-v4>.explore-desktop-region-rail{display:none!important}
  html body .explore-page-v4>.explore-mobile-filter{display:block;order:3;width:100%;min-width:0;max-width:100%;margin:3px 0 4px;border:1px solid rgba(30,82,136,.14);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 3px 12px rgba(15,42,65,.05)}
  .explore-page-v4 .explore-mobile-filter summary{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:8px;padding:0 11px;cursor:pointer;list-style:none;touch-action:manipulation}
  .explore-page-v4 .explore-mobile-filter summary::-webkit-details-marker{display:none}
  .explore-page-v4 .explore-mobile-filter summary>span{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;color:#1e5288;font-size:13px}
  .explore-page-v4 .explore-mobile-filter summary>span>em{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:#1e65a3;color:#fff;font-size:10px;font-style:normal;font-weight:900}
  .explore-page-v4 .explore-mobile-filter summary>small{min-width:0;overflow:hidden;color:#5f7182;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
  .explore-page-v4 .explore-mobile-filter summary::after{content:"⌄";flex:0 0 auto;color:#1e5288;font-size:16px;font-weight:900;transition:transform .16s ease}
  .explore-page-v4 .explore-mobile-filter[open] summary::after{transform:rotate(180deg)}
  .explore-page-v4 .explore-mobile-filter form{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px;min-width:0;padding:9px 10px 10px;border-top:1px solid rgba(30,82,136,.09);background:#f7fbff}
  .explore-page-v4 .explore-mobile-filter label{font-size:11px;font-weight:850;color:#445e76}
  .explore-page-v4 .explore-mobile-filter select{width:100%;min-width:0;max-width:100%;min-height:44px;border:1px solid rgba(30,82,136,.18);border-radius:11px;padding:0 30px 0 10px;background-color:#fff;color:#183f66;font:inherit;font-size:13px;font-weight:750}
  .explore-page-v4 .explore-mobile-filter__actions{display:grid;grid-column:1/-1;grid-template-columns:1fr 1.25fr;gap:8px;margin-top:2px}
  .explore-page-v4 .explore-mobile-filter__actions>a,.explore-page-v4 .explore-mobile-filter__actions>button{display:inline-flex;min-width:0;min-height:44px;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(30,82,136,.16);border-radius:11px;padding:0 10px;font-size:12.5px;font-weight:850;text-decoration:none;touch-action:manipulation}
  .explore-page-v4 .explore-mobile-filter__actions>a{background:#fff;color:#526b81}.explore-page-v4 .explore-mobile-filter__actions>button{background:#1e65a3;color:#fff}
  .explore-page-v4 .explore-region-links>div{display:none}.explore-page-v4 .explore-region-links{margin:2px 0 0;padding:3px 6px;border-radius:15px}.explore-page-v4 .explore-region-links nav{margin:0 -6px;padding:0 6px}.explore-page-v4 .explore-region-links a{min-height:44px;padding:0 12px}
  .explore-page-v4 .explore-v3-filters{margin:0;padding-top:2px;padding-bottom:3px}.explore-page-v4 .explore-filter{min-height:44px!important}
  .explore-page-v4 .explore-v3-list{padding-top:9px;scroll-margin-top:70px}.explore-page-v4 .explore-v3-list__head{margin-bottom:9px}.explore-page-v4 .explore-v3-list__head h2{font-size:23px}
  body .explore-page-v4 .explore-grid{grid-template-columns:1fr!important;gap:8px!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured){display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;min-height:108px!important;max-height:116px!important;align-items:stretch!important;overflow:hidden!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(15,42,65,.07)!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured){content-visibility:auto;contain-intrinsic-size:116px}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-media{width:92px!important;height:100%!important;min-height:108px!important;aspect-ratio:auto!important;align-self:stretch!important;border-radius:0!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-media__link,
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-media img{width:100%!important;height:100%!important;object-fit:cover!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-body{min-width:0!important;gap:5px!important;justify-content:center!important;padding:9px 10px!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-meta{display:flex!important;width:100%!important;min-width:0!important;flex-wrap:nowrap!important;gap:8px!important;overflow:hidden!important;font-size:10.5px!important;line-height:1.25!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-meta span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-meta span:first-child{flex:1 1 auto!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-meta span:last-child{flex:0 0 auto!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-source{margin:-15px 0 -15px 3px!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-body h3{margin:0!important;font-size:15.5px!important;line-height:1.32!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-body h3 a{display:-webkit-box!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-body p,
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-read,
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-badge{display:none!important}
  /* Keep the real next-page link visible while scroll loading is merely armed.
     It is the accessible/manual fallback for the remaining public inventory;
     only the existing aria-busy request state disables it. */
  .explore-page-v4 .explore-load-more-btn{min-height:44px!important;touch-action:manipulation!important}
  body .explore-page-v4 .explore-load-more-panel{gap:6px!important;margin-top:10px!important;padding:8px!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(15,45,75,.045)!important}
  .explore-page-v4 .explore-load-more-panel>[data-explore-count]{display:block;min-height:18px;line-height:18px}
  .explore-page-v4 .explore-card.is-appended{animation:lc-content-row-enter .16s ease-out both}
  .explore-page-v4 .explore-card>.lc-save-floating{width:44px!important;height:44px!important;min-width:44px!important;top:4px!important;right:4px!important}
  .explore-page-v4 .explore-card-read{min-height:44px!important;align-items:center}

  /* Explore mobile acceptance v6: one compact title row with two explicit
     resident actions. The map is a first-class local utility instead of a
     low-contrast text link hidden below two filter rails. */
  html body .explore-page-v4 .explore-v3-hero{min-height:52px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;padding:4px 7px!important}
  html body .explore-page-v4 .explore-v3-hero h1{margin:0!important;font-size:19px!important;line-height:1.18!important;letter-spacing:-.35px!important}
  html body .explore-page-v4 .explore-v3-hero__facts{display:flex!important;min-width:0!important;align-items:center!important;gap:4px!important}
  html body .explore-page-v4 .explore-v3-hero__facts>span{display:none!important}
  html body .explore-page-v4 .explore-v3-hero__facts>a,
  html body .explore-page-v4 .explore-v3-hero__facts>a:last-child,
  html body .explore-page-v4 .explore-v3-hero__facts>.explore-fact-saved,
  html body .explore-page-v4 .explore-v3-hero__facts>.explore-fact-map{display:inline-flex!important;width:auto!important;min-width:68px!important;height:44px!important;min-height:44px!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:0 7px!important;border:1px solid rgba(30,82,136,.12)!important;border-radius:12px!important;background:#fff!important;color:#234d73!important;font-size:10.5px!important;line-height:1!important;text-decoration:none!important;box-shadow:0 2px 7px rgba(15,45,75,.045)!important;touch-action:manipulation!important}
  html body .explore-page-v4 .explore-v3-hero__facts>.explore-fact-map{min-width:72px!important;border-color:rgba(8,121,95,.16)!important;background:#eaf8f4!important;color:#08795f!important}
  html body .explore-page-v4 .explore-v3-hero__facts>a i{font-size:15px!important}
  html body .explore-page-v4 .explore-v3-hero__facts>a b{font-size:10.5px!important;white-space:nowrap!important}
  html body .explore-page-v4 .local-content-search{margin:2px 0 0!important;padding:1px 3px!important;border-radius:13px!important;box-shadow:none!important}
  html body .explore-page-v4 .explore-v3-filters,
  html body .explore-page-v4 .explore-region-links{min-height:44px!important;height:44px!important}
  html body .explore-page-v4 .explore-v3-filters{gap:5px!important;padding:0 2px 2px!important;scroll-snap-type:inline proximity!important}
  html body .explore-page-v4 .explore-filter{min-height:44px!important;padding-inline:11px!important;scroll-snap-align:start!important}
  html body .explore-page-v4 .explore-region-links{padding-block:0!important}
  html body .explore-page-v4 .explore-region-links nav{scroll-snap-type:inline proximity!important}
  html body .explore-page-v4 .explore-region-links a{min-height:44px!important;scroll-snap-align:start!important}
  html body .explore-page-v4 .explore-v3-list{padding-top:1px!important}
  html body .explore-page-v4 .explore-v3-list__head{min-height:24px!important;margin:0 2px 2px!important}
  html body .explore-page-v4 .explore-v3-list__head h2{font-size:20px!important;line-height:1.2!important}
  html body .explore-page-v4 .explore-v3-list__head>div>span{display:none!important}
  html body .explore-page-v4 .explore-v3-list__head h2{font-size:18px!important;line-height:1.15!important}
  html body .explore-page-v4 .explore-grid{--lc-mobile-row-image:92px;--lc-mobile-row-min:108px;border-radius:15px!important;box-shadow:0 4px 14px rgba(15,45,75,.05)!important}
  html body .explore-page-v4 .explore-grid>article.explore-card .explore-card-media img{transition:none!important}
  html body .explore-page-v4 .explore-card>.lc-save-floating{top:2px!important;right:2px!important}
  /* Compact filtered-search state; clear remains a 44px target. */
  html body .explore-page-v4 .explore-search-state{display:flex!important;min-width:0!important;min-height:44px!important;align-items:center!important;gap:6px!important;margin:0!important;padding-left:8px!important;overflow:hidden!important;white-space:nowrap!important}
  html body .explore-page-v4 .explore-search-state>span{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  html body .explore-page-v4 .explore-search-state>a{display:inline-flex!important;min-width:64px!important;min-height:44px!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;padding:0 8px!important;touch-action:manipulation!important}
  /* Honest no-image state fitted to the 84–92px phone thumbnail. */
  html body .explore-page-v4 .explore-card-placeholder{gap:3px!important;padding:6px 4px!important}
  html body .explore-page-v4 .explore-card-placeholder>i{font-size:18px!important}
  html body .explore-page-v4 .explore-card-placeholder>b{max-width:100%!important;font-size:10.5px!important;line-height:1.2!important}
  html body .explore-page-v4 .explore-card-placeholder>small{display:none!important}
}
@media(max-width:340px){body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-source{font-size:0!important;gap:0!important;margin-left:2px!important}body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-source i{font-size:11px!important}}
@media(max-width:340px){.explore-page-v4 .explore-mobile-filter summary{padding-inline:9px}.explore-page-v4 .explore-mobile-filter summary>span{gap:5px}.explore-page-v4 .explore-mobile-filter summary>small{font-size:10.5px}}
@media(max-width:390px){
  .explore-page-v4 .explore-empty__suggestions{gap:6px}.explore-page-v4 .explore-empty__suggestions>a{padding-inline:8px}
  body .explore-page-v4 .explore-card:not(.explore-card--featured){grid-template-columns:88px minmax(0,1fr)!important;min-height:104px!important;max-height:112px!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-media{width:88px!important;min-height:104px!important}
  html body .explore-page-v4 .explore-grid{--lc-mobile-row-image:88px;--lc-mobile-row-min:104px}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-source{min-width:44px!important;gap:2px!important;margin-left:2px!important;padding-inline:5px!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-source>span{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
}
@media(max-width:340px){
  body .explore-page-v4 .explore-card:not(.explore-card--featured){grid-template-columns:84px minmax(0,1fr)!important}
  body .explore-page-v4 .explore-card:not(.explore-card--featured) .explore-card-media{width:84px!important}
  html body .explore-page-v4 .explore-grid{--lc-mobile-row-image:84px}
}
@keyframes lc-content-row-enter{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.explore-page-v4,.explore-page-v4 *{scroll-behavior:auto!important}.explore-page-v4 :where(a,button,input,select,summary),.explore-page-v4 .explore-card.is-appended{animation:none!important;transition:none!important}}
