/*
 * ORBIT — Midnight Glass (Likes You + connected member profiles only)
 * No JS or Supabase changes. Deliberately scoped to these screens.
 * Loaded after legacy and Phase 1 theme rules.
 */
#likes-you,#member-profile{
 --midnight-glass:rgba(25,13,43,.33);
 --midnight-glass-soft:rgba(32,17,53,.23);
 --midnight-glass-elevated:rgba(29,16,49,.54);
 --midnight-stroke:rgba(243,210,168,.20);
 --midnight-text:#fff4fc;
 --midnight-muted:#e7d6ec;
 --midnight-gold:#f4d4a3;
}
#likes-you #likesInbox.likes-grid{
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:22px;
 align-items:start;
}
#likes-you #likesInbox .like-recipient{
 position:relative;
 isolation:isolate;
 overflow:hidden;
 padding:0!important;
 border:1px solid var(--midnight-stroke)!important;
 border-radius:24px!important;
 background:var(--midnight-glass)!important;
 background-image:none!important;
 box-shadow:0 16px 36px rgba(7,4,21,.18),inset 0 1px rgba(255,255,255,.06)!important;
 backdrop-filter:blur(16px) saturate(116%);
 -webkit-backdrop-filter:blur(16px) saturate(116%);
 color:var(--midnight-text)!important;
 transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
