/* One material for native buttons and button-like links. Each page supplies
   its own base color and text color, including its hover and selected states. */
:is(#site-content button, #site-content .glass-control, a.glass-control) {
  border: 1px solid rgba(87, 109, 138, .42);
  border-top-color: rgba(239, 248, 255, .72);
  border-radius: var(--glass-radius, 14px);
  background-image: linear-gradient(145deg, rgb(255 255 255 / .17), transparent 42%, rgb(99 151 210 / .055));
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .38), inset 0 -1px 0 rgb(12 32 60 / .15), 0 3px 10px rgb(8 20 36 / .14);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
  backdrop-filter: blur(16px) saturate(1.18);
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

/* Translucent versions of the original surfaces. */
#site-content :is(.personal-index-with-icon, .apps-index-card, .gear-card, .personal-footer-product) {
  --glass-radius: 24px;
  background-color: rgb(255 255 255 / .95);
}
#site-content :is(.personal-index-with-icon, .apps-index-card, .gear-card) {
  --glass-edge: var(--brand-red);
  border-top: 3px solid var(--glass-edge);
  background-image:
    radial-gradient(ellipse at 8% 0%, rgb(255 255 255 / .88), transparent 59%),
    linear-gradient(155deg, transparent 38%, rgb(143 175 216 / .14) 80%, rgb(255 255 255 / .4));
  box-shadow: inset 0 1px 0 white, inset 0 -2px 0 rgb(35 61 111 / .1), 0 3px 10px rgb(9 19 35 / .19);
}
#site-content :is(.personal-index-with-icon, .apps-index-card):nth-child(even),
#site-content .gear-card-blue { --glass-edge: var(--brand-blue); }
#site-content .gear-card-gold { --glass-edge: var(--amber); }
#site-content .gear-card-white { --glass-edge: #dce4ec; }
#site-content .personal-footer-product { color: var(--brand-blue); }

#site-content :is(.br-app-store-link, .br-helper-download, .primary-action, .apps-download, .x2-private-download, .not-found-card .glass-control) {
  background-color: color-mix(in srgb, var(--brand-red) 84%, #761624);
  color: white;
}
#site-content .flume-download-button { background-color: rgb(255 157 0 / .94); color: #151515; }
#site-content .pets-bundle { background-color: var(--amber); color: var(--mission); }
#site-content :is(.blog-callout, .pet-card-copy) .glass-control {
  padding: 10px 15px;
  min-height: 44px;
  align-items: center;
  width: fit-content;
}
#site-content .blog-callout .glass-control { background-color: rgb(18 54 47 / .86); color: #baf1db; }
#site-content .pet-card-copy .glass-control { background-color: #dae8f0; color: #102d44; }
#site-content [data-glass-surface="dark"] button[aria-pressed="true"] {
  border-color: #8ed6be;
  box-shadow: inset 0 -2px 0 #8ed6be, inset 0 1px 0 rgb(255 255 255 / .24);
}
a.download.glass-control { background-color: var(--glass-fill); color: var(--glass-ink); }

@media (hover: hover) and (pointer: fine) {
  :is(#site-content button, #site-content .glass-control, a.glass-control):not(:disabled):hover {
    border-color: currentColor;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 4px 16px rgb(23 47 78 / .22);
  }
}
:is(#site-content button, #site-content .glass-control, a.glass-control):focus-visible {
  outline: 3px solid #379fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #07131c;
}
:is(#site-content button, #site-content .glass-control, a.glass-control):not(:disabled):active {
  box-shadow: inset 0 2px 4px rgb(15 37 64 / .24);
}
#site-content button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  :is(#site-content button, #site-content .glass-control, a.glass-control) { transition: none; }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  :is(#site-content button, #site-content .glass-control, a.glass-control) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-image: none;
  }
  #site-content :is(.personal-index-with-icon, .apps-index-card, .gear-card, .personal-footer-product) { background-color: white; }
  #site-content .blog-callout .glass-control { background-color: #12362f; }
}
