/* ════════ light / dark pages + the diary link glow ════════
   light = the cream homepage look everywhere · dark = the diary's plum everywhere
   (chosen with the ☾ / ☀ button in the menu; nothing chosen = each page's own look) */

/* ── "the diary" link: a soft natural glow instead of the foggy blob ── */
.nav-links a[href$="diary.html"]{background:none!important;color:var(--hot);
  text-shadow:0 0 1px rgba(224,92,126,.35),0 0 10px rgba(224,92,126,.35);animation:diaryglow2 3.6s ease-in-out infinite}
@keyframes diaryglow2{0%,100%{text-shadow:0 0 1px rgba(224,92,126,.35),0 0 9px rgba(224,92,126,.35)}50%{text-shadow:0 0 1px rgba(224,92,126,.5),0 0 14px rgba(224,92,126,.62),0 0 26px rgba(246,160,190,.5)}}
.nav-links a[href$="diary.html"]::after{content:""!important;position:absolute;left:8%;right:8%;top:58%;height:42%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(224,92,126,.22),transparent);filter:blur(6px);pointer-events:none}
body.diary-page .nav-links a[href$="diary.html"],body.account-page .nav-links a[href$="diary.html"],body.shop-page .nav-links a[href$="diary.html"],body.theme-dark .nav-links a[href$="diary.html"]{
  color:#FF9DB8;animation-name:diaryglow2d}
@keyframes diaryglow2d{0%,100%{text-shadow:0 0 1px rgba(255,157,184,.5),0 0 10px rgba(255,120,160,.35)}50%{text-shadow:0 0 1px rgba(255,157,184,.7),0 0 14px rgba(255,120,160,.65),0 0 26px rgba(255,120,160,.35)}}
@media (prefers-reduced-motion: reduce){.nav-links a[href$="diary.html"]{animation:none}}

/* ── the switch in the menu ── */
.theme-btn{display:inline-grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;cursor:pointer;font-size:1.05rem;line-height:1;
  color:var(--plum);background:rgba(255,255,255,.75);border:1px solid rgba(224,92,126,.28);transition:transform .45s cubic-bezier(.34,1.4,.64,1),background .3s,border-color .3s}
.theme-btn:hover{transform:rotate(-18deg) scale(1.06);border-color:rgba(224,92,126,.6)}
.theme-btn span{display:block;transform:translateY(-1px)}
body.diary-page .theme-btn,body.account-page .theme-btn,body.shop-page .theme-btn,body.theme-dark .theme-btn{color:#FFD6E2;background:rgba(255,255,255,.08);border-color:rgba(246,200,216,.3)}
@media(max-width:760px){.theme-btn{width:34px;height:34px;flex-basis:34px;font-size:.95rem}}
body.theme-anim,body.theme-anim *{transition:background-color .5s ease,color .5s ease,border-color .5s ease!important}

/* ════════ DARK on pages that are normally cream (home, log in, sign up, terms…) ════════ */
body.theme-dark{color:#FFF0F5;background-color:#241520;
  background-image:radial-gradient(900px 620px at 8% -5%,rgba(224,92,126,.28),transparent 62%),radial-gradient(760px 640px at 105% 105%,rgba(246,200,216,.12),transparent 60%),linear-gradient(165deg,#2c1825,#1f121a);background-attachment:fixed}
body.theme-dark .nav{background:rgba(36,21,30,.72);border-bottom-color:rgba(246,200,216,.12)}
body.theme-dark .nav.scrolled{background:rgba(30,17,25,.86);box-shadow:0 12px 30px -14px rgba(0,0,0,.6)}
body.theme-dark .logo{color:#FF9DB8}
body.theme-dark .nav-links a{color:#F3DCE4}
body.theme-dark .nav-links a:hover,body.theme-dark .nav-links a.on{color:#FFB3C9}
body.theme-dark .nav-links a + a::before{color:rgba(246,200,216,.35)}
body.theme-dark .nav-acct{background:rgba(255,255,255,.08);color:#FFD6E2;border-color:rgba(246,200,216,.3);box-shadow:none}
body.theme-dark .hearts{opacity:.25}
body.theme-dark .kicker{color:#FF9DB8}
body.theme-dark h1,body.theme-dark h2,body.theme-dark h3{color:#FFF0F5}
body.theme-dark h1 em,body.theme-dark h2 em,body.theme-dark h3 em{color:#FFB3C9}
body.theme-dark p,body.theme-dark .sub,body.theme-dark li{color:rgba(255,240,245,.78)}
body.theme-dark a:not(.btn):not(.nav-acct):not(.logo):not(.soc):not(.f-help):not(.soc-lnk):not(.paper){color:#FFB3C9}
body.theme-dark footer{background:rgba(255,255,255,.035);border-top-color:rgba(246,200,216,.22);color:#F6C8D8}
body.theme-dark .f-left small{color:rgba(246,200,216,.6)}
body.theme-dark .f-help{background:rgba(255,255,255,.08);color:#FFD6E2;border-color:rgba(246,200,216,.3);box-shadow:none}
body.theme-dark .soc,body.theme-dark .f-soc a{color:#FFB3C9}
body.theme-dark .btn.ghost{background:rgba(255,255,255,.08);color:#FFD6E2;border-color:rgba(246,200,216,.3);box-shadow:none}
/* white boxes on the homepage are "paper" (notebook, tier cards, steps) — they stay paper, with their own ink */
body.theme-dark .faq details,body.theme-dark .box{background:rgba(255,255,255,.055)!important;border-color:rgba(246,200,216,.18)!important;color:#FFF0F5}
body.theme-dark .list,body.theme-dark .tier,body.theme-dark .step,body.theme-dark .paper,body.theme-dark .auth-card,body.theme-dark .card:not(.shop-card){color:var(--ink)}
body.theme-dark :is(.list,.tier,.step,.paper,.auth-card,.clip,.pol,.me-pol,.favnote) :is(h2,h3,b,strong,p,li,span:not(.hand)){color:var(--ink)}
body.theme-dark .clip,body.theme-dark .pol,body.theme-dark .me-pol{color:var(--ink)}
body.theme-dark a.soc-lnk{color:var(--rose)!important}
body.theme-dark :is(.list,.tier,.step,.paper) .body{color:#5c4a51}
body.theme-dark .tier,body.theme-dark .list,body.theme-dark .paper,body.theme-dark .step{box-shadow:7px 7px 0 rgba(224,92,126,.55)}
body.theme-dark .join{background:rgba(255,255,255,.03);border-color:rgba(224,92,126,.6)}
body.theme-dark .s-head .fine,body.theme-dark .t-legal,body.theme-dark .t-fine{color:rgba(246,200,216,.6)}
body.theme-dark input,body.theme-dark textarea,body.theme-dark select{background:rgba(255,255,255,.08);border-color:rgba(246,200,216,.25);color:#fff}
body.theme-dark input::placeholder,body.theme-dark textarea::placeholder{color:rgba(246,200,216,.45)}
body.theme-dark label{color:#F6C8D8}
body.theme-dark .banner .msg{box-shadow:0 20px 40px -20px rgba(0,0,0,.6)}

/* ════════ LIGHT on pages that are normally plum ════════ */
/* account page cards */
body.theme-light .acard{background:#fff;border-color:#F0DDE4;box-shadow:0 18px 40px -28px rgba(58,34,48,.35);-webkit-backdrop-filter:none;backdrop-filter:none}
body.theme-light .acard h2,body.theme-light .acard .hist b,body.theme-light .acard .d-line{color:var(--plum)}
body.theme-light .acard h2 em,body.theme-light .acard .pdate,body.theme-light .acard .hand,body.theme-light .acard .d-line .hand,body.theme-light .acard .pw-box summary,
body.theme-light .acard .pw-wrap button,body.theme-light .acard .perks-more > span,body.theme-light .acard .hist small,body.theme-light .acard .hist a,body.theme-light .help-box a{color:var(--rose)}
body.theme-light .acard .d-line{border-bottom-color:#F0DDE4}
body.theme-light .acard .field label{color:var(--plum)}
body.theme-light .acard .field input{background:#fff;border-color:#EADDE2;color:var(--ink)}
body.theme-light .acard .hint{color:#8d7680}
body.theme-light .acard .btn.ghost{background:#fff;color:var(--rose);border-color:#EADDE2}
body.theme-light .help-box p{color:#5c4a51}
body.theme-light .acard .perks li{background:#FFF6F9;border-color:#F3DDE5;color:var(--plum)}
body.theme-light .acard .perks.off li{color:#a48b94;background:transparent}
body.theme-light .acard .hist li{border-top-color:#F0DDE4}
body.theme-light .acard .hist i{background:#F7EAEF;color:var(--plum)}
body.theme-light .acard .hist .h-paid i{background:#E6F4EA;color:#2f6b45}
body.theme-light .acard .hist .h-warn i{background:#FFF1C9;color:#7a5a00}

/* shop + product pages */
body.theme-light .card .tg{color:#9a6a7c!important}
body.theme-light .card .nm{color:var(--plum)}
body.theme-light .price{color:var(--plum)!important}
body.theme-light .price s{color:#b59aa6!important}
body.theme-light .quick{color:var(--rose)}
body.theme-light .quick:hover{color:var(--plum)}
body.theme-light .card .pola{box-shadow:0 26px 44px -28px rgba(58,34,48,.55),0 2px 6px rgba(58,34,48,.12)}
body.theme-light .card .back{box-shadow:0 18px 34px -26px rgba(58,34,48,.5)}
body.theme-light .dd{background:#fff;border-color:#EADDE2}
body.theme-light .dd span{color:#a48b94}
body.theme-light .dd select{color:var(--plum)}
body.theme-light .shop-hero p{color:#6b5560}
body.theme-light .pinfo h1{color:var(--plum)}
body.theme-light .bag,body.theme-light .bag-panel{color:var(--ink)}

/* developer page (keeps its console style, in cream) */
body.theme-light.dev-page{--ink1:#3A2230;--ink2:rgba(58,34,48,.75);--ink3:rgba(58,34,48,.5);--line:rgba(58,34,48,.1);--line2:rgba(58,34,48,.18);--glass:rgba(255,255,255,.7);--glass2:#fff}
body.theme-light.dev-page .dev-head h1 em{color:var(--rose)}
body.theme-light.dev-page .kpi b,body.theme-light.dev-page .mini-stat b,body.theme-light.dev-page .split b{color:var(--plum)}
body.theme-light.dev-page .feed,body.theme-light.dev-page .mini-stat,body.theme-light.dev-page .ck,body.theme-light.dev-page .prow,body.theme-light.dev-page .note,
body.theme-light.dev-page .seg3 button,body.theme-light.dev-page .logins,body.theme-light.dev-page .act,body.theme-light.dev-page .viewas button,body.theme-light.dev-page .ms-facts > div,body.theme-light.dev-page .ms-stats > div{background:#FFF8FA}
body.theme-light.dev-page pre{background:#2A1823}
body.theme-light.dev-page .tip{background:#fff;color:var(--plum)}
body.theme-light.dev-page .dev input:not([type=file]),body.theme-light.dev-page .dev textarea{background:#fff;color:var(--ink)}
body.theme-light.dev-page .psheet{background:#FFF6F1}
body.theme-light.dev-page .psheet input:not([type=file]),body.theme-light.dev-page .psheet textarea{background:#fff;color:var(--ink)}
body.theme-light.dev-page .chart .bar path{fill:#E05C7E}
body.theme-light.dev-page .d-toast{background:#fff;color:var(--plum)}
body.theme-light.dev-page .pl.paid{color:#2f6b45}body.theme-light.dev-page .pl.gift{color:#7a5a00}body.theme-light.dev-page .pl.team{color:var(--rose)}
body.theme-light.dev-page .ck.ok i,body.theme-light.dev-page .ck.ok span,body.theme-light.dev-page .live,body.theme-light.dev-page .on-txt{color:#2f8a55}
/* paper / notebook pieces keep their ink colours in dark mode */
body.theme-dark .paper,body.theme-dark .paper p,body.theme-dark .paper li,body.theme-dark .paper b,body.theme-dark .paper span{color:#4a3640}
body.theme-dark .paper h2,body.theme-dark .paper h3{color:var(--plum)}
body.theme-dark .paper a:not(.btn){color:var(--rose)}
body.theme-dark .legal-nav a{background:rgba(255,255,255,.07)!important;color:#FFD6E2!important;border-color:rgba(246,200,216,.28)!important;box-shadow:none!important}

/* the moving pink bar along the top — slimmer */
.ribbon{padding:4px 0!important;font-size:.72rem!important;letter-spacing:.01em}
.ribbon-track{gap:28px!important}
@media(max-width:760px){.ribbon{padding:3px 0!important;font-size:.66rem!important}}

/* ════════ homepage: clearer sections, calmer colours (both looks) ════════ */
body.home-page section{padding-top:72px;padding-bottom:40px}
body.home-page .hero{padding-bottom:30px}
/* dividers: a fine hairline with a small ornament instead of the dashed line */
body.home-page .divider{margin:46px auto 0;gap:22px}
body.home-page .divider::before,body.home-page .divider::after{height:1px;background:linear-gradient(90deg,transparent,rgba(224,92,126,.45));border-radius:0}
body.home-page .divider::after{background:linear-gradient(90deg,rgba(224,92,126,.45),transparent)}
body.home-page .divider span{font-family:'Nunito',sans-serif;font-size:.8rem;letter-spacing:.6em;padding-left:.6em;transform:none;opacity:.85}
body.home-page .divider.on-join{margin-top:0}
/* section headings line up the same way everywhere */
body.home-page .s-head{margin-bottom:34px}
body.home-page .s-head h2,body.home-page .in-head h2,body.home-page #peek h2,body.home-page .about-txt h2,body.home-page #faq h2{letter-spacing:-.01em}
body.home-page #peek .h-row{margin-bottom:28px;align-items:baseline}
/* the memberships band */
body.home-page .join{border-top:1px solid rgba(224,92,126,.22);border-bottom:1px solid rgba(224,92,126,.22);margin-top:70px}
body.home-page .join-in{padding:76px 34px 64px}
/* softer, lifted shadows instead of the hard pink offsets */
body.home-page :is(.tier,.list,.paper,.me-pol,.clip,.faq details,.last,.step){box-shadow:0 26px 50px -30px rgba(58,34,48,.45),0 2px 8px -4px rgba(58,34,48,.12)}
body.home-page :is(.tier,.paper,.clip):hover{box-shadow:0 34px 60px -30px rgba(58,34,48,.55),0 2px 10px -4px rgba(58,34,48,.15)}
body.home-page :is(.tier,.list,.paper,.me-pol,.clip,.faq details){border-width:1px;border-color:rgba(58,34,48,.18)}
body.home-page .faq details[open]{box-shadow:0 26px 50px -30px rgba(58,34,48,.5)}
body.home-page .tier.feat{box-shadow:0 0 0 1px rgba(224,92,126,.5),0 34px 60px -28px rgba(224,92,126,.45)}
body.home-page .last{border:0;box-shadow:0 40px 80px -40px rgba(58,34,48,.8);background:radial-gradient(120% 140% at 0% 0%,rgba(224,92,126,.35),transparent 55%),linear-gradient(160deg,#3A2230,#241520)}
@media(max-width:760px){body.home-page section{padding-top:50px;padding-bottom:26px}body.home-page .join-in{padding:54px 18px 44px}body.home-page .divider{margin-top:30px}}

/* ── homepage, dark look: plum + rose, frosted cards, ivory paper ── */
body.home-page.theme-dark .hearts{opacity:.14}
body.home-page.theme-dark .divider{color:#FF9DB8}
body.home-page.theme-dark .join{background:linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,.045) 50%,rgba(255,255,255,.015));border-color:rgba(246,200,216,.12)}
body.home-page.theme-dark .s-head p,body.home-page.theme-dark .in-head p,body.home-page.theme-dark .about-txt p,body.home-page.theme-dark .already{color:rgba(255,240,245,.72)}
body.home-page.theme-dark .already a{color:#FFB3C9}
/* paper pieces: warm ivory, not bright white */
body.home-page.theme-dark :is(.list,.paper,.me-pol,.pol){background-color:#FCF7F3;border-color:rgba(0,0,0,.25)}
body.home-page.theme-dark :is(.list,.paper,.me-pol){box-shadow:0 34px 70px -34px rgba(0,0,0,.9),0 2px 10px -4px rgba(0,0,0,.5)}
body.home-page.theme-dark .list::after{background:radial-gradient(circle at 7px 7px,#241520 0 5px,rgba(0,0,0,.6) 5.5px 6.5px,transparent 7px) 0 0/14px 38px repeat-y}
/* tier cards, steps, little facts: frosted glass with light text */
body.home-page.theme-dark :is(.tier,.step,.clip){background:rgba(255,255,255,.05)!important;border:1px solid rgba(246,200,216,.16)!important;color:#FFF0F5;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 30px 60px -34px rgba(0,0,0,.85)}
body.home-page.theme-dark .clip.pink{background:rgba(224,92,126,.14)!important;border-color:rgba(255,143,177,.3)!important}
body.home-page.theme-dark :is(.tier,.step,.clip) :is(h3,b,strong,p,li,span:not(.hand)){color:#FFF0F5}
body.home-page.theme-dark .tier :is(.t-tag,.price span),body.home-page.theme-dark .step span,body.home-page.theme-dark .clip b{color:#FFB3C9!important}
body.home-page.theme-dark .tier li{color:rgba(255,240,245,.82)}
body.home-page.theme-dark .tier li::before{color:#FF8FB1}
body.home-page.theme-dark .step b{color:#fff!important}
body.home-page.theme-dark :is(.tier .t-note,.tier .t-legal,.tier .t-fine){color:rgba(246,200,216,.55)!important}
body.home-page.theme-dark .tier::before{background:rgba(246,200,216,.55)}
body.home-page.theme-dark .tier.feat{background:linear-gradient(180deg,rgba(224,92,126,.2),rgba(255,255,255,.04))!important;border-color:rgba(255,143,177,.55)!important;
  box-shadow:0 0 0 1px rgba(255,143,177,.25),0 40px 70px -30px rgba(224,92,126,.45)}
body.home-page.theme-dark .tier:hover{border-color:rgba(255,143,177,.4)!important}
body.home-page.theme-dark .faq details{box-shadow:none!important}
body.home-page.theme-dark .faq details[open]{border-color:rgba(255,143,177,.35)!important}
body.home-page.theme-dark .last{box-shadow:0 0 0 1px rgba(246,200,216,.14),0 50px 90px -40px rgba(0,0,0,.9)}

/* ── homepage, light look (the default): each part sits on its own soft band of colour ── */
body.home-page:not(.theme-dark) .divider{display:none}
body.home-page:not(.theme-dark) :is(#inside,#peek,#about,#faq){position:relative}
body.home-page:not(.theme-dark) :is(#inside,#peek,#about,#faq)::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);z-index:-1;pointer-events:none;
  border-top:1px solid rgba(224,92,126,.1)}
body.home-page:not(.theme-dark) .hero{padding-bottom:70px}
body.home-page:not(.theme-dark) #inside{padding-top:90px;padding-bottom:90px}
body.home-page:not(.theme-dark) #inside::before{background:linear-gradient(180deg,#FBEAF0,#FCEFF3)}                 /* blush */
body.home-page:not(.theme-dark) .join{margin-top:0;border-top:1px solid rgba(224,92,126,.12);border-bottom:0;background:linear-gradient(180deg,#FFF3EC,#FFF0E8)}   /* apricot cream */
body.home-page:not(.theme-dark) #peek{padding-top:90px;padding-bottom:90px}
body.home-page:not(.theme-dark) #peek::before{background:#FFF8F4}                                                          /* cream */
body.home-page:not(.theme-dark) #about{padding-top:90px;padding-bottom:90px}
body.home-page:not(.theme-dark) #about::before{background:linear-gradient(180deg,#F6EDF6,#F8F0F7)}                  /* lilac blush */
body.home-page:not(.theme-dark) #faq{padding-top:90px;padding-bottom:90px}
body.home-page:not(.theme-dark) #faq::before{background:linear-gradient(180deg,#FCEEF1,#FDF2F4)}                     /* rose */
body.home-page:not(.theme-dark) #faq + section{padding-top:80px;padding-bottom:20px}
body.home-page:not(.theme-dark) #faq ~ footer,body.home-page:not(.theme-dark) footer{margin-top:70px}
body.home-page:not(.theme-dark) .step{background:#fff;border:1px solid rgba(58,34,48,.1)}
body.home-page:not(.theme-dark) .clip{background:#fff}
body.home-page:not(.theme-dark) .clip.pink{background:#F9DCE6}
@media(max-width:760px){body.home-page:not(.theme-dark) :is(#inside,#peek,#about,#faq){padding-top:56px;padding-bottom:56px}body.home-page:not(.theme-dark) .hero{padding-bottom:44px}}

/* ── homepage, dark look: the same bands, in deep plum shades ── */
body.home-page.theme-dark .divider{display:none}
body.home-page.theme-dark :is(#inside,#peek,#about,#faq){position:relative;padding-top:90px;padding-bottom:90px}
body.home-page.theme-dark :is(#inside,#peek,#about,#faq)::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);z-index:-1;pointer-events:none;border-top:1px solid rgba(246,200,216,.08)}
body.home-page.theme-dark .hero{padding-bottom:70px}
body.home-page.theme-dark #inside::before{background:linear-gradient(180deg,#2E1724,#2A1521)}          /* berry */
body.home-page.theme-dark .join{margin-top:0;border-top:1px solid rgba(246,200,216,.08);border-bottom:0;background:linear-gradient(180deg,#33171F,#2C141C)}  /* wine */
body.home-page.theme-dark #peek::before{background:linear-gradient(180deg,#221426,#1F1322)}            /* violet plum */
body.home-page.theme-dark #about::before{background:linear-gradient(180deg,#2B1A2C,#271827)}           /* mauve */
body.home-page.theme-dark #faq::before{background:linear-gradient(180deg,#301A24,#2B1720)}             /* rose plum */
body.home-page.theme-dark #faq + section{padding-top:80px;padding-bottom:20px}
body.home-page.theme-dark footer{margin-top:70px}
@media(max-width:760px){body.home-page.theme-dark :is(#inside,#peek,#about,#faq){padding-top:56px;padding-bottom:56px}body.home-page.theme-dark .hero{padding-bottom:44px}}

/* ── typing boxes always readable: dark ink on paper/white boxes, light ink on dark boxes ── */
body.theme-dark :is(.paper,.list,.auth-card,.memcard-light) :is(input,textarea,select){background:#fff!important;color:var(--ink)!important;border-color:rgba(58,34,48,.35)!important}
body.theme-dark :is(.paper,.list,.auth-card) :is(input,textarea)::placeholder{color:#a48b94!important}
body.theme-dark :is(.paper,.list,.auth-card) label{color:var(--plum)!important}
body.theme-dark :is(.paper,.list,.auth-card) :is(.hand,.small-link,.swap){color:var(--rose)}
body.theme-dark :is(.paper,.list,.auth-card) .pw-wrap button{color:var(--rose)}

/* ── readability fixes (from the contrast check) ── */
body.theme-dark .paper :is(h1,h2,h3) em,body.theme-dark .paper a:not(.btn),body.theme-dark .paper .small-link{color:var(--rose)!important}
body.theme-dark .trust span,body.theme-dark .trust{color:rgba(255,240,245,.78)}
body.theme-dark .hand.lead,body.theme-dark .lead{color:#FFC4D6}
body.theme-dark .lead a,body.theme-dark p a:not(.btn){color:#FFC4D6}
body:not(.theme-dark):not(.shop-page):not(.diary-page):not(.account-page) footer .f-left small{color:#6b5560}
body:not(.theme-dark):not(.shop-page):not(.diary-page):not(.account-page) footer .f-left small a{color:#9b2f55}
body.home-page:not(.theme-dark) .already a{color:#a8325a}
body.theme-light .dd span{color:#7d6670}
body.theme-light .price s,body.theme-light .tag-price s{color:#8d7680!important}
body.theme-light.dev-page{--pink:#C94368;--ink3:rgba(58,34,48,.66);--ink2:rgba(58,34,48,.82)}
body.theme-light.dev-page .dev-tabs button span{opacity:1}
body.theme-light.dev-page .on-txt,body.theme-light.dev-page .live{color:#23794a}
body.theme-light.dev-page .pl.warn{color:#a3431b}
body.theme-light.dev-page .ck.bad i,body.theme-light.dev-page .ck.bad span{color:#a3561b}
body.theme-light.dev-page .act.danger b,body.theme-light.dev-page .btn.ghost.danger{color:#a3431b}
body.theme-light.dev-page .m-note,body.theme-light.dev-page .mem .who i.m-note{color:#7a5a00}
body.theme-light.dev-page .f-row.k-stripe i{color:#23794a}body.theme-light.dev-page .f-row.k-poll i{color:#6a3fb0}

/* ── colour bands are see-through now, so the floating hearts drift behind every part of the page the same way ── */
body.home-page:not(.theme-dark) #inside::before{background:rgba(240,168,194,.2)}
body.home-page:not(.theme-dark) .join{background:rgba(255,196,165,.17)}
body.home-page:not(.theme-dark) #peek::before{background:rgba(255,255,255,.3)}
body.home-page:not(.theme-dark) #about::before{background:rgba(196,160,212,.17)}
body.home-page:not(.theme-dark) #faq::before{background:rgba(240,160,184,.17)}
/* dark: very close plum shades — just enough to tell the parts apart */
body.home-page.theme-dark #inside::before{background:rgba(224,92,126,.045)}
body.home-page.theme-dark .join{background:rgba(224,92,126,.07)}
body.home-page.theme-dark #peek::before{background:rgba(255,255,255,.012)}
body.home-page.theme-dark #about::before{background:rgba(196,140,210,.045)}
body.home-page.theme-dark #faq::before{background:rgba(224,92,126,.04)}
/* same hearts on every page and in both looks */
body.home-page.theme-dark .hearts,body.theme-dark .hearts,body.account-page .hearts,body.diary-page .hearts,body.shop-page .hearts{opacity:.25}
body.home-page:not(.theme-dark) .s-head .fine{color:#7d6670}

/* ════════ smoother scrolling ════════
   the biggest causes of lag were: a full-screen texture layer blended over every pixel, blurred hearts being redrawn
   all the time, "frosted glass" blur behind lots of cards, and backgrounds pinned to the screen. all swapped for cheaper looks. */
body::after{display:none!important}
.hlayer svg{filter:none!important}
.hl-far svg{opacity:.22}.hl-near svg{opacity:.22}
body,body.theme-dark,body.account-page,body.diary-page,body.shop-page{background-attachment:scroll!important}
:is(.acard,.tier,.step,.clip,.kpi,.panel,.mem,.m-card,.prow):not(.x){-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.nav{-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}
@media(max-width:760px){.nav{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .nav,body.theme-dark .nav,body.account-page .nav,body.diary-page .nav,body.shop-page .nav{background-color:rgba(255,246,241,.97)}
  body.theme-dark .nav,body.account-page .nav,body.diary-page .nav,body.shop-page .nav{background:rgba(36,21,30,.97)!important}}
/* glass cards lose their blur, so give them a touch more body */
body.account-page .acard{background:rgba(255,255,255,.07)}
body.home-page.theme-dark :is(.tier,.step,.clip){background:rgba(255,255,255,.065)!important}
.hlayer{will-change:transform}

/* ════════ smoother still: every always-on animation now only moves or fades (the cheap kind the graphics chip handles) ════════ */
/* the hearts: each one on its own layer so drifting never redraws the page; fewer of them */
.hearts{contain:strict}
.hlayer svg{will-change:transform;backface-visibility:hidden}
/* menu bar: no live blur behind it (it had to re-blur the page on every scroll step) */
.nav,body .nav{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body:not(.theme-dark):not(.diary-page):not(.account-page):not(.shop-page) .nav{background:rgba(255,246,241,.96)}
body.theme-dark .nav,body.account-page .nav,body.diary-page .nav,body.shop-page .nav{background:rgba(36,21,30,.95)!important}
/* the moving pink bar */
.ribbon-track{will-change:transform}
/* "the diary" glow: the soft light behind it pulses (cheap) instead of re-drawing glowing text every frame */
.nav-links a[href$="diary.html"]{animation:none!important;text-shadow:0 0 1px rgba(224,92,126,.45),0 0 12px rgba(224,92,126,.45)}
body.diary-page .nav-links a[href$="diary.html"],body.account-page .nav-links a[href$="diary.html"],body.shop-page .nav-links a[href$="diary.html"],body.theme-dark .nav-links a[href$="diary.html"]{text-shadow:0 0 1px rgba(255,157,184,.6),0 0 14px rgba(255,120,160,.5)}
.nav-links a[href$="diary.html"]::after{animation:glowpulse 3.6s ease-in-out infinite;will-change:opacity}
@keyframes glowpulse{0%,100%{opacity:.55}50%{opacity:1}}
/* diary cover corner: grows by scaling, not by changing its size */
.cover.ready .cover-turn .curl{animation-name:curl2!important;transform-origin:100% 100%}
@keyframes curl2{50%{transform:scale(1.29)}}
/* account card shine: plays a few times, then rests */
.memcard .mc-sheen{animation-iteration-count:3!important;mix-blend-mode:normal!important;opacity:.5}
@media (prefers-reduced-motion: reduce){.hlayer svg,.nav-links a[href$="diary.html"]::after{animation:none!important}}
.acard .perks.off li{color:rgba(246,200,216,.72)}
body.theme-light .acard .perks.off li{color:#7d6670}

/* ════════ smooth scrolling, round 3 ════════ */
/* hearts: only the few big ones sway; the rest just drift with the scroll (no constant re-animating) */
.hl-far svg,.hl-mid svg{animation:none!important}
/* reveal-on-scroll pieces drop their "ready to move" layer once they've appeared */
.reveal.in{will-change:auto!important}
/* the glow behind "the diary": a plain soft gradient (no blur filter to recalculate) */
.nav-links a[href$="diary.html"]::after{filter:none!important;background:radial-gradient(closest-side,rgba(224,92,126,.28),rgba(224,92,126,.08) 60%,transparent)}
/* parts of the homepage below the screen aren't drawn until you scroll near them */
body.home-page :is(#peek,#about,#faq){content-visibility:auto;contain-intrinsic-size:auto 900px}
/* big soft shadows are lighter to draw when smaller */
body.home-page :is(.tier,.list,.paper,.me-pol,.clip,.faq details,.step){box-shadow:0 16px 30px -18px rgba(58,34,48,.4)}
body.home-page.theme-dark :is(.tier,.list,.paper,.me-pol,.clip,.step){box-shadow:0 18px 34px -18px rgba(0,0,0,.7)}