@media(hover:hover) and (pointer:fine){
 #likes-you #likesInbox .like-recipient:hover{
  transform:translateY(-3px);
  border-color:rgba(243,210,168,.39)!important;
  box-shadow:0 22px 50px rgba(7,4,21,.25),inset 0 1px rgba(255,255,255,.09)!important;
 }
}
#likes-you #likesInbox .like-preview-target.like-card-main{
 display:block;
 width:100%;
 max-width:none;
 overflow:hidden;
 position:relative;
 border:0;
 border-radius:0;
 background:rgba(23,12,44,.32)!important;
}
#likes-you #likesInbox .like-preview-target.like-card-main img,
#likes-you #likesInbox .like-preview-target.like-card-main .member-photo{
 display:block!important;
 width:100%!important;
 height:auto!important;
 aspect-ratio:4/4.5!important;
 object-fit:cover!important;
 border:0!important;
 border-radius:0!important;
 transition:transform .4s ease;
}
@media(hover:hover) and (pointer:fine){
 #likes-you #likesInbox .like-preview-target.like-card-main:hover img{transform:scale(1.025)}
}
#likes-you #likesInbox .like-preview-target.like-card-main .member-photo.fallback{
 aspect-ratio:4/4.5!important;
 display:grid!important;
 place-items:center;
 font:50px Georgia,serif;
 background:radial-gradient(circle at 50% 28%,#66447c,#291839 80%);
 color:#f7deaf!important;
}
#likes-you #likesInbox .like-card-badge{
 top:14px!important;left:14px!important;
 color:#fff3e4!important;-webkit-text-fill-color:#fff3e4!important;
 font:600 10px/1.3 'IBM Plex Mono',ui-monospace,monospace!important;
 letter-spacing:.08em;
 padding:7px 11px!important;
 border:1px solid rgba(255,236,200,.35)!important;
 border-radius:999px!important;
 background:rgba(25,13,43,.70)!important;
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
#likes-you #likesInbox .like-card-content{
 padding:20px 19px 21px!important;
 display:flex;flex-direction:column;gap:13px!important;
 background:linear-gradient(156deg,rgba(44,24,68,.26),rgba(17,10,33,.16))!important;
}
#likes-you #likesInbox .like-card-heading{width:100%;min-width:0}
#likes-you #likesInbox .like-card-heading strong{
 font:500 clamp(23px,2.5vw,29px)/1.13 'Bodoni Moda',Georgia,serif!important;
 color:var(--midnight-gold)!important;-webkit-text-fill-color:var(--midnight-gold)!important;
 letter-spacing:-.01em;
}
#likes-you #likesInbox .like-card-subline{
 display:block;
 color:var(--midnight-muted)!important;-webkit-text-fill-color:var(--midnight-muted)!important;
 font:500 12px/1.6 Inter,system-ui,sans-serif!important;
 margin-top:5px;
}
#likes-you #likesInbox .like-card-chips{gap:7px!important}
#likes-you #likesInbox .like-chip{
 max-width:100%;
 overflow:hidden;text-overflow:ellipsis;
 background:rgba(178,125,211,.14)!important;
 color:#f6e7f8!important;-webkit-text-fill-color:#f6e7f8!important;
 border:1px solid rgba(240,205,250,.26)!important;
 border-radius:999px!important;
 padding:7px 10px!important;
 font:500 11px/1.3 'IBM Plex Mono',ui-monospace,monospace!important;
}
#likes-you #likesInbox .like-card-target{
 display:flex;align-items:center;
 min-width:0;
 padding:11px 12px!important;
 gap:11px!important;
 background:rgba(179,127,203,.085)!important;
 background-image:none!important;
 border:1px solid rgba(233,204,244,.18)!important;
 border-radius:16px!important;
 box-shadow:none!important;
}
#likes-you #likesInbox .like-card-target>div:last-child{min-width:0}
#likes-you #likesInbox .like-card-target img,
#likes-you #likesInbox .like-target-mini{
 width:48px!important;height:55px!important;
 object-fit:cover;
 border-radius:10px!important;
 flex:0 0 auto;
 border:1px solid rgba(237,201,245,.18)!important;
}
#likes-you #likesInbox .like-target-mini{
 display:grid;place-items:center;
 background:rgba(126,81,159,.28)!important;
 color:#f3d7ba!important;-webkit-text-fill-color:#f3d7ba!important;
}
#likes-you #likesInbox .like-card-target .small{
 color:#e1cbe8!important;-webkit-text-fill-color:#e1cbe8!important;
 font:500 11px/1.4 Inter,system-ui,sans-serif!important;
}
#likes-you #likesInbox .like-card-target strong{
 color:#fff2fc!important;-webkit-text-fill-color:#fff2fc!important;
 display:block;
 font:600 12px/1.45 Inter,system-ui,sans-serif!important;
 overflow-wrap:anywhere;
}
#likes-you #likesInbox .like-card-comment{
 margin:0!important;
 background:rgba(15,9,32,.24)!important;
 background-image:none!important;
 border:1px solid rgba(240,205,244,.17)!important;
 border-radius:15px!important;
 padding:13px 14px!important;
 color:#f9e9f7!important;-webkit-text-fill-color:#f9e9f7!important;
 font:400 13px/1.65 Inter,system-ui,sans-serif!important;
 white-space:pre-wrap;
}
#likes-you #likesInbox .actions.like-card-actions{gap:10px!important;margin:4px 0 0!important}
#likes-you #likesInbox .actions.like-card-actions .btn{
 min-width:0!important;min-height:46px!important;
 padding:11px 12px!important;border-radius:13px!important;
 font:700 13px/1.3 Inter,system-ui,sans-serif!important;
}
#likes-you #likesInbox button.match-like{
 background:linear-gradient(125deg,#ffe4b0,#ebbc83)!important;
 border:1px solid rgba(255,225,178,.7)!important;
 color:#291b35!important;-webkit-text-fill-color:#291b35!important;
 box-shadow:0 5px 15px rgba(18,10,33,.13)!important;
}
#likes-you #likesInbox button.pass-like{
 min-width:0!important;
 background:rgba(120,78,145,.22)!important;
 border:1px solid rgba(240,205,250,.32)!important;
 color:#fff4fc!important;-webkit-text-fill-color:#fff4fc!important;
 box-shadow:none!important;
}
#likes-you #likesInbox button.pass-like:hover,
#likes-you #likesInbox button.pass-like:focus-visible{
 background:rgba(138,91,170,.4)!important;
 border-color:rgba(247,211,251,.58)!important;
}
#likes-you #likesInbox button:disabled{opacity:.55!important}
#likes-you #likesInbox .like-action-feedback{
 color:#ffe5ef!important;-webkit-text-fill-color:#ffe5ef!important;
 background:rgba(84,36,64,.65)!important;border:1px solid rgba(247,179,186,.25);
 border-radius:12px;font-size:12px;
}
#likes-you #likesInbox.likes-grid>.empty{
 color:#f6e6f6!important;
 background:var(--midnight-glass)!important;
 border:1px solid var(--midnight-stroke);
 backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
