/* theme toggle */
.theme-toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font:600 13.5px var(--font);color:var(--text);border:1px solid var(--line-2);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border-radius:999px;padding:8px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 16px -8px rgba(0,0,0,.5);transition:transform .2s,border-color .2s}
.theme-toggle svg{width:18px;height:18px}
.theme-toggle:hover{border-color:#e8c478;transform:translateY(-1px)}
.tt-footer{margin-top:10px}
.tt-fixed{position:fixed;left:16px;bottom:16px;z-index:60;width:44px;height:44px;padding:0;justify-content:center;backdrop-filter:blur(10px);background:rgba(16,35,64,.75)}
html[data-theme=light] .theme-toggle{background:linear-gradient(180deg,#fff,#eef2f8);box-shadow:inset 0 1px 0 #fff,0 6px 16px -8px rgba(16,35,64,.35)}
html[data-theme=light] .tt-fixed{background:rgba(255,255,255,.9)}
@media print{.theme-toggle{display:none}}

/* splash */
.lw-splash{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:radial-gradient(900px 600px at 50% 45%,#13294d,#0a1628 60%,#050d1b);transition:opacity .8s cubic-bezier(.2,.7,.2,1),visibility .8s;cursor:pointer}
html[data-theme=light] .lw-splash{background:radial-gradient(900px 600px at 50% 45%,#ffffff,#eef2f8 60%,#dfe6f1)}
.lw-splash.out{opacity:0;visibility:hidden}
.lw-sp-glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,123,116,.28),rgba(80,200,200,.10) 45%,transparent 70%);filter:blur(10px);animation:lwGlow 2.6s ease-in-out both}
.lw-sp-inner{position:relative;display:flex;flex-direction:column;align-items:center;gap:18px}
.lw-sp-mark{width:84px;height:84px;filter:drop-shadow(0 10px 30px rgba(226,71,79,.55));animation:lwDrop 1.3s cubic-bezier(.2,.8,.2,1) both}
.lw-sp-word{font:800 clamp(22px,4.6vw,40px)/1 var(--font);letter-spacing:.22em;color:var(--text);animation:lwWord 1.4s .45s cubic-bezier(.2,.7,.2,1) both}
.lw-sp-word span{color:var(--accent)}
.lw-sp-line{height:2px;width:220px;background:linear-gradient(90deg,transparent,#e8c478,transparent);animation:lwLine 1.2s .9s ease both;transform-origin:center}
.lw-sp-skip{position:absolute;right:20px;bottom:20px;background:none;border:1px solid var(--line-2);color:var(--muted);border-radius:999px;padding:7px 16px;font:500 13px var(--font);cursor:pointer}
@keyframes lwDrop{0%{opacity:0;transform:translateY(-40px) scale(.6)}60%{opacity:1;transform:translateY(4px) scale(1.04)}100%{transform:none}}
@keyframes lwWord{0%{opacity:0;letter-spacing:.6em;filter:blur(6px)}100%{opacity:1;letter-spacing:.22em;filter:none}}
@keyframes lwLine{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:scaleX(1)}}
@keyframes lwGlow{0%{opacity:0;transform:scale(.5)}50%{opacity:1}100%{opacity:.8;transform:scale(1.1)}}
body.lw-splashing{overflow:hidden}
body.lw-enter #main,body.lw-enter .site-header{animation:lwEnter 1.1s cubic-bezier(.2,.7,.2,1) both}
@keyframes lwEnter{0%{opacity:0;transform:translateY(14px) scale(.99);filter:blur(4px)}100%{opacity:1;transform:none;filter:none}}
@media (prefers-reduced-motion:reduce){.lw-splash{display:none}body.lw-enter #main,body.lw-enter .site-header{animation:none}}

/* menu: embossed framed buttons + clear active state */
.menu-grid{gap:12px}
.menu-grid a,.menu-tools a{position:relative;padding:12px 14px;border-radius:14px;border:1px solid rgba(232,196,120,.22);
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.015));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -2px 0 rgba(0,0,0,.25),0 8px 18px -10px rgba(0,0,0,.7);
  transition:transform .18s var(--ease),box-shadow .18s,border-color .18s,background .18s}
.menu-grid a::after,.menu-tools a::after{content:"";position:absolute;inset:3px;border-radius:11px;border:1px solid rgba(255,255,255,.05);pointer-events:none}
.menu-grid a:hover,.menu-tools a:hover{transform:translateY(-2px);border-color:rgba(232,196,120,.55);background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.03));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -2px 0 rgba(0,0,0,.25),0 14px 26px -12px rgba(0,0,0,.8)}
.menu-grid a:active,.menu-tools a:active{transform:translateY(1px);box-shadow:inset 0 2px 6px rgba(0,0,0,.45)}
.menu-grid a.is-active,.menu-tools a.is-active{border-color:#e8c478;background:linear-gradient(180deg,rgba(255,123,116,.22),rgba(232,196,120,.10));box-shadow:0 0 0 1px rgba(232,196,120,.45),0 0 22px -4px rgba(232,196,120,.45),inset 0 1px 0 rgba(255,255,255,.2)}
.menu-grid a.is-active svg{color:#e8c478}
.menu-grid a.is-active span{font-weight:700}
html[data-theme=light] .menu-grid a,html[data-theme=light] .menu-tools a{border-color:rgba(176,132,48,.28);background:linear-gradient(180deg,#ffffff,#eef2f8);box-shadow:inset 0 1px 0 #fff,inset 0 -2px 0 rgba(16,35,64,.08),0 8px 18px -12px rgba(16,35,64,.45)}
html[data-theme=light] .menu-grid a.is-active,html[data-theme=light] .menu-tools a.is-active{border-color:#b08430;background:linear-gradient(180deg,#fff4e6,#fde7e4);box-shadow:0 0 0 1px rgba(176,132,48,.4),0 10px 22px -10px rgba(176,132,48,.55)}
html[data-theme=light] .menu-grid a.is-active svg{color:#b08430}
/* public site: no internal / unfinished markers */
.fig-pending,.fig[hidden],.plan-progress,.plan-seg,.is-soon,.badge.soon,.tl-soon,.pg-draft{display:none!important}
li:has(> a.soon),.related li:has(.badge.soon){display:none!important}
/* newsletter */
.nl{display:flex;gap:18px;align-items:flex-start;padding:24px;border-radius:20px;border:1px solid rgba(232,196,120,.35);background:linear-gradient(150deg,rgba(255,123,116,.10),rgba(80,200,200,.06) 60%,rgba(232,196,120,.08));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),var(--shadow)}
.nl-footer{width:min(1180px,100% - 40px);margin:0 auto 26px}
.nl-article{margin:26px 0}
.nl-ico{flex-shrink:0;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(232,196,120,.15);color:#e8c478}.nl-ico svg{width:26px;height:26px}
.nl-body{flex:1;min-width:0}.nl h2{margin:0 0 4px;font-family:var(--serif);font-size:1.3rem}.nl-body>p{margin:0 0 12px;color:var(--muted)}
.nl-row{display:flex;gap:8px;flex-wrap:wrap}
.nl-row input[type=email]{flex:1 1 220px;min-width:0;padding:11px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font:15px var(--font)}
.nl-row select{padding:11px 10px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font:14px var(--font)}
.nl-btn{padding:11px 20px;border-radius:12px;border:0;background:linear-gradient(180deg,#ff8f88,#e2474f);color:#fff;font:700 15px var(--font);cursor:pointer;box-shadow:0 8px 20px -10px rgba(226,71,79,.8)}
.nl-consent{display:flex;gap:8px;align-items:flex-start;margin-top:10px;font-size:13.5px;color:var(--muted)}.nl-consent input{margin-top:3px}
.nl-msg{margin:8px 0 0;font-weight:600;color:#7fe3b0}.nl-msg:empty{display:none}
.nl-unsub{margin:6px 0 0;font-size:12.5px;color:var(--faint)}
.nl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.nl-hbtn{padding:8px 12px}.nl-hbtn svg{width:18px;height:18px}
@media (max-width:900px){.nl-hbtn span{display:none}}
@media (max-width:560px){.nl{flex-direction:column;padding:18px}.nl-btn{width:100%}}
html[data-theme=light] .nl-msg{color:#1c7a4f}
/* ---- final plan: home first screen, entry cards, who-helped, menu personal ---- */
.hero-what h1{font-size:clamp(2.2rem,5.2vw,3.8rem)}
.hero-disc{display:flex;gap:.55rem;align-items:flex-start;max-width:640px;margin:.4rem 0 1rem;padding:.6rem .85rem;border-radius:12px;border:1px solid var(--line-2);background:rgba(255,255,255,.04);font-size:.92rem;line-height:1.5;color:var(--muted)}
.hero-disc svg{flex:0 0 18px;width:18px;height:18px;margin-top:2px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.entry-cards{list-style:none;padding:0;margin:2rem 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;position:relative;z-index:2}
.entry-card{display:flex;gap:.9rem;align-items:flex-start;height:100%;padding:1.15rem 1.2rem;border-radius:18px;border:1px solid var(--line-2);background:linear-gradient(165deg,rgba(255,255,255,.07),rgba(255,255,255,.02));box-shadow:0 14px 34px -22px rgba(0,0,0,.6);color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s}
.entry-card:hover,.entry-card:focus-visible{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 20px 40px -22px rgba(0,0,0,.7)}
.ec-ico{flex:0 0 44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft,rgba(255,123,116,.12));color:var(--accent)}
.ec-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ec-t{flex:1;display:flex;flex-direction:column;gap:.3rem}.ec-t b{font-size:1.12rem}.ec-t small{color:var(--muted);font-size:.9rem;line-height:1.45}
.ec-arr{color:var(--accent);align-self:center}.ec-arr svg{fill:none;stroke:currentColor;stroke-width:2}
@media (max-width:860px){.entry-cards{grid-template-columns:1fr;gap:.7rem}}
.home-personal-h{margin-top:3rem}
.wh-head{max-width:760px;margin:1rem 0 2rem}.wh-head h1{font-size:clamp(2rem,4.4vw,3rem);margin:.3rem 0 .6rem}
.wh-h{font-size:1.3rem;margin:2.2rem 0 1rem}
.wh-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.wh-card{display:flex;gap:1rem;padding:1.2rem;border-radius:18px;border:1px solid var(--line-2);background:linear-gradient(170deg,rgba(255,255,255,.06),rgba(255,255,255,.015))}
.wh-card.is-featured,.wh-card.is-center{grid-column:1/-1;border-color:rgba(232,196,120,.45);background:linear-gradient(120deg,rgba(232,196,120,.10),rgba(255,255,255,.02) 60%)}
.wh-mono{flex:0 0 52px;height:52px;border-radius:50%;display:grid;place-items:center;font:700 1.35rem/1 'Noto Serif',serif;color:#e8c478;background:radial-gradient(circle at 35% 30%,rgba(232,196,120,.25),rgba(232,196,120,.06));border:1px solid rgba(232,196,120,.35)}
.wh-mono svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7}
.wh-b{min-width:0}.wh-b h3{margin:0 0 .2rem;font-size:1.1rem}
.wh-role{margin:0;font-weight:600;color:var(--accent);font-size:.92rem}.wh-place{margin:.15rem 0 .5rem;color:var(--muted);font-size:.85rem}.wh-text{margin:0;line-height:1.55}
.wh-more{margin:2.2rem 0 1rem}
.menu-personal{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:.8rem}
@media (max-width:640px){.menu-personal{grid-template-columns:1fr}}
.mf-combo .mf-links{display:flex;flex-wrap:wrap;gap:.4rem .9rem;margin-top:.25rem}.mf-combo .mf-links a{color:var(--accent);font-weight:600;font-size:.92rem;text-decoration:none}.mf-combo .mf-links a:hover{text-decoration:underline}
/* light polish */
html[data-theme=light] .hero-disc{background:#fff;border-color:rgba(16,35,64,.12);color:#3c4d68;box-shadow:0 6px 18px -14px rgba(16,35,64,.35)}
html[data-theme=light] .entry-card{background:#fff;border-color:rgba(16,35,64,.10);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 14px 32px -20px rgba(16,35,64,.35)}
html[data-theme=light] .entry-card:hover{box-shadow:0 22px 40px -22px rgba(16,35,64,.45)}
html[data-theme=light] .wh-card{background:#fff;border-color:rgba(16,35,64,.10);box-shadow:0 12px 30px -22px rgba(16,35,64,.35)}
html[data-theme=light] .wh-card.is-featured,html[data-theme=light] .wh-card.is-center{background:linear-gradient(120deg,#fff8ea,#fff 60%);border-color:rgba(176,132,48,.35)}
html[data-theme=light] .wh-mono{color:#9a6b1c;background:radial-gradient(circle at 35% 30%,#fff3dc,#fbe8c6);border-color:rgba(176,132,48,.35)}
html[data-theme=light] .wh-role{color:#b8323a}
/* public site shows only written articles: unwritten plan entries are not listed */
.plan-list li.is-soon,.sublist li.is-soon,.plan-seg,.plan-filter .seg{display:none!important}
@media (max-width:640px){.hero-what{min-height:0}.hero-what .hero-inner{padding-top:1.4rem;padding-bottom:.5rem}.hero-what .eyebrow{font-size:.68rem;letter-spacing:.08em}.hero-what .mission{font-size:1.02rem;line-height:1.55}.hero-disc{font-size:.86rem}.hero-what .cta{gap:.6rem}.entry-cards{margin-top:1.2rem}.entry-card{padding:.95rem 1rem}}

.nl-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px;background:rgba(6,12,28,.45)}
.nl-card{position:relative;width:min(420px,100%);max-height:calc(100vh - 32px);overflow:auto;border-radius:20px;background:var(--surface,#fff);box-shadow:0 24px 60px rgba(0,0,0,.35)}
.nl-card .nl{margin:0;border:0;flex-direction:column;padding:22px 20px 16px}
.nl-card .nl-btn{width:100%}
.nl-x{position:absolute;top:8px;right:8px;z-index:2;width:36px;height:36px;border-radius:50%;border:1px solid var(--line-2,#ccd);background:var(--surface,#fff);color:var(--text,#123);font-size:22px;line-height:1;cursor:pointer}
.nl-close{display:block;margin:0 auto 16px;padding:8px 18px}
@media (max-width:560px){.nl-modal{place-items:end center;padding:0}.nl-card{width:100%;border-radius:20px 20px 0 0;max-height:85vh}}

.lw-xclose{position:fixed;top:78px;right:14px;z-index:900;width:46px;height:46px;border-radius:50%;border:1px solid var(--line-2,#ccd);background:var(--surface,#fff);color:var(--text,#123);font-size:28px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.18);display:grid;place-items:center}
.lw-xclose[hidden]{display:none}
@media (max-width:560px){.lw-xclose{right:10px;width:44px;height:44px}}

.nl-pop{position:fixed;z-index:1000;padding:12px;border-radius:14px;background:var(--surface,#fff);border:1px solid var(--line-2,#dde);box-shadow:0 14px 36px rgba(0,0,0,.22)}
.nl-pf{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.nl-pf input[type=email]{flex:1 1 160px;min-width:0;padding:9px 12px;border-radius:10px;border:1px solid var(--line-2,#ccd);background:var(--surface,#fff);color:var(--text,#123);font:15px var(--font)}
.nl-pf .nl-btn{padding:9px 14px;font-size:14px}
.nl-pmsg{flex-basis:100%;margin:0;font-size:13px;font-weight:600;color:#c0392b}.nl-pmsg:empty{display:none}
.nl-ppriv{flex-basis:100%;margin:0;font-size:11.5px;color:var(--faint,#889)}
.nl-hbtn.is-sub{opacity:.6;cursor:default}
.nl-fmini{width:min(1180px,100% - 40px);margin:0 auto 18px;text-align:center}
.nl-fmini[hidden]{display:none}
.nl-fbtn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;border:1px solid var(--line-2,#ccd);background:transparent;color:var(--text,#123);font:600 14px var(--font);cursor:pointer}
.nl-fbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}

.nl-inline{position:relative;display:block;margin:22px 0;padding:14px 46px 12px 16px;border-radius:14px}
.nl-ih{margin:0 0 8px;font-weight:700;font-size:15px}
.nl-ix{position:absolute;top:6px;right:6px;width:34px;height:34px;border-radius:50%;border:0;background:transparent;color:var(--muted,#667);font-size:22px;line-height:1;cursor:pointer}
.nl-ix:hover{background:rgba(0,0,0,.06)}
@media (max-width:560px){.nl-inline{padding-right:40px}.nl-inline .nl-btn{width:auto}}

/* menu: own scroll, no floating buttons over it; header × */
.menu-panel{max-height:calc(100vh - var(--lw-hh,66px));max-height:calc(100dvh - var(--lw-hh,66px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:env(safe-area-inset-bottom)}
.menu-panel .container{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
body.lw-menu-open{overflow:hidden}
body.lw-menu-open .tt-fixed,body.lw-menu-open .lw-xclose{display:none!important}
.menu-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;width:min(1180px,100% - 40px);margin:0 auto;padding:10px 0;background:inherit;border-bottom:1px solid var(--line)}
.menu-head .mh-t{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.menu-head .mh-tools{margin-left:auto}
.menu-head .mh-x{width:40px;height:40px;border-radius:50%;border:1px solid var(--line-2,#ccd);background:var(--surface,#fff);color:var(--text,#123);font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center}
.menu-head .theme-toggle span{font-size:13px}
.menu-grid a .mcount{margin-left:auto;flex-shrink:0;min-width:24px;padding:1px 7px;border-radius:999px;font:600 11.5px var(--font);text-align:center;color:var(--muted);background:rgba(127,140,160,.14);border:0}
.menu-grid a span{min-width:0}
/* × lives in the sticky header bar: never covers text */
.site-header .bar .lw-xclose{position:static;flex-shrink:0;width:40px;height:40px;font-size:24px;box-shadow:none;margin-left:2px}
@media (max-width:820px){.site-header .bar .lw-xclose{order:4;margin-left:0}}
/* floating theme button only where it sits in empty margin; otherwise theme is in menu header + footer */
@media (max-width:1399px){.tt-fixed{display:none!important}}

/* staff name cards (who-helped + my story) */
.staff-names{display:grid;gap:1.4rem;margin:1rem 0 1.4rem}
.sn-h{font-size:1rem;margin:0 0 .7rem;letter-spacing:.02em;display:flex;align-items:center;gap:.5rem}
.sn-n{font-size:.75rem;font-weight:600;padding:.1rem .5rem;border-radius:999px;background:var(--line-2,#e3e8ef);color:inherit}
.sn-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.55rem}
.sn-card{padding:.7rem .9rem;border-radius:14px;border:1px solid var(--line-2,#e3e8ef);background:linear-gradient(170deg,rgba(255,255,255,.06),rgba(255,255,255,.015))}
.sn-card b{display:block;font-family:'Noto Serif',serif;font-weight:600;font-size:1rem;line-height:1.3}
.sn-card small{display:block;margin-top:.2rem;font-size:.8rem;color:var(--accent)}
.sn-card.is-featured{grid-column:1/-1;border-color:rgba(200,160,80,.5);background:linear-gradient(120deg,rgba(232,196,120,.14),rgba(255,255,255,.02) 60%)}
.st-staff-more{margin-top:.8rem}
.nl-pf .nl-btn{background:#b8322e;color:#fff}.gl-cats small{opacity:1}.crumbs .sep{opacity:1}
/* pro polish (2026-10-14) */
.nl-inline{padding-right:16px}
.nl-ix{position:absolute;top:10px;right:12px;width:auto;height:auto;padding:4px 8px;border-radius:8px;font:600 13px var(--font);text-decoration:underline;text-underline-offset:3px}
.nl-inline .nl-ih{padding-right:72px}
@media (max-width:560px){.nl-inline{padding-right:16px}}
.site-header{position:sticky;top:0}
#view{animation:lwIn .2s ease-out both}
#view.lw-anim{animation:none}
@keyframes lwIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
a,button,.btn-ghost{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s,opacity .15s}
.lw-xclose:hover,.menu-head .mh-x:hover{background:rgba(127,140,160,.14)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent,#2b6cb0);outline-offset:2px;border-radius:6px}
@media (prefers-reduced-motion:reduce){#view,.menu-panel:not([hidden]){animation:none!important}*{scroll-behavior:auto!important}}
/* compact mobile header: row1 logo·subscribe·menu·×, row2 search·lang */
@media (max-width:820px){
.site-header .bar{flex-wrap:wrap;height:auto;row-gap:6px;column-gap:6px;padding-top:8px;padding-bottom:8px}
.site-header .bar .logo{order:1;margin-right:auto}
.site-header .bar .nl-hbtn{order:2}
.site-header .bar .menu-btn{order:3}
.site-header .bar .lw-xclose{order:4}
.site-header .bar .search{order:5;flex:1 1 180px;min-width:0;max-width:none;margin:0}
.site-header .bar .lang{order:6;margin:0}
.site-header .bar .search input{height:38px}
.site-header .bar .lang-name{display:none}.site-header .bar .lang-code{display:inline}
.site-header .bar .lang button{padding:6px 8px;gap:5px}
}
@media (max-width:430px){.site-header .bar .lang-flag{display:none}.site-header .bar .menu-btn span{display:none}.site-header .bar .lw-xclose,.site-header .bar .menu-btn,.site-header .bar .nl-hbtn{width:38px;height:38px}.logo-text{font-size:14px}}
.tt-fixed{display:none!important}
@media (max-width:560px){.site-header .bar .search{flex:1 1 calc(100% - 140px)}}
[tabindex="-1"]:focus,[tabindex="-1"]:focus-visible{outline:none}
.gl-az button:disabled{opacity:1!important;color:#5f6b7c!important;background:transparent!important;border-style:dashed}
html[data-theme=dark] .gl-az button:disabled,html:not([data-theme=light]) .gl-az button:disabled{color:#9aa7ba!important}
html:not([data-theme=light]) .gl-cats small{color:#c3cfe0}
html:not([data-theme=light]) .gl-cats small{color:#fff}
@media (max-width:820px){.site-header .bar .rd-story{order:4}}
.lw-xclose{display:none!important}
/* 2026-10-17: × only inside popups/panels — always in the top-right corner of that window */
.nl-pop{padding-top:40px}
.lw-cx{position:absolute;top:8px;right:8px;width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--line-2,#ccd);background:var(--surface,#fff);color:var(--text,#123);font-size:20px;line-height:1;cursor:pointer}
.lw-cx:hover{background:rgba(127,140,160,.14)}
.lwp-full .lwp-fhead{position:relative;min-height:44px}
.lwp-full .lwp-down.lw-cx{top:4px;right:4px;width:40px;height:40px;font-size:24px!important;color:inherit;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.25)}

/* 2026-10-17: the header menu button is always the tap target. Below 1260px (where it shows):
   subscribe = compact icon-only button (envelope; check mark when subscribed), nothing can spill over the menu button */
.nl-hbtn{overflow:hidden;white-space:nowrap}
.nl-hbtn.is-sub svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:1259px){
  .site-header .bar .nl-hbtn span{display:none}
  .site-header .bar .nl-hbtn{width:44px;height:44px;min-width:44px;padding:0;justify-content:center;flex:0 0 44px}
  .site-header .bar .menu-btn{min-width:44px;min-height:44px;position:relative;z-index:3;flex-shrink:0}
  .site-header .bar .nl-hbtn{position:relative;z-index:1}
}
@media (max-width:430px){
  .site-header .bar .menu-btn{width:44px;height:44px;padding:0;justify-content:center}
  .site-header .bar .nl-hbtn{width:44px;height:44px}
  .site-header .bar .nl-hbtn + .menu-btn,.site-header .bar .menu-btn{margin-left:8px}
}

/* 2026-10-18: subscribe button — always visible at the top for everyone, red in both states (not subscribed / subscribed) */
.site-header .bar .nl-hbtn,.site-header .bar .nl-hbtn.is-sub,.site-header .bar .nl-hbtn:disabled{display:inline-flex!important;visibility:visible!important;align-items:center;gap:6px;background:#d6343f!important;border:1px solid #d6343f!important;color:#fff!important;opacity:1!important;border-radius:999px;font-weight:600;box-shadow:0 1px 2px rgba(160,20,30,.18)}
.site-header .bar .nl-hbtn svg{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.site-header .bar .nl-hbtn:not(.is-sub):hover{background:#b92733!important;border-color:#b92733!important}
.site-header .bar .nl-hbtn.is-sub{cursor:default}
@media (max-width:1259px){.site-header .bar .nl-hbtn,.site-header .bar .nl-hbtn.is-sub{width:44px!important;height:44px!important;min-width:44px;padding:0!important;justify-content:center;border-radius:50%}}
/* 2026-10-18: 320px — logo · subscribe · menu stay on one row (nothing wraps under or over the menu button) */
@media (max-width:340px){.site-header .bar .nl-hbtn + .menu-btn,.site-header .bar .menu-btn{margin-left:0!important}.site-header .bar .logo .logo-text{font-size:13px}.site-header .bar .rd-tag{font-size:9px}.site-header .bar{column-gap:5px}}

/* t596: neat bell subscribe button — navy, coral line; red only for real notifications */
.site-header .bar .nl-hbtn,.site-header .bar .nl-hbtn.is-sub,.site-header .bar .nl-hbtn:disabled{background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,123,132,.45)!important;color:#ff7b84!important;box-shadow:none}
.site-header .bar .nl-hbtn svg{stroke:#ff7b84;width:20px;height:20px}
.site-header .bar .nl-hbtn:not(.is-sub):hover{background:rgba(255,123,132,.12)!important;border-color:#ff7b84!important}
.site-header .bar .nl-hbtn.is-sub{border-color:rgba(255,255,255,.18)!important;color:#9fb0d8!important}
.site-header .bar .nl-hbtn.is-sub svg{stroke:#9fb0d8}
.site-header .bar .nl-hbtn.has-notif::after{content:'';position:absolute;top:7px;right:8px;width:8px;height:8px;border-radius:50%;background:#e2474f;box-shadow:0 0 0 2px #0b1430}

/* t599 subscribe: header pill + bottom sheet + footer card */
.site-header .bar .nl-hbtn,.site-header .bar .nl-hbtn.is-sub,.site-header .bar .nl-hbtn:disabled{display:inline-flex!important;align-items:center!important;gap:7px!important;width:auto!important;min-width:0!important;height:40px!important;flex:0 0 auto!important;padding:0 15px 0 12px!important;border-radius:999px!important;background:#ff7b84!important;border:1px solid #ff7b84!important;color:#16213d!important;font:700 14px/1 Inter,system-ui,sans-serif!important;opacity:1!important;cursor:pointer!important;box-shadow:0 4px 14px rgba(255,123,132,.28)!important;transition:transform .15s,background .15s}
.site-header .bar .nl-hbtn span{display:inline!important}
.site-header .bar .nl-hbtn svg{width:18px!important;height:18px!important;stroke:#16213d!important;fill:none!important;stroke-width:2!important}
.site-header .bar .nl-hbtn:not(.is-sub):hover{background:#ff9198!important;border-color:#ff9198!important}
.site-header .bar .nl-hbtn:active{transform:scale(.97)}
.site-header .bar .nl-hbtn.is-sub{background:rgba(255,123,132,.1)!important;color:#ffc2c6!important;box-shadow:none!important;border-color:rgba(255,123,132,.45)!important}
.site-header .bar .nl-hbtn.is-sub svg{stroke:#ff7b84!important}
@media (max-width:360px){.site-header .bar .nl-hbtn,.site-header .bar .nl-hbtn.is-sub{padding:0 11px 0 9px!important;font-size:13px!important;gap:5px!important}}
.nl-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sb-sheet.nl-modal{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(5,10,24,0);backdrop-filter:blur(0);transition:background .25s,backdrop-filter .25s}
.sb-sheet.is-in{background:rgba(5,10,24,.62);backdrop-filter:blur(6px)}
.sb-card{position:relative;width:min(440px,100%);background:linear-gradient(180deg,#1b2850,#121c3a);border:1px solid rgba(255,123,132,.22);border-radius:22px;padding:30px 26px 24px;color:#e8edf8;box-shadow:0 24px 60px rgba(0,0,0,.5);transform:translateY(24px);opacity:0;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s}
.sb-sheet.is-in .sb-card{transform:none;opacity:1}
.sb-grip{display:none}
.sb-x{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.07);color:#c5d0ea;font-size:22px;line-height:1;cursor:pointer}
.sb-x:hover{background:rgba(255,255,255,.14)}
.sb-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:rgba(255,123,132,.14);margin:0 auto 14px}
.sb-ic svg,.sb-okic svg{width:26px;height:26px;fill:none;stroke:#ff7b84;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sb-body h2,.sb-fcard h2{margin:0 0 8px;text-align:center;font:800 21px/1.25 Inter,system-ui,sans-serif;color:#fff}
.sb-lead{margin:0 auto 18px;text-align:center;color:#b9c5e0;font-size:14.5px;line-height:1.55;max-width:36ch}
.sb-form{display:flex;flex-direction:column;gap:10px;margin:0}
.sb-in{width:100%;box-sizing:border-box;height:52px;padding:0 16px;border-radius:14px;border:1.5px solid rgba(255,255,255,.14);background:rgba(8,14,32,.6);color:#fff;font-size:16px;outline:none;transition:border-color .15s,box-shadow .15s}
.sb-in::placeholder{color:#8090b4}
.sb-in:focus{border-color:#ff7b84;box-shadow:0 0 0 4px rgba(255,123,132,.18)}
.sb-in.is-err{border-color:#ffb4b8}
.sb-btn{height:52px;border:0;border-radius:14px;background:#ff7b84;color:#16213d;font:800 16px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:background .15s,transform .1s}
.sb-btn:hover{background:#ff9198}.sb-btn:active{transform:scale(.985)}.sb-btn:disabled{opacity:.75;cursor:progress}
.sb-msg{margin:0;min-height:0;font-size:13.5px;color:#ffc2c6;text-align:center}
.sb-msg:empty{display:none}
.sb-priv{margin:4px 0 0;text-align:center;font-size:12.5px;color:#8f9fc2;line-height:1.5}
.sb-priv a{color:#ffaab0;text-decoration:underline;text-underline-offset:2px}
.sb-ok{text-align:center;padding:6px 0 2px}
.sb-okic{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:radial-gradient(circle,rgba(255,123,132,.28),rgba(255,123,132,.08));box-shadow:0 0 0 8px rgba(255,123,132,.06)}
.sb-okic svg{width:30px;height:30px}
.sb-ok h2{font-size:24px!important}
.sb-ok p{margin:0 auto 10px;color:#c5d0ea;font-size:15px;line-height:1.55;max-width:34ch}
.sb-ok .sb-em{color:#ffc2c6;font-weight:600;font-size:14px;margin-bottom:18px}
.sb-ok .sb-btn{width:100%}
@media (max-width:560px){
  .sb-sheet.nl-modal{align-items:flex-end;padding:0}
  .sb-card{width:100%;border-radius:24px 24px 0 0;padding:14px 20px calc(22px + env(safe-area-inset-bottom));transform:translateY(100%);border-bottom:0}
  .sb-grip{display:block;width:40px;height:5px;border-radius:3px;background:rgba(255,255,255,.22);margin:0 auto 16px}
  .sb-x{top:10px}
}
.sb-foot{width:min(640px,100% - 32px);margin:8px auto 28px}
.sb-foot[hidden]{display:block}
.sb-fcard{background:linear-gradient(180deg,#1b2850,#141f40);border:1px solid rgba(255,123,132,.22);border-radius:22px;padding:26px 20px 20px}
.sb-fcard.is-sub{padding:22px 20px}
.sb-fcard.is-sub .sb-lead{margin-bottom:0}
@media (min-width:720px){.sb-fcard .sb-form{flex-direction:row;flex-wrap:wrap}.sb-fcard .sb-in{flex:1 1 260px}.sb-fcard .sb-btn{flex:0 0 auto;padding:0 26px}.sb-fcard .sb-msg,.sb-fcard .sb-priv{flex-basis:100%}}
/* t599: the bottom dock no longer hides the subscribe pill */
html body .site-header .bar .nl-hbtn,html body.lw-bnav .site-header .bar .nl-hbtn{display:inline-flex!important;visibility:visible!important}
.sb-sheet .sb-ok,.sb-fcard .sb-ok{background:none!important;border:0!important;box-shadow:none!important;padding:6px 0 2px!important;margin:0!important}
.s8-pfig{margin:18px 0;border-radius:18px;overflow:hidden;border:1px solid rgba(255,123,132,.18);aspect-ratio:16/9;background:#101a36}.s8-pfig img{width:100%;height:100%;object-fit:cover;display:block}
.s8-dates{margin:6px 0 0;padding-left:18px}.s8-dates li{margin:6px 0;line-height:1.5}

/* t643: header fits 360px; RU subscribe stays on logo row; search+lang on 2nd row */
.site-header .bar .nl-hbtn{flex-shrink:0;white-space:nowrap}.site-header .bar .logo{min-width:0}
@media (max-width:560px){
  html,body{overflow-x:hidden}
  .site-header .bar{flex-wrap:wrap;row-gap:8px;column-gap:8px}
  .site-header .bar .logo{order:1;flex:0 1 auto;min-width:0;overflow:hidden}
  .site-header .bar .nl-hbtn{order:2;margin-left:auto}
  .site-header .bar .search{order:5;flex:1 1 180px;min-width:0;width:auto;max-width:none}
  .site-header .bar .search input{width:100%;min-width:0;box-sizing:border-box}
  .site-header .bar .lang{order:6;flex:0 0 auto;display:flex}
  .site-header .bar .lang button{min-width:0;padding-left:6px;padding-right:6px}
}
@media (max-width:400px){.site-header .bar .nl-hbtn span{display:none!important}.site-header .bar .nl-hbtn{width:40px;min-width:40px;padding:0;justify-content:center}}
