/* Orbit | Consistent translucent controls
   Buttons only: no solid fills. Keep navigation positioning, photo thumbnails,
   chart drawings and avatar images untouched.
   The colour is derived from the approved Today's Sky plum surface. */
:root{
 --orbit-button-plum:rgba(91,39,82,.20);
 --orbit-button-plum-strong:rgba(111,55,107,.32);
 --orbit-button-plum-hover:rgba(126,66,123,.34);
 --orbit-button-line:rgba(241,203,134,.28);
 --orbit-button-gold:#f4dcad;
 --orbit-button-text:#f4e8f5;
 --orbit-button-danger:rgba(127,48,77,.18);
 --orbit-button-danger-line:rgba(247,171,185,.32);
}
/* Common interactive controls within real app content.
   Exclude sidebar/mobile navigation, media/photos, icon-only overlays and
   buttons specifically used to select/star a whole member picture. */
html body .app .main section.view button:not(.nav):not(.bottom button):not(.like-card-main):not(.like-preview-target):not(.orbit-profile-fold button):not(.gallery-slot-media button):not(:has(img)):not(:has(video)),
html body .app .main section.view a.btn:not(:has(img)),
html body .chart-app main button:not(.nav):not(:has(img)):not(:has(svg)),
html body .orbit-synastry-layout main button:not(.nav):not(:has(img)):not(:has(svg)),
html body .orbit-synastry-layout main a.btn:not(:has(img)),
html body .app .main section.view [role="button"]:not(:has(img)):not(:has(video)){
 background:var(--orbit-button-plum)!important;
 background-color:var(--orbit-button-plum)!important;
 background-image:none!important;
 border-color:var(--orbit-button-line)!important;
 box-shadow:none!important;
 -webkit-backdrop-filter:blur(5px);
 backdrop-filter:blur(5px);
}
/* Deliberate primary emphasis without any opaque purple or solid yellow. */
html body .app .main section.view :is(.btn:not(.secondary),.primary,.orbit-profile-save,button[type="submit"]):not(:has(img)),
html body .chart-app main :is(.button,.primary,button[type="submit"]):not(:has(img)),
html body .orbit-synastry-layout main :is(.btn:not(.alt),.primary,button[type="submit"]):not(:has(img)){
 background:var(--orbit-button-plum-strong)!important;
 background-color:var(--orbit-button-plum-strong)!important;
 background-image:none!important;
 border-color:rgba(241,203,134,.38)!important;
 box-shadow:none!important;
}
/* Soft secondary / back / skip / cancel. */
html body .app .main section.view :is(.btn.secondary,.secondary,.alt,[data-action="skip"],[data-action="pass"]):not(:has(img)),
html body .orbit-synastry-layout main :is(.btn.alt,.secondary,.alt):not(:has(img)),
html body .chart-app main :is(.secondary,.alt):not(:has(img)){
 background:rgba(91,39,82,.12)!important;
 background-color:rgba(91,39,82,.12)!important;
 background-image:none!important;
 border-color:rgba(241,203,134,.18)!important;
 box-shadow:none!important;
}
/* Destructive actions retain a meaningful muted rose hint. */
html body .app .main section.view :is(#removeProfilePhoto,#unpublish,button.danger,.danger,.delete,.remove):not(:has(img)),
html body .orbit-synastry-layout main :is(button.danger,.danger,.delete,.remove):not(:has(img)){
 background:var(--orbit-button-danger)!important;
 background-color:var(--orbit-button-danger)!important;
 background-image:none!important;
 border-color:var(--orbit-button-danger-line)!important;
 box-shadow:none!important;
}
/* Keep active filters legible and visibly selected; still translucent. */
html body .app .main section.view button:is(.active,[aria-pressed="true"],[aria-selected="true"]):not(.nav):not(:has(img)),
html body .chart-app main button:is(.active,[aria-pressed="true"],[aria-selected="true"]):not(:has(img)),
html body .orbit-synastry-layout main button:is(.active,[aria-pressed="true"],[aria-selected="true"]):not(:has(img)){
 background:rgba(123,69,128,.36)!important;
 background-color:rgba(123,69,128,.36)!important;
 background-image:none!important;
 border-color:rgba(241,203,134,.49)!important;
}
/* Interactive states, no solid-hover flash. */
@media(hover:hover){
 html body .app .main section.view button:not(.nav):not(.like-card-main):not(.like-preview-target):not(:has(img)):not(:disabled):hover,
 html body .app .main section.view a.btn:hover,
 html body .chart-app main button:not(.nav):not(:has(img)):not(:disabled):hover,
 html body .orbit-synastry-layout main button:not(.nav):not(:has(img)):not(:disabled):hover{
  background:var(--orbit-button-plum-hover)!important;
  background-color:var(--orbit-button-plum-hover)!important;
  background-image:none!important;
  border-color:rgba(241,203,134,.44)!important;
 }
}
html body .app .main section.view button:focus-visible,
html body .chart-app main button:focus-visible,
html body .orbit-synastry-layout main button:focus-visible{
 outline:2px solid var(--orbit-button-gold)!important;
 outline-offset:3px!important;
}
html body .app .main section.view button:disabled,
html body .chart-app main button:disabled,
html body .orbit-synastry-layout main button:disabled{
 opacity:.48!important;
 cursor:not-allowed!important;
}
/* Text and semantic buttons with existing text colours should stay readable.
   All other gold primary CTAs share champagne-gold ink. */
html body .app .main section.view :is(.btn:not(.secondary),.primary,button[type="submit"]):not(:has(img)),
html body .chart-app main :is(.button,.primary,button[type="submit"]):not(:has(img)),
html body .orbit-synastry-layout main :is(.btn:not(.alt),.primary,button[type="submit"]):not(:has(img)){
 color:var(--orbit-button-gold)!important;
 -webkit-text-fill-color:var(--orbit-button-gold)!important;
}
/* Profile controls have a dedicated size and hierarchy established already.
   Retain it; simply ensure no opaque backgrounds leak from legacy styles. */
html body .app #onboarding .profile-edit-preview-tabs > :is(.profile-tab-current,#openMyPreview),
html body .app #onboarding .photo-editor .actions > :is(#uploadProfilePhoto,#removeProfilePhoto){
 background-image:none!important;
 box-shadow:none!important;
}
/* Mobile nav and its active state are intentional controls; make its
   purple fill translucent but do not change layout or fixed positioning. */