/* Existing preview dialog is also translucent, without changing its profile logic. */
#likesPreviewShade .like-preview-modal{
 background:rgba(25,13,42,.82)!important;
 border:1px solid var(--midnight-stroke,rgba(243,210,168,.2));
 backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
 box-shadow:0 24px 74px rgba(3,1,10,.43);
}
#likesPreviewShade .connected-profile-header{background:rgba(33,17,53,.55)!important}
#likesPreviewShade .preview-profile{background:rgba(30,16,49,.38)!important}
#likesPreviewShade .preview-bio,
#likesPreviewShade .preview-copy,
#likesPreviewShade .social-display{background:rgba(45,26,63,.25)!important}
/* Connected-member page: remove the flat purple fill between photo and information. */
#member-profile #memberProfileBody.preview-profile{
 background:rgba(16,9,32,.22)!important;
 border:1px solid rgba(240,208,173,.19)!important;
 box-shadow:0 20px 57px rgba(8,4,22,.17)!important;
 backdrop-filter:blur(20px) saturate(116%)!important;
 -webkit-backdrop-filter:blur(20px) saturate(116%)!important;
}
#member-profile #memberProfileBody .orbit-member-hero{
 background:radial-gradient(circle at 50% 36%,rgba(104,68,129,.68),rgba(19,10,35,.76))!important;
}
#member-profile #memberProfileBody .orbit-member-details{
 background:rgba(18,9,35,.12)!important;
 border-top:1px solid rgba(251,222,190,.10);
}
#member-profile #memberProfileBody .orbit-member-quick-facts{gap:9px;margin-bottom:32px}
#member-profile #memberProfileBody .orbit-member-chip{
 background:rgba(141,96,169,.12)!important;
 color:#f7eafa!important;-webkit-text-fill-color:#f7eafa!important;
 border:1px solid rgba(240,210,250,.23)!important;
 backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
#member-profile #memberProfileBody .orbit-member-story{
 padding:0 0 26px;
 margin-bottom:27px;
 border-bottom:1px solid rgba(242,208,165,.12);
}
#member-profile #memberProfileBody .orbit-member-prompt{
 background:rgba(36,20,58,.25)!important;
 border:1px solid rgba(242,208,165,.16)!important;
 backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
 box-shadow:inset 0 1px rgba(255,255,255,.025);
}
#member-profile #memberProfileBody .orbit-member-more{
 border-top:1px solid rgba(242,208,165,.14)!important;
}
#member-profile #memberProfileBody .orbit-member-extra-facts .tag{
 background:rgba(133,84,163,.16)!important;
 border:1px solid rgba(242,208,165,.18)!important;
 color:#f6eafa!important;-webkit-text-fill-color:#f6eafa!important;
}
#member-profile #memberProfileBody .member-compatibility{
 background:linear-gradient(130deg,rgba(52,29,77,.38),rgba(14,8,31,.23))!important;
 border-top:1px solid rgba(242,208,165,.19)!important;
 position:relative;isolation:isolate;
}
#member-profile #memberProfileBody .member-compatibility:after{
 content:'✦';position:absolute;right:7%;top:24%;color:rgba(249,212,163,.25);
 font:55px Georgia,serif;pointer-events:none;z-index:-1;
}
#member-profile .member-page-actions{
 background:rgba(17,9,35,.46)!important;
 border-color:rgba(245,210,170,.18)!important;
 backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
}
#member-profile #memberProfileBody .orbit-member-photo-bars span{background:rgba(255,255,255,.45)}
#member-profile #memberProfileBody .orbit-member-photo-bars span.is-active{background:#ffdfae}
#likes-you button:focus-visible,#member-profile button:focus-visible,
#member-profile #memberProfileBody summary:focus-visible,
#member-profile #memberProfileBody a:focus-visible{
 outline:2px solid #ffdda7!important;outline-offset:3px!important;
}
@media(min-width:701px) and (max-width:1000px){
 #likes-you #likesInbox.likes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 #likes-you #likesInbox.likes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #likes-you #likesInbox .like-card-content{padding:14px 13px 16px!important;gap:10px!important}
 #likes-you #likesInbox .like-card-heading strong{font-size:21px!important}
 #likes-you #likesInbox .like-chip{font-size:10px!important;padding:5px 8px!important}
 #likes-you #likesInbox .like-card-target{padding:9px!important;gap:7px!important}
 #likes-you #likesInbox .like-card-target img,#likes-you #likesInbox .like-target-mini{width:39px!important;height:45px!important}
 #likes-you #likesInbox .actions.like-card-actions .btn{min-height:43px!important;font-size:12px!important;padding:9px 6px!important}
 #member-profile #memberProfileBody .orbit-member-details{padding:23px 20px!important}
}
@media(max-width:520px){
 #likes-you #likesInbox.likes-grid{grid-template-columns:1fr;gap:18px;max-width:450px;margin-inline:auto}
 #likes-you #likesInbox .like-recipient{border-radius:24px!important}
 #likes-you #likesInbox .like-card-content{padding:20px 18px 22px!important}
 #likes-you #likesInbox .like-card-heading strong{font-size:27px!important}
 #likes-you #likesInbox .like-chip{font-size:11px!important}
 #likes-you #likesInbox .like-card-target img,#likes-you #likesInbox .like-target-mini{width:48px!important;height:55px!important}
 #member-profile #memberProfileBody.preview-profile{border-radius:21px!important}
}
@media(prefers-reduced-motion:reduce){
 #likes-you #likesInbox .like-recipient,
 #likes-you #likesInbox .like-preview-target.like-card-main img{transition:none!important}
}
@media(prefers-reduced-transparency:reduce){
 #likes-you #likesInbox .like-recipient,
 #member-profile #memberProfileBody.preview-profile{background:rgba(27,15,44,.94)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 #member-profile #memberProfileBody .orbit-member-details{background:rgba(27,15,44,.9)!important}
}


