/* Luqta glow theme: the soft breathing pink from the app splash, shared by every page.
   Turned on by class="glow" on <html>. */
html.glow{background:#F9EEF2}
html.glow body{background:linear-gradient(#F9EEF2 0,#FBF3F6 420px,var(--bg) 780px) no-repeat,var(--bg);overflow-x:clip}
html.glow .top{background:transparent;color:#5E0B2E}
html.glow div.top{position:relative;isolation:isolate;overflow-x:clip;overflow-y:visible}
html.glow div.top::before,html.glow div.top::after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(50px);pointer-events:none}
html.glow div.top::before{width:820px;height:760px;left:-180px;top:-260px;background:radial-gradient(circle,rgba(214,140,176,.36) 0%,rgba(230,178,203,.28) 36%,rgba(241,212,226,.18) 60%,rgba(251,241,245,0) 74%);animation:breathe 7s ease-in-out infinite}
html.glow div.top::after{width:700px;height:680px;right:-160px;top:-180px;background:radial-gradient(circle,rgba(226,160,192,.2) 0%,rgba(240,200,220,.12) 45%,rgba(251,241,245,0) 72%);animation:breathe 7s ease-in-out -3.5s infinite}
html.glow.ar div.top::before{left:auto;right:-180px}
html.glow.ar div.top::after{right:auto;left:-160px}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
html.glow header .wm .a,html.glow header .wm .b{color:var(--m)}
html.glow .links a{color:#6B5560}
html.glow .links a:hover,html.glow .links a[aria-current]{color:#1E1E1E}
html.glow .lang{color:#6B5560;border-color:rgba(125,28,52,.45)}
html.glow .page-head h1{color:#4A0A25}
html.glow .page-head p{color:#6B5560}
/* footer: soft blush with a glow rising from the bottom, instead of solid black */
html.glow footer{background:radial-gradient(ellipse 70% 140% at 50% 130%,rgba(211,123,163,.42),rgba(251,241,245,0) 70%),#FBF1F5;color:#6B2A45;border-top:1px solid #F0DCE5}
html.glow .foot .wm .a{color:var(--m)}
html.glow .foot .wm .b{color:var(--ink)}
html.glow .foot a{color:#7A2148}
html.glow .foot a:hover{color:var(--m)}
/* share page */
html.glow .share{background:radial-gradient(circle at 50% 30%,rgba(211,123,163,.35) 0%,rgba(232,170,200,.25) 35%,#FBF3F6 70%);color:#4A0A25}
html.glow .share .wm .a{color:#FFF6F9;text-shadow:0 2px 24px rgba(125,28,52,.3)}
html.glow .share .wm .b{color:var(--m)}
html.glow .share .home{color:#7A2148}
@media (prefers-reduced-motion:reduce){html.glow div.top::before,html.glow div.top::after{animation:none}}
/* page content always sits above the glow */
html.glow main{position:relative;z-index:1}
/* inner pages have a short header, so a smaller glow */
html.glow div.top:has(.page-head)::before{width:620px;height:460px;top:-200px}
html.glow div.top:has(.page-head)::after{width:520px;height:420px;top:-160px}
/* One logo everywhere in the glow theme, same as the app splash: cream "luq", maroon "ta" */
html.glow body .wm .a{color:#F7EEF0!important;text-shadow:0 1px 14px rgba(125,28,52,.35)}
html.glow body .wm .b{color:var(--m)!important}
/* footer: same as the rest of the page, separated by space only; all-maroon logo */
html.glow body footer{background:transparent;color:#7D6B73;border-top:0;margin-top:24px}
html.glow body footer .wm .a,html.glow body footer .wm .b{color:var(--m)!important;text-shadow:none}
html.glow body .foot a{color:#5E5257}
html.glow body .foot a:hover{color:var(--m)}
/* top bar logo (back to home): all maroon */
html.glow body header .wm .a,html.glow body header .wm .b{color:var(--m)!important;text-shadow:none}

/* Footer (same as the home page): links stacked on the right, app icon bottom left */
html.glow body footer.nf{background:transparent;border-top:1px solid #EADCE2;margin-top:24px;color:#4A0A25}
.nf-in{display:grid;grid-template-columns:1fr auto;align-items:end;gap:40px;min-height:300px;padding-top:44px;padding-bottom:28px}
.nf nav{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;gap:14px;font-size:15px;line-height:1.4}
html.glow body .nf nav a{color:#4A0A25;text-decoration:none}
html.glow body .nf nav a:hover{color:#7D1C34}
.nf-l{grid-column:1;grid-row:1}
.nf-l img{width:48px;height:48px;border-radius:11px;display:block}

/* header: logo with its accent, iOS App link */
.logo{display:block;line-height:0}.logo img{height:28px;width:auto;display:block;margin-top:-8px}
.ios{display:inline-flex;align-items:center;gap:7px;color:#1E1E1E!important;font-weight:500;white-space:nowrap}.ios svg{width:17px;height:17px;fill:#1E1E1E;flex:none;margin-top:-2px}.ios:hover{opacity:.75}
.links a{white-space:nowrap}
@media (max-width:480px){.links a.hide-xs{display:none}}

/* menu: links in the middle, iOS App and language on the right (like Phia) */
.nav{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center}
.nav .mid{justify-self:center;grid-column:2}.nav .end{justify-self:end;grid-column:3}
.nav .mid,.nav .end{display:flex;align-items:center;gap:22px}
@media (max-width:760px){.nav .mid{display:none}}

/* One menu style everywhere (top and bottom, every page): same size, weight and grey */
html.glow .nav .links a,.nav .links .ios,.nav .lang,footer nav a{font-size:14px!important;font-weight:400!important;color:#6B5560!important;line-height:1.4}
.nav .links .ios svg{fill:#1E1E1E!important;width:15px!important;height:15px!important}
.nav .links a:hover,.nav .links a[aria-current],footer nav a:hover{color:#1E1E1E!important}
.nav .links a:hover svg{fill:#1E1E1E!important}
html.glow .nav.wrap{padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
html.glow .nav .lang{height:34px;padding:0 12px;font-size:14px;border-radius:8px}
