/* Expeditions catalogue — "Polar aurora" around the cards only.
   The Foundation card (.rf-feature) and expedition tiles (.rf-row) keep their own style on purpose.
   Tokens (--pa-*) and the bottom dock live in profile-refresh.css; this file must load after it. */

/* [data-room] outweighs premium.css body:has(.app.rf[data-room=foundation]). */
body:has(.app.rf[data-room] .rf-sheet>.rf-list){background:#05070d!important}
.rf-stage:has(.rf-sheet>.rf-list){
  background:
    radial-gradient(320px 300px at 12% 0,#5cf2c840,transparent 70%),
    radial-gradient(300px 280px at 88% 30px,#8b7bff4d,transparent 70%),
    radial-gradient(280px 220px at 50% -40px,#3fd0ff33,transparent 70%),
    #05070d!important
}
.app.rf:has(.rf-sheet>.rf-list){background:transparent!important}

/* ---------- Header ---------- */
.app.rf:has(.rf-sheet>.rf-list) .rf-head .rf-icon-btn{background:#ffffff0a!important;border:1px solid var(--pa-line-2)!important;color:var(--pa-text)!important}
.app.rf:has(.rf-sheet>.rf-list) .rf-page-title{position:relative;padding-bottom:26px!important}
.app.rf:has(.rf-sheet>.rf-list) .rf-page-title:after{content:'';position:absolute;left:0;right:0;bottom:6px;height:1px;background:var(--pa-aurora);opacity:.5}
.app.rf:has(.rf-sheet>.rf-list) .rf-page-title h1{font:800 clamp(34px,9.5vw,48px)/1 var(--pa-sans)!important;letter-spacing:-.045em!important;color:var(--pa-text)!important;margin:12px 0 14px!important}
.app.rf:has(.rf-sheet>.rf-list) .rf-page-title p{font:15px/1.6 var(--pa-sans)!important;color:var(--pa-mute)!important;max-width:36ch}

/* ---------- Section heading ---------- */
.app.rf:has(.rf-sheet>.rf-list) .rf-section-title{font:800 28px/1.1 var(--pa-sans)!important;letter-spacing:-.035em!important;color:var(--pa-text)!important}
.app.rf:has(.rf-sheet>.rf-list) .rf-section-sub{
  font:700 15px/1.45 var(--pa-sans)!important;
  background:var(--pa-aurora);-webkit-background-clip:text;background-clip:text;color:transparent!important
}

/* ---------- Footnotes ---------- */
.app.rf:has(.rf-sheet>.rf-list) .rf-sheet>.rf-small{font:12px/1.6 var(--pa-mono)!important;color:var(--pa-dim)!important}
.app.rf:has(.rf-sheet>.rf-list) .rf-foot{font:11px/1.7 var(--pa-mono)!important;color:var(--pa-dim)!important;background:transparent!important}
.app.rf:has(.rf-sheet>.rf-list) .rf-foot a{color:var(--pa-mint)!important}

/* Неоновый девиз под заголовком каталога: чёткий текст, по строке пробегает неоновый блик */
.app.rf:has(.rf-sheet>.rf-list) .rf-page-title p.rf-neon-motto{max-width:none!important;margin:2px 0 0!important;font:700 clamp(19px,5.6vw,26px)/1.3 var(--pa-sans)!important;letter-spacing:-.01em;color:#dffcf5!important;background:linear-gradient(100deg,#dffcf5 0%,#dffcf5 38%,#5cf2c8 44%,#3fd0ff 50%,#8b7bff 56%,#dffcf5 62%,#dffcf5 100%) 100% 0/300% 100% no-repeat;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 8px #3fd0ff2e);animation:rf-neon-run 4.2s cubic-bezier(.45,0,.25,1) .4s 3}
@keyframes rf-neon-run{0%{background-position:100% 0}55%,100%{background-position:0% 0}}
@media (prefers-reduced-motion:reduce){.app.rf:has(.rf-sheet>.rf-list) .rf-page-title p.rf-neon-motto{animation:none;background-position:50% 0}}
