/* ActivaViva: compact card and detail place links */
.card-place-links{gap:.20rem!important;align-items:center!important;flex-wrap:nowrap!important}
.card-place-service{width:52px!important;min-width:0!important}
.card-place-service .av-weather-sun{width:22px;height:22px;display:block;flex-shrink:0}
.experience-detail-place-links{gap:.4rem!important;align-items:center!important}
.experience-detail-place-links [data-av-weather-trigger]{display:inline-flex!important;align-items:center!important;gap:.3rem!important;white-space:nowrap!important}
.experience-detail-place-links .av-weather-sun{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}
@media(max-width:450px){.card-place-links{gap:.12rem!important}.card-place-service{width:48px!important;font-size:.52rem!important}}
/* Compact, accessible and color-coded forecast table */
#av-weather-popover .av-weather-forecast-time{font-size:.76rem;color:#506d75;margin-bottom:.7rem}
#av-weather-popover .av-weather-table{width:100%;border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden;font-size:.84rem}
#av-weather-popover .av-weather-table th,#av-weather-popover .av-weather-table td{padding:.57rem .65rem;border-bottom:1px solid #ffffff9c}
#av-weather-popover .av-weather-table tr:last-child th,#av-weather-popover .av-weather-table tr:last-child td{border-bottom:0}
#av-weather-popover .av-weather-table th{text-align:left;width:65%;font-weight:650;color:#284640}
#av-weather-popover .av-weather-table td{text-align:right;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
#av-weather-popover .av-weather-temp{background:#fff4d8;color:#a56800}
#av-weather-popover .av-weather-cloud{background:#edf5ff;color:#376c9a}
#av-weather-popover .av-weather-wind{background:#eaf8f1;color:#197557}
#av-weather-popover .av-weather-rain{background:#edf7ff;color:#286eac}
#av-weather-popover .av-weather-temp td{color:#a56800}
#av-weather-popover .av-weather-cloud td{color:#376c9a}
#av-weather-popover .av-weather-wind td{color:#197557}
#av-weather-popover .av-weather-rain td{color:#286eac}
#av-weather-popover .av-weather-source{display:block;margin-top:.7rem;font-size:.72rem;color:#087f8d;text-decoration:underline}