/* Correction: the previous solid-purple appearance came from legacy
   background-color !important declarations and heavy backdrop blur.
   These high-specificity background-color overrides intentionally resolve
   that cascade and leave the original star field readable through glass. */
html body #likes-you #likesInbox.likes-grid article.like-recipient,
html body .app #likes-you #likesInbox.likes-grid article.like-recipient{
 background:rgba(14,8,30,.14)!important;
 background-color:rgba(14,8,30,.14)!important;
 background-image:none!important;
 -webkit-backdrop-filter:blur(4px) saturate(108%)!important;
 backdrop-filter:blur(4px) saturate(108%)!important;
 border:1px solid rgba(245,214,172,.24)!important;
 box-shadow:0 16px 40px rgba(6,3,17,.16),inset 0 1px rgba(255,255,255,.06)!important;
}
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-content{
 background:rgba(20,11,39,.14)!important;
 background-color:rgba(20,11,39,.14)!important;
 background-image:none!important;
}
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-target{
 background:rgba(28,16,48,.20)!important;
 background-color:rgba(28,16,48,.20)!important;
}
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-comment{
 background:rgba(20,11,39,.26)!important;
 background-color:rgba(20,11,39,.26)!important;
}
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-heading strong{
 color:#f3d5ac!important;-webkit-text-fill-color:#f3d5ac!important;
}
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-subline,
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-target .small{
 color:#f0dfef!important;-webkit-text-fill-color:#f0dfef!important;
}
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-target strong{
 color:#fff5fc!important;-webkit-text-fill-color:#fff5fc!important;
}
html body #likes-you #likesInbox.likes-grid .like-recipient .like-card-comment{
 color:#fff2fb!important;-webkit-text-fill-color:#fff2fb!important;
}
/* Alerts remains a fully functioning dropdown, minus decorative chevrons.
   Standalone header nav and app header use the same global hook. */
.orbit-alert-chevron,
#notificationButton .orbit-alert-chevron,
#orbit-global-navigation .orbit-header-alerts .orbit-alert-chevron,
#orbit-global-navigation #orbitStandaloneAlerts .orbit-alert-chevron{
 display:none!important;
}
@media(prefers-reduced-transparency:reduce){
 html body #likes-you #likesInbox.likes-grid article.like-recipient,
 html body .app #likes-you #likesInbox.likes-grid article.like-recipient{
  background:rgba(24,14,43,.95)!important;
  background-color:rgba(24,14,43,.95)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
}
