/* MyAllSearch Reviews — opt-in visual prototype. Self-contained, no global overrides. */
body.search-results .mas-reviews-card { background:#fff; color:#242934; border:1px solid rgba(0,0,0,.125); border-radius:8px; margin:12px 0 16px!important; overflow:hidden; box-shadow:none; font-family:var(--mas-search-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif); }
body.search-results .mas-reviews-card *{box-sizing:border-box}
body.search-results .mas-reviews-inner{padding:15px!important}
body.search-results .mas-reviews-heading{display:flex;align-items:center;gap:7px;margin:0 0 10px!important;font-size:15px!important;font-weight:600;line-height:1.25;color:inherit}
body.search-results .mas-reviews-heading svg{display:block;width:18px;height:18px;flex-shrink:0;color:#737b85;fill:none}
body.search-results .mas-reviews-heading strong{font-weight:600}
body.search-results .mas-reviews-preview-label{font-size:10px;line-height:1.4;margin:0 0 9px!important;color:#687484}
body.search-results .mas-reviews-photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:hidden}
body.search-results .mas-reviews-photo-strip img{display:block;width:100%;height:100px;min-width:0;object-fit:cover;border-radius:6px;background:#e7e9ef}
body.search-results .mas-reviews-place{font-size:20px!important;font-weight:600!important;line-height:1.25!important;margin:12px 0 4px!important;color:inherit}
body.search-results .mas-reviews-overall{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:14px;line-height:1.35}
body.search-results .mas-reviews-overall>strong{font-size:19px;font-weight:600}
body.search-results .mas-reviews-stars{font-size:17px;letter-spacing:-2px;color:#f6a400;white-space:nowrap;margin-right:3px}
body.search-results .mas-reviews-half{color:#d1d6de}
body.search-results .mas-reviews-count{font-size:12px;color:#626f83}
body.search-results .mas-reviews-rank{font-size:12px;color:#626f83;margin:2px 0 11px!important;line-height:1.4}
body.search-results .mas-reviews-traits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 10px}
body.search-results .mas-reviews-trait{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:63px;border:1px solid #dfe5ef;border-radius:7px;padding:6px 3px;text-align:center;color:#3f5067;font-size:10px;line-height:1.23}
body.search-results .mas-reviews-trait svg{width:17px;height:17px;flex-shrink:0}
body.search-results .mas-reviews-quote{display:flex;align-items:flex-start;gap:9px;background:#f2f5f9;border-radius:7px;padding:12px 12px 10px;margin:0 0 13px}
body.search-results .mas-reviews-quote-symbol{font-size:27px;font-weight:700;line-height:1;color:#798ca9}
body.search-results .mas-reviews-quote p{font-size:12px;line-height:1.48;margin:0 0 4px!important;color:#313e51}
body.search-results .mas-reviews-quote small{font-size:10px;display:block;color:#6e7b8d;line-height:1.3}
body.search-results .mas-reviews-lower{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(0,1fr);gap:10px;margin:0 0 14px}
body.search-results .mas-reviews-lower h4{font-size:13px!important;font-weight:600!important;line-height:1.35!important;margin:0 0 10px!important;color:inherit}
body.search-results .mas-reviews-bar-row{display:grid;grid-template-columns:55px minmax(0,1fr) 27px;align-items:center;gap:5px;font-size:10px;line-height:1.4;margin-bottom:7px;color:#46536b}
body.search-results .mas-reviews-bar-row b{font-weight:400;text-align:right;color:#536078}
body.search-results .mas-reviews-bar-track{height:9px;border-radius:2px;overflow:hidden;background:#e7ebf0}
body.search-results .mas-reviews-bar-track i{display:block;height:100%;border-radius:2px;background:#12ae7d}
body.search-results .mas-reviews-amenities{border-left:1px solid #e2e6ee;padding-left:10px;min-width:0}
body.search-results .mas-reviews-amenities ul{list-style:none;margin:0!important;padding:0!important}
body.search-results .mas-reviews-amenities li{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.3;color:#43506a;margin:0 0 8px;padding:0}
body.search-results .mas-reviews-amenities li>span{width:17px;min-width:17px;text-align:center;color:#465976;font-size:15px}
body.search-results .mas-reviews-footer{display:flex;align-items:center;gap:10px;border-top:1px solid #e3e7ed;padding:10px 0 0;margin:0;line-height:1.35}
body.search-results .mas-reviews-source-icon{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eff2f6;color:#515e73;font-size:16px}
body.search-results .mas-reviews-footer strong{display:block;font-size:12px;font-weight:600;color:inherit}
body.search-results .mas-reviews-footer small{display:block;font-size:10px;color:#6c788b}
/* Existing search layout has a tight sidebar; scale compactly on intermediate widths. */
@media(min-width:768px) and (max-width:1100px){body.search-results .mas-reviews-traits{grid-template-columns:repeat(2,minmax(0,1fr))}body.search-results .mas-reviews-photo-strip img{height:72px}body.search-results .mas-reviews-lower{grid-template-columns:1fr}body.search-results .mas-reviews-amenities{padding:9px 0 0;border-left:0;border-top:1px solid #e2e6ee}}
@media(max-width:767px){body.search-results .mas-reviews-card{display:none!important}}
:is(.darkmode,.dark-mode,.theme-dark) body.search-results .mas-reviews-card,body.search-results:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-card{background:#2b2b2b;border-color:#52565c;color:#f0f0f0}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-heading svg{color:#b8bdc3!important}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-preview-label,
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-count,
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-rank{color:#b9c2d1!important}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-trait{border-color:#515860;color:#d4dce7}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-quote{background:#363d47}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-quote p{color:#e6edf4}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-quote small,
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-bar-row,
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-bar-row b,
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-amenities li,
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-footer small{color:#c2cad7}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-bar-track{background:#464e58}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-amenities{border-color:#52565c}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-footer{border-top-color:#52565c}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-source-icon{background:#414852;color:#cbd4e1}
/* Live Terra presentation refinements (never override DDG or Related Searches). */
body.search-results .mas-reviews-live .mas-reviews-tripadvisor-bubbles{display:inline-block;object-fit:contain;max-width:110px;height:auto;vertical-align:middle;background:#fff;border-radius:2px;padding:2px}
body.search-results .mas-reviews-live .mas-reviews-review-bubbles{display:block;max-width:75px;height:auto;margin:0 0 4px;background:#fff;border-radius:2px}
body.search-results .mas-reviews-live .mas-reviews-photo-strip{margin:0 0 5px}
body.search-results .mas-reviews-live .mas-reviews-rank small{display:block;font-size:10px;margin-top:3px}
body.search-results .mas-reviews-live .mas-reviews-quote p{max-height:80px;overflow:auto}
body.search-results .mas-reviews-live .mas-reviews-quote-link{display:block;font-size:11px;margin-top:4px;color:#487aca}
body.search-results .mas-reviews-live .mas-reviews-one-column{grid-template-columns:1fr}
body.search-results .mas-reviews-live .mas-reviews-one-column .mas-reviews-amenities{border:0;padding:0}
body.search-results .mas-reviews-live .mas-reviews-ta-source{display:flex;align-items:center;gap:10px;width:100%;text-decoration:none;color:inherit;min-width:0}
body.search-results .mas-reviews-live .mas-reviews-ta-source img{height:25px;width:108px;max-width:35%;object-fit:contain;background:#fff;border-radius:2px;padding:2px}
body.search-results .mas-reviews-live .mas-reviews-ta-source span{font-size:11px;flex:1;color:#63728a}
body.search-results .mas-reviews-live .mas-reviews-ta-source span span{float:right;color:#487aca;font-size:18px}
:is(.darkmode,.dark-mode,.theme-dark) .mas-reviews-live .mas-reviews-ta-source span{color:#c2cad7!important}

body.search-results .mas-reviews-live .mas-reviews-rating-provider{display:inline-flex;align-items:center;gap:4px;max-width:100%;text-decoration:none} 
body.search-results .mas-reviews-live .mas-reviews-provider-logo{display:inline-block;object-fit:contain;width:78px;height:22px;padding:2px;background:#fff;border-radius:2px}

/* v2: match the exact 15px/1.2 rhythm and weight of News/DDG headings. */
body.search-results .mas-reviews-card .sidebar-card-heading.mas-reviews-heading {
  font-family:var(--mas-search-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif)!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1.2!important;
  margin:2px 2px 10px!important;
}
body.search-results .mas-reviews-card .mas-reviews-heading strong {
  font-size:inherit!important;
  font-weight:600!important;
  line-height:inherit!important;
}
body.search-results .mas-reviews-monochrome-rating{font-size:17px;color:inherit;line-height:1}
body.search-results .mas-reviews-live .mas-reviews-ta-source strong{font-size:13px;white-space:nowrap;color:inherit}