/* Weather popup: hourly strip and nine-day summary */
#av-weather-popover .av-weather-section{font-size:.9rem;font-weight:750;margin:1rem 0 .55rem;color:#153e41}
#av-weather-popover .av-weather-hours{display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:thin}
#av-weather-popover .av-weather-hour{display:flex;flex:0 0 61px;flex-direction:column;align-items:center;gap:.18rem;padding:.55rem .25rem;background:#f2f8f8;border-radius:8px;font-size:.8rem}
#av-weather-popover .av-weather-hour>span:nth-child(2){font-size:1.25rem}
#av-weather-popover .av-weather-hour small{font-size:.69rem;color:#456a72}
#av-weather-popover .av-weather-days{display:grid;gap:.2rem}
#av-weather-popover .av-weather-day{display:grid;grid-template-columns:minmax(64px,1fr) 30px 90px 62px;gap:.4rem;align-items:center;border-bottom:1px solid #e4eeee;padding:.35rem .15rem;font-size:.82rem}
#av-weather-popover .av-weather-day-name{text-transform:capitalize}
#av-weather-popover .av-weather-day strong{font-variant-numeric:tabular-nums;font-weight:650;text-align:right;white-space:nowrap}
#av-weather-popover .av-weather-day-rain{font-size:.75rem;color:#376c9a;text-align:right;white-space:nowrap}
@media(max-width:400px){#av-weather-popover{padding:12px!important}#av-weather-popover .av-weather-day{grid-template-columns:minmax(54px,1fr) 26px 82px 54px;gap:.2rem}}

#av-weather-popover .av-weather-current-details{margin-top:.8rem;padding:.5rem;border-radius:8px;background:#f4f8f8}
#av-weather-popover .av-weather-current-details summary{cursor:pointer;font-weight:650;color:#234e53}
#av-weather-popover .av-weather-current-details[open] summary{margin-bottom:.5rem}
#av-weather-popover .av-weather-section:first-of-type{margin-top:.55rem}

/* Soft Glass weather overlay: light, legible, responsive, limited to weather popup. */
#av-weather-popover{
  width:min(440px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  padding:20px!important;
  color:#173e4d!important;
  background:linear-gradient(152deg,rgba(255,255,255,.97) 0%,rgba(233,249,250,.96) 52%,rgba(248,251,255,.98) 100%)!important;
  border:1px solid rgba(120,197,202,.55)!important;
  border-radius:20px!important;
  box-shadow:0 22px 65px rgba(8,53,75,.23),inset 0 1px 0 rgba(255,255,255,.98)!important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  scrollbar-width:thin;scrollbar-color:#8fc4c8 transparent;
}
#av-weather-popover>div:first-child{
  padding-bottom:12px;border-bottom:1px solid rgba(103,174,185,.22);
}
#av-weather-popover>div:first-child strong{
  font-size:1.02rem;letter-spacing:-.025em;font-weight:800;color:#174552;
}
#av-weather-popover>div:first-child button{
  display:grid;place-items:center;min-width:32px;min-height:32px;
  background:rgba(255,255,255,.65)!important;border:1px solid rgba(90,166,178,.24)!important;
  border-radius:50%;line-height:1;
}
#av-weather-popover .av-weather-forecast-time{
  margin:10px 0 8px;font-size:.76rem;color:#597582;
}
#av-weather-popover .av-weather-section{
  font-size:.84rem;letter-spacing:.01em;margin:.8rem 0 .55rem;
  color:#0b7d87;font-weight:800;
}
#av-weather-popover .av-weather-days{
  gap:5px;padding:8px;
  border-radius:15px;border:1px solid rgba(255,255,255,.85);
  background:rgba(255,255,255,.62);
  box-shadow:0 5px 18px rgba(42,115,132,.08);
}
#av-weather-popover .av-weather-day{
  grid-template-columns:minmax(62px,1fr) 28px 100px 64px;
  gap:6px;min-height:34px;padding:6px 9px;border:0;
  background:rgba(228,247,250,.5);border-radius:9px;
  color:#244f5f;
}
#av-weather-popover .av-weather-day:nth-child(even){background:rgba(245,251,255,.88)}
#av-weather-popover .av-weather-day-name{font-weight:700}
#av-weather-popover .av-weather-day>span:nth-child(2){font-size:1.15rem;text-align:center}
#av-weather-popover .av-weather-day strong{color:#144d5e;font-size:.82rem}
#av-weather-popover .av-weather-day-rain{color:#4b7c99}
#av-weather-popover .av-weather-hours{
  gap:7px;padding:4px 2px 9px;
}
#av-weather-popover .av-weather-hour{
  flex-basis:68px;gap:5px;padding:11px 5px;
  color:#17495a;background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(220,241,247,.75));
  border:1px solid rgba(179,215,220,.65);border-radius:13px;
  box-shadow:0 3px 12px rgba(33,107,129,.07)
}
#av-weather-popover .av-weather-hour strong{font-size:.96rem}
#av-weather-popover .av-weather-hour small{color:#527d8a}
#av-weather-popover .av-weather-current-details{
  padding:11px 13px;background:rgba(255,255,255,.6);
  border:1px solid rgba(170,213,219,.64);border-radius:12px;
}
#av-weather-popover .av-weather-current-details summary{color:#176b77}
#av-weather-popover .av-weather-source{color:#147a87;font-size:.7rem;margin-top:12px}
@media(max-width:450px){
 #av-weather-popover{padding:13px!important;border-radius:16px!important}
 #av-weather-popover .av-weather-day{grid-template-columns:minmax(48px,1fr) 23px 90px 52px;gap:3px;padding:6px 5px}
 #av-weather-popover .av-weather-day strong{font-size:.76rem}
 #av-weather-popover .av-weather-day-rain{font-size:.7rem}
}
@media(prefers-reduced-transparency:reduce){
 #av-weather-popover{background:#f1fafb!important;backdrop-filter:none;-webkit-backdrop-filter:none}
}
