/* GlassyUI-inspired cards, adapted to ChoiceWise's light reading surfaces.
   Reference: Jaishree2310/GlassyUI-Components, GlassyUIComponentsPage.tsx.
   This is a native CSS adaptation, not a React package dependency. */
:is(.choicewise-glass-site,.choicewise-glass-preview){
  --glass-fill:rgba(255,255,255,.62);
  --glass-border:rgba(255,255,255,.82);
  --glass-shadow:0 12px 36px -14px rgba(47,78,122,.21);
  --glass-hover-shadow:0 20px 40px -15px rgba(59,104,159,.28);
  background-color:#f2f7fc;
  background-image:radial-gradient(ellipse at 8% 30%,rgba(153,208,230,.23),transparent 48%),radial-gradient(ellipse at 92% 65%,rgba(180,190,232,.25),transparent 48%);
  background-attachment:fixed;
}
:is(.choicewise-glass-site,.choicewise-glass-preview) :is(.card,.review,.detail-panel,.business,.insight,.modal),
.choicewise-glass-site :is(.score,.hero-note){
  position:relative;
  isolation:isolate;
  border:1px solid var(--glass-border);
  border-radius:20px;
  background:var(--glass-fill);
  -webkit-backdrop-filter:blur(16px) saturate(125%);
  backdrop-filter:blur(16px) saturate(125%);
  box-shadow:var(--glass-shadow),inset 0 1px 0 rgba(255,255,255,.85);
  transition:transform 300ms ease,background-color 300ms ease,border-color 300ms ease,box-shadow 300ms ease;
}
/* Keep the sheen behind real content and out of the pointer/keyboard path. */
:is(.choicewise-glass-site,.choicewise-glass-preview) :is(.card,.review,.detail-panel,.business,.insight)::before,
.choicewise-glass-site :is(.score,.hero-note)::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  background:linear-gradient(130deg,rgba(255,255,255,.7),rgba(255,255,255,.08) 50%,transparent 75%);
  pointer-events:none;
  opacity:.35;
  transition:opacity 400ms ease;
}
@media(hover:hover) and (pointer:fine){
  :is(.choicewise-glass-site,.choicewise-glass-preview) :is(.card,.business):hover{
    transform:translateY(-4px);
    background-color:rgba(255,255,255,.74);
    border-color:rgba(89,150,201,.4);
    box-shadow:var(--glass-hover-shadow),inset 0 1px 0 #fff;
  }
  :is(.choicewise-glass-site,.choicewise-glass-preview) :is(.card,.business):hover::before{opacity:1}
}
:is(.choicewise-glass-site,.choicewise-glass-preview) :is(.card,.business):focus-within{
  border-color:#397da7;
  box-shadow:0 0 0 2px rgba(57,125,167,.14),var(--glass-shadow);
}
:is(.choicewise-glass-site,.choicewise-glass-preview) .avatar{
  border:1px solid rgba(255,255,255,.85);
  box-shadow:inset 0 1px 1px #fff,0 3px 12px rgba(65,98,127,.05);
  border-radius:14px;
}
.choicewise-glass-preview .excerpt{background:rgba(231,242,242,.6);border:1px solid rgba(195,216,223,.35);border-radius:12px;padding:16px;margin-top:20px}
.choicewise-glass-preview .modal{background:rgba(248,252,255,.94)}
.choicewise-glass-site{--ink:#18324a;--muted:#536477;--rating:#23715d;--canvas:#f2f7fc}
.choicewise-glass-site :is(.hero,.soft){background:transparent;border-color:rgba(171,195,215,.3)}
.choicewise-glass-site .card:first-child{border-top:1px solid var(--glass-border)}
.choicewise-glass-site .card .card-score{border-color:rgba(171,195,215,.45)}
.choicewise-glass-site .detail-panel .review{background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;border:0;border-top:1px solid rgba(171,195,215,.45)}
.choicewise-glass-site .detail-panel .review::before{content:none}
/* Homepage recommendations only: preserve fill, geometry and existing detail actions. */
.choicewise-glass-site #business-list > .card{
  transition:transform 300ms ease-out,border-color 300ms ease-out,box-shadow 300ms ease-out;
}
@media(hover:hover) and (pointer:fine){
  .choicewise-glass-site #business-list > .card:hover{
    transform:translateY(-6px);
    background-color:var(--glass-fill);
    border-color:rgba(89,150,201,.5);
    box-shadow:0 22px 44px -15px rgba(59,104,159,.32),inset 0 1px 0 #fff;
  }
  .choicewise-glass-site #business-list > .card:hover::before{opacity:.35}
}
.choicewise-glass-site #business-list > .card:has(:focus-visible){
  outline:2px solid var(--link,#006b96);
  outline-offset:4px;
}
@media(prefers-reduced-motion:reduce){
  .choicewise-glass-site #business-list > .card:hover{transform:none}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  :is(.choicewise-glass-site,.choicewise-glass-preview){--glass-fill:rgba(255,255,255,.96)}
}
@media(prefers-reduced-motion:reduce){
  :is(.choicewise-glass-site,.choicewise-glass-preview) *,
  :is(.choicewise-glass-site,.choicewise-glass-preview) *::before{transition:none!important;animation:none!important}
  :is(.choicewise-glass-site,.choicewise-glass-preview) :is(.card,.business):hover{transform:none}
}
@media(forced-colors:active){
  :is(.choicewise-glass-site,.choicewise-glass-preview) :is(.card,.review,.detail-panel,.business,.insight,.modal),
  .choicewise-glass-site :is(.score,.hero-note){background:Canvas;border:1px solid CanvasText;box-shadow:none;backdrop-filter:none}
}