@media(max-width:700px){
 html body .app nav#mobileNav.bottom button.nav.active,
 html body .chart-app ~ nav.chart-mobile-bottom a.active{
  background:rgba(111,55,107,.36)!important;
  background-image:none!important;
 }
}
/* Lightweight accounts / test pages also use translucency rather than
   solid button fills; inherit their own foreground text on light pages. */
html body:has(> .panel) :is(button.primary,button.secondary),
html body:has(> .wrap) :is(button,.btn),
html body:has(> main) :is(button.primary,button.secondary,button.btn):not(:has(img)),
html body:has(> .card) button:not(:has(img)){
 background:rgba(107,61,132,.22)!important;
 background-image:none!important;
 border-color:rgba(169,122,187,.39)!important;
 box-shadow:none!important;
}

/* Dialogs, popovers, inbox overlays and member preview actions live outside
   section.view, so they need the same finish too. Exclude photo-backed tiles. */
html body .app :is(dialog,.modal,.modal-shade,.orbit-modal,.orbit-dialog,.like-preview-modal) :is(button,.btn,a.btn,[role="button"]):not(.nav):not(:has(img)):not(:has(video)):not(.like-card-main):not(.like-preview-target),
html body .chart-app :is(dialog,.modal,.orbit-modal,.orbit-dialog) :is(button,.btn,a.btn,[role="button"]):not(:has(img)):not(:has(video)),
html body .orbit-synastry-layout :is(dialog,.modal,.orbit-modal,.orbit-dialog) :is(button,.btn,a.btn,[role="button"]):not(:has(img)):not(:has(video)){
 background:rgba(91,39,82,.20)!important;
 background-color:rgba(91,39,82,.20)!important;
 background-image:none!important;
 border-color:rgba(241,203,134,.28)!important;
 box-shadow:none!important;
}
/* Header utility icons are intentionally unboxed across Orbit. */
html body #orbit-global-navigation :is(.orbit-header-alerts,.orbit-account-trigger,#notificationButton){
 background:transparent!important;
 background-color:transparent!important;
 background-image:none!important;
 box-shadow:none!important;
}
/* Small connected-profile actions may be inserted in a body-level preview. */
html body :is(#likesPreviewShade,#memberProfileBody,#likeProfileBody,#myPreviewBody) :is(.btn,button.primary,button.secondary):not(:has(img)){
 background:rgba(91,39,82,.20)!important;
 background-image:none!important;
 border-color:rgba(241,203,134,.28)!important;
 box-shadow:none!important;
}


/* Mobile actions: older page styles assigned opaque purple and gold
   backgrounds, most visibly to Messages > Send. This shared layer applies
   the same transparent plum hierarchy on phones and small tablets, while
   leaving navigation, the notification icons, image tiles and chart glyphs
   alone. */
