/* Compact list rows (all beaches / favorites): one clear line per beach, same cells as the weekly table row.
   name | height | rating | wind (knots) | weather icon + temperature. Loaded last. */
:is(#favoritesView,#beachListView).compact-view :is(#favoritesList,#beachList)>.beach-swipe-card{
 display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(0,3fr) auto;grid-template-rows:auto;gap:6px 12px;align-items:center;
 height:auto;min-height:64px;padding:8px 12px}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card>.beach-row-info{grid-column:1;grid-row:1;align-self:center}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .beach-row-info h3{font-size:15px;line-height:1.25;min-height:0;margin:0}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card>.bc-report-line{display:none}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card>.bc-carousel{grid-column:2;grid-row:1;min-width:0}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card>.beach-row-actions{grid-column:3;grid-row:1;max-width:none;flex-wrap:nowrap}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bc-source,
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bc-pagination{display:none}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bc-main{
 display:grid;grid-template-columns:minmax(0,1.3fr) 74px minmax(110px,1.2fr) 76px;gap:6px 10px;align-items:center;padding:0}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bc-metric{display:flex;min-width:0;text-align:center}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bc-metric>small{display:none}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card [data-metric=breaking]{order:1;align-items:flex-start;text-align:start}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card [data-metric=breaking]>b{font-size:16px;white-space:nowrap}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card [data-metric=rating]{order:2}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card [data-metric=swell]{display:none}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card [data-metric=wind]{order:3}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card [data-metric=weather]{order:4}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bath-rating-button{min-height:0;padding:0!important}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bath-rating-button small{display:none}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bath-score{font-size:12px}
/* wind: arrow tile + big number + "קשרים" + direction name */
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline{flex-direction:row;justify-content:center;gap:8px;flex-wrap:nowrap}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline>div{display:block;text-align:start;line-height:1.2}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline b{font-size:16px}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline small{display:inline;font-size:12px;margin:0;white-space:nowrap}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline small.wind-bearing{display:block}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .wind-direction-tile{width:30px;height:30px;min-width:30px;border-radius:8px}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .heavy-wind-arrow{scale:.6}
/* weather: icon + temperature only */
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-weather-inline{display:flex;flex-direction:row;gap:4px;justify-content:center}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-weather-icon{width:22px;height:22px}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-weather-inline b{font-size:15px}
/* phone / narrow list: name + actions on top, cells below */
@container coast-list (max-width:760px){
 :is(#favoritesView,#beachListView).compact-view :is(#favoritesList,#beachList)>.beach-swipe-card{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;padding:8px 10px}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card>.beach-row-info{grid-column:1;grid-row:1}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card>.beach-row-actions{grid-column:2;grid-row:1}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card>.bc-carousel{grid-column:1 / -1;grid-row:2}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card .bc-main{grid-template-columns:minmax(0,1.1fr) 52px minmax(0,1.2fr) 62px;gap:4px 6px}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card [data-metric=breaking]>b{font-size:14px}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline{gap:5px}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline small.wind-bearing{display:none}
 :is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-weather-inline b{font-size:14px}
}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline>div{direction:rtl}
:is(#favoritesView,#beachListView).compact-view .beach-swipe-card .forecast-wind-inline b+small{margin-inline-start:3px}
/* no small "open" arrow before the beach name */
.compact-view .beach-swipe-card .beach-title:before,.compact-view [data-open]:before,.compact-view [data-card]:before{content:none!important;display:none}
