/* ============================================================
   MIDNIGHT AURORA — MEMORIES MOBILE
   Mirrors the Home-page Midnight treatment using final-loaded
   Memories-specific overrides.
   ============================================================ */
@media (max-width:759px){

  html[data-fb-visual-theme="midnight-aurora"] .memories-page{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 0 18px!important;
  }

  /* Scenic Memories heading panel */
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head{
    position:relative!important;
    overflow:hidden!important;
    isolation:isolate!important;
    margin:0 0 12px!important;
    padding:15px 14px!important;
    border-radius:18px!important;
    background:
      linear-gradient(145deg,rgba(3,11,28,.36),rgba(4,13,31,.52),rgba(3,10,26,.72)),
      url("../assets/midnight-aurora-alpine.webp") 76% 24%/155% auto no-repeat!important;
    border:1px solid rgba(79,230,255,.34)!important;
    border-left:2px solid rgba(168,85,247,.78)!important;
    box-shadow:
      -4px 0 16px rgba(139,92,246,.20),
      0 14px 30px rgba(0,0,0,.26),
      0 0 18px rgba(34,211,238,.08),
      inset 0 1px 0 rgba(255,255,255,.045)!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
    background:
      radial-gradient(48% 100% at 86% 0%,rgba(34,211,238,.12),transparent 68%),
      radial-gradient(42% 90% at 4% 8%,rgba(168,85,247,.10),transparent 72%);
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head>*{
    position:relative!important;
    z-index:1!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head .eyebrow{
    color:#7dd3fc!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head h1{
    color:#f2f7ff!important;
    text-shadow:0 0 14px rgba(34,211,238,.08);
  }
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head p{
    color:#b7c5da!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-head-actions button{
    background:linear-gradient(145deg,rgba(6,19,40,.86),rgba(17,25,55,.68))!important;
    border:1px solid rgba(92,224,255,.20)!important;
    color:#dffbff!important;
    box-shadow:
      0 0 12px rgba(34,211,238,.07),
      inset 0 1px 0 rgba(255,255,255,.04)!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-head-actions button svg{
    color:#8ff5ff!important;
    filter:drop-shadow(0 0 5px rgba(34,211,238,.25));
  }

  /* Search/filter container */
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-filter-panel{
    position:relative!important;
    overflow:hidden!important;
    margin:0 0 13px!important;
    padding:10px!important;
    border-radius:17px!important;
    background:
      linear-gradient(90deg,rgba(4,14,33,.74),rgba(6,18,39,.54),rgba(5,14,34,.68)),
      url("../assets/midnight-aurora-alpine.webp") 46% 10%/185% auto no-repeat!important;
    border:1px solid rgba(80,227,255,.30)!important;
    box-shadow:
      0 11px 26px rgba(0,0,0,.24),
      0 0 16px rgba(34,211,238,.07),
      inset 0 1px 0 rgba(255,255,255,.035)!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-search-box{
    min-height:44px!important;
    border-radius:13px!important;
    background:rgba(4,14,32,.72)!important;
    border:1px solid rgba(98,224,255,.17)!important;
    color:#9defff!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-search-box svg{
    color:#8ff5ff!important;
    filter:drop-shadow(0 0 5px rgba(34,211,238,.24));
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-search-box input{
    color:#e8f5ff!important;
    background:transparent!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-search-box input::placeholder{
    color:#8fa3bc!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-filter-toggle{
    min-width:46px!important;
    border-radius:12px!important;
    background:linear-gradient(145deg,rgba(8,23,47,.90),rgba(25,25,66,.72))!important;
    border:1px solid rgba(106,228,255,.22)!important;
    color:#8ff5ff!important;
    box-shadow:
      0 0 13px rgba(34,211,238,.08),
      inset 0 1px 0 rgba(255,255,255,.04)!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-filter-toggle svg{
    filter:
      drop-shadow(0 0 5px rgba(34,211,238,.28))
      drop-shadow(0 0 8px rgba(139,92,246,.10));
  }

  /* Outer Memories library container — scenic, cards remain photo-focused. */
  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-gallery{
    position:relative!important;
    overflow:hidden!important;
    isolation:isolate!important;
    margin:0!important;
    padding:12px!important;
    border-radius:18px!important;
    background:
      linear-gradient(180deg,rgba(3,12,29,.34) 0%,rgba(3,12,29,.56) 28%,rgba(3,10,26,.82) 100%),
      url("../assets/midnight-aurora-alpine.webp") 80% 58%/155% auto no-repeat!important;
    border:1px solid rgba(77,228,255,.30)!important;
    box-shadow:
      0 16px 34px rgba(0,0,0,.28),
      0 0 18px rgba(34,211,238,.08),
      inset 0 1px 0 rgba(255,255,255,.04)!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-gallery::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:220px;
    pointer-events:none;
    z-index:0;
    background:
      linear-gradient(180deg,rgba(3,10,25,.02),rgba(3,11,27,.18) 46%,rgba(3,11,27,.72) 100%),
      url("../assets/midnight-aurora-alpine.webp") 84% 64%/cover no-repeat;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-gallery>*{
    position:relative!important;
    z-index:1!important;
  }

  /* Memory cards themselves stay clean/dark, not scenic. */
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-card{
    background:rgba(4,14,31,.94)!important;
    background-image:none!important;
    border:1px solid rgba(91,218,255,.15)!important;
    box-shadow:
      0 10px 24px rgba(0,0,0,.22),
      inset 0 1px 0 rgba(255,255,255,.02)!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-card-copy strong{
    color:#eff7ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-card-copy small,
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-card-tags{
    color:#a9b9cd!important;
  }

  /* Empty / loading states also sit in Midnight glass. */
  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-library-loading,
  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-empty-state,
  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-filter-empty,
  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-error{
    border-radius:18px!important;
    background:
      linear-gradient(180deg,rgba(4,14,33,.72),rgba(3,11,28,.86)),
      url("../assets/midnight-aurora-alpine.webp") 80% 54%/160% auto no-repeat!important;
    border:1px solid rgba(78,226,255,.26)!important;
    color:#dcecff!important;
  }

  /* Bottom-sheet filters inherit Midnight styling too. */
  html[data-fb-visual-theme="midnight-aurora"] .memory-filter-sheet-card{
    background:
      linear-gradient(180deg,rgba(5,15,34,.97),rgba(3,11,27,.98))!important;
    border:1px solid rgba(86,225,255,.20)!important;
    box-shadow:0 -18px 45px rgba(0,0,0,.42)!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memory-filter-sheet-head h2{
    color:#eef7ff!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memory-filter-close,
  html[data-fb-visual-theme="midnight-aurora"] .memory-filter-sheet select,
  html[data-fb-visual-theme="midnight-aurora"] .memory-clear-filters{
    background:#071429!important;
    border-color:rgba(90,219,255,.18)!important;
    color:#dcecff!important;
  }
}


/* ============================================================
   MIDNIGHT AURORA — MEMORIES FULL PAGE BACKGROUND
   Same portrait aurora scene used on Home.
   ============================================================ */
@media (max-width:759px){
  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.memories-page){
    position:relative!important;
    isolation:isolate!important;
    background:
      linear-gradient(180deg,
        rgba(2,7,20,.28) 0%,
        rgba(2,8,22,.48) 28%,
        rgba(2,8,21,.70) 62%,
        rgba(2,7,19,.88) 100%),
      url("../assets/midnight-aurora-widget-flow.webp") center top/100% auto repeat-y!important;
    background-color:#020814!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.memories-page)::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
    background:
      radial-gradient(52% 30% at 86% 8%,rgba(34,211,238,.10),transparent 72%),
      radial-gradient(44% 28% at 5% 15%,rgba(168,85,247,.10),transparent 74%);
  }

  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.memories-page)>.memories-page{
    position:relative!important;
    z-index:1!important;
    background:transparent!important;
  }

  /* Let the background connect visually through the larger Memories panels. */
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head,
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-filter-panel,
  html[data-fb-visual-theme="midnight-aurora"] .memories-page #memoryLibrary.memory-gallery{
    background-color:rgba(3,12,29,.56)!important;
    backdrop-filter:blur(8px) saturate(112%)!important;
    -webkit-backdrop-filter:blur(8px) saturate(112%)!important;
  }

  /* Individual memories remain clean and photo-focused. */
  html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-card{
    background:rgba(4,14,31,.94)!important;
    background-image:none!important;
  }
}


/* Midnight Aurora — Memories sub-pages: detail, albums and editor */
@media(max-width:759px){
  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.memory-detail-page),
  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.memory-editor-page),
  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.albums-page),
  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.album-editor-page),
  html[data-fb-visual-theme="midnight-aurora"] #screen:has(.album-detail-page){
    background:linear-gradient(180deg,rgba(2,7,20,.30),rgba(2,8,22,.58) 42%,rgba(2,7,19,.90)),url("../assets/midnight-aurora-widget-flow.webp") center top/100% auto repeat-y!important;
    background-color:#020814!important;
    color:#eef7ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-page,
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page,
  html[data-fb-visual-theme="midnight-aurora"] .albums-page,
  html[data-fb-visual-theme="midnight-aurora"] .album-editor-page,
  html[data-fb-visual-theme="midnight-aurora"] .album-detail-page{color:#eef7ff!important}
  html[data-fb-visual-theme="midnight-aurora"] :is(.memory-detail-page,.memory-editor-page,.album-editor-page,.album-detail-page)>.back-link{
    color:#7dd3fc!important;
  }

  /* Memory detail */
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-copy{
    background:linear-gradient(145deg,rgba(4,14,31,.94),rgba(8,18,42,.91))!important;
    border-color:rgba(90,219,255,.18)!important;
    color:#eef7ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-head h1{color:#f4f8ff!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-date,
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-author small{color:#a9b9cd!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-author strong{color:#f4f8ff!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-edit-action,
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-more-button{
    background:#071429!important;border-color:rgba(90,219,255,.20)!important;color:#8ff5ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-intro,
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished>.memory-detail-gallery+.memory-detail-copy>.reaction-bar{border-color:rgba(103,232,249,.12)!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-add-caption,
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-story{
    background:rgba(5,18,36,.76)!important;border-color:rgba(103,232,249,.18)!important;color:#dff8ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-add-caption small,
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-story p{color:#a9b9cd!important}

  /* Albums */
  html[data-fb-visual-theme="midnight-aurora"] .albums-head{
    position:relative!important;overflow:hidden!important;border-radius:18px!important;padding:15px 14px!important;
    background:linear-gradient(145deg,rgba(3,11,28,.42),rgba(4,13,31,.60)),url("../assets/midnight-aurora-alpine.webp") 76% 24%/155% auto no-repeat!important;
    border:1px solid rgba(79,230,255,.32)!important;border-left:2px solid rgba(168,85,247,.74)!important;
    box-shadow:-4px 0 15px rgba(139,92,246,.16),0 13px 28px rgba(0,0,0,.25)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .albums-head .eyebrow{color:#7dd3fc!important}
  html[data-fb-visual-theme="midnight-aurora"] .albums-head h1{color:#f4f8ff!important}
  html[data-fb-visual-theme="midnight-aurora"] .albums-head p{color:#b8c6da!important}
  html[data-fb-visual-theme="midnight-aurora"] .album-empty-state,
  html[data-fb-visual-theme="midnight-aurora"] .album-card{
    background:linear-gradient(145deg,rgba(4,14,31,.92),rgba(8,18,42,.88))!important;
    border-color:rgba(90,219,255,.18)!important;color:#eef7ff!important;
    box-shadow:0 11px 25px rgba(0,0,0,.23)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .album-empty-state h2,
  html[data-fb-visual-theme="midnight-aurora"] .album-card strong{color:#f4f8ff!important}
  html[data-fb-visual-theme="midnight-aurora"] .album-empty-state p,
  html[data-fb-visual-theme="midnight-aurora"] .album-card small{color:#a9b9cd!important}
  html[data-fb-visual-theme="midnight-aurora"] .albums-page .primary,
  html[data-fb-visual-theme="midnight-aurora"] .album-editor-page .primary{
    background:linear-gradient(105deg,#16bfe2 0%,#3b82f6 52%,#7c3aed 100%)!important;color:#fff!important;
  }

  /* Add/edit memory and album editor cards */
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-card,
  html[data-fb-visual-theme="midnight-aurora"] .album-editor-card{
    background:linear-gradient(145deg,rgba(4,14,31,.94),rgba(8,18,42,.90))!important;
    border-color:rgba(90,219,255,.18)!important;color:#eef7ff!important;
    box-shadow:0 12px 28px rgba(0,0,0,.25)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title .eyebrow,
  html[data-fb-visual-theme="midnight-aurora"] .album-editor-heading .eyebrow{color:#7dd3fc!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title h1,
  html[data-fb-visual-theme="midnight-aurora"] .album-editor-heading h1{color:#f4f8ff!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title p,
  html[data-fb-visual-theme="midnight-aurora"] .album-editor-heading p{color:#b8c6da!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-photo-preview,
  html[data-fb-visual-theme="midnight-aurora"] .album-upload-panel{
    background:rgba(4,14,31,.72)!important;border-color:rgba(103,232,249,.20)!important;color:#dff8ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] :is(.memory-editor-page,.album-editor-page) input,
  html[data-fb-visual-theme="midnight-aurora"] :is(.memory-editor-page,.album-editor-page) textarea,
  html[data-fb-visual-theme="midnight-aurora"] :is(.memory-editor-page,.album-editor-page) select{
    background:#071429!important;border-color:rgba(90,219,255,.20)!important;color:#eaf8ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] :is(.memory-editor-page,.album-editor-page) .secondary{
    background:#071429!important;border-color:rgba(90,219,255,.20)!important;color:#dff8ff!important;
  }
}


/* Midnight Memory detail — sectional layout matching final concept */
@media(max-width:759px){
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-head,
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-intro{
    background:linear-gradient(145deg,rgba(4,14,31,.76),rgba(7,22,48,.76)),url("../assets/midnight-aurora-alpine.webp") 72% 48%/cover no-repeat!important;
    border:1px solid rgba(90,219,255,.22)!important;
    border-left:2px solid rgba(168,85,247,.60)!important;
    border-radius:16px!important;
    padding:13px!important;
    box-shadow:0 9px 22px rgba(0,0,0,.20)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-intro{
    margin-top:-7px!important;
    align-items:center!important;
    flex-direction:row!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-author>img{
    width:48px!important;height:48px!important;
    border:2px solid rgba(103,232,249,.45)!important;
    box-shadow:0 0 14px rgba(34,211,238,.14)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-author>span{
    width:48px!important;height:48px!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-add-caption{
    min-height:76px!important;
    padding:14px!important;
    border:1px dashed rgba(56,189,248,.46)!important;
    border-left:2px solid rgba(168,85,247,.62)!important;
    background:linear-gradient(135deg,rgba(3,17,38,.90),rgba(8,28,58,.78))!important;
    box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-add-caption>svg{
    width:27px!important;height:27px!important;color:#67e8f9!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-tags>div{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-tags button{
    width:100%!important;
    min-height:54px!important;
    padding:7px 12px 7px 7px!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) 18px!important;
    align-items:center!important;
    gap:10px!important;
    text-align:left!important;
    border-radius:15px!important;
    background:linear-gradient(145deg,rgba(4,16,35,.92),rgba(7,27,54,.86))!important;
    border:1px solid rgba(90,219,255,.22)!important;
    border-left:2px solid rgba(168,85,247,.56)!important;
    color:#f4f8ff!important;
    box-shadow:0 7px 18px rgba(0,0,0,.17)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-tags img,
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-tags b{
    width:40px!important;height:40px!important;border-radius:50%!important;
    object-fit:cover!important;border:1px solid rgba(103,232,249,.32)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-tags strong{
    font-size:.78rem!important;color:#f4f8ff!important;
  }

  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-details{
    position:relative!important;overflow:hidden!important;
    margin-top:15px!important;padding:16px!important;
    border:1px solid rgba(103,232,249,.34)!important;
    border-left:2px solid rgba(168,85,247,.74)!important;
    border-radius:18px!important;
    background:
      linear-gradient(90deg,rgba(2,12,29,.90),rgba(3,17,38,.70)),
      url("../assets/midnight-aurora-alpine.webp") 70% 58%/cover no-repeat!important;
    box-shadow:0 12px 27px rgba(0,0,0,.26),0 0 18px rgba(34,211,238,.07)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-title,
  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-title strong,
  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid strong{color:#f4f8ff!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-title svg,
  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid>div>svg,
  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid a{color:#67e8f9!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid small{color:#a9b9cd!important}

  /* People selector in Add/Edit Memory: same individual glass-row treatment. */
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-people-list label,
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .people-picker label,
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-person-option{
    background:linear-gradient(145deg,rgba(4,16,35,.92),rgba(7,27,54,.86))!important;
    border-color:rgba(90,219,255,.20)!important;
    color:#eef7ff!important;
  }
}


/* Midnight Add Memory — actual Tag people fieldset/classes */
@media(max-width:759px){
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tags{
    margin-top:14px!important;
    padding:14px 12px 12px!important;
    border:1px solid rgba(103,232,249,.25)!important;
    border-left:2px solid rgba(168,85,247,.62)!important;
    border-radius:17px!important;
    background:linear-gradient(145deg,rgba(3,14,32,.90),rgba(8,21,45,.88))!important;
    box-shadow:0 10px 24px rgba(0,0,0,.21)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tags legend{
    padding:0 6px!important;color:#f4f8ff!important;font-weight:850!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tags>p{color:#a9b9cd!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-group>strong{color:#7dd3fc!important}
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:8px!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-choice{
    min-height:54px!important;
    padding:7px 10px!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) 22px!important;
    align-items:center!important;gap:10px!important;
    border-radius:14px!important;
    background:linear-gradient(145deg,rgba(4,16,35,.94),rgba(7,27,54,.88))!important;
    border:1px solid rgba(90,219,255,.21)!important;
    border-left:2px solid rgba(168,85,247,.50)!important;
    color:#f4f8ff!important;
    box-shadow:0 6px 16px rgba(0,0,0,.15)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-choice:has(input:checked){
    background:linear-gradient(145deg,rgba(7,31,57,.96),rgba(37,27,82,.90))!important;
    border-color:rgba(103,232,249,.48)!important;
    box-shadow:0 0 0 1px rgba(139,92,246,.16),0 7px 18px rgba(0,0,0,.18)!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-avatar{
    width:40px!important;height:40px!important;border-radius:50%!important;
    display:grid!important;place-items:center!important;overflow:hidden!important;
    background:linear-gradient(135deg,rgba(34,211,238,.16),rgba(139,92,246,.22))!important;
    border:1px solid rgba(103,232,249,.30)!important;color:#eaf8ff!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-avatar img{
    width:100%!important;height:100%!important;object-fit:cover!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-choice>span:nth-of-type(2){
    color:#f4f8ff!important;font-weight:800!important;
  }
  html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page .memory-tag-choice>i{color:#67e8f9!important}
}

/* ============================================================
   MIDNIGHT AURORA — MEMORIES DESKTOP
   Desktop counterpart to the finished mobile Memories theme.
   ============================================================ */
@media (min-width:760px){
 html[data-fb-visual-theme="midnight-aurora"] #screen:has(.memories-page){
   background:linear-gradient(180deg,rgba(2,7,20,.22),rgba(2,8,22,.54) 55%,rgba(2,7,19,.82)),url("../assets/midnight-aurora-widget-flow.webp") center top/100% auto repeat-y!important;
   background-color:#020814!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memories-page{color:#eef7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page .memories-head{
   position:relative;overflow:hidden;padding:18px 20px;border-radius:20px;
   background:linear-gradient(105deg,rgba(3,12,31,.72),rgba(5,18,42,.48)),url("../assets/midnight-aurora-alpine.webp") center 38%/cover no-repeat!important;
   border:1px solid rgba(79,230,255,.28)!important;border-left:2px solid rgba(168,85,247,.72)!important;
   box-shadow:0 15px 34px rgba(0,0,0,.25),0 0 22px rgba(34,211,238,.07)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memories-head .eyebrow{color:#7dd3fc!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-head h1{color:#f2f7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-head p{color:#b7c5da!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-head-actions .secondary{background:rgba(5,18,39,.82)!important;border-color:rgba(91,218,255,.28)!important;color:#e4f8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-head-actions .primary{background:linear-gradient(105deg,#16bfe2,#3b82f6 52%,#7c3aed)!important;border-color:rgba(116,231,255,.45)!important;color:#fff!important;box-shadow:0 0 22px rgba(34,211,238,.18)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-filter-panel{
   background:linear-gradient(100deg,rgba(3,15,33,.90),rgba(7,20,43,.78))!important;
   border:1px solid rgba(78,226,255,.26)!important;border-left:2px solid rgba(168,85,247,.55)!important;
   box-shadow:0 12px 28px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.035)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-search-box{background:#061329!important;border-color:rgba(90,219,255,.23)!important;color:#8ff5ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-search-box input{background:transparent!important;color:#edf8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-search-box input::placeholder{color:#8297b3!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-filter-toggle{background:linear-gradient(145deg,rgba(7,23,48,.92),rgba(26,26,67,.76))!important;border-color:rgba(103,232,249,.26)!important;color:#dffaff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-filter-toggle svg,.memories-page .memory-search-box svg{color:#67e8f9!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-filter-toggle b{background:#67e8f9!important;color:#03111f!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-scope-chip,
 html[data-fb-visual-theme="midnight-aurora"] .memory-contributor-chip{
   background:rgba(5,18,38,.82)!important;border:1px solid rgba(90,219,255,.20)!important;color:#dcecff!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-scope-chip.active,
 html[data-fb-visual-theme="midnight-aurora"] .memory-contributor-chip.active{
   background:linear-gradient(135deg,rgba(20,184,166,.30),rgba(59,130,246,.22))!important;border-color:rgba(103,232,249,.48)!important;color:#f1ffff!important;box-shadow:0 0 16px rgba(34,211,238,.12)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-gallery{background:transparent!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-group-title strong,
 html[data-fb-visual-theme="midnight-aurora"] .memory-group-title h2{color:#eff8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-group-title small,
 html[data-fb-visual-theme="midnight-aurora"] .memory-gallery-toolbar{color:#9fb0c5!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-gallery-toolbar select{background:#061329!important;border-color:rgba(90,219,255,.22)!important;color:#eaf8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-card{
   background:linear-gradient(180deg,rgba(5,17,35,.96),rgba(3,13,28,.98))!important;
   border:1px solid rgba(91,218,255,.20)!important;
   box-shadow:0 10px 25px rgba(0,0,0,.26),0 0 14px rgba(34,211,238,.035)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-card:hover{border-color:rgba(103,232,249,.48)!important;box-shadow:0 13px 30px rgba(0,0,0,.30),0 0 19px rgba(34,211,238,.12)!important;transform:translateY(-2px)}
 html[data-fb-visual-theme="midnight-aurora"] .memory-card-copy strong{color:#eef8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-card-copy small,
 html[data-fb-visual-theme="midnight-aurora"] .memory-card-tags{color:#9fb2c7!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-card-tags svg{color:#7dd3fc!important}
}

/* Desktop Memories — Midnight Aurora text colour normalization */
@media (min-width:760px){
 html[data-fb-visual-theme="midnight-aurora"] .memories-page{
   --memory-text-primary:#f2f7ff;
   --memory-text-secondary:#a9b9cd;
   --memory-text-muted:#8499b3;
   --memory-text-accent:#7dd3fc;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memories-page :is(h1,h2,h3,.memory-group-title strong,.memory-card-copy strong){color:var(--memory-text-primary)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page :is(.memories-head>div>p:not(.eyebrow),.memory-group-title small,.memory-card-copy small,.memory-card-tags,.memory-gallery-toolbar,.memory-contributor-subtitle){color:var(--memory-text-secondary)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page :is(.eyebrow,#memoryResultCount,.memory-gallery-count,.memory-sort-label,.memory-group-link,.memory-view-all){color:var(--memory-text-accent)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page :is(.memory-scope-chip,.memory-contributor-chip){color:#dcecff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page :is(.memory-scope-chip.active,.memory-contributor-chip.active){color:#f5ffff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-card-tags svg,
 html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-group-link svg,
 html[data-fb-visual-theme="midnight-aurora"] .memories-page .memory-view-all svg{color:#67e8f9!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page select{color:#eaf8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memories-page option{background:#061329!important;color:#eaf8ff!important}
}

/* ============================================================
   MIDNIGHT AURORA — ADD/EDIT MEMORY DESKTOP
   ============================================================ */
@media (min-width:760px){
 html[data-fb-visual-theme="midnight-aurora"] #screen:has(.memory-editor-page){
   background:linear-gradient(180deg,rgba(2,7,20,.24),rgba(2,8,22,.54) 48%,rgba(2,7,19,.84)),url("../assets/midnight-aurora-widget-flow.webp") center top/100% auto repeat-y!important;
   background-color:#020814!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-page{color:#eef7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-card{background:transparent!important;border:0!important;box-shadow:none!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title{
   padding:17px 18px!important;border-radius:18px!important;
   background:linear-gradient(105deg,rgba(3,12,31,.72),rgba(5,18,42,.46)),url("../assets/midnight-aurora-alpine.webp") center 35%/cover no-repeat!important;
   border:1px solid rgba(79,230,255,.26)!important;border-left:2px solid rgba(168,85,247,.68)!important;
   box-shadow:0 13px 30px rgba(0,0,0,.24)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title .eyebrow{color:#7dd3fc!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title h1{color:#f2f7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title p{color:#b7c5da!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-title>svg{color:#67e8f9!important;filter:drop-shadow(0 0 8px rgba(34,211,238,.25))}
 html[data-fb-visual-theme="midnight-aurora"] .memory-photo-preview{
   background:linear-gradient(145deg,rgba(3,15,33,.88),rgba(7,20,43,.80))!important;
   border:1px dashed rgba(103,232,249,.36)!important;color:#b9cbe0!important;
   box-shadow:inset 0 1px rgba(255,255,255,.025),0 10px 26px rgba(0,0,0,.18)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-photo-preview>div strong{color:#eaf8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-photo-preview>div span{color:#8fa4bd!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-photo-preview>div svg{color:#67e8f9!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-photo-actions button{
   background:#061329!important;border-color:rgba(90,219,255,.28)!important;color:#e4f8ff!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-photo-actions #memoryGalleryBtn.memory-gallery-primary{
   background:linear-gradient(105deg,rgba(22,191,226,.92),rgba(59,130,246,.94),rgba(124,58,237,.94))!important;border-color:rgba(116,231,255,.42)!important;color:#fff!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-video-note{color:#91a5bd!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-editor-card label,
 html[data-fb-visual-theme="midnight-aurora"] .memory-tags legend{color:#edf7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] #memoryCaption{
   background:rgba(3,14,31,.88)!important;border:1px solid rgba(90,219,255,.27)!important;color:#f0f8ff!important;
   box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] #memoryCaption::placeholder{color:#8197b2!important}
 html[data-fb-visual-theme="midnight-aurora"] #memoryCaption:focus{border-color:rgba(103,232,249,.62)!important;box-shadow:0 0 0 3px rgba(34,211,238,.09),0 0 18px rgba(34,211,238,.08)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-tags{
   background:linear-gradient(145deg,rgba(3,14,32,.91),rgba(8,21,45,.87))!important;
   border:1px solid rgba(103,232,249,.24)!important;border-left:2px solid rgba(168,85,247,.58)!important;
   box-shadow:0 11px 26px rgba(0,0,0,.20)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-tags>p{color:#a9b9cd!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-group>strong{color:#7dd3fc!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-group+.memory-tag-group{border-color:rgba(103,232,249,.13)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-choice,
 html[data-fb-visual-theme="midnight-aurora"] .history-tag-group .memory-tag-choice{
   background:linear-gradient(145deg,rgba(4,16,35,.94),rgba(7,27,54,.87))!important;
   border:1px solid rgba(90,219,255,.20)!important;color:#f1f7ff!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-choice:hover,
 html[data-fb-visual-theme="midnight-aurora"] .history-tag-group .memory-tag-choice:hover{
   background:linear-gradient(145deg,rgba(7,25,49,.97),rgba(18,28,67,.92))!important;border-color:rgba(103,232,249,.45)!important;
   box-shadow:0 0 15px rgba(34,211,238,.08)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-choice:has(input:checked),
 html[data-fb-visual-theme="midnight-aurora"] .history-tag-group .memory-tag-choice:has(input:checked){
   background:linear-gradient(145deg,rgba(7,35,59,.98),rgba(39,29,86,.92))!important;border-color:rgba(103,232,249,.55)!important;color:#f5ffff!important;
   box-shadow:0 0 0 1px rgba(139,92,246,.16),0 0 17px rgba(34,211,238,.10)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-choice>i,
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-choice>svg{color:#67e8f9!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-tag-avatar{border:1px solid rgba(103,232,249,.30)!important;background:linear-gradient(135deg,rgba(34,211,238,.15),rgba(139,92,246,.20))!important;color:#eaf8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .history-tag-group .memory-tag-choice small{color:#a9b9cd!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-form-actions{border-color:rgba(103,232,249,.14)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-form-actions .primary{background:linear-gradient(105deg,#16bfe2,#3b82f6 52%,#7c3aed)!important;color:#fff!important;border-color:rgba(116,231,255,.40)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-form-actions .secondary{background:#061329!important;border-color:rgba(90,219,255,.24)!important;color:#dff8ff!important}
}

/* ============================================================
   MIDNIGHT AURORA — FAMILY ALBUMS DESKTOP
   ============================================================ */
@media (min-width:760px){
 html[data-fb-visual-theme="midnight-aurora"] #screen:has(.albums-page){
   background:linear-gradient(180deg,rgba(2,7,20,.22),rgba(2,8,22,.52) 48%,rgba(2,7,19,.84)),url("../assets/midnight-aurora-widget-flow.webp") center top/100% auto repeat-y!important;
   background-color:#020814!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .albums-page{color:#eef7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .albums-head{
   position:relative;overflow:hidden;padding:18px 20px!important;border-radius:20px!important;
   background:linear-gradient(105deg,rgba(3,12,31,.72),rgba(5,18,42,.46)),url("../assets/midnight-aurora-alpine.webp") center 35%/cover no-repeat!important;
   border:1px solid rgba(79,230,255,.27)!important;border-left:2px solid rgba(168,85,247,.70)!important;
   box-shadow:0 14px 32px rgba(0,0,0,.25),0 0 20px rgba(34,211,238,.06)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .albums-head .eyebrow{color:#7dd3fc!important}
 html[data-fb-visual-theme="midnight-aurora"] .albums-head h1{color:#f2f7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .albums-head p{color:#b7c5da!important}
 html[data-fb-visual-theme="midnight-aurora"] .albums-head-actions .secondary{background:#061329!important;border-color:rgba(90,219,255,.27)!important;color:#e4f8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .albums-head-actions .primary,
 html[data-fb-visual-theme="midnight-aurora"] .album-empty-state .primary{
   background:linear-gradient(105deg,#16bfe2,#3b82f6 52%,#7c3aed)!important;border-color:rgba(116,231,255,.42)!important;color:#fff!important;
   box-shadow:0 0 20px rgba(34,211,238,.15)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .album-empty-state{
   min-height:340px!important;
   background:linear-gradient(145deg,rgba(3,15,33,.91),rgba(7,20,43,.84))!important;
   border:1px dashed rgba(103,232,249,.34)!important;border-left:2px solid rgba(168,85,247,.58)!important;
   color:#a9b9cd!important;box-shadow:0 13px 30px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.025)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .album-empty-state>svg{color:#67e8f9!important;filter:drop-shadow(0 0 10px rgba(34,211,238,.22))}
 html[data-fb-visual-theme="midnight-aurora"] .album-empty-state h2{color:#f1f8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .album-empty-state p{color:#a9b9cd!important}
 html[data-fb-visual-theme="midnight-aurora"] .album-card{
   background:linear-gradient(180deg,rgba(5,17,35,.96),rgba(3,13,28,.98))!important;
   border-color:rgba(91,218,255,.20)!important;box-shadow:0 10px 25px rgba(0,0,0,.26)!important;
 }
 html[data-fb-visual-theme="midnight-aurora"] .album-card:hover{border-color:rgba(103,232,249,.48)!important;box-shadow:0 13px 30px rgba(0,0,0,.30),0 0 18px rgba(34,211,238,.10)!important;transform:translateY(-2px)}
 html[data-fb-visual-theme="midnight-aurora"] .album-card-copy strong{color:#f1f8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .album-card-copy small{color:#7dd3fc!important}
 html[data-fb-visual-theme="midnight-aurora"] .album-card-copy span{color:#a9b9cd!important}
 html[data-fb-visual-theme="midnight-aurora"] .album-empty-cover{background:linear-gradient(145deg,rgba(5,22,40,.96),rgba(24,23,61,.92))!important;color:#67e8f9!important}
 html[data-fb-visual-theme="midnight-aurora"] .album-loading{color:#a9b9cd!important}
}

/* Midnight Aurora — Memory Detail desktop */
@media (min-width:760px){
 html[data-fb-visual-theme="midnight-aurora"] #app>.app>.screen:has(.memory-detail-page){background:transparent!important;background-image:none!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-page{color:#eef7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-page>.back-link{color:#7dd3fc!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished{border:1px solid rgba(78,228,255,.30)!important;border-left:2px solid rgba(168,85,247,.70)!important;border-radius:22px!important;overflow:hidden!important;box-shadow:-4px 0 18px rgba(139,92,246,.15),0 18px 38px rgba(0,0,0,.30),0 0 20px rgba(34,211,238,.07)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-gallery{background:linear-gradient(145deg,rgba(2,10,24,.88),rgba(4,16,31,.92))!important;border-color:rgba(90,219,255,.14)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished .memory-detail-copy{background:linear-gradient(160deg,rgba(3,13,31,.97),rgba(3,17,40,.94))!important;border-color:rgba(90,219,255,.18)!important;color:#eef7ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-head h1{color:#f4f9ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-head .eyebrow,.memory-detail-page .memory-detail-tags>strong{color:#7dd3fc!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-edit-action,
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-more-button{background:rgba(5,18,39,.90)!important;border:1px solid rgba(96,224,255,.24)!important;color:#dff8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-intro,
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-polished>.memory-detail-gallery+.memory-detail-copy>.reaction-bar,
 html[data-fb-visual-theme="midnight-aurora"] .memory-comment-section{border-color:rgba(103,232,249,.15)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-author small{color:#9fb0c5!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-author strong{color:#f4f8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-add-caption{background:rgba(3,17,38,.84)!important;border:1px dashed rgba(56,189,248,.44)!important;color:#e8f8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-add-caption small{color:#9fb0c5!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-tags button{background:rgba(4,17,36,.90)!important;border:1px solid rgba(90,219,255,.25)!important;color:#f1f8ff!important;box-shadow:0 0 12px rgba(34,211,238,.04)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-detail-tags button:hover{border-color:rgba(103,232,249,.50)!important;box-shadow:0 0 14px rgba(34,211,238,.10)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-details{background:linear-gradient(145deg,rgba(3,16,34,.92),rgba(8,22,47,.88))!important;border:1px solid rgba(103,232,249,.24)!important;border-left:2px solid rgba(168,85,247,.58)!important;color:#eef7ff!important;box-shadow:0 10px 24px rgba(0,0,0,.20)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-title,
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-title strong,
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid strong{color:#f4f9ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-title svg,
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid>div>svg,
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid a{color:#67e8f9!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-exif-grid small{color:#9fb0c5!important}
 html[data-fb-visual-theme="midnight-aurora"] .reaction-bar button{background:rgba(5,18,39,.88)!important;border:1px solid rgba(90,219,255,.20)!important;color:#dff8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .reaction-bar button:hover{border-color:rgba(103,232,249,.48)!important;box-shadow:0 0 13px rgba(34,211,238,.09)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-comment-section{color:#dcecff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-comment-empty{background:rgba(4,15,32,.86)!important;color:#9fb0c5!important;border-color:rgba(90,219,255,.14)!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-comment-empty strong{color:#edf8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-comment-form textarea{background:#061329!important;border:1px solid rgba(90,219,255,.26)!important;color:#edf8ff!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-comment-form textarea::placeholder{color:#8297b3!important}
 html[data-fb-visual-theme="midnight-aurora"] .memory-comment-form button{background:linear-gradient(135deg,#14b8a6,#3b82f6)!important;border-color:rgba(103,232,249,.38)!important;color:#fff!important;box-shadow:0 0 14px rgba(34,211,238,.12)!important}
}