@media(max-width:760px){
  html body .app .main section.view :is(
    button.btn,button.primary,button.secondary,button.alt,
    button[type="submit"],a.btn,.orbit-chat-action,
    .orbit-discover-navigation > button,.orbit-message-snippet
  ):not(.nav):not(:has(img)):not(:has(video)),
  html body .chart-app main :is(button.button,button.btn,button.primary,button.secondary,button[type="submit"]):not(.nav):not(:has(img)):not(:has(svg)),
  html body .orbit-synastry-layout main :is(button.btn,button.button,button.primary,button.secondary,button[type="submit"]):not(.nav):not(:has(img)):not(:has(svg)){
    background:rgba(91,39,82,.20)!important;
    background-color:rgba(91,39,82,.20)!important;
    background-image:none!important;
    border-color:rgba(241,203,134,.28)!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:blur(5px)!important;
    backdrop-filter:blur(5px)!important;
  }
  /* Translucent gold-accented submit controls; no flat beige rectangle. */
  html body .app .main section.view :is(button.btn[type="submit"],button.primary,button.orbit-profile-save):not(:has(img)),
  html body .app #messages #realMessageApp.orbit-messenger #realMessageForm.message-send > button[type="submit"],
  html body .chart-app main :is(button.button,button.primary,button[type="submit"]):not(:has(img)),
  html body .orbit-synastry-layout main :is(button.btn:not(.alt),button.primary,button[type="submit"]):not(:has(img)){
    background:rgba(111,55,107,.32)!important;
    background-color:rgba(111,55,107,.32)!important;
    background-image:none!important;
    color:#f4dcad!important;
    -webkit-text-fill-color:#f4dcad!important;
    border:1px solid rgba(241,203,134,.38)!important;
    box-shadow:none!important;
  }
  /* A disabled Send button must not look opaque or invite a tap. */
  html body .app #messages #realMessageApp.orbit-messenger #realMessageForm.message-send > button[type="submit"]:disabled{
    background:rgba(91,39,82,.12)!important;
    background-color:rgba(91,39,82,.12)!important;
    background-image:none!important;
    color:rgba(244,220,173,.52)!important;
    -webkit-text-fill-color:rgba(244,220,173,.52)!important;
    border:1px solid rgba(241,203,134,.16)!important;
    opacity:1!important;
    box-shadow:none!important;
  }
  html body .app #messages #realMessageApp.orbit-messenger #realMessageForm.message-send > button[type="submit"]:not(:disabled):hover{
    background:rgba(126,66,123,.34)!important;
    background-color:rgba(126,66,123,.34)!important;
  }
  /* Keep the chat back chevron light and borderless, matching an icon control. */
  html body .app #messages #orbitChatBack.orbit-chat-back{
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border:0!important;
    color:#f4e8f5!important;
    -webkit-text-fill-color:#f4e8f5!important;
    box-shadow:none!important;
    cursor:pointer!important;
  }
  /* Destructive actions remain subtly rose rather than opaque. */
  html body .app #onboarding :is(#removeProfilePhoto,#unpublish){
    background:rgba(127,48,77,.18)!important;
    background-color:rgba(127,48,77,.18)!important;
    border-color:rgba(247,171,185,.32)!important;
  }
}


/* Account, Dating Preferences, Likes You: final control parity for mobile,
   with the same elegant translucent states on desktop. Use narrow scoped
   selectors to beat the old opaque #account and #likes-you styles without
   affecting photo cards, form fields, checkboxes or site navigation. */
html body .app .main section.view#account .account-panel button.btn,
html body .app .main section.view#preferences .dating-preferences-panel button.btn,
html body .app .main section.view#likes-you #likesInbox .like-recipient .actions button.btn,
html body .app .main section.view#like-profile :is(button.btn,.actions button.btn) {
  -webkit-appearance:none!important;
  appearance:none!important;
  background:rgba(91,39,82,.20)!important;
  background-color:rgba(91,39,82,.20)!important;
  background-image:none!important;
  border:1px solid rgba(241,203,134,.28)!important;
  border-radius:12px!important;
  box-shadow:none!important;
  color:#f4e8f5!important;
  -webkit-text-fill-color:#f4e8f5!important;
  text-shadow:none!important;
  opacity:1!important;
  font:600 12px/1.35 Inter,system-ui,sans-serif!important;
  min-height:42px!important;
  padding:10px 14px!important;
  -webkit-backdrop-filter:blur(5px)!important;
  backdrop-filter:blur(5px)!important;
}
html body .app .main section.view#account .account-panel button.btn:not(.secondary),
html body .app .main section.view#preferences .dating-preferences-panel button.btn:not(.secondary),
html body .app .main section.view#likes-you #likesInbox .like-recipient .actions button.match-like {
  background:rgba(111,55,107,.32)!important;
  background-color:rgba(111,55,107,.32)!important;
  border-color:rgba(241,203,134,.38)!important;
  color:#f4dcad!important;
  -webkit-text-fill-color:#f4dcad!important;
}
html body .app .main section.view#account .account-panel button.btn.secondary,
html body .app .main section.view#preferences .dating-preferences-panel button.btn.secondary,
html body .app .main section.view#likes-you #likesInbox .like-recipient .actions button.pass-like {
  background:rgba(91,39,82,.12)!important;
  background-color:rgba(91,39,82,.12)!important;
  border:1px solid rgba(241,203,134,.20)!important;
  color:#f4e8f5!important;
  -webkit-text-fill-color:#f4e8f5!important;
}
/* Keep positive and dismissive actions equally easy to tap on phones. */
html body .app .main section.view#likes-you #likesInbox .like-recipient .actions.like-card-actions {
  display:flex!important;
  align-items:stretch!important;
  gap:8px!important;
}
html body .app .main section.view#likes-you #likesInbox .like-recipient .actions.like-card-actions > button.btn {
  flex:1 1 0!important;
  min-width:0!important;
}
/* Labels are preference selectors too, not flat lavender pills. Preserve
   their native checkboxes, keyboard behaviour and their checked state. */
html body .app .main section.view#preferences .dating-genders label {
  background:rgba(91,39,82,.14)!important;
  background-color:rgba(91,39,82,.14)!important;
  background-image:none!important;
  border:1px solid rgba(241,203,134,.22)!important;
  box-shadow:none!important;
  color:#f4e8f5!important;
  -webkit-text-fill-color:#f4e8f5!important;
  border-radius:999px!important;
  min-height:43px!important;
  cursor:pointer;
  -webkit-backdrop-filter:blur(5px)!important;
  backdrop-filter:blur(5px)!important;
}
html body .app .main section.view#preferences .dating-genders label:has(input:checked) {
  background:rgba(111,55,107,.30)!important;
  background-color:rgba(111,55,107,.30)!important;
  border-color:rgba(241,203,134,.46)!important;
  color:#f4dcad!important;
  -webkit-text-fill-color:#f4dcad!important;
}
html body .app .main section.view#preferences .dating-genders label:focus-within {
  outline:2px solid #f4dcad!important;
  outline-offset:3px!important;
}
html body .app .main section.view#likes-you #likesInboxFeedback:not(:empty),
html body .app .main section.view#likes-you #likesInbox .like-action-feedback:not(:empty) {
  background:rgba(91,39,82,.20)!important;
  background-color:rgba(91,39,82,.20)!important;
  border:1px solid rgba(241,203,134,.18)!important;
  color:#f4e8f5!important;
  -webkit-text-fill-color:#f4e8f5!important;
  box-shadow:none!important;
}
@media(hover:hover) {
  html body .app .main section.view#account .account-panel button.btn:not(:disabled):hover,
  html body .app .main section.view#preferences .dating-preferences-panel button.btn:not(:disabled):hover,
  html body .app .main section.view#likes-you #likesInbox .like-recipient .actions button.btn:not(:disabled):hover,
  html body .app .main section.view#preferences .dating-genders label:hover {
    background:rgba(126,66,123,.34)!important;
    background-color:rgba(126,66,123,.34)!important;
    border-color:rgba(241,203,134,.45)!important;
  }
}
html body .app .main section.view#account .account-panel button.btn:disabled,
html body .app .main section.view#preferences .dating-preferences-panel button.btn:disabled,
html body .app .main section.view#likes-you #likesInbox .like-recipient .actions button.btn:disabled {
  opacity:.45!important;
  cursor:not-allowed!important;
}
@media(max-width:760px) {
  html body .app .main section.view#account .account-panel .actions,
  html body .app .main section.view#preferences .dating-preferences-panel .actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:9px!important;
  }
  html body .app .main section.view#account .account-panel button.btn,
  html body .app .main section.view#preferences .dating-preferences-panel button.btn,
  html body .app .main section.view#likes-you #likesInbox .like-recipient .actions button.btn{
    min-height:44px!important;
    padding:11px 13px!important;
    font-size:12px!important;
  }
}
