/* NEERMAI app design. Mobile first. Light and dark. A TechBytz product. */

/* Palette "Dusk": deep ink, violet to rose to amber. Warm and modern, welcoming to everyone. */
/* Palette system. Neutral "paper and ink" base with one refined accent.
   The accent comes from the chosen palette (Settings > General): rosewood, sapphire, emerald or aubergine. */
:root {
	--a: #8E3B57; --a-deep: #5E2338; --a-soft: #F6EAEE; --a-lite: #E7A9BE;
	--gold: #A9824F; --gold-soft: #F4ECDF;
	--bg: #F7F5F1;
	--surface: #FFFFFF;
	--soft: #F1EDE7;
	--soft2: var(--a-soft);
	--ink: #141316;
	--ink2: #3A383F;
	--muted: #6F6B73;
	--line: #E7E2DA;
	--err: #B4334A;
	--hero: #17151A;
	--rose: var(--a);
	--lilac: var(--a);
	--coral: var(--gold);
	--plum: #1D1A22;
	--mint: #2F7D62;
	--grad: linear-gradient(135deg, var(--a-deep) 0%, var(--a) 100%);
	--grad2: var(--grad);
	--shadow: 0 24px 48px -32px rgba(20, 18, 24, .34);
	--shadow2: 0 12px 26px -18px rgba(20, 18, 24, .3);
	--r: 20px;
	--r-sm: 14px;
	--top: 60px;
	--tab: 66px;
	--f: "NMP Sans", "Noto Sans Tamil", "Noto Sans Sinhala", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ft: "NMP Serif", "Noto Serif Tamil", "Noto Serif Sinhala", Georgia, "Times New Roman", serif;
	--fs: 18px;
	color-scheme: light;
}
:root[data-palette="sapphire"] { --a: #2D4E8A; --a-deep: #1B2F57; --a-soft: #EAEFF7; --a-lite: #A9C0EC; }
:root[data-palette="emerald"] { --a: #1F6B57; --a-deep: #12443A; --a-soft: #E5F0EB; --a-lite: #8FD1B8; }
:root[data-palette="aubergine"] { --a: #5B3A78; --a-deep: #36214A; --a-soft: #EFE9F5; --a-lite: #C4A9E0; }
:root[data-palette="graphite"] { --a: #2B2A2F; --a-deep: #121114; --a-soft: #EFEDEA; --a-lite: #D9D4CC; --gold: #9C7A45; }
:root[data-theme="dark"] {
	--bg: #0F0E11;
	--surface: #18171B;
	--soft: #222026;
	--a-soft: color-mix(in srgb, var(--a) 22%, #18171B);
	--a: var(--a-lite);
	--ink: #F3F0EA;
	--ink2: #D6D1C9;
	--muted: #9C969E;
	--line: #2B2930;
	--hero: #1C1A20;
	--err: #F07A8E;
	--gold-soft: #2A241B;
	--shadow: 0 22px 44px -26px rgba(0, 0, 0, .85);
	--shadow2: 0 10px 24px -16px rgba(0, 0, 0, .75);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root[data-theme="auto"] {
		--bg: #0F0E11;
		--surface: #18171B;
		--soft: #222026;
		--a-soft: color-mix(in srgb, var(--a) 22%, #18171B);
		--a: var(--a-lite);
		--ink: #F3F0EA;
		--ink2: #D6D1C9;
		--muted: #9C969E;
		--line: #2B2930;
		--hero: #1C1A20;
		--err: #F07A8E;
		--gold-soft: #2A241B;
		--shadow: 0 22px 44px -26px rgba(0, 0, 0, .85);
		--shadow2: 0 10px 24px -16px rgba(0, 0, 0, .75);
		color-scheme: dark;
	}
}

/* ---------- Base (scoped, so nothing else on the site is touched) ---------- */
body.nmp-body { margin: 0; background: var(--bg); }
.nmp, .nmp *, .nmp *::before, .nmp *::after { box-sizing: border-box; }
.nmp { min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
.nmp :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
.nmp :where(ul, ol) { list-style: none; }
.nmp a { color: inherit; text-decoration: none; }
.nmp img { max-width: 100%; height: auto; display: block; }
.nmp button { font: inherit; color: inherit; cursor: pointer; }
.nmp :where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 10px; }
.nmp :where(a, button) { -webkit-tap-highlight-color: transparent; }
.nmp [lang="ta"] { font-family: "Noto Sans Tamil", var(--f); }
.nmp [lang="si"] { font-family: "Noto Sans Sinhala", var(--f); }
.nmp-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nmp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nmp [hidden] { display: none !important; }
.nmp-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); }
.nmp-link { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; color: var(--rose) !important; font-weight: 600; font-size: 14px; }
.nmp-link .nmp-i { width: 16px; height: 16px; }

/* ---------- Buttons and chips ---------- */
.nmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; transition: transform .15s, box-shadow .2s, background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.nmp-btn:active { transform: scale(.97); }
.nmp-btn .nmp-i { width: 18px; height: 18px; }
.nmp-btn.is-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--a) 75%, transparent); }
.nmp-btn.is-primary:hover { box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--a) 90%, transparent); }
.nmp-btn.is-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.nmp-btn.is-ghost:hover { border-color: var(--rose); color: var(--rose); }
.nmp-btn.is-soft { background: var(--soft); color: var(--rose); }
.nmp-btn.is-soft:hover { background: var(--soft2); }
.nmp-btn.is-sm { min-height: 38px; padding: 7px 15px; font-size: 14px; }
.nmp-btn.is-lg { min-height: 52px; font-size: 16px; }
.nmp-btn.is-block { display: flex; width: 100%; }
.nmp-icobtn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--ink2); transition: background-color .2s, color .2s; font-weight: 700; font-size: 15px; }
.nmp-icobtn:hover { background: var(--soft); color: var(--rose); }
.nmp-icobtn sup { font-size: 11px; line-height: 0; vertical-align: super; margin-left: 1px; }
.nmp-read-tools .nmp-icobtn { display: inline-flex; align-items: center; justify-content: center; }
.nmp-icobtn.is-wa { color: #1DA851; }
.nmp-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; scroll-snap-type: x proximity; }
.nmp-chips::-webkit-scrollbar { display: none; }
.nmp-chips.is-wrap { flex-wrap: wrap; overflow: visible; }
.nmp-chips.is-center { justify-content: center; }
.nmp-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink2); font-size: 14px; font-weight: 600; white-space: nowrap; scroll-snap-align: start; transition: background-color .2s, color .2s, border-color .2s; }
.nmp-chip:hover { border-color: var(--rose); color: var(--rose); }
.nmp-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nmp-chip.is-sm { padding: 4px 11px; font-size: 12.5px; background: var(--soft); border-color: transparent; color: var(--rose); }
.nmp-chip small { font-size: 11px; color: var(--muted); font-weight: 600; }
.nmp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- Avatars ---------- */
.nmp-av { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--soft); color: #fff; font-weight: 700; font-size: 14px; }
.nmp-av img { width: 100%; height: 100%; object-fit: cover; }
.nmp-av.is-xs { width: 22px; height: 22px; font-size: 9px; }
.nmp-av.is-sm { width: 34px; height: 34px; font-size: 12px; }
.nmp-av.is-md { width: 46px; height: 46px; font-size: 15px; }
.nmp-av.is-lg { width: 64px; height: 64px; font-size: 20px; }
.nmp-av.is-xl { width: 104px; height: 104px; font-size: 32px; border: 4px solid var(--bg); }

/* ---------- Top bar ---------- */
.nmp-top { position: sticky; top: 0; z-index: 50; height: var(--top); background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nmp-top.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .nmp-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .nmp-top { top: 46px; } }
.nmp-top-in { display: flex; align-items: center; gap: 12px; height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.nmp-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: .02em; color: var(--ink); }
.nmp-logo img { height: 34px; width: auto; }
.nmp-logo-mark { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--a) 80%, transparent); }
.nmp-logo-mark .nmp-i { width: 20px; height: 20px; }
.nmp-top-search { display: none; position: relative; flex: 1; max-width: 460px; margin: 0 auto; }
.nmp-top-search .nmp-i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); width: 18px; height: 18px; }
.nmp-top-search input { width: 100%; height: 42px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 15px var(--f); }
.nmp-top-search input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-top-acts { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nmp-me { margin-left: 4px; border-radius: 50%; }
.nmp-only-d { display: none !important; }
.nmp-when-dark { display: none; }
:root[data-theme="dark"] .nmp-when-dark { display: inline; }
:root[data-theme="dark"] .nmp-when-light { display: none; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .nmp-when-dark { display: inline; } :root[data-theme="auto"] .nmp-when-light { display: none; } }
.nmp-when-light, .nmp-when-dark { line-height: 0; }
.nmp-back { margin-left: -6px; }

/* ---------- Layout ---------- */
.nmp-layout { max-width: 1320px; margin: 0 auto; padding: 8px 16px calc(var(--tab) + 28px + env(safe-area-inset-bottom, 0px)); }
.nmp-main { min-width: 0; }
.nmp-rail, .nmp-side { display: none; }

/* ---------- Bottom tab bar (phones and tablets) ---------- */
.nmp-tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: calc(var(--tab) + env(safe-area-inset-bottom, 0px)); padding: 0 6px env(safe-area-inset-bottom, 0px); background: var(--surface); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.nmp-tab { display: grid; justify-items: center; gap: 3px; padding: 9px 0 10px; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.nmp-tab-i { display: grid; place-items: center; width: 44px; height: 28px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nmp-tab[aria-current="page"] { color: var(--rose); }
.nmp-tab[aria-current="page"] .nmp-tab-i { background: var(--soft); }
.nmp-tab.is-write .nmp-tab-i { width: 52px; height: 52px; margin-top: -24px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--a) 90%, transparent); }
.nmp-tab.is-write .nmp-tab-i .nmp-i { width: 26px; height: 26px; stroke-width: 2.4; }
.nmp-tab.is-write { color: var(--ink2); }

/* ---------- Sections ---------- */
.nmp-sec { margin-top: 26px; }
.nmp-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nmp-sec-h h2, .nmp-sec > h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.nmp-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 12px; }
.nmp-scroll::-webkit-scrollbar { display: none; }
.nmp-scroll > * { scroll-snap-align: start; }
.nmp-sticky-chips { position: sticky; top: var(--top); z-index: 30; margin: 14px -16px 0; padding: 10px 16px; background: var(--bg); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.admin-bar .nmp-sticky-chips { top: calc(var(--top) + 32px); }

/* ---------- Hello ---------- */
.nmp-hello { position: relative; overflow: hidden; margin-top: 8px; padding: 26px 22px 24px; border-radius: 26px; background: radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--gold) 28%, transparent), transparent 65%), radial-gradient(380px 240px at 0% 100%, color-mix(in srgb, var(--a) 22%, transparent), transparent 65%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nmp-hello h1 { font-size: clamp(30px, 7.5vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin-top: 10px; }
.nmp-hello h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nmp-hello-p { color: var(--ink2); font-size: 16px; line-height: 1.6; margin-top: 12px; max-width: 54ch; }
.nmp-hello-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nmp-hello-acts.is-center { justify-content: center; }
.nmp-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.nmp-proof li { font-size: 13px; color: var(--muted); }
.nmp-proof strong { display: block; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }

/* ---------- Writer rings ---------- */
.nmp-rings { margin-top: 18px; }
.nmp-ring { flex: none; width: 76px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.nmp-ring-o { padding: 3px; border-radius: 50%; background: var(--grad2); }
.nmp-ring-o .nmp-av { border: 3px solid var(--bg); }
.nmp-ring-n { font-size: 12px; font-weight: 600; color: var(--ink2); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Covers ---------- */
.nmp-cov { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--soft); aspect-ratio: 16 / 10; }
.nmp-cov img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nmp-cov.is-tint { display: grid; place-items: center; padding: 14px; }
.nmp-cov.is-tint span { color: #fff; font-size: 13px; font-weight: 600; font-style: italic; line-height: 1.5; text-align: center; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 10px rgba(0, 0, 0, .2); }
.nmp-cov.is-sq { aspect-ratio: 1; width: 92px; flex: none; }

/* ---------- Big card ---------- */
.nmp-card { flex: none; width: min(86vw, 380px); }
.nmp-card-a { display: grid; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow2); transition: transform .2s, box-shadow .2s; }
.nmp-card-a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.nmp-card-a:hover .nmp-cov img { transform: scale(1.04); }
.nmp-card .nmp-cov { border-radius: 0; }
.nmp-card-b { display: grid; gap: 8px; align-content: start; padding: 16px 16px 14px; }
.nmp-card-b .nmp-chip { justify-self: start; }
.nmp-card h3 { font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-card-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.nmp-meta { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; color: var(--muted); }
.nmp-meta-a { color: var(--ink2); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nmp-mins { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12.5px; color: var(--muted); }
.nmp-mins .nmp-i { width: 14px; height: 14px; }
.nmp-feed > .nmp-card { width: 100%; margin-bottom: 4px; }

/* ---------- Row card ---------- */
.nmp-feed { display: grid; gap: 4px; }
.nmp-row-a { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.nmp-row:last-child .nmp-row-a { border-bottom: 0; }
.nmp-row-b { flex: 1; min-width: 0; display: grid; gap: 6px; }
.nmp-row h3 { font-size: 17px; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.nmp-row-a:hover h3 { color: var(--rose); }
.nmp-row p { font-size: 14px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-row-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nmp-feed.is-loading { opacity: .6; }
.nmp-feed + .nmp-btn { margin-top: 14px; }

/* ---------- Mini card ---------- */
.nmp-mini { flex: none; width: 168px; }
.nmp-mini a { display: grid; gap: 8px; }
.nmp-mini .nmp-cov { aspect-ratio: 4 / 5; border-radius: 18px; box-shadow: var(--shadow2); }
.nmp-mini h3 { font-size: 14.5px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-mini-a { font-size: 12.5px; color: var(--muted); }
.nmp-mini a:hover h3 { color: var(--rose); }

/* ---------- Why ---------- */
.nmp-why { padding: 24px 20px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.nmp-why > h2 { font-size: 22px; }
.nmp-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 20px; text-align: left; }
.nmp-why-grid > div { padding: 16px; border-radius: 18px; background: var(--bg); display: grid; gap: 6px; align-content: start; }
.nmp-why-grid span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--rose); }
.nmp-why-grid h3 { font-size: 15px; font-weight: 800; margin-top: 4px; }
.nmp-why-grid p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Reading ---------- */
.nmp-progress { position: fixed; z-index: 55; left: 0; right: 0; top: var(--top); height: 3px; background: transparent; }
.admin-bar .nmp-progress { top: calc(var(--top) + 32px); }
.nmp-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 0 3px 3px 0; }
.nmp-read { max-width: 720px; margin: 10px auto 0; }
.nmp-read-h { display: grid; gap: 14px; }
.nmp-read-h .nmp-chip { justify-self: start; }
.nmp-read h1 { font-size: clamp(28px, 6.5vw, 42px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.nmp-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nmp-byline-a { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nmp-byline-a strong { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; }
.nmp-byline-a small { display: block; font-size: 13px; color: var(--muted); }
.nmp-read-tools { display: flex; gap: 2px; }
.nmp-verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--grad2); color: #fff; vertical-align: middle; }
.nmp-verified .nmp-i { width: 12px; height: 12px; stroke-width: 3.2; }
.nmp-read-cover { margin-top: 18px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.nmp-read-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.nmp-prose { margin-top: 22px; font-size: var(--fs); line-height: 1.8; color: var(--ink); overflow-wrap: break-word; }
.nmp-prose > * + * { margin-top: 1.05em; }
.nmp-prose h2 { font-size: 1.35em; line-height: 1.3; margin-top: 1.6em; font-weight: 800; }
.nmp-prose h3 { font-size: 1.15em; margin-top: 1.4em; font-weight: 800; }
.nmp-prose a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--a) 35%, transparent); }
.nmp-prose img, .nmp-prose figure img { border-radius: 16px; margin: 0 auto; }
.nmp-prose figure { margin: 1.4em 0; }
.nmp-prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.nmp-prose blockquote { position: relative; margin: 1.6em 0; padding: 18px 20px 18px 22px; border-radius: 18px; background: var(--soft); border-left: 4px solid var(--rose); font-size: 1.08em; font-style: italic; color: var(--ink2); }
.nmp-prose ul, .nmp-prose ol { padding-left: 1.3em; list-style: revert; }
.nmp-prose li + li { margin-top: .4em; }
.nmp-prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.nmp-prose iframe, .nmp-prose video { max-width: 100%; border-radius: 16px; }
.nmp-prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.nmp-prose td, .nmp-prose th { border: 1px solid var(--line); padding: 8px 10px; }
.nmp-read-tags { margin-top: 26px; }
.nmp-share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 26px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.nmp-share-row > div { display: flex; gap: 4px; }
.nmp-author-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 18px; padding: 20px; border-radius: 22px; background: radial-gradient(300px 140px at 100% 0%, color-mix(in srgb, var(--a) 14%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
.nmp-author-card h2 { font-size: 20px; font-weight: 800; margin: 2px 0 6px; }
.nmp-author-card p:not(.nmp-kicker) { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.nmp-read-more { max-width: 720px; margin-left: auto; margin-right: auto; }
.nmp-read.is-page { margin-bottom: 20px; }

/* ---------- Archive header ---------- */
.nmp-ahead { position: relative; overflow: hidden; margin-top: 8px; padding: 24px 20px; border-radius: 24px; color: #fff; background: radial-gradient(260px 160px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), var(--tint, var(--grad)); box-shadow: var(--shadow); }
.nmp-ahead h1 { font-size: clamp(26px, 6vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.nmp-ahead p { margin-top: 6px; font-size: 14.5px; opacity: .92; }
.nmp-crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; opacity: .9; }
.nmp-crumb .nmp-i { width: 16px; height: 16px; }
.nmp-ahead.is-search { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.nmp-ahead.is-search p { color: var(--muted); }
.nmp-bigsearch { position: relative; display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.nmp-bigsearch > .nmp-i { position: absolute; left: 16px; color: var(--muted); }
.nmp-bigsearch input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 16px var(--f); }
.nmp-bigsearch input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-filter { display: block; margin-top: 10px; }
.nmp-filter input { width: 100%; height: 44px; padding: 0 16px; border-radius: 14px; border: 1px dashed var(--line); background: transparent; color: var(--ink); font: 500 15px var(--f); }

/* ---------- Pages and empty ---------- */
.nmp-pages { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.nmp-pages a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--rose); }
.nmp-pages .nmp-i { width: 16px; height: 16px; }
.nmp-pages.is-quiet { opacity: .7; font-size: 12.5px; }
.nmp-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; text-align: center; border-radius: 22px; background: var(--surface); border: 1px dashed var(--line); }
.nmp-empty > span { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--soft); color: var(--rose); }
.nmp-empty h2 { font-size: 20px; font-weight: 800; }
.nmp-empty p { color: var(--muted); max-width: 40ch; }

/* ---------- Profile ---------- */
.nmp-prof { margin-top: 8px; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding-bottom: 18px; }
.nmp-prof-cover { height: 120px; position: relative; }
.nmp-prof-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 120px at 80% 20%, rgba(255, 255, 255, .25), transparent 70%); }
.nmp-prof-in { display: grid; gap: 12px; padding: 0 18px; margin-top: -52px; position: relative; }
.nmp-prof-t h1 { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.nmp-prof-t h1 .nmp-verified { width: 22px; height: 22px; }
.nmp-prof-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nmp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--soft); color: var(--rose); }
.nmp-badge.is-ref { background: var(--soft2); color: var(--lilac); }
.nmp-badge .nmp-i { width: 14px; height: 14px; }
.nmp-prof-about { margin-top: 10px; color: var(--ink2); font-size: 15px; line-height: 1.6; }
.nmp-prof-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.nmp-prof-stats li { font-size: 13px; color: var(--muted); }
.nmp-prof-stats strong { display: block; font-size: 18px; color: var(--ink); font-weight: 800; }
.nmp-prof-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nmp-prof-cats { padding: 14px 18px 0; }

/* ---------- Explore ---------- */
.nmp-cats { display: grid; gap: 14px; margin-top: 16px; }
.nmp-catcard { padding: 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.nmp-catcard-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; min-height: 86px; padding: 16px; border-radius: 16px; color: #fff; }
.nmp-catcard-h strong { font-size: 20px; font-weight: 800; }
.nmp-catcard-h span { font-size: 13px; opacity: .9; }
.nmp-catcard .nmp-chips { padding: 0 4px 4px; }

/* ---------- Sign in ---------- */
.nmp-auth { display: grid; place-items: center; min-height: calc(100vh - var(--top) - var(--tab) - 60px); padding: 20px 0; }
.nmp-auth-card { width: min(440px, 100%); display: grid; gap: 14px; padding: 28px 22px; border-radius: 28px; background: radial-gradient(320px 180px at 100% 0%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.nmp-auth-ico { width: 60px; height: 60px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--a) 90%, transparent); }
.nmp-auth-ico .nmp-i { width: 28px; height: 28px; }
.nmp-auth-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.nmp-auth-card > p { color: var(--muted); font-size: 15px; }
.nmp-auth-card form { display: grid; gap: 12px; text-align: left; }
.nmp-field { display: grid; gap: 6px; }
.nmp-field span { font-size: 14px; font-weight: 700; color: var(--ink2); }
.nmp-field input { height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 16px var(--f); }
.nmp-field input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-codein { text-align: center; letter-spacing: .5em; font-size: 26px !important; font-weight: 800 !important; }
.nmp-auth-links { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; align-items: center; color: var(--muted); }
.nmp-msg { font-size: 14.5px; min-height: 0; }
.nmp-msg:empty { display: none; }
.nmp-msg.is-ok { color: var(--mint); }
.nmp-msg.is-err { color: var(--err); }
.nmp-auth-foot { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.nmp-auth-foot a { color: var(--rose); font-weight: 700; }
.nmp-auth-safe { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; }
.nmp-auth-safe .nmp-i { width: 15px; height: 15px; color: var(--mint); }

/* ---------- About ---------- */
.nmp-about-hero { margin-top: 8px; padding: 30px 22px; border-radius: 28px; text-align: center; background: radial-gradient(420px 240px at 50% 0%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 70%), radial-gradient(360px 220px at 0% 100%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nmp-about-hero h1 { font-size: clamp(28px, 6.5vw, 44px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin-top: 10px; }
.nmp-about-hero > p { color: var(--ink2); margin: 12px auto 0; max-width: 56ch; }
.nmp-about-hero .nmp-proof { justify-content: center; }
.nmp-about-story p { color: var(--ink2); font-size: 16.5px; line-height: 1.8; margin-top: 12px; max-width: 70ch; }
.nmp-steps { display: grid; gap: 10px; margin-top: 14px; counter-reset: s; }
.nmp-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.nmp-steps-n { position: absolute; right: 16px; top: 12px; font-size: 26px; font-weight: 800; color: var(--soft2); }
.nmp-steps-i { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--rose); }
.nmp-steps h3 { font-size: 16px; font-weight: 800; }
.nmp-steps p { font-size: 14px; color: var(--muted); }
.nmp-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.nmp-video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.nmp-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.nmp-video-p { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.nmp-video-p .nmp-i { width: 24px; height: 24px; fill: currentColor; }
.nmp-video-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 14px; font-weight: 700; }
.nmp-about-cta { text-align: center; padding: 28px 20px; border-radius: 26px; background: var(--grad); color: #fff; }
.nmp-about-cta h2 { font-size: 24px; font-weight: 800; }
.nmp-about-cta p { opacity: .92; margin-top: 6px; }
.nmp-about-cta .nmp-btn.is-primary { background: #fff; color: var(--rose); }
.nmp-about-cta .nmp-btn.is-ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.nmp-about-tb { font-size: 13px; margin-top: 18px !important; }
.nmp-about-tb a { text-decoration: underline; }

/* ---------- 404 ---------- */
.nmp-404 { display: grid; justify-items: center; gap: 12px; padding: 34px 10px 10px; text-align: center; }
.nmp-404-art { display: flex; align-items: center; gap: 8px; font-size: clamp(90px, 26vw, 160px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.nmp-404-art > span:not(.nmp-404-o) { background: var(--grad2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nmp-404-o { width: .72em; height: .72em; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--rose); animation: nmp-float 4s ease-in-out infinite; }
.nmp-404-o .nmp-i { width: 45%; height: 45%; }
.nmp-404 h1 { font-size: 26px; font-weight: 800; }
.nmp-404 > p { color: var(--muted); max-width: 44ch; }
.nmp-404 .nmp-bigsearch { width: min(520px, 100%); }
@keyframes nmp-float { 50% { translate: 0 -8px; rotate: -6deg; } }

/* ---------- Side panels (wide screens) ---------- */
.nmp-panel { padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.nmp-panel + .nmp-panel { margin-top: 14px; }
.nmp-panel-h { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.nmp-join-mini { display: grid; gap: 10px; text-align: center; background: radial-gradient(260px 150px at 100% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%), var(--surface); }
.nmp-join-mini h2 { font-size: 18px; font-weight: 800; }
.nmp-join-mini p { font-size: 14px; color: var(--muted); }
.nmp-join-ico { width: 48px; height: 48px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.nmp-wlist li a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; }
.nmp-wlist li a:hover { background: var(--soft); }
.nmp-wlist strong { display: block; font-size: 14px; }
.nmp-wlist small { color: var(--muted); font-size: 12.5px; }
.nmp-side-foot { display: none; }

/* ---------- Footer ---------- */
.nmp-foot { margin-top: 30px; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom, 0px)); }
.nmp-foot-in { max-width: 1320px; margin: 0 auto; padding: 32px 20px 10px; display: grid; gap: 26px; }
.nmp-foot-brand p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 12px; max-width: 42ch; }
.nmp-socials { display: flex; gap: 8px; margin-top: 14px; }
.nmp-socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--rose); transition: transform .2s, background-color .2s, color .2s; }
.nmp-socials a:hover { background: var(--rose); color: #fff; transform: translateY(-2px); }
.nmp-foot-col { display: grid; gap: 9px; align-content: start; }
.nmp-foot-col h2, .nmp-foot-cta h2 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.nmp-foot-col a { font-size: 14.5px; color: var(--muted); }
.nmp-foot-col a:hover { color: var(--rose); }
.nmp-foot-cta { padding: 20px; border-radius: 22px; background: radial-gradient(240px 140px at 100% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%), var(--bg); border: 1px solid var(--line); }
.nmp-foot-cta p { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.nmp-foot-bar { border-top: 1px solid var(--line); }
.nmp-foot-bar p { max-width: 1320px; margin: 0 auto; padding: 16px 20px; font-size: 13px; color: var(--muted); text-align: center; }
.nmp-foot-bar a { color: var(--ink2); font-weight: 700; }
.nmp-foot-bar a:hover { color: var(--rose); }

/* ---------- Search sheet (phones) ---------- */
.nmp-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(20, 10, 25, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: nmp-fade .2s both; }
.nmp-sheet-in { background: var(--bg); padding: 12px 16px 22px; border-radius: 0 0 26px 26px; box-shadow: var(--shadow); animation: nmp-drop .25s cubic-bezier(.2, .8, .2, 1) both; }
.nmp-sheet-form { position: relative; display: flex; align-items: center; gap: 8px; }
.nmp-sheet-form > .nmp-i { position: absolute; left: 14px; color: var(--muted); }
.nmp-sheet-form input { flex: 1; height: 48px; padding: 0 14px 0 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 16px var(--f); }
.nmp-sheet-h { margin: 16px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@keyframes nmp-fade { from { opacity: 0; } }
@keyframes nmp-drop { from { transform: translateY(-20px); opacity: 0; } }

/* ---------- Toast ---------- */
.nmp-toast { position: fixed; z-index: 99; left: 50%; bottom: calc(var(--tab) + 16px + env(safe-area-inset-bottom, 0px)); translate: -50% 20px; opacity: 0; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font: 600 14.5px var(--f); box-shadow: var(--shadow); transition: opacity .25s, translate .25s; max-width: calc(100vw - 32px); }
.nmp-toast.is-on { opacity: 1; translate: -50% 0; }

/* =============== Tablet =============== */
@media (min-width: 640px) {
	.nmp-layout { padding-left: 24px; padding-right: 24px; }
	.nmp-scroll { margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
	.nmp-sticky-chips { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
	.nmp-hello { padding: 34px 32px 30px; }
	.nmp-cov.is-sq { width: 128px; }
	.nmp-mini { width: 190px; }
	.nmp-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nmp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nmp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nmp-foot-in { grid-template-columns: 1.4fr 1fr 1fr; }
	.nmp-foot-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
	.nmp-foot-cta p { margin: 0; }
	.nmp-prof-in { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 20px; padding: 0 26px; }
	.nmp-prof-in .nmp-prof-t { padding-top: 60px; }
	.nmp-prof-cats { padding-left: 26px; padding-right: 26px; }
	.nmp-auth-card { padding: 36px 34px; }
}

/* =============== Laptop and PC =============== */
@media (min-width: 1000px) {
	:root { --top: 68px; }
	.nmp-top-search { display: block; }
	.nmp-only-m { display: none !important; }
	.nmp-only-d { display: inline-flex !important; }
	.nmp-tabbar { display: none; }
	.nmp-foot { padding-bottom: 0; }
	.nmp-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 34px; padding-bottom: 40px; }
	.nmp-rail { display: block; position: sticky; top: calc(var(--top) + 14px); align-self: start; max-height: calc(100vh - var(--top) - 28px); overflow-y: auto; scrollbar-width: none; padding-bottom: 20px; }
	.nmp-rail::-webkit-scrollbar { display: none; }
	.admin-bar .nmp-rail { top: calc(var(--top) + 46px); }
	.nmp-rail-nav { display: grid; gap: 2px; }
	.nmp-rail-nav a, .nmp-rail-cats a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--ink2); transition: background-color .2s, color .2s; }
	.nmp-rail-nav a:hover, .nmp-rail-cats a:hover { background: var(--soft); color: var(--rose); }
	.nmp-rail-nav a[aria-current="page"] { background: var(--surface); color: var(--rose); box-shadow: var(--shadow2); }
	.nmp-rail-write { margin: 16px 0 6px; }
	.nmp-rail-h { margin: 22px 14px 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
	.nmp-rail-cats { display: grid; gap: 1px; }
	.nmp-rail-cats a { font-weight: 600; font-size: 14.5px; padding: 8px 14px; }
	.nmp-rail-cats a[aria-current="page"] { color: var(--rose); background: var(--soft); }
	.nmp-rail-more { color: var(--rose) !important; font-size: 13.5px !important; }
	.nmp-rail-more .nmp-i { width: 16px; height: 16px; }
	.nmp-scroll { margin: 0; padding-left: 0; padding-right: 0; }
	.nmp-sticky-chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
	.nmp-progress { top: var(--top); }
	.nmp-card { width: 360px; }
	.nmp-auth { min-height: calc(100vh - var(--top) - 80px); }
	.nmp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nmp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nmp-foot-in { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; padding-top: 40px; }
	.nmp-foot-cta { grid-column: auto; display: block; }
	.nmp-foot-cta p { margin: 4px 0 14px; }
	.nmp-toast { bottom: 28px; }
}
@media (min-width: 1240px) {
	.nmp-layout { grid-template-columns: 236px minmax(0, 1fr) 300px; gap: 34px; }
	.nmp-layout.is-focus { grid-template-columns: 236px minmax(0, 1fr); }
	.nmp-side { display: block; position: sticky; top: calc(var(--top) + 14px); align-self: start; }
	.nmp-main { max-width: 720px; width: 100%; justify-self: center; }
	.nmp-layout.is-focus .nmp-main { max-width: 860px; }
}

@media (prefers-reduced-motion: reduce) {
	.nmp *, .nmp *::before, .nmp *::after { animation: none !important; transition: none !important; }
}

/* Fine-tuning */
.nmp-ring-o { display: grid; place-items: center; }
@media (max-width: 639px) {
	.nmp-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.nmp-proof li { font-size: 12px; line-height: 1.3; }
	.nmp-proof strong { font-size: 20px; }
	.nmp-hello { padding: 22px 18px 20px; }
	.nmp-hello-acts .nmp-btn { flex: 1 1 auto; }
}
.nmp-404 { justify-items: stretch; }
.nmp-404 > * { min-width: 0; max-width: 100%; }
.nmp-404 h1 { overflow-wrap: anywhere; }
.nmp-404 > p { justify-self: center; }
.nmp-404 .nmp-bigsearch { justify-self: center; }
.nmp-404 .nmp-bigsearch input { min-width: 0; }
.nmp-404-art { justify-self: center; }
@media (max-width: 480px) { .nmp-404 .nmp-bigsearch .nmp-btn { display: none; } .nmp-hello-acts.is-center .nmp-btn { flex: 1 1 auto; } }


/* ======================================================================
   Design 2: content-first, literary and modern
   ====================================================================== */
.nmp [lang="ta"] h1, .nmp [lang="ta"] h2, .nmp h1[lang="ta"], .nmp h3[lang="ta"], .nmp strong[lang="ta"] { font-family: "Noto Serif Tamil", var(--ft); }
.nmp [lang="si"] h1, .nmp h1[lang="si"], .nmp h3[lang="si"], .nmp strong[lang="si"] { font-family: "Noto Serif Sinhala", var(--ft); }
.nmp-sec-h h2, .nmp-sec > h2, .nmp-read h1, .nmp-ahead h1, .nmp-prof-t h1, .nmp-hi h1, .nmp-about-hero h1, .nmp-404 h1, .nmp-auth-card h1, .nmp-why > h2, .nmp-author-card h2, .nmp-catcard-h strong, .nmp-empty h2, .nmp-foot-cta h2:not(.x) { font-family: var(--ft); letter-spacing: -.015em; }
.nmp-card h3, .nmp-row h3, .nmp-mini h3, .nmp-hcard h3, .nmp-book-big, .nmp-book-t, .nmp-quote-l { font-family: var(--ft); }
.nmp-sec-h h2 { font-size: 22px; font-weight: 700; }
.nmp-sec-h h2 small { font-family: var(--f); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.nmp-foot-cta h2 { font-family: var(--f); }

/* Logo */
.nmp-logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--a) 80%, transparent); padding: 6px; }
.nmp-logo-mark svg { width: 100%; height: 100%; display: block; }
.nmp-logo-t { font-weight: 800; letter-spacing: .06em; font-size: 19px; }

/* Buttons */
.nmp-btn.is-primary { background: var(--ink); color: var(--bg); box-shadow: 0 12px 24px -14px rgba(21, 18, 29, .7); }
.nmp-btn.is-primary:hover { box-shadow: 0 16px 28px -14px rgba(21, 18, 29, .85); }
.nmp-btn.is-grad { background: var(--grad); color: #fff; box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--a) 80%, transparent); }
.nmp-btn.is-ink { background: var(--ink); color: var(--bg); }
.nmp-btn.is-white { background: #fff; color: #15121D; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.nmp-btn.is-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nmp-btn.is-glass:hover { background: rgba(255, 255, 255, .24); }
.nmp-btn.is-soft { background: var(--soft); color: var(--ink2); }
.nmp-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nmp-chip.is-sm { background: var(--soft); color: var(--lilac); }
:root[data-theme="dark"] .nmp-chip.is-sm { color: var(--a-lite); }
.nmp-chip.is-glass { padding: 5px 12px; font-size: 12.5px; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nmp-kicker { color: var(--lilac); }
.nmp-kicker.is-light { color: rgba(255, 255, 255, .85); }
.nmp-link { color: var(--lilac) !important; }
:root[data-theme="dark"] .nmp-link, :root[data-theme="dark"] .nmp-kicker:not(.is-light) { color: var(--a-lite) !important; }
.nmp-tab[aria-current="page"] { color: var(--ink); }
.nmp-tab[aria-current="page"] .nmp-tab-i { background: var(--soft); color: var(--lilac); }
.nmp-tab.is-write .nmp-tab-i { background: var(--grad); }
.nmp-rail-nav a[aria-current="page"] { color: var(--ink); }
.nmp-rail-nav a[aria-current="page"] .nmp-i { color: var(--lilac); }
.nmp-rail-nav a:hover, .nmp-rail-cats a:hover { color: var(--ink); }
.nmp-rail-write { background: var(--grad) !important; color: #fff !important; }

/* Welcome (visitors): immersive dusk band */
.nmp-hello { position: relative; isolation: isolate; overflow: hidden; color: #fff; border: 0; background: radial-gradient(520px 300px at 105% -10%, color-mix(in srgb, var(--gold) 65%, transparent), transparent 60%), radial-gradient(480px 320px at -10% 110%, color-mix(in srgb, var(--a) 90%, transparent), transparent 62%), linear-gradient(135deg, var(--hero) 0%, var(--a-deep) 55%, var(--a) 100%); box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--a) 80%, transparent); }
.nmp-hello-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .55; }
.nmp-hello-orb.is-a { width: 220px; height: 220px; right: -60px; bottom: -80px; border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 80px rgba(255, 255, 255, .03); }
.nmp-hello-orb.is-b { width: 90px; height: 90px; left: 58%; top: -30px; background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 70%); }
.nmp-hello h1 { font-family: var(--ft); font-weight: 700; font-size: clamp(34px, 8vw, 56px); line-height: 1.04; letter-spacing: -.02em; color: #fff; }
.nmp-hello h1 em { font-style: italic; background: linear-gradient(90deg, #FFD3A8, #FFB0C6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nmp-hello-p { color: rgba(255, 255, 255, .86); }
.nmp-proof.is-light { border-top-color: rgba(255, 255, 255, .25); }
.nmp-proof.is-light li { color: rgba(255, 255, 255, .78); }
.nmp-proof.is-light strong { color: #fff; font-family: var(--ft); }

/* Greeting (members) */
.nmp-hi { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; padding: 6px 2px; }
.nmp-hi p { color: var(--muted); font-size: 14.5px; }
.nmp-hi h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.1; font-weight: 700; }

/* Writer rings */
.nmp-rings { margin-top: 18px; }
.nmp-ring-o { background: var(--grad); }

/* Featured slider */
.nmp-hero-sec { margin-top: 18px; }
.nmp-hero-sl { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.nmp-hero-sl::-webkit-scrollbar { display: none; }
.nmp-hcard { flex: none; width: calc(100% - 28px); scroll-snap-align: center; }
.nmp-hcard a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #221a33; box-shadow: var(--shadow); }
.nmp-hcard img, .nmp-hero-tint { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.nmp-hcard a:hover img { transform: scale(1.04); }
.nmp-hcard-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 14, 20, 0) 30%, rgba(16, 14, 20, .55) 60%, rgba(16, 14, 20, .92) 100%); }
.nmp-hcard-b { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: 20px; color: #fff; }
.nmp-hcard-b .nmp-chip { justify-self: start; }
.nmp-hcard h3 { font-size: clamp(24px, 6.4vw, 34px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-hcard p { color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-hcard-f { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.nmp-hcard-f strong { display: block; font-size: 14px; }
.nmp-hcard-f small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.nmp-hcard-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #fff; color: #15121D; font-weight: 700; font-size: 13.5px; }
.nmp-hcard-go .nmp-i { width: 16px; height: 16px; }
.nmp-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.nmp-dots span { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: width .3s, background-color .3s; cursor: pointer; }
.nmp-dots span.is-on { width: 22px; background: var(--ink); }

/* Book covers */
.nmp-scroll.is-books { gap: 14px; }
.nmp-book { position: relative; flex: none; width: 138px; }
.nmp-book.has-rank { width: 168px; padding-left: 30px; }
.nmp-book a { display: grid; gap: 9px; }
.nmp-book-c { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 6px 16px 16px 6px; overflow: hidden; background: var(--soft); box-shadow: inset 6px 0 10px -6px rgba(0, 0, 0, .35), 0 16px 26px -16px rgba(20, 12, 40, .6); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nmp-book a:hover .nmp-book-c { transform: translateY(-4px) rotate(-1deg); }
.nmp-book-c img { width: 100%; height: 100%; object-fit: cover; }
.nmp-book-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16, 14, 20, .82)); }
.nmp-book-t { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-book-c.is-type { display: grid; grid-template-rows: auto 1fr auto; padding: 14px 12px 12px 16px; color: #fff; }
.nmp-book-c.is-type::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .3); }
.nmp-book-k { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-book-big { align-self: center; font-size: 19px; line-height: 1.15; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 12px rgba(0, 0, 0, .2); }
.nmp-book-by { font-size: 11.5px; opacity: .9; }
.nmp-book-meta strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; font-weight: 700; }
.nmp-book-meta small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.nmp-rank { position: absolute; left: -4px; top: 34%; z-index: 2; font-family: var(--ft); font-weight: 700; font-size: 74px; line-height: 1; color: var(--bg); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; letter-spacing: -.06em; pointer-events: none; }

/* Poems as quote cards */
.nmp-scroll.is-quotes { gap: 12px; }
.nmp-quote { flex: none; width: 260px; }
.nmp-quote a { position: relative; display: grid; gap: 14px; height: 100%; min-height: 250px; padding: 22px 20px 18px; border-radius: 24px; color: #fff; background: var(--q, var(--grad)); box-shadow: var(--shadow2); overflow: hidden; }
.nmp-quote a::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 140px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none; }
.nmp-quote-i .nmp-i { width: 28px; height: 28px; opacity: .8; }
.nmp-quote-l { font-size: 17px; line-height: 1.6; font-weight: 600; font-style: italic; }
.nmp-quote-f { align-self: end; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .3); }
.nmp-quote-f strong { display: block; font-size: 14px; font-weight: 700; font-style: normal; }
.nmp-quote-f small { font-size: 12.5px; opacity: .85; }

/* Continue reading */
.nmp-cr { flex: none; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; width: 270px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); scroll-snap-align: start; }
.nmp-cr img, .nmp-cr-tint { width: 64px; height: 80px; border-radius: 10px; object-fit: cover; display: block; }
.nmp-cr-b { min-width: 0; display: grid; gap: 3px; }
.nmp-cr-b strong { font-family: var(--ft); font-size: 14.5px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nmp-cr-b small { font-size: 12px; color: var(--muted); }
.nmp-cr-bar { height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-top: 4px; }
.nmp-cr-bar i { display: block; height: 100%; background: var(--grad); border-radius: 4px; }

/* Writers to follow */
.nmp-wcard { position: relative; flex: none; width: 168px; display: grid; justify-items: center; gap: 4px; padding: 0 14px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; overflow: hidden; scroll-snap-align: start; }
.nmp-wcard-band { position: absolute; left: 0; right: 0; top: 0; height: 52px; opacity: .9; }
.nmp-wcard .nmp-av { position: relative; margin-top: 18px; border: 3px solid var(--surface); }
.nmp-wcard strong { font-size: 14.5px; margin-top: 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-wcard small { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }

/* Cards and rows in Design 2 */
.nmp-row h3 { font-size: 18.5px; font-weight: 700; }
.nmp-row-a:hover h3 { color: var(--lilac); }
.nmp-card h3 { font-size: 20px; font-weight: 700; }
.nmp-mini h3 { font-size: 15px; font-weight: 700; }
.nmp-mini a:hover h3 { color: var(--lilac); }
.nmp-cov.is-sq { border-radius: 14px; }

/* Reader */
.nmp-read h1 { font-weight: 700; font-size: clamp(30px, 7vw, 46px); line-height: 1.12; }
.nmp-prose blockquote { border-left-color: var(--lilac); background: var(--soft); font-family: var(--ft); }
.nmp-prose a { color: var(--lilac); text-decoration-color: color-mix(in srgb, var(--a) 35%, transparent); }
.nmp-verified { background: var(--grad2); }
.nmp-progress span { background: var(--grad); }
.nmp-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; margin: 1.4em 0; box-shadow: var(--shadow); }
.nmp-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .5s; border-radius: 0 !important; }
.nmp-yt:hover img { opacity: 1; transform: scale(1.02); }
.nmp-yt button { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #15121D; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.nmp-yt button svg { width: 30px; height: 30px; margin-left: 4px; }
.nmp-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-block-embed__wrapper > .nmp-yt { margin: 0; }

/* Archive header and profile */
.nmp-ahead { background: radial-gradient(300px 180px at 100% 0%, rgba(255, 255, 255, .25), transparent 70%), var(--tint, var(--grad)); }
.nmp-prof-cover { height: 132px; background: var(--grad) !important; }
.nmp-badge { background: var(--soft); color: var(--lilac); }
.nmp-badge.is-ref { background: var(--soft2); color: var(--rose); }
:root[data-theme="dark"] .nmp-badge { color: var(--a-lite); }

/* Footer, panels */
.nmp-socials a { background: var(--soft); color: var(--ink2); }
.nmp-socials a:hover { background: var(--ink); color: var(--bg); }
.nmp-join-mini .nmp-join-ico, .nmp-auth-ico { background: var(--grad); }
.nmp-auth-card { background: radial-gradient(320px 180px at 100% 0%, color-mix(in srgb, var(--a) 16%, transparent), transparent 70%), var(--surface); }
.nmp-about-cta { background: linear-gradient(135deg, var(--hero) 0%, var(--a-deep) 55%, var(--a) 100%); }
.nmp-about-cta .nmp-btn.is-primary { background: #fff; color: #15121D; }
.nmp-why-grid span, .nmp-steps-i, .nmp-empty > span { background: var(--soft); color: var(--lilac); }
.nmp-404-art > span:not(.nmp-404-o) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nmp-404-o { color: var(--lilac); }

@media (min-width: 640px) {
	.nmp-hcard { width: 82%; }
	.nmp-hcard a { aspect-ratio: 16 / 10; }
	.nmp-hero-sl { margin: 0 -24px; padding: 0 24px; }
	.nmp-book { width: 150px; }
	.nmp-book.has-rank { width: 182px; }
}
@media (min-width: 1000px) {
	.nmp-hero-sl { margin: 0; padding: 0; }
	.nmp-hcard { width: 100%; }
	.nmp-hcard a { aspect-ratio: 16 / 9; }
	.nmp-hcard-b { padding: 28px; max-width: 640px; }
}

/* =========================================================
   Joining (0.3)
   ========================================================= */
.nmp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nmp-join { width: min(700px, 100%); margin: 6px auto 0; }
.nmp-join-top { position: relative; overflow: hidden; padding: 26px 22px 54px; border-radius: 28px 28px 0 0; color: #fff; background: radial-gradient(360px 220px at 100% 0%, color-mix(in srgb, var(--gold) 45%, transparent), transparent 65%), radial-gradient(380px 260px at 0% 110%, color-mix(in srgb, var(--a) 50%, transparent), transparent 65%), linear-gradient(140deg, var(--hero) 0%, var(--hero) 55%, var(--a-deep) 100%); }
.nmp-join-glow { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 65%); pointer-events: none; }
.nmp-join-top h1 { font-family: var(--ft); font-size: 32px; line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; color: #fff; }
.nmp-join-top > p:not(.nmp-kicker) { color: rgba(255, 255, 255, .82); font-size: 15px; max-width: 46ch; }
.nmp-kicker.is-light { color: var(--a-lite); }
.nmp-jprog { display: flex; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.nmp-jprog li { flex: 1 1 0; min-width: 0; display: grid; gap: 6px; }
.nmp-jprog li::before { content: ""; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .22); transition: background .3s; }
.nmp-jprog li.is-done::before { background: #fff; }
.nmp-jprog li.is-on::before { background: linear-gradient(90deg, #fff, var(--a-lite)); }
.nmp-jprog span { display: none; }
.nmp-jprog em { font-style: normal; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmp-jprog li.is-on em { color: #fff; }
.nmp-jprog li.is-done em { color: rgba(255, 255, 255, .8); }

.nmp-join-card { position: relative; margin-top: -30px; padding: 24px 18px 18px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 4px; }
.nmp-jstep { display: grid; gap: 18px; }
.nmp-jstep[hidden], .nmp-jsec[hidden], .nmp-jf[hidden], .nmp-phone[hidden], [data-sub][hidden] { display: none !important; }
.nmp-jstep > h2, .nmp-jsec-h h2 { font-family: var(--ft); font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.nmp-jlead { color: var(--muted); font-size: 14.5px; margin-top: -10px; }
.nmp-jgrid { display: grid; gap: 18px; }

.nmp-jf { display: grid; gap: 7px; min-width: 0; }
.nmp-jf-l { font-size: 14px; font-weight: 700; color: var(--ink2); }
.nmp-jf-l:empty { display: none; }
.nmp-jf-l i { font-style: normal; font-weight: 600; font-size: 12px; color: var(--muted); margin-left: 4px; }
.nmp-jf-h { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.nmp-jf-e { font-size: 13px; font-weight: 600; color: var(--err); }
.nmp-jf-e:empty { display: none; }
.nmp-jf input[type=text], .nmp-jf input[type=email], .nmp-jf input[type=tel], .nmp-jf select, .nmp-jf textarea { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 15px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 16px var(--f); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.nmp-jf select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377708A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.nmp-jf textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.nmp-jf input:focus, .nmp-jf select:focus, .nmp-jf textarea:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-jf.is-bad input, .nmp-jf.is-bad select, .nmp-jf.is-bad textarea, .nmp-jf.is-bad .nmp-slug { border-color: var(--err); background: color-mix(in srgb, var(--err) 5%, var(--bg)); }
.nmp-count { justify-self: end; font-size: 11.5px; color: var(--muted); margin-top: -4px; }
.nmp-codein.is-sm { font-size: 20px !important; letter-spacing: .35em; }

/* Role cards */
.nmp-rolepick { display: grid; gap: 10px; }
.nmp-role { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 26px; gap: 14px; align-items: center; padding: 14px 14px 14px 12px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, background-color .2s, transform .15s, box-shadow .2s; }
.nmp-role:hover { border-color: color-mix(in srgb, var(--rc) 45%, var(--line)); }
.nmp-role:active { transform: scale(.99); }
.nmp-role input { position: absolute; opacity: 0; pointer-events: none; }
.nmp-role.is-teal { --rc: #3F4A57; --rg: linear-gradient(135deg, #3F4A57, #56606E); }
.nmp-role.is-violet { --rc: var(--a); --rg: linear-gradient(135deg, var(--a-deep), var(--a)); }
.nmp-role.is-amber { --rc: var(--gold); --rg: linear-gradient(135deg, var(--gold), var(--a)); }
.nmp-role-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--rg); box-shadow: 0 10px 20px -12px var(--rc); }
.nmp-role-ico .nmp-i { width: 24px; height: 24px; }
.nmp-role-t { display: grid; gap: 2px; min-width: 0; }
.nmp-role-t strong { font-size: 17px; font-weight: 800; color: var(--ink); }
.nmp-role-t small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.nmp-role-t em { font-style: normal; justify-self: start; margin-top: 4px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: var(--rc); background: color-mix(in srgb, var(--rc) 12%, transparent); }
.nmp-role-tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: all .2s; }
.nmp-role-tick .nmp-i { width: 15px; height: 15px; stroke-width: 3; }
.nmp-role:has(input:checked) { border-color: var(--rc); background: color-mix(in srgb, var(--rc) 7%, var(--surface)); box-shadow: 0 14px 30px -22px var(--rc); }
.nmp-role:has(input:checked) .nmp-role-tick { background: var(--rc); border-color: var(--rc); color: #fff; }
.nmp-role:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--rc) 40%, transparent); outline-offset: 2px; }
.nmp-jf.is-bad .nmp-role { border-color: color-mix(in srgb, var(--err) 45%, var(--line)); }

.nmp-jmail { display: grid; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.nmp-jmail > div { display: grid; gap: 12px; }
.nmp-jsent { font-size: 14.5px; color: var(--ink2); padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.nmp-jok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--mint) 12%, transparent); color: var(--ink2); font-size: 14.5px; min-width: 0; }
.nmp-jok span { min-width: 0; overflow-wrap: anywhere; }
.nmp-jok .nmp-i { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mint); color: #fff; stroke-width: 3; }
.nmp-jok[hidden] { display: none; }

/* Choice chips */
.nmp-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.nmp-pick label { position: relative; cursor: pointer; }
.nmp-pick input { position: absolute; opacity: 0; pointer-events: none; }
.nmp-pick span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink2); font-size: 14.5px; font-weight: 600; transition: all .18s; }
.nmp-pick span:hover { border-color: var(--lilac); }
.nmp-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nmp-pick input:checked + span::before { content: ""; width: 7px; height: 12px; margin: -3px 2px 0 0; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.nmp-pick input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--a) 35%, transparent); outline-offset: 2px; }
.nmp-pick.is-list { display: grid; }
.nmp-pick.is-list span { width: 100%; border-radius: 14px; }
.nmp-jf.is-bad .nmp-pick span { border-color: color-mix(in srgb, var(--err) 50%, var(--line)); }

.nmp-slug { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 15px; background: var(--bg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.nmp-slug:focus-within { border-color: var(--lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-slug-pre { display: flex; align-items: center; padding: 0 2px 0 14px; font-size: 14px; color: var(--muted); white-space: nowrap; max-width: 52%; overflow: hidden; text-overflow: ellipsis; direction: rtl; text-align: left; }
.nmp-jf .nmp-slug input { border: 0 !important; box-shadow: none !important; background: transparent !important; padding-left: 2px; min-width: 0; font-weight: 700; }
.nmp-slug-st { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.nmp-slug-st:empty { display: none; }
.nmp-slug-st.is-ok { color: var(--mint); }
.nmp-slug-st.is-no { color: var(--err); }
.nmp-slug-st .nmp-chip { cursor: pointer; }
.nmp-dob { display: grid; grid-template-columns: 1fr 1.5fr 1.15fr; gap: 8px; }
.nmp-inrow { display: flex; gap: 8px; }
.nmp-inrow input { flex: 1 1 auto; min-width: 0; }
.nmp-inrow .nmp-btn { flex: none; min-height: 50px; border-radius: 15px; }
.nmp-inrow[hidden] { display: none; }
.nmp-phone { display: grid; gap: 10px; }

.nmp-guard { display: grid; gap: 16px; padding: 16px; border-radius: 20px; background: color-mix(in srgb, var(--gold) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line)); }
.nmp-guard[hidden] { display: none; }
.nmp-guard-h { display: flex; gap: 12px; }
.nmp-guard-h > span { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--gold); color: #fff; }
.nmp-guard-h strong { display: block; font-size: 15px; color: var(--ink); }
.nmp-guard-h p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.nmp-agree { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.5; color: var(--ink2); cursor: pointer; }
.nmp-agree input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lilac); }
.nmp-agree a { color: var(--lilac); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.nmp-agree.is-sm { font-size: 13.5px; }
.nmp-agree.is-sm input { width: 18px; height: 18px; }
.nmp-agrees { display: grid; gap: 12px; padding: 16px; border-radius: 20px; background: var(--bg); }
.nmp-jf.is-bad .nmp-agree { color: var(--err); }

.nmp-jsec { display: grid; gap: 18px; }
.nmp-jsec + .nmp-jsec { padding-top: 22px; border-top: 1px dashed var(--line); }
.nmp-jsec-h { display: flex; gap: 14px; align-items: center; }
.nmp-jsec-h > span { flex: none; width: 50px; height: 50px; border-radius: 17px; display: grid; place-items: center; color: #fff; }
.nmp-jsec-h.is-violet > span { background: linear-gradient(135deg, var(--a-deep), var(--a)); }
.nmp-jsec-h.is-amber > span { background: linear-gradient(135deg, var(--gold), var(--a)); }
.nmp-jsec-h p { color: var(--muted); font-size: 14px; }

/* Photo */
.nmp-photo { display: grid; justify-items: start; gap: 6px; }
.nmp-photo-drop { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.nmp-photo-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nmp-photo-img { position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--lilac); border: 2px dashed color-mix(in srgb, var(--lilac) 45%, transparent); overflow: hidden; transition: border-color .2s; }
.nmp-photo-img .nmp-i { width: 36px; height: 36px; }
.nmp-photo-img img { width: 100%; height: 100%; object-fit: cover; }
.nmp-photo.has-photo .nmp-photo-img { border: 3px solid transparent; background: var(--grad) border-box; }
.nmp-photo-drop:hover .nmp-photo-img { border-color: var(--lilac); }
.nmp-photo-drop:has(input:focus-visible) .nmp-photo-img { outline: 3px solid color-mix(in srgb, var(--a) 35%, transparent); outline-offset: 3px; }
.nmp-photo-t { display: grid; gap: 2px; }
.nmp-photo-t strong { font-size: 16px; color: var(--lilac); }
.nmp-photo-t small { font-size: 13px; color: var(--muted); }
.nmp-photo [data-nmp-photorm][hidden] { display: none; }
.nmp-photo.is-bad .nmp-photo-img { border-color: var(--err); }

.nmp-why-photo { display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: radial-gradient(260px 160px at 100% 0%, color-mix(in srgb, var(--a) 14%, transparent), transparent 70%), var(--soft); }
.nmp-why-photo h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--ink); }
.nmp-why-photo h3 .nmp-i { color: var(--lilac); }
.nmp-why-photo ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nmp-why-photo li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.nmp-why-photo li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 6px; height: 11px; border: solid var(--lilac); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.nmp-why-photo li strong { color: var(--ink); }
.nmp-why-own { display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface); font-size: 14px; line-height: 1.5; color: var(--ink2); }
.nmp-why-own .nmp-i { flex: none; color: var(--mint); margin-top: 1px; }
.nmp-why-minor { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.nmp-why-minor[hidden], .nmp-switch[hidden] { display: none; }
.nmp-switch { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.nmp-switch input { position: absolute; opacity: 0; }
.nmp-switch-ui { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line); transition: background .2s; }
.nmp-switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .2s; }
.nmp-switch input:checked + .nmp-switch-ui { background: var(--mint); }
.nmp-switch input:checked + .nmp-switch-ui::after { transform: translateX(18px); }
.nmp-switch input:focus-visible + .nmp-switch-ui { outline: 3px solid color-mix(in srgb, var(--a) 35%, transparent); outline-offset: 2px; }

.nmp-jnote { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.nmp-jnote[hidden] { display: none; }
.nmp-jnote .nmp-i { flex: none; width: 18px; height: 18px; color: var(--lilac); margin-top: 1px; }
.nmp-jnav { position: sticky; bottom: calc(var(--tab) + 10px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; gap: 10px; justify-content: space-between; margin: 10px -8px -8px; padding: 10px 8px 8px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nmp-jnav[hidden], .nmp-jnav [hidden] { display: none; }
.nmp-jnav [data-nmp-next] { flex: 1 1 auto; margin-left: auto; }
.nmp-jnav [data-nmp-back] { flex: none; }
.nmp-btn.is-busy { opacity: .75; pointer-events: none; }
.nmp-join-card > .nmp-msg { padding: 2px 4px; }
.nmp-join-foot { text-align: center; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.nmp-join-foot a { color: var(--lilac); font-weight: 700; }
.nmp-join-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--muted); text-align: center; }
.nmp-join-safe .nmp-i { width: 14px; height: 14px; color: var(--mint); }

/* Done */
.nmp-jdone { position: relative; justify-items: center; text-align: center; padding: 10px 4px 6px; }
.nmp-jdone > p { color: var(--muted); font-size: 15px; max-width: 42ch; margin-top: -8px; }
.nmp-jdone-ico { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 22px 40px -18px color-mix(in srgb, var(--a) 90%, transparent); animation: nmp-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.nmp-jdone-ico .nmp-i { width: 42px; height: 42px; stroke-width: 2.6; }
.nmp-jdone-burst { position: absolute; left: 50%; top: 52px; width: 0; height: 0; }
.nmp-jdone-burst span { position: absolute; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); animation: nmp-burst 1s ease-out both; }
.nmp-jdone-burst span:nth-child(2) { background: var(--a); --x: -90px; --y: -40px; }
.nmp-jdone-burst span:nth-child(3) { background: var(--a); --x: 80px; --y: -50px; }
.nmp-jdone-burst span:nth-child(4) { background: var(--mint); --x: -70px; --y: 50px; border-radius: 50%; }
.nmp-jdone-burst span:nth-child(5) { background: #FFC24B; --x: 95px; --y: 30px; border-radius: 50%; }
.nmp-jdone-burst span:nth-child(6) { background: var(--a-deep); --x: 10px; --y: -95px; }
.nmp-jdone-burst span:nth-child(1) { --x: -20px; --y: 90px; }
@keyframes nmp-pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nmp-burst { from { transform: translate(0, 0) scale(.3); opacity: 1; } to { transform: translate(var(--x, 0), var(--y, 0)) rotate(200deg); opacity: 0; } }
.nmp-jdone-ref { display: grid; gap: 2px; padding: 12px 22px; border-radius: 18px; background: var(--soft); }
.nmp-jdone-ref[hidden] { display: none; }
.nmp-jdone-ref small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.nmp-jdone-ref strong { font-size: 24px; font-weight: 800; letter-spacing: .06em; color: var(--lilac); }
.nmp-jdone-next { display: grid; gap: 10px; width: 100%; max-width: 440px; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: jn; text-align: left; }
.nmp-jdone-next li { position: relative; padding: 12px 14px 12px 54px; border-radius: 16px; background: var(--bg); font-size: 14px; color: var(--muted); line-height: 1.45; counter-increment: jn; }
.nmp-jdone-next li::before { content: counter(jn); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 800; }
.nmp-jdone-next strong { display: block; color: var(--ink); font-size: 15px; }
.nmp-jdone-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .nmp-jdone-ico, .nmp-jdone-burst span { animation: none; } .nmp-jdone-burst { display: none; } }

@media (min-width: 560px) {
	.nmp-jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nmp-jgrid > .is-wide { grid-column: 1 / -1; }
	.nmp-join-card { padding: 30px 30px 22px; }
	.nmp-join-top { padding: 32px 30px 60px; }
	.nmp-join-top h1 { font-size: 38px; }
	.nmp-jprog li { grid-template-columns: auto; }
}
@media (min-width: 1000px) {
	.nmp-jnav { bottom: 14px; }
	.nmp-join { margin-top: 18px; }
}

/* =========================================================
   Home: Join showcase
   ========================================================= */
.nmp-showcase { display: grid; gap: 18px; }
.nmp-sc-h { display: grid; gap: 4px; }
.nmp-sc-h h2 { font-family: var(--ft); font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.nmp-sc-h p:not(.nmp-kicker) { color: var(--muted); font-size: 15px; }
.nmp-sc-row { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 16px; }
.nmp-sc-row::-webkit-scrollbar { display: none; }
.nmp-sc-card { position: relative; overflow: hidden; scroll-snap-align: start; display: grid; align-content: start; gap: 10px; padding: 22px 20px 20px; border-radius: 28px; color: #fff; text-decoration: none; box-shadow: 0 26px 46px -30px var(--sh, rgba(0, 0, 0, .5)); transition: transform .25s, box-shadow .25s; isolation: isolate; }
.nmp-sc-card:hover { transform: translateY(-4px); }
.nmp-sc-card.is-violet { background: radial-gradient(260px 200px at 100% 0%, rgba(255, 255, 255, .22), transparent 65%), linear-gradient(150deg, var(--a-deep) 0%, var(--a) 55%, var(--a) 100%); --sh: var(--a-deep); }
.nmp-sc-card.is-amber { background: radial-gradient(260px 200px at 100% 0%, rgba(255, 255, 255, .25), transparent 65%), linear-gradient(150deg, var(--gold) 0%, var(--a) 60%, var(--a) 100%); --sh: var(--a); }
.nmp-sc-card.is-teal { background: radial-gradient(260px 200px at 100% 0%, rgba(255, 255, 255, .22), transparent 65%), linear-gradient(150deg, #2F3742 0%, #3F4A57 55%, #56606E 100%); --sh: #3F4A57; }
.nmp-sc-orb { position: absolute; z-index: -1; right: -50px; bottom: -60px; width: 190px; height: 190px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .1); }
.nmp-sc-ico { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nmp-sc-ico .nmp-i { width: 26px; height: 26px; }
.nmp-sc-tag { margin-top: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.nmp-sc-t { font-family: var(--ft); font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.nmp-sc-card ul { display: grid; gap: 9px; margin: 6px 0 8px; padding: 0; list-style: none; }
.nmp-sc-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .95); }
.nmp-sc-card li .nmp-i { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .25); stroke-width: 3; margin-top: 1px; }
.nmp-sc-cta { margin-top: auto; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; color: #15121D; font-size: 14.5px; font-weight: 800; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .5); }
.nmp-sc-cta .nmp-i { width: 17px; height: 17px; transition: transform .2s; }
.nmp-sc-card:hover .nmp-sc-cta .nmp-i { transform: translateX(3px); }

.nmp-proud { display: grid; gap: 22px; padding: 22px 20px; border-radius: 28px; background: radial-gradient(340px 220px at 0% 0%, color-mix(in srgb, var(--a) 14%, transparent), transparent 70%), radial-gradient(300px 200px at 100% 100%, color-mix(in srgb, var(--a) 12%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
.nmp-proud-art { position: relative; height: 210px; }
.nmp-idc { position: absolute; left: 4%; top: 10px; z-index: 2; width: 250px; border-radius: 18px; overflow: hidden; background: var(--hero); color: #fff; box-shadow: 0 26px 40px -22px rgba(16, 14, 20, .8); transform: rotate(-5deg); }
.nmp-idc-top { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--grad); }
.nmp-idc-top span { font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.nmp-idc-top em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .25); }
.nmp-idc-mark { width: 22px; height: 22px; }
.nmp-idc-body { display: flex; gap: 12px; align-items: center; padding: 14px; }
.nmp-idc-ph { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
.nmp-idc-ph .nmp-i { width: 30px; height: 30px; }
.nmp-idc-body strong { display: block; font-size: 16px; }
.nmp-idc-body small { display: block; margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.nmp-idc-body b { font-size: 15px; letter-spacing: .08em; color: var(--a-lite); }
.nmp-idc-foot { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11px; color: rgba(255, 255, 255, .7); }
.nmp-idc-foot span { display: inline-flex; align-items: center; gap: 5px; }
.nmp-idc-foot .nmp-i { width: 14px; height: 14px; color: #6FE0B8; }
.nmp-idc-foot i { width: 34px; height: 34px; border-radius: 6px; background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 8px 8px; opacity: .85; }
.nmp-cert { position: absolute; right: 2%; top: 46px; z-index: 1; width: 230px; display: grid; justify-items: center; gap: 4px; padding: 20px 16px 22px; border-radius: 10px; background: #FFFBF3; color: #2A2730; text-align: center; border: 1px solid #EBD9B4; box-shadow: inset 0 0 0 6px #FFFBF3, inset 0 0 0 7px #E2C489, 0 24px 40px -24px rgba(60, 40, 10, .6); transform: rotate(6deg); }
.nmp-cert small { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: #B0874A; }
.nmp-cert strong { font-family: var(--ft); font-size: 22px; margin-top: 4px; }
.nmp-cert span { font-size: 11px; color: #7A6A55; }
.nmp-cert i { width: 38px; height: 38px; margin-top: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFD98A, #D9A03C); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); }
.nmp-proud-t { display: grid; gap: 10px; align-content: center; justify-items: start; }
.nmp-proud-t h3 { font-family: var(--ft); font-size: 24px; line-height: 1.2; }
.nmp-proud-t p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.nmp-proud-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; padding: 0; list-style: none; }
.nmp-proud-list li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--soft); font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.nmp-proud-list .nmp-i { width: 16px; height: 16px; color: var(--lilac); }

.nmp-vband { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; color: #fff; text-decoration: none; background: radial-gradient(240px 160px at 100% 0%, rgba(255, 255, 255, .25), transparent 65%), linear-gradient(135deg, var(--gold), var(--a)); box-shadow: 0 20px 36px -26px var(--a); }
.nmp-vband-ico { flex: none; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .22); }
.nmp-vband span:not(.nmp-vband-ico) { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.nmp-vband strong { font-size: 16px; }
.nmp-vband small { font-size: 13.5px; color: rgba(255, 255, 255, .88); }

@media (min-width: 640px) {
	.nmp-sc-row { grid-auto-columns: 46%; }
	.nmp-proud { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 28px; align-items: center; }
	.nmp-proud-art { height: 240px; }
}
@media (min-width: 1000px) {
	.nmp-sc-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 4px 0 8px; }
	.nmp-sc-h h2 { font-size: 34px; }
}

/* =========================================================
   Design 3: Editorial. Paper and ink, one refined accent.
   Calm, premium and professional; the writing is the colour.
   ========================================================= */
.nmp { font-family: var(--f); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
.nmp-sec-h h2, .nmp-sec > h2, .nmp-read h1, .nmp-ahead h1, .nmp-prof-t h1, .nmp-hi h1, .nmp-about-hero h1, .nmp-404 h1, .nmp-auth-card h1, .nmp-why > h2, .nmp-author-card h2, .nmp-empty h2, .nmp-hello h1, .nmp-hcard h3, .nmp-sc-h h2, .nmp-sc-t, .nmp-proud-t h3, .nmp-join-top h1, .nmp-jstep > h2, .nmp-jsec-h h2, .nmp-jdone h2 { font-family: var(--ft); font-weight: 600; letter-spacing: -.012em; }
.nmp-sec-h h2 { font-size: 23px; }
.nmp-kicker { color: var(--a); letter-spacing: .14em; font-size: 11.5px; }
.nmp-kicker.is-light { color: var(--a-lite); }
:root[data-theme="dark"] .nmp-kicker:not(.is-light) { color: var(--a); }

/* Buttons: ink first, accent for the one action that matters */
.nmp-btn { font-weight: 600; letter-spacing: -.005em; }
.nmp-btn.is-primary { background: var(--ink); color: var(--bg); box-shadow: 0 10px 22px -16px rgba(16, 14, 20, .7); }
.nmp-btn.is-primary:hover { box-shadow: 0 14px 26px -16px rgba(16, 14, 20, .85); }
.nmp-btn.is-grad { background: var(--a); color: #fff; box-shadow: 0 12px 24px -16px var(--a); }
.nmp-btn.is-grad:hover { background: var(--a-deep); }
:root[data-theme="dark"] .nmp-btn.is-grad { color: #141316; }
.nmp-btn.is-soft { background: var(--a-soft); color: var(--a); }
.nmp-btn.is-ghost:hover { border-color: var(--ink); color: var(--ink); }
.nmp-link { color: var(--a) !important; }

/* Brand mark and navigation */
.nmp-logo-mark { background: var(--a); box-shadow: none; }
.nmp-tab.is-write .nmp-tab-i { background: var(--a); box-shadow: 0 12px 22px -12px var(--a); }
.nmp-rail-write { background: var(--ink) !important; color: var(--bg) !important; box-shadow: none !important; }
.nmp-rail-nav a[aria-current="page"] .nmp-i { color: var(--a); }
.nmp-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nmp-chip.is-sm { background: var(--a-soft); color: var(--a); }
.nmp-chip:hover { border-color: var(--ink2); color: var(--ink); }

/* Welcome band: deep ink with a quiet glow */
.nmp-hello { border-radius: 22px; background: radial-gradient(640px 320px at 108% -20%, color-mix(in srgb, var(--a) 46%, transparent), transparent 62%), radial-gradient(420px 260px at -10% 120%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 65%), var(--hero); box-shadow: 0 30px 60px -40px rgba(16, 14, 20, .9); }
.nmp-hello-orb.is-b { display: none; }
.nmp-hello-orb.is-a { opacity: .35; }
.nmp-hello h1 { font-weight: 500; letter-spacing: -.025em; }
.nmp-hello h1 em { background: none; color: var(--a-lite); -webkit-text-fill-color: currentColor; font-weight: 500; }
.nmp-btn.is-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.nmp-proof.is-light { border-top-color: rgba(255, 255, 255, .14); }
.nmp-proof.is-light strong { font-weight: 500; }

/* Writers ring: a fine accent line */
.nmp-ring-o { background: var(--surface); padding: 3px; box-shadow: 0 0 0 1.5px var(--a); }
.nmp-ring-n { color: var(--ink2); }

/* Cards */
.nmp-hcard a { border-radius: 20px; background: var(--hero); }
.nmp-hcard-go { color: #141316; }
.nmp-book-c { border-radius: 4px 12px 12px 4px; box-shadow: inset 5px 0 8px -6px rgba(0, 0, 0, .4), 0 14px 24px -18px rgba(16, 14, 20, .7); }
.nmp-book-c.is-type { padding: 16px 12px 12px 18px; }
.nmp-book-c.is-type::before { left: 9px; background: rgba(255, 255, 255, .22); }
.nmp-book-big { font-family: var(--ft); font-weight: 500; font-size: 20px; text-shadow: none; }
.nmp-book-k { letter-spacing: .16em; font-weight: 700; opacity: .7; }
.nmp-rank { -webkit-text-stroke: 1.5px var(--ink2); font-weight: 500; }
.nmp-quote a { border-radius: 20px; }
.nmp-quote a::after { background: radial-gradient(240px 140px at 100% 0%, rgba(255, 255, 255, .1), transparent 70%); }
.nmp-quote-l { font-family: var(--ft); font-weight: 500; font-size: 18px; }
.nmp-quote-f { border-top-color: rgba(255, 255, 255, .2); }
.nmp-row-a:hover h3, .nmp-mini a:hover h3 { color: var(--a); }
.nmp-wcard { border-radius: 18px; }
.nmp-wcard-band { opacity: 1; }
.nmp-cr-bar i { background: var(--a); }
.nmp-dots span.is-on { background: var(--ink); }
.nmp-progress span, .nmp-verified { background: var(--a); }
.nmp-prose blockquote { border-left-color: var(--a); }
.nmp-prose a { color: var(--a); }

/* Panels */
.nmp-auth-card, .nmp-join-mini, .nmp-foot-cta { background: var(--surface); }
.nmp-auth-ico, .nmp-join-mini .nmp-join-ico, .nmp-join-ico { background: var(--a); box-shadow: none; }
.nmp-about-hero { background: radial-gradient(480px 260px at 50% -10%, color-mix(in srgb, var(--a) 14%, transparent), transparent 70%), var(--surface); }
.nmp-about-cta { background: radial-gradient(520px 260px at 100% 0%, color-mix(in srgb, var(--a) 45%, transparent), transparent 65%), var(--hero); }
.nmp-about-cta .nmp-btn.is-primary { background: #fff; color: #141316; }
.nmp-prof-cover { background: radial-gradient(420px 200px at 100% 0%, color-mix(in srgb, var(--a) 55%, transparent), transparent 65%), var(--hero) !important; }
.nmp-why-grid span, .nmp-steps-i, .nmp-empty > span { background: var(--a-soft); color: var(--a); }
.nmp-404-art > span:not(.nmp-404-o) { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
.nmp-404-o { color: var(--a); }
.nmp-socials a:hover { background: var(--ink); color: var(--bg); }

/* Joining */
.nmp-join-top { border-radius: 22px 22px 0 0; background: radial-gradient(520px 280px at 110% -20%, color-mix(in srgb, var(--a) 50%, transparent), transparent 62%), radial-gradient(360px 220px at -10% 120%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 65%), var(--hero); }
.nmp-join-top h1 { font-weight: 500; }
.nmp-join-glow { display: none; }
.nmp-jprog li.is-on::before { background: var(--a-lite); }
.nmp-join-card { border-radius: 22px; }
.nmp-role { border-width: 1.5px; border-radius: 16px; }
.nmp-role.is-teal { --rc: #46505E; --rg: #46505E; }
.nmp-role.is-violet { --rc: var(--a); --rg: var(--a); }
.nmp-role.is-amber { --rc: var(--gold); --rg: var(--gold); }
:root[data-theme="dark"] .nmp-role.is-teal { --rc: #9AA6B6; --rg: #46505E; }
.nmp-role-ico { border-radius: 14px; box-shadow: none; }
.nmp-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nmp-jsec-h.is-violet > span { background: var(--a); }
.nmp-jsec-h.is-amber > span { background: var(--gold); }
.nmp-guard { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 35%, var(--line)); }
.nmp-guard-h > span { background: var(--gold); }
.nmp-why-photo { background: var(--a-soft); }
.nmp-why-photo h3 .nmp-i, .nmp-photo-t strong { color: var(--a); }
.nmp-photo-img { background: var(--a-soft); color: var(--a); border-color: color-mix(in srgb, var(--a) 40%, transparent); }
.nmp-photo.has-photo .nmp-photo-img { background: var(--a) border-box; }
.nmp-jdone-ico { background: var(--a); border-radius: 50%; box-shadow: 0 20px 40px -22px var(--a); }
.nmp-jdone-burst span { background: var(--a); }
.nmp-jdone-burst span:nth-child(2n) { background: var(--gold); }
.nmp-jdone-burst span:nth-child(3n) { background: var(--ink2); }
.nmp-jdone-ref strong { color: var(--a); }
.nmp-agree input, .nmp-agree.is-sm input { accent-color: var(--a); }
.nmp-jf input:focus, .nmp-jf select:focus, .nmp-jf textarea:focus, .nmp-slug:focus-within { border-color: var(--ink2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 12%, transparent); }

/* Home showcase */
.nmp-sc-card { border-radius: 20px; }
.nmp-sc-card.is-violet { background: radial-gradient(360px 240px at 110% -10%, color-mix(in srgb, var(--a) 55%, transparent), transparent 62%), var(--hero); --sh: rgba(16, 14, 20, .9); }
.nmp-sc-card.is-amber { background: radial-gradient(320px 220px at 110% -10%, rgba(255, 255, 255, .16), transparent 62%), linear-gradient(160deg, var(--a) 0%, var(--a-deep) 100%); --sh: var(--a-deep); }
.nmp-sc-card.is-teal { background: var(--surface); color: var(--ink); border: 1px solid var(--line); --sh: rgba(16, 14, 20, .25); }
.nmp-sc-card.is-teal .nmp-sc-ico { background: var(--a-soft); color: var(--a); border-color: transparent; }
.nmp-sc-card.is-teal .nmp-sc-tag { color: var(--muted); }
.nmp-sc-card.is-teal li { color: var(--ink2); }
.nmp-sc-card.is-teal li .nmp-i { background: var(--a-soft); color: var(--a); }
.nmp-sc-card.is-teal .nmp-sc-cta { background: var(--ink); color: var(--bg); }
.nmp-sc-card.is-teal .nmp-sc-orb { border-color: var(--soft); }
.nmp-sc-card.is-violet .nmp-sc-tag { color: var(--a-lite); }
.nmp-sc-t { font-weight: 500; font-size: 26px; }
.nmp-sc-ico { border-radius: 14px; }
.nmp-sc-orb { border-width: 22px; border-color: rgba(255, 255, 255, .06); }
.nmp-proud { border-radius: 20px; background: radial-gradient(420px 240px at 0% 0%, color-mix(in srgb, var(--a) 9%, transparent), transparent 70%), var(--surface); }
.nmp-idc { background: var(--hero); border: 1px solid rgba(255, 255, 255, .08); }
.nmp-idc-top { background: var(--a); }
:root[data-theme="dark"] .nmp-idc-top { color: #141316; }
.nmp-idc-body b { color: var(--a-lite); }
.nmp-proud-list li { background: var(--a-soft); color: var(--ink2); }
.nmp-proud-list .nmp-i { color: var(--a); }
.nmp-vband { background: radial-gradient(260px 160px at 110% -10%, rgba(255, 255, 255, .14), transparent 62%), linear-gradient(150deg, var(--a), var(--a-deep)); box-shadow: 0 18px 34px -26px var(--a-deep); border-radius: 18px; }
.nmp-sc-card:not(.is-teal) .nmp-sc-t, .nmp-sc-card:not(.is-teal) li { color: #fff; }
.nmp-sc-card.is-teal .nmp-sc-t { color: var(--ink); }

/* Languages */
.nmp-langs { display: flex; align-items: center; gap: 10px; margin-top: 16px; min-width: 0; }
.nmp-langs-l { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nmp-langs-l .nmp-i { width: 16px; height: 16px; color: var(--a); }
.nmp-langs .nmp-chips { flex: 1 1 auto; min-width: 0; }
.nmp-langs .nmp-chip { padding: 6px 13px; font-size: 13.5px; background: transparent; }
.nmp-langs .nmp-chip.is-on { background: var(--a); border-color: var(--a); color: #fff; }
:root[data-theme="dark"] .nmp-langs .nmp-chip.is-on { color: #141316; }
.nmp-rail-cats.is-langs a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.nmp-lang-ab { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--a-soft); color: var(--a); font-size: 12.5px; font-weight: 700; }
.nmp-rail-cats.is-langs small { font-size: 12px; color: var(--muted); }

/* Copy protection (setting) */
.nmp-protect .nmp-prose, .nmp-protect .nmp-read-h h1, .nmp-protect .nmp-quote-l { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.nmp-protect .nmp-prose img { pointer-events: none; }

/* =========================================================
   Palette "Bloom" (default): colourful and modern, still professional.
   Rich violet, raspberry rose and warm apricot; gradients only where they matter.
   ========================================================= */
:root[data-palette="bloom"] {
	--a: #C8306F; --a-deep: #6A2BD9; --a-soft: #FCEBF2; --a-lite: #FF9EC4;
	--gold: #EE7A45; --gold-soft: #FFF0E6;
	--violet: #6A2BD9;
	--grad: linear-gradient(120deg, #6A2BD9 0%, #C8306F 56%, #F0844C 100%);
	--grad-soft: linear-gradient(120deg, #F1EAFF 0%, #FDEBF2 55%, #FFF1E7 100%);
	--hero: #1A1230;
}
:root[data-palette="bloom"][data-theme="dark"] { --a: #FF8DB8; --a-soft: #32182A; --gold-soft: #2E1E14; --hero: #1A1230; }
@media (prefers-color-scheme: dark) { :root[data-palette="bloom"][data-theme="auto"] { --a: #FF8DB8; --a-soft: #32182A; --gold-soft: #2E1E14; } }

[data-palette="bloom"] .nmp-logo-mark, [data-palette="bloom"] .nmp-tab.is-write .nmp-tab-i, [data-palette="bloom"] .nmp-auth-ico, [data-palette="bloom"] .nmp-join-ico, [data-palette="bloom"] .nmp-jdone-ico, [data-palette="bloom"] .nmp-idc-top { background: var(--grad); }
[data-palette="bloom"] .nmp-tab.is-write .nmp-tab-i { box-shadow: 0 14px 26px -12px rgba(200, 48, 111, .75); }
[data-palette="bloom"] .nmp-rail-write { background: var(--grad) !important; color: #fff !important; box-shadow: 0 14px 28px -16px rgba(200, 48, 111, .8) !important; }
[data-palette="bloom"] .nmp-btn.is-grad { background: var(--grad); color: #fff; box-shadow: 0 14px 28px -16px rgba(200, 48, 111, .85); }
[data-palette="bloom"] .nmp-btn.is-grad:hover { filter: saturate(1.1) brightness(1.03); }
[data-palette="bloom"] .nmp-ring-o { background: var(--grad); box-shadow: none; padding: 2.5px; }
[data-palette="bloom"] .nmp-ring-o .nmp-av { box-shadow: 0 0 0 2.5px var(--bg); }
[data-palette="bloom"] .nmp-progress span, [data-palette="bloom"] .nmp-cr-bar i, [data-palette="bloom"] .nmp-verified { background: var(--grad); }

/* Welcome band and joining header: deep night with a bloom of colour */
[data-palette="bloom"] .nmp-hello, [data-palette="bloom"] .nmp-join-top {
	background:
		radial-gradient(520px 320px at 108% -12%, rgba(240, 132, 76, .78), transparent 60%),
		radial-gradient(560px 360px at 70% 40%, rgba(200, 48, 111, .55), transparent 64%),
		radial-gradient(480px 340px at -12% 115%, rgba(106, 43, 217, .85), transparent 62%),
		#1A1230;
}
[data-palette="bloom"] .nmp-hello h1 em { color: transparent; background: linear-gradient(90deg, #FFC7A3, #FFA3C8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-palette="bloom"] .nmp-kicker.is-light { color: #FFC7A3; }
[data-palette="bloom"] .nmp-jprog li.is-on::before { background: linear-gradient(90deg, #FFC7A3, #FFA3C8); }

/* Showcase: three jewel-toned cards */
[data-palette="bloom"] .nmp-sc-card.is-violet { background: radial-gradient(320px 220px at 110% -10%, rgba(255, 255, 255, .2), transparent 62%), linear-gradient(150deg, #5B25C9 0%, #8E35C9 55%, #C8306F 100%); --sh: #6A2BD9; }
[data-palette="bloom"] .nmp-sc-card.is-amber { background: radial-gradient(320px 220px at 110% -10%, rgba(255, 255, 255, .22), transparent 62%), linear-gradient(150deg, #C8306F 0%, #E2575A 55%, #F0944C 100%); --sh: #C8306F; }
[data-palette="bloom"] .nmp-sc-card.is-teal { background: radial-gradient(320px 220px at 110% -10%, rgba(255, 255, 255, .2), transparent 62%), linear-gradient(150deg, #1F5F86 0%, #2B7FA0 55%, #3BA99C 100%); color: #fff; border: 0; --sh: #1F5F86; }
[data-palette="bloom"] .nmp-sc-card.is-teal .nmp-sc-t, [data-palette="bloom"] .nmp-sc-card.is-teal li { color: #fff; }
[data-palette="bloom"] .nmp-sc-card.is-teal .nmp-sc-tag { color: rgba(255, 255, 255, .78); }
[data-palette="bloom"] .nmp-sc-card.is-teal .nmp-sc-ico { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .3); }
[data-palette="bloom"] .nmp-sc-card.is-teal li .nmp-i { background: rgba(255, 255, 255, .25); color: #fff; }
[data-palette="bloom"] .nmp-sc-card.is-teal .nmp-sc-cta { background: #fff; color: #141316; }
[data-palette="bloom"] .nmp-sc-card.is-teal .nmp-sc-orb { border-color: rgba(255, 255, 255, .08); }
[data-palette="bloom"] .nmp-sc-card.is-violet .nmp-sc-tag { color: rgba(255, 255, 255, .78); }
[data-palette="bloom"] .nmp-proud { background: radial-gradient(420px 240px at 0% 0%, rgba(106, 43, 217, .1), transparent 70%), radial-gradient(380px 220px at 100% 100%, rgba(240, 132, 76, .12), transparent 70%), var(--surface); }
[data-palette="bloom"] .nmp-vband { background: radial-gradient(260px 160px at 110% -10%, rgba(255, 255, 255, .2), transparent 62%), linear-gradient(120deg, #6A2BD9, #C8306F 60%, #F0844C); }
[data-palette="bloom"] .nmp-about-cta, [data-palette="bloom"] .nmp-prof-cover { background: radial-gradient(420px 240px at 100% 0%, rgba(240, 132, 76, .6), transparent 62%), radial-gradient(420px 260px at 0% 100%, rgba(106, 43, 217, .8), transparent 62%), #1A1230 !important; }

/* Joining accents */
[data-palette="bloom"] .nmp-role.is-violet { --rc: #6A2BD9; --rg: linear-gradient(135deg, #6A2BD9, #A43BC4); }
[data-palette="bloom"] .nmp-role.is-amber { --rc: #E0603F; --rg: linear-gradient(135deg, #C8306F, #F0844C); }
[data-palette="bloom"] .nmp-role.is-teal { --rc: #1F7A8C; --rg: linear-gradient(135deg, #1F5F86, #3BA99C); }
[data-palette="bloom"] .nmp-jsec-h.is-violet > span { background: linear-gradient(135deg, #6A2BD9, #A43BC4); }
[data-palette="bloom"] .nmp-jsec-h.is-amber > span { background: linear-gradient(135deg, #C8306F, #F0844C); }
[data-palette="bloom"] .nmp-why-photo { background: var(--grad-soft); }
:root[data-palette="bloom"][data-theme="dark"] .nmp-why-photo { background: var(--a-soft); }
[data-palette="bloom"] .nmp-photo.has-photo .nmp-photo-img { background: var(--grad) border-box; }
[data-palette="bloom"] .nmp-jdone-burst span:nth-child(3n) { background: #6A2BD9; }
[data-palette="bloom"] .nmp-langs .nmp-chip.is-on { background: var(--grad); border-color: transparent; color: #fff; }

/* =========================================================
   Promotions (banners). Designs are fixed so every banner looks right.
   ========================================================= */
.nmp-pr { position: relative; isolation: isolate; overflow: hidden; display: grid; border-radius: 22px; color: #fff; box-shadow: 0 22px 40px -28px var(--prs, rgba(26, 18, 48, .8)); }
.nmp-pr.is-bloom { background: radial-gradient(320px 200px at 105% -10%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(120deg, #6A2BD9 0%, #C8306F 56%, #F0844C 100%); --prs: #C8306F; }
.nmp-pr.is-sunset { background: radial-gradient(320px 200px at 105% -10%, rgba(255, 255, 255, .24), transparent 60%), linear-gradient(135deg, #C8306F 0%, #E2575A 55%, #F0944C 100%); --prs: #C8306F; }
.nmp-pr.is-violet { background: radial-gradient(340px 220px at 105% -10%, rgba(255, 160, 210, .35), transparent 60%), linear-gradient(135deg, #2F1677 0%, #5B25C9 60%, #8E35C9 100%); --prs: #5B25C9; }
.nmp-pr.is-ocean { background: radial-gradient(320px 200px at 105% -10%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, #1F4F86 0%, #2B7FA0 55%, #3BA99C 100%); --prs: #1F5F86; }
.nmp-pr.is-night { background: radial-gradient(320px 220px at 105% -15%, rgba(240, 132, 76, .55), transparent 60%), radial-gradient(320px 220px at -10% 120%, rgba(106, 43, 217, .7), transparent 62%), #1A1230; --prs: #1A1230; }
.nmp-pr.is-blush { background: radial-gradient(300px 200px at 105% -10%, rgba(240, 132, 76, .2), transparent 60%), linear-gradient(135deg, #FDE7F1 0%, #FFF1E7 100%); color: #2A1830; --prs: rgba(200, 48, 111, .35); }
.nmp-pr-orb { position: absolute; z-index: -1; right: -60px; bottom: -80px; width: 210px; height: 210px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .09); }
.nmp-pr.is-blush .nmp-pr-orb { border-color: rgba(200, 48, 111, .07); }
.nmp-pr-b { display: grid; align-content: start; gap: 8px; padding: 18px 18px 18px; min-width: 0; }
.nmp-pr-top { display: flex; align-items: center; gap: 9px; }
.nmp-pr-ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25); }
.nmp-pr-ico .nmp-i { width: 18px; height: 18px; }
.nmp-pr.is-blush .nmp-pr-ico { background: #fff; border-color: transparent; color: #C8306F; }
.nmp-pr-badge { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.nmp-pr.is-blush .nmp-pr-badge { color: #C8306F; opacity: 1; }
.nmp-pr h3 { font-family: var(--ft); font-weight: 500; font-size: 22px; line-height: 1.18; letter-spacing: -.01em; color: inherit; margin: 2px 0 0; }
.nmp-pr p { font-size: 14.5px; line-height: 1.5; opacity: .9; margin: 0; color: inherit; }
.nmp-pr-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.nmp-pr-when, .nmp-pr-count { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 700; }
.nmp-pr-when .nmp-i { width: 15px; height: 15px; }
.nmp-pr-count:empty { display: none; }
.nmp-pr-count { background: rgba(0, 0, 0, .22); }
.nmp-pr-count.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF4D6D; box-shadow: 0 0 0 0 rgba(255, 77, 109, .7); animation: nmp-live 1.6s infinite; }
@keyframes nmp-live { 70% { box-shadow: 0 0 0 8px rgba(255, 77, 109, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); } }
.nmp-pr.is-blush .nmp-pr-when, .nmp-pr.is-blush .nmp-pr-count { background: #fff; color: #2A1830; }
.nmp-pr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.nmp-pr-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 17px; border-radius: 999px; background: #fff; color: #141316 !important; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .6); transition: transform .15s; }
.nmp-pr-btn:active { transform: scale(.97); }
.nmp-pr-btn .nmp-i { width: 16px; height: 16px; }
.nmp-pr.is-blush .nmp-pr-btn { background: #1A1230; color: #fff !important; }
.nmp-pr-cal { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: inherit !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.nmp-pr-cal .nmp-i { width: 15px; height: 15px; }
.nmp-pr-img { position: relative; display: block; min-height: 150px; }
.nmp-pr-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nmp-pr-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .18)); }

/* Slider on the home page */
.nmp-pr-sec { margin-top: 18px; }
.nmp-pr-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 14px; }
.nmp-pr-row::-webkit-scrollbar { display: none; }
.nmp-pr.is-slide { flex: none; width: calc(100% - 34px); scroll-snap-align: center; }
.nmp-pr.is-slide.has-img { grid-template-columns: minmax(0, 1fr); }
.nmp-pr.is-slide .nmp-pr-img { min-height: 130px; max-height: 150px; }
.nmp-dots.is-pr { margin-top: 0; }

/* Big feature, side panel, end of story */
.nmp-pr.is-wide .nmp-pr-b { padding: 24px 22px; }
.nmp-pr.is-wide h3 { font-size: 27px; }
.nmp-pr.is-side { margin-bottom: 14px; }
.nmp-pr.is-side h3 { font-size: 19px; }
.nmp-pr.is-side .nmp-pr-img { min-height: 120px; }
.nmp-pr-after { margin-top: 26px; }
.nmp-pr.is-post h3 { font-size: 21px; }

@media (min-width: 640px) {
	.nmp-pr.is-slide { width: 78%; }
	.nmp-pr.has-img:not(.is-side) { grid-template-columns: minmax(0, 1fr) 38%; }
	.nmp-pr.has-img:not(.is-side) .nmp-pr-img { order: 2; max-height: none; }
	.nmp-pr.is-wide.has-img { grid-template-columns: minmax(0, 1fr) 42%; }
}
@media (min-width: 1000px) {
	.nmp-pr-row { margin: 0; padding: 2px 0 14px; }
	.nmp-pr.is-slide { width: calc(50% - 6px); }
	.nmp-pr.is-slide:only-child { width: 100%; }
	.nmp-pr.is-wide h3 { font-size: 32px; }
	.nmp-pr.is-wide .nmp-pr-b { padding: 30px; }
}

/* Writer spotlight */
.nmp-spot-sec .nmp-sec-h { align-items: flex-end; }
.nmp-spot-lead { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.nmp-spot-row { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 14px; }
.nmp-spot-row::-webkit-scrollbar { display: none; }
.nmp-spot { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow2); color: var(--ink); text-decoration: none; transition: transform .2s; }
.nmp-spot:hover { transform: translateY(-3px); }
.nmp-spot-ph { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3.4; color: #fff; font-family: var(--ft); font-size: 54px; }
.nmp-spot-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nmp-spot-ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .25)); }
.nmp-spot-b { display: grid; align-content: start; gap: 4px; padding: 14px 16px 16px; }
.nmp-spot-b strong { font-family: var(--ft); font-weight: 600; font-size: 20px; line-height: 1.2; }
.nmp-spot-b small { font-size: 12.5px; color: var(--a); font-weight: 700; }
.nmp-spot-b em { font-style: italic; font-family: var(--ft); font-size: 15px; line-height: 1.45; color: var(--ink2); margin-top: 4px; }
.nmp-spot-l { margin-top: 6px; font-size: 12.5px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 640px) { .nmp-spot-row { grid-auto-columns: 40%; } }
@media (min-width: 1000px) { .nmp-spot-row { grid-auto-columns: calc(33.333% - 10px); margin: 0; padding: 4px 0 14px; } }
.nmp-catcard-h em { display: block; margin-top: 2px; font-style: normal; font-family: var(--f); font-size: 13px; font-weight: 600; opacity: .82; }
.nmp-more-pages { margin-top: 26px; }

/* Read in your language */
.nmp-trbtn { position: relative; }
.nmp-trcode { position: absolute; right: -2px; bottom: -2px; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--a); color: #fff; font-size: 9.5px; font-weight: 800; line-height: 16px; text-align: center; }
.nmp-trcode[hidden] { display: none; }
.nmp-trsheet .nmp-sheet-in { max-width: 560px; margin: 0 auto; border-radius: 0 0 26px 26px; }
.nmp-trh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 6px 2px 14px; }
.nmp-trh strong { display: block; font-family: var(--ft); font-size: 22px; font-weight: 600; }
.nmp-trh small { color: var(--muted); font-size: 13.5px; }
.nmp-trlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nmp-trl { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 10px; min-height: 52px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15.5px var(--f); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.nmp-trl:not(.is-orig) { grid-template-columns: minmax(0, 1fr); }
.nmp-trl .nmp-i { grid-row: span 2; width: 20px; height: 20px; color: var(--a); }
.nmp-trl small { font-size: 12px; font-weight: 500; color: var(--muted); }
.nmp-trl.is-orig { grid-column: 1 / -1; }
.nmp-trl:hover { border-color: var(--a); }
.nmp-trl.is-on { border-color: var(--a); background: var(--a-soft); box-shadow: inset 0 0 0 1px var(--a); }
.nmp-trnote { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.nmp-trnote .nmp-i { flex: none; width: 16px; height: 16px; color: var(--mint); }
@media (min-width: 640px) { .nmp-trlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Google's own bar, pop-ups and highlights are never shown */
.nmp-gt, #goog-gt-tt, .goog-te-balloon-frame, .goog-te-banner-frame, iframe.skiptranslate, body > .skiptranslate, .goog-te-spinner-pos, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; visibility: hidden !important; }
body.nmp-body { top: 0 !important; position: static !important; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }
.nmp-catcard-h, .nmp-catcard-h strong, .nmp-catcard-h em, .nmp-catcard-h span { color: #fff !important; }
.nmp-catcard-t { display: grid; gap: 2px; font-weight: inherit; min-width: 0; }

/* Heading weight follows the chosen font pair (some display fonts only have one weight) */
.nmp-sec-h h2, .nmp-sec > h2, .nmp-read h1, .nmp-ahead h1, .nmp-prof-t h1, .nmp-hi h1, .nmp-about-hero h1, .nmp-404 h1, .nmp-auth-card h1, .nmp-why > h2, .nmp-author-card h2, .nmp-empty h2, .nmp-hello h1, .nmp-hcard h3, .nmp-sc-h h2, .nmp-sc-t, .nmp-proud-t h3, .nmp-join-top h1, .nmp-jstep > h2, .nmp-jsec-h h2, .nmp-jdone h2, .nmp-pr h3, .nmp-spot-b strong, .nmp-book-big, .nmp-catcard-h strong, .nmp-trh strong, .nmp-row h3, .nmp-card h3, .nmp-mini h3, .nmp-hello h1 em, .nmp-quote-l { font-weight: var(--fhw, 600); }
.nmp-row h3, .nmp-card h3, .nmp-mini h3, .nmp-book-meta strong { font-family: var(--ft); letter-spacing: -.005em; }

/* =========================================================
   Member dashboard (0.5)
   ========================================================= */
.nmp-av.is-xl { width: 76px; height: 76px; font-size: 26px; }
.nmp-dash { width: min(820px, 100%); margin: 6px auto 0; display: grid; gap: 14px; }
.nmp-dh { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 18px; padding: 22px 20px; border-radius: 22px; color: #fff; background: radial-gradient(420px 260px at 108% -14%, rgba(240, 132, 76, .7), transparent 60%), radial-gradient(440px 300px at 70% 40%, rgba(200, 48, 111, .45), transparent 64%), radial-gradient(380px 280px at -12% 115%, rgba(106, 43, 217, .85), transparent 62%), #1A1230; box-shadow: 0 30px 60px -40px rgba(16, 14, 20, .9); }
.nmp-dh-me { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nmp-dh-me .nmp-av { box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.nmp-dh h1 { font-family: var(--ft); font-weight: var(--fhw, 600); font-size: 28px; line-height: 1.1; color: #fff; margin: 2px 0 6px; overflow-wrap: anywhere; }
.nmp-dh-roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.nmp-dh-roles span { padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; }
.nmp-dh-roles .is-ref { background: transparent; border: 1px solid rgba(255, 255, 255, .3); letter-spacing: .06em; }
.nmp-dh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.nmp-dh-stats li { padding: 10px 6px; border-radius: 14px; background: rgba(255, 255, 255, .1); text-align: center; }
.nmp-dh-stats strong { display: block; font-family: var(--ft); font-size: 24px; font-weight: var(--fhw, 600); line-height: 1.1; }
.nmp-dh-stats span { font-size: 11.5px; opacity: .8; }
.nmp-dh-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.nmp-dtabs { position: sticky; top: calc(var(--top) + 6px); z-index: 6; display: flex; gap: 4px; padding: 5px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; }
.nmp-dtabs::-webkit-scrollbar { display: none; }
.nmp-dtabs button { position: relative; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); font: 600 13.5px var(--f); cursor: pointer; white-space: nowrap; }
.nmp-dtabs button .nmp-i { width: 18px; height: 18px; }
.nmp-dtabs button.is-on { background: var(--ink); color: var(--bg); }
.nmp-dot-n { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--a); }
.nmp-dot-n[hidden] { display: none; }
.nmp-dpanel { display: grid; gap: 12px; }
.nmp-dpanel[hidden] { display: none; }
.nmp-dnote { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--soft); color: var(--ink2); font-size: 14px; line-height: 1.5; margin: 0; }
.nmp-dnote .nmp-i { flex: none; width: 18px; height: 18px; color: var(--a); margin-top: 1px; }
.nmp-dnote.is-warn { background: var(--gold-soft); }
.nmp-dnote.is-note { display: block; background: var(--a-soft); }
.nmp-dnote[hidden] { display: none; }
.nmp-dempty { padding: 28px 18px; border-radius: 18px; background: var(--surface); border: 1px dashed var(--line); text-align: center; color: var(--muted); font-size: 14.5px; display: grid; gap: 8px; justify-items: center; margin: 0; }
.nmp-dempty strong { font-family: var(--ft); font-weight: var(--fhw, 600); font-size: 20px; color: var(--ink); }
.nmp-dempty p { margin: 0; }
.nmp-plist { display: grid; gap: 10px; }
.nmp-pl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.nmp-pl-c { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; display: block; }
.nmp-pl-c img, .nmp-pl-c span { width: 100%; height: 100%; object-fit: cover; display: block; }
.nmp-pl-b { display: grid; gap: 3px; min-width: 0; align-content: start; }
.nmp-pl-b h3 { font-family: var(--ft); font-weight: var(--fhw, 600); font-size: 18px; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.nmp-pl-b small { color: var(--muted); font-size: 12.5px; }
.nmp-pl-s { justify-self: start; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: var(--soft); color: var(--ink2); }
.nmp-pl.is-published .nmp-pl-s { background: color-mix(in srgb, var(--mint) 14%, transparent); color: var(--mint); }
.nmp-pl.is-waiting .nmp-pl-s { background: var(--gold-soft); color: color-mix(in srgb, var(--gold) 80%, #000); }
.nmp-pl.is-returned .nmp-pl-s { background: var(--a-soft); color: var(--a); }
.nmp-pl-note { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--a-soft); font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.nmp-pl-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.nmp-pl-asked { font-size: 12.5px; font-weight: 700; color: var(--gold); }
.nmp-ed { display: grid; gap: 12px; padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow2); }
.nmp-ed[hidden] { display: none; }
.nmp-ed-cover { position: relative; display: block; border-radius: 16px; overflow: hidden; cursor: pointer; }
.nmp-ed-cover input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nmp-ed-cover-in { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 96px; padding: 14px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--a) 40%, var(--line)); background: var(--a-soft); color: var(--a); font-weight: 700; font-size: 14.5px; text-align: left; }
.nmp-ed-cover-in small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.nmp-ed-cover.has-img .nmp-ed-cover-in { padding: 0; border: 0; aspect-ratio: 16 / 8; }
.nmp-ed-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nmp-ed-coverrm { justify-self: start; }
.nmp-ed-coverrm[hidden] { display: none; }
.nmp-ed-title { width: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 4px 2px !important; min-height: 0 !important; font-family: var(--ft) !important; font-weight: var(--fhw, 600) !important; font-size: 28px !important; line-height: 1.2; color: var(--ink); resize: none; overflow: hidden; }
.nmp-ed-title::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.nmp-ed-bar { position: sticky; top: calc(var(--top) + 64px); z-index: 4; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); }
.nmp-ed-bar button { min-width: 38px; height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font: 700 14px var(--f); cursor: pointer; display: inline-grid; place-items: center; }
.nmp-ed-bar button:hover { background: var(--surface); color: var(--ink); }
.nmp-ed-bar .nmp-i { width: 17px; height: 17px; }
.nmp-ed-body { min-height: 300px; padding: 8px 2px; outline: none; font-family: var(--ft); font-size: 19px; line-height: 1.75; color: var(--ink); overflow-wrap: anywhere; }
.nmp-ed-body:empty::before { content: attr(data-ph); color: var(--muted); font-family: var(--f); font-size: 16px; }
.nmp-ed-body p { margin: 0 0 1em; }
.nmp-ed-body h2 { font-size: 24px; margin: 1em 0 .4em; }
.nmp-ed-body blockquote { margin: 1em 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--a); font-style: italic; color: var(--ink2); }
.nmp-ed-body a { color: var(--a); }
.nmp-ed .is-bad .nmp-ed-body, .nmp-ed .is-bad .nmp-ed-title { box-shadow: inset 3px 0 0 var(--err) !important; }
.nmp-ed-count { font-size: 12.5px; color: var(--muted); margin: -4px 0 0; text-align: right; }
.nmp-ed-meta { display: grid; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.nmp-ed-cats { display: grid; gap: 10px; max-height: 340px; overflow: auto; padding-right: 4px; }
.nmp-ed-cg strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.nmp-ed-cg .nmp-pick span { min-height: 36px; padding: 6px 13px; font-size: 13.5px; }
.nmp-switch-h { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.nmp-dsent { display: grid; justify-items: center; gap: 10px; padding: 34px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.nmp-dsent h2 { font-family: var(--ft); font-weight: var(--fhw, 600); font-size: 26px; margin: 4px 0 0; }
.nmp-dsent p { color: var(--muted); margin: 0; }
.nmp-dbecome { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--grad-soft, var(--a-soft)); border: 1px solid var(--line); }
.nmp-dbecome > span { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.nmp-dbecome > div { flex: 1 1 200px; }
.nmp-dbecome strong { font-family: var(--ft); font-weight: var(--fhw, 600); font-size: 19px; }
.nmp-dbecome p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.nmp-chat { display: grid; gap: 10px; padding: 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.nmp-chat-h { display: flex; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.nmp-chat-h .nmp-i { flex: none; width: 16px; height: 16px; color: var(--mint); }
.nmp-chat-list { display: grid; gap: 8px; align-content: start; min-height: 220px; max-height: 56vh; overflow: auto; padding: 6px 2px; }
.nmp-bub { max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--soft); color: var(--ink); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.nmp-bub.is-me { justify-self: end; border-radius: 18px 18px 6px 18px; background: var(--grad); color: #fff; }
.nmp-bub.is-change { box-shadow: inset 0 0 0 2px var(--gold); }
.nmp-bub em { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 2px; }
.nmp-bub small { display: block; margin-top: 4px; font-size: 11.5px; opacity: .7; }
.nmp-chat-f { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.nmp-chat-f textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 15.5px var(--f); resize: vertical; }
.nmp-chat-f .nmp-btn { width: 48px; height: 48px; padding: 0; border-radius: 50%; }
.nmp-chat-about { grid-column: 1 / -1; margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--gold-soft); font-size: 13.5px; }
.nmp-chat-about[hidden] { display: none; }
.nmp-notes { display: grid; gap: 6px; }
.nmp-note { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nmp-note.is-new { border-color: color-mix(in srgb, var(--a) 40%, var(--line)); background: color-mix(in srgb, var(--a-soft) 60%, var(--surface)); }
.nmp-note-av { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.nmp-note-av img { width: 100%; height: 100%; object-fit: cover; }
.nmp-note strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.nmp-note small { color: var(--muted); font-size: 12px; }
.nmp-prof-f { display: grid; gap: 16px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.nmp-prof-f input[type=text], .nmp-prof-f textarea { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 15px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 16px var(--f); }
.nmp-bell { position: relative; }
.nmp-bell-n { position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--a); color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.nmp-bell-n[hidden] { display: none; }
@media (min-width: 640px) {
	.nmp-dh { padding: 26px 26px; }
	.nmp-dh h1 { font-size: 34px; }
	.nmp-ed { padding: 24px 28px; }
	.nmp-ed-title { font-size: 34px !important; }
	.nmp-dtabs button { flex: 1 1 0; }
}
@media (min-width: 1000px) { .nmp-ed-bar { top: calc(var(--top) + 70px); } }
.nmp-ed-title { resize: none !important; }
@media (max-width: 460px) {
	.nmp-dtabs button:not(.is-on) span { display: none; }
	.nmp-dtabs button { flex: 1 1 0; padding: 8px; }
}

/* Ads: calm, labelled, fixed space */
.nmp-ad { display: grid; gap: 6px; margin: 1.6em 0; padding: 10px 12px 12px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.nmp-ad-l { font: 700 10.5px var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nmp-ad-box { min-height: 250px; max-height: 320px; overflow: hidden; border-radius: 10px; }
.nmp-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.nmp-ad.is-feed { margin: 18px 0; }
.nmp-ad[hidden] { display: none; }

/* Festival wishes and sponsored banners */
.nmp-pr.is-f-deepavali { background: radial-gradient(300px 200px at 85% 20%, rgba(255, 210, 122, .35), transparent 60%), linear-gradient(150deg, #2B0B3D, #7A1E5C 55%, #E8952F); --prs: #7A1E5C; }
.nmp-pr.is-f-pongal { background: radial-gradient(300px 200px at 85% 20%, rgba(255, 231, 179, .35), transparent 60%), linear-gradient(150deg, #9C2A0A, #E8590C 55%, #FFB547); --prs: #E8590C; }
.nmp-pr.is-f-newyear { background: radial-gradient(300px 200px at 85% 20%, rgba(255, 255, 255, .3), transparent 60%), linear-gradient(150deg, #C8306F, #F4845F 55%, #FFD166); --prs: #F4845F; }
.nmp-pr.is-f-vesak { background: radial-gradient(300px 200px at 85% 25%, rgba(242, 193, 78, .35), transparent 60%), linear-gradient(150deg, #141842, #3A3F9E 60%, #F2C14E); --prs: #3A3F9E; }
.nmp-pr.is-f-christmas { background: radial-gradient(300px 200px at 85% 25%, rgba(255, 231, 179, .3), transparent 60%), linear-gradient(150deg, #0F3D2E, #1F6B4A 60%, #C9A227); --prs: #1F6B4A; }
.nmp-pr.is-f-eid { background: radial-gradient(300px 200px at 85% 25%, rgba(233, 196, 106, .3), transparent 60%), linear-gradient(150deg, #0E2A47, #1F4E79 60%, #E9C46A); --prs: #1F4E79; }
.nmp-pr.is-f-jan { background: radial-gradient(300px 200px at 85% 25%, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(150deg, #1A1230, #6A2BD9 55%, #F0844C); --prs: #6A2BD9; }
.nmp-pr.is-f-any { background: radial-gradient(300px 200px at 85% 25%, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(150deg, #6A2BD9, #C8306F 56%, #F0844C); --prs: #C8306F; }
.nmp-fest-art { position: absolute; z-index: -1; right: -6px; bottom: -6px; width: 46%; max-width: 230px; height: auto; opacity: .9; }
.nmp-pr[data-kind="festival"] .nmp-pr-b { padding-right: 34%; }
.nmp-pr[data-kind="festival"] h3 { font-size: 25px; }
.nmp-pr-btn.is-wish { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; }
.nmp-pr-btn.is-wish .nmp-i { width: 16px; height: 16px; }
.nmp-greet-sec { margin-top: 8px; }
.nmp-pr.is-greet { min-height: 190px; }
.nmp-pr.is-greet .nmp-pr-b { padding: 22px 34% 22px 20px; }
.nmp-pr.is-greet h3 { font-size: 28px; }
.nmp-pr.is-greet .nmp-fest-art { width: 40%; max-width: 280px; }
.nmp-pr[data-kind="sponsored"] .nmp-pr-badge::after { content: " · Paid advert"; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .8; }
@media (min-width: 1000px) { .nmp-pr.is-greet h3 { font-size: 36px; } .nmp-pr.is-greet .nmp-pr-b { padding: 30px 36% 30px 30px; } }
.nmp-adv { width: min(700px, 100%); margin: 6px auto 0; }
.nmp-adv .nmp-join-top { padding-bottom: 54px; }

/* ---------- Verified fields (email code, Sri Lankan SMS) ---------- */
.nmp-vrow { display: flex; gap: 8px; align-items: center; }
.nmp-vrow input { flex: 1; min-width: 0; }
.nmp-vrow .nmp-btn { flex: none; min-height: 50px; padding: 0 16px; white-space: nowrap; }
.nmp-vok { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; min-height: 50px; border-radius: 15px; background: color-mix(in srgb, var(--mint) 12%, transparent); color: var(--mint); font-weight: 700; font-size: 14px; }
.nmp-vok svg { width: 17px; height: 17px; }
.nmp-vf.is-ok input[name=email], .nmp-vf.is-ok input[name=phone] { border-color: color-mix(in srgb, var(--mint) 55%, var(--line)); }
.nmp-vcode { display: flex; gap: 8px; margin-top: 4px; }
.nmp-vcode .nmp-codein { flex: 1; min-width: 0; min-height: 54px; border-radius: 15px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.nmp-vcode .nmp-btn { min-height: 54px; }
.nmp-fdone { text-align: center; padding: 28px 8px; display: grid; justify-items: center; gap: 10px; }
.nmp-fdone h2 { margin: 0; font-family: var(--ft); font-size: 28px; }
.nmp-fdone p { margin: 0; color: var(--muted); max-width: 440px; }
@media (max-width: 460px) { .nmp-vrow { flex-wrap: wrap; } .nmp-vrow .nmp-btn, .nmp-vok { width: 100%; justify-content: center; } }
@media (max-width: 460px) { .nmp-langs.is-filter .nmp-langs-l { font-size: 0; letter-spacing: 0; gap: 0; } }

/* ---------- Encourage the writer (reactions) ---------- */
.nmp-react { margin: 30px 0 6px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.nmp-react-h { margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nmp-react-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nmp-rbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink2); font: 600 14px var(--f); cursor: pointer; transition: transform .15s, background-color .2s, border-color .2s, color .2s; }
.nmp-rbtn .nmp-i { width: 18px; height: 18px; color: var(--a); }
.nmp-rbtn b { font-weight: 800; color: var(--ink); }
.nmp-rbtn b:empty { display: none; }
.nmp-rbtn:hover:not(:disabled) { border-color: var(--a-lite); transform: translateY(-1px); }
.nmp-rbtn.is-on { background: var(--grad); border-color: transparent; color: #fff; }
.nmp-rbtn.is-on .nmp-i, .nmp-rbtn.is-on b { color: #fff; }
.nmp-rbtn.is-on .nmp-i { fill: currentColor; fill-opacity: .25; }
.nmp-rbtn:disabled { cursor: default; opacity: .85; }
.nmp-react-sum { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.nmp-react-sum a { color: var(--a); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .nmp-rbtn { transition: none; } }

/* ---------- Follow ---------- */
.nmp-author-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nmp-author-f { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.nmp-follow.is-on { color: var(--ink); }
.nmp-more { position: relative; display: inline-block; }
.nmp-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; }
.nmp-menu[hidden] { display: none; }
.nmp-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 600 14px var(--f); text-align: left; cursor: pointer; }
.nmp-menu button:hover { background: var(--a-soft); }
.nmp-menu .nmp-i { width: 17px; height: 17px; color: var(--muted); }

/* ---------- Comments ---------- */
.nmp-cmts { max-width: 760px; margin: 34px auto 0; padding: 0 16px; }
.nmp-cmts .nmp-sec-h h2 { display: flex; align-items: center; gap: 10px; }
.nmp-cmts-n { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--a-soft); color: var(--a); font: 800 13px var(--f); }
.nmp-cmts-n:empty { display: none; }
.nmp-cform { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 14px 0 22px; }
.nmp-cform[hidden] { display: none; }
.nmp-cform-in { display: grid; gap: 10px; }
.nmp-cform textarea, .nmp-rform textarea { width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 15.5px/1.5 var(--f); resize: vertical; }
.nmp-cform textarea:focus, .nmp-rform textarea:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-cform-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nmp-cform-f small { color: var(--muted); font-size: 12.5px; }
.nmp-rform .nmp-cform-f { justify-content: flex-end; margin-top: 8px; }
.nmp-promise { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--a-soft); font-size: 13.5px; line-height: 1.45; color: var(--ink2); cursor: pointer; }
.nmp-promise[hidden] { display: none; }
.nmp-promise input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--a); flex: none; }
.nmp-cjoin { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center; margin: 14px 0 22px; padding: 18px; border-radius: 22px; background: radial-gradient(260px 120px at 100% 0%, color-mix(in srgb, var(--a) 16%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
.nmp-cjoin[hidden] { display: none; }
.nmp-cjoin > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--grad); color: #fff; }
.nmp-cjoin b { font-size: 16px; }
.nmp-cjoin p { margin: 3px 0 0; font-size: 14px; color: var(--muted); }
.nmp-cjoin .nmp-btn { grid-column: span 1; }
.nmp-cjoin .nmp-btn:first-of-type { grid-column: 1 / 2; }
@media (max-width: 520px) { .nmp-cjoin { grid-template-columns: auto 1fr; } .nmp-cjoin .nmp-btn { grid-column: auto !important; } }
.nmp-cclosed { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.nmp-cclosed .nmp-i { width: 16px; height: 16px; }
.nmp-c-empty { color: var(--muted); font-size: 14.5px; padding: 6px 0 14px; }
.nmp-clist { display: grid; gap: 16px; margin-bottom: 14px; }
.nmp-c { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.nmp-c .nmp-av.is-sm { width: 36px; height: 36px; font-size: 13px; }
.nmp-c.is-reply .nmp-av.is-sm { width: 30px; height: 30px; font-size: 11px; }
.nmp-c-av { display: block; }
.nmp-c-bubble { display: inline-block; max-width: 100%; padding: 10px 14px 11px; border-radius: 4px 18px 18px 18px; background: var(--surface); border: 1px solid var(--line); }
.nmp-c.is-held .nmp-c-bubble { opacity: .7; border-style: dashed; }
.nmp-c-h { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.nmp-c-h a, .nmp-c-h b { color: var(--ink); font-weight: 800; text-decoration: none; }
.nmp-c-badge { padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nmp-c-to { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.nmp-c-t { font-size: 15px; line-height: 1.55; color: var(--ink2); overflow-wrap: anywhere; }
.nmp-c-t p { margin: 4px 0 0; }
.nmp-c-a { display: flex; align-items: center; gap: 4px; margin: 5px 0 0 6px; font-size: 12.5px; color: var(--muted); }
.nmp-c-a > span:first-child { margin-right: 6px; }
.nmp-c-a button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 12.5px var(--f); cursor: pointer; }
.nmp-c-a button:hover { background: var(--a-soft); color: var(--a); }
.nmp-c-a .nmp-i { width: 15px; height: 15px; }
.nmp-c-like.is-on { color: var(--a); }
.nmp-c-like.is-on .nmp-i { fill: currentColor; }
.nmp-c-like b:empty { display: none; }
.nmp-c-mw { position: relative; }
.nmp-c-mw .nmp-menu { left: 0; right: auto; }
.nmp-c-held { margin: 4px 0 0 6px; font-size: 12px; color: var(--muted); font-style: italic; }
.nmp-c-reps { grid-column: 2; display: grid; gap: 12px; margin-top: 2px; }
.nmp-c-reps:empty { display: none; }
.nmp-c.is-reply .nmp-c-reps { display: none; }

/* ---------- Report sheet (bottom sheet on phones) ---------- */
.nmp-rsheet { display: grid; align-items: end; }
.nmp-rsheet .nmp-sheet-in { width: 100%; max-width: 520px; margin: 0 auto; border-radius: 26px 26px 0 0; padding: 22px 18px 26px; display: grid; gap: 12px; animation: nmp-up .25s cubic-bezier(.2, .8, .2, 1) both; }
.nmp-rsheet h2 { margin: 0; font-family: var(--ft); font-size: 24px; }
.nmp-rsheet-p { margin: 0; color: var(--muted); font-size: 14px; }
.nmp-rsheet textarea { width: 100%; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 15px var(--f); }
@keyframes nmp-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) { .nmp-rsheet { align-items: center; } .nmp-rsheet .nmp-sheet-in { border-radius: 26px; } }
.nmp-pick.is-col { display: grid; gap: 8px; }
.nmp-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.nmp-opt:has(input:checked) { border-color: var(--a); background: var(--a-soft); }
.nmp-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--a); flex: none; }
.nmp-opt b { display: block; font-size: 14.5px; color: var(--ink); }
.nmp-opt small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* ---------- How you sign in (My NEERMAI > Profile) ---------- */
.nmp-signin-set { margin-top: 22px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.nmp-signin-set h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; }
.nmp-signin-set h3 .nmp-i { width: 18px; height: 18px; color: var(--a); }
@media (max-width: 460px) {
	.nmp-react-row { display: grid; grid-template-columns: 1fr 1fr; }
	.nmp-rbtn { justify-content: flex-start; padding: 0 12px; font-size: 13.5px; }
	.nmp-rbtn:last-child { grid-column: 1 / -1; }
}

/* ---------- Chats (My NEERMAI) ---------- */
.nmp-dm { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 560px; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nmp-dm-side { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-width: 0; }
.nmp-dm-own { padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--a-soft); }
.nmp-dm-own[hidden] { display: none; }
.nmp-dm-own .nmp-switch { font-size: 14px; }
.nmp-dm-list { overflow-y: auto; max-height: 620px; padding: 6px; }
.nmp-dm-t { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; width: 100%; padding: 10px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; color: var(--ink); }
.nmp-dm-t:hover { background: var(--bg); }
.nmp-dm-t.is-on { background: var(--a-soft); }
.nmp-dm-tt { min-width: 0; display: grid; }
.nmp-dm-tt b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmp-dm-tt small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmp-dm-t.is-new .nmp-dm-tt small { color: var(--ink); font-weight: 700; }
.nmp-dm-tm { display: grid; justify-items: end; gap: 4px; }
.nmp-dm-tm small { font-size: 11.5px; color: var(--muted); }
.nmp-dm-tm i { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.nmp-dm-none { padding: 18px; color: var(--muted); font-size: 14px; }
.nmp-dm-main { display: flex; flex-direction: column; min-width: 0; background: radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--a) 6%, transparent), transparent 70%), var(--bg); }
.nmp-dm-empty { margin: auto; max-width: 340px; padding: 30px 20px; text-align: center; color: var(--muted); }
.nmp-dm-empty span { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--grad); color: #fff; margin-bottom: 10px; }
.nmp-dm-empty h3 { margin: 0 0 6px; color: var(--ink); font-family: var(--ft); font-size: 22px; }
.nmp-dm-empty p { margin: 0; font-size: 14px; line-height: 1.5; }
.nmp-dm-loading { margin: auto; color: var(--muted); }
.nmp-dm-h { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.nmp-dm-h > div { display: grid; flex: 1; min-width: 0; }
.nmp-dm-h b { font-size: 15.5px; }
.nmp-dm-h small { font-size: 12px; color: var(--a); font-weight: 700; }
.nmp-dm-back { display: none; }
.nmp-dm-body { flex: 1; overflow-y: auto; max-height: 470px; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 6px; }
.nmp-dm-day { text-align: center; margin: 10px 0 4px; }
.nmp-dm-day span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.nmp-dm-msg { max-width: 78%; align-self: flex-start; padding: 9px 13px 6px; border-radius: 4px 18px 18px 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 16px -14px rgba(20, 10, 30, .5); }
.nmp-dm-msg.is-me { align-self: flex-end; border-radius: 18px 4px 18px 18px; background: var(--grad); border-color: transparent; color: #fff; }
.nmp-dm-msg p { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.nmp-dm-msg small { display: block; margin-top: 3px; font-size: 10.5px; opacity: .7; text-align: right; }
.nmp-dm-start { margin: auto; color: var(--muted); font-size: 14px; text-align: center; }
.nmp-dm-f { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 4px; }
.nmp-dm-f textarea { flex: 1; min-height: 46px; max-height: 140px; padding: 12px 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 15px/1.4 var(--f); resize: none; }
.nmp-dm-f textarea:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-dm-f .nmp-btn { width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 50%; flex: none; }
.nmp-dm-safe { margin: 0; padding: 0 16px 10px; font-size: 11.5px; color: var(--muted); }
.nmp-dm-main .nmp-msg { padding: 0 16px 10px; margin: 0; }
.nmp-dm-off { margin: 0; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; background: var(--surface); }
@media (max-width: 760px) {
	.nmp-dm { grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
	.nmp-dm-side { border-right: 0; }
	.nmp-dm-main { display: none; min-height: 70vh; }
	.nmp-dm.is-open .nmp-dm-side { display: none; }
	.nmp-dm.is-open .nmp-dm-main { display: flex; }
	.nmp-dm-back { display: inline-grid; }
	.nmp-dm-body { max-height: 58vh; }
	.nmp-dm-msg { max-width: 86%; }
}
.nmp-dm { scroll-margin-top: 150px; }
@media (max-width: 760px) { .nmp-dm { scroll-margin-top: 130px; } .nmp-dm.is-open .nmp-dm-main { min-height: calc(100vh - 230px); } .nmp-dm.is-open .nmp-dm-body { max-height: none; } }
.nmp-cc { flex: none; display: inline-grid; place-items: center; min-width: 58px; min-height: 50px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line); background: var(--a-soft); color: var(--ink); font: 800 16px var(--f); }

/* ======================================================================
   0.8.4 polish: calmer sizes for Tamil, Sinhala and other scripts,
   smaller featured slider and banners, modern scrollbars
   ====================================================================== */

/* Titles: a little smaller everywhere */
.nmp-read h1 { font-size: clamp(26px, 5.2vw, 38px); line-height: 1.18; }
.nmp-ahead h1 { font-size: clamp(24px, 5vw, 34px); }

/* Tamil, Sinhala and other Indic scripts look much larger than Latin at the same size, so they are set smaller and lighter */
.nmp :is(h1, h2, h3, strong, .nmp-book-big, .nmp-book-t, .nmp-quote-l):is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]),
.nmp :is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) :is(h1, h2, h3) { letter-spacing: 0; font-weight: 600; }
.nmp-read h1:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: clamp(22px, 4.2vw, 30px); line-height: 1.4; }
.nmp-read:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) .nmp-prose { font-size: calc(var(--fs) * .88); line-height: 1.9; }
.nmp-read:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) .nmp-prose :is(h2, h3, h4) { font-size: 1.08em; line-height: 1.5; }
.nmp-row h3:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: 16px; line-height: 1.5; }
.nmp-card h3:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: 16.5px; line-height: 1.5; }
.nmp-mini h3:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: 14px; line-height: 1.5; }
.nmp :is(.nmp-row, .nmp-card, .nmp-hcard) p:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: 13.5px; line-height: 1.7; }
.nmp-book-big:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: 15px; line-height: 1.45; }
.nmp-book-t:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]),
.nmp-book-meta strong:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: 13.5px; line-height: 1.45; }
.nmp-ahead h1:is([lang="ta"], [lang="si"]) { font-size: clamp(22px, 4.4vw, 30px); }
.nmp-quote-l:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: 14.5px; line-height: 1.75; font-style: normal; }
.nmp-quote-f strong:is([lang="ta"], [lang="si"]) { font-size: 13px; }

/* Byline: avatar and name side by side, language as a small link */
.nmp-byline-a > span { min-width: 0; }
.nmp-byline-a strong a { color: inherit; }
.nmp-byline-a small a { color: var(--a); font-weight: 600; }

/* Featured slider: smaller, wide and calm; it now moves on by itself */
.nmp-hcard > a > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nmp-hcard img:not(.nmp-hcard > a > img) { position: static; width: 100%; height: 100%; transform: none; }
.nmp-hcard a { aspect-ratio: 4 / 3; border-radius: 20px; }
.nmp-hcard-shade { background: linear-gradient(180deg, rgba(16, 14, 20, 0) 25%, rgba(16, 14, 20, .5) 55%, rgba(16, 14, 20, .9) 100%); }
.nmp-hcard-b { gap: 8px; padding: 18px; }
.nmp-hcard h3 { font-size: clamp(20px, 5vw, 26px); -webkit-line-clamp: 2; }
.nmp-hcard h3:is([lang="ta"], [lang="si"], [lang="hi"], [lang="ml"], [lang="te"], [lang="kn"], [lang="bn"], [lang="gu"], [lang="pa"]) { font-size: clamp(17px, 4.2vw, 21px); line-height: 1.45; }
.nmp-hcard p { font-size: 13.5px; -webkit-line-clamp: 2; }
.nmp-hcard-f .nmp-av { width: 30px; height: 30px; font-size: 11px; border: 2px solid rgba(255, 255, 255, .7); }
.nmp-hcard-f strong { font-size: 13px; }
.nmp-hcard-f small { font-size: 11.5px; }
.nmp-hcard-go { padding: 7px 12px; font-size: 12.5px; }
.nmp-dots span { transition: width .3s, background .3s; }
@media (min-width: 640px) { .nmp-hcard a { aspect-ratio: 2 / 1; } }
@media (min-width: 1000px) {
	.nmp-hcard a { aspect-ratio: 12 / 5; }
	.nmp-hcard-b { padding: 22px 24px; max-width: 560px; }
	.nmp-hcard-shade { background: linear-gradient(90deg, rgba(16, 14, 20, .88) 0%, rgba(16, 14, 20, .55) 45%, rgba(16, 14, 20, 0) 80%), linear-gradient(180deg, transparent 50%, rgba(16, 14, 20, .5)); }
}

/* Welcome banner: smaller */
.nmp-hello { padding: 22px 20px 20px; }
.nmp-hello h1 { font-size: clamp(26px, 5.4vw, 40px); line-height: 1.1; }
.nmp-hello-p { font-size: 14.5px; }
.nmp-hello .nmp-proof { margin-top: 16px; padding-top: 14px; }
.nmp-hello .nmp-proof strong { font-size: 19px; }
@media (min-width: 900px) { .nmp-hello { padding: 28px 30px 24px; } }

/* "Lines that stay with you": smaller cards */
.nmp-quote { width: 228px; }
.nmp-quote a { min-height: 196px; gap: 10px; padding: 18px 18px 14px; border-radius: 18px; }
.nmp-quote-i .nmp-i { width: 20px; height: 20px; }
.nmp-quote-l { font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-quote-f { padding-top: 10px; }

/* Modern scrollbars: thin, rounded, shown on hover in the side menu */
html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ink, #141316) 22%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink, #141316) 20%, transparent); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--ink, #141316) 34%, transparent); }
@media (min-width: 1000px) {
	.nmp-rail { scrollbar-width: thin; scrollbar-color: transparent transparent; overscroll-behavior: contain; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); transition: scrollbar-color .2s; }
	.nmp-rail:hover { scrollbar-color: color-mix(in srgb, var(--ink) 24%, transparent) transparent; }
	.nmp-rail::-webkit-scrollbar { display: block; width: 6px; }
	.nmp-rail::-webkit-scrollbar-thumb { background: transparent; border: 0; border-radius: 99px; }
	.nmp-rail:hover::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink) 24%, transparent); }
}

/* Post picture: never taller than the screen and never cropped, so poem artwork stays whole */
.nmp-read-cover { display: flex; justify-content: center; background: var(--soft); border-radius: 20px; overflow: hidden; }
.nmp-read-cover img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(70vh, 560px); object-fit: contain; border-radius: 0; }

/* ======================================================================
   0.8.5: layout and finishing
   ====================================================================== */

/* Anything other plugins or the old theme print after the page (menus, search panels, builder logos) stays hidden.
   Cookie notices, notification prompts and the translator keep working. */
body.nmp-body > :not(.nmp):not([class*="nmp-"]):not([id^="nmp"]):not(script):not(style):not(link):not(noscript):not(template):not(iframe):not(.skiptranslate):not([id^="goog"]):not([class*="goog"]):not([id*="cookie" i]):not([class*="cookie" i]):not([id*="consent" i]):not([class*="consent" i]):not([id*="cmplz"]):not([class*="cmplz"]):not([id*="gdpr" i]):not([class*="gdpr" i]):not([id*="onesignal" i]):not([class*="onesignal" i]):not([class*="pwa" i]):not([id*="pwa" i]):not([class*="grecaptcha"]) { display: none !important; }
html { margin-top: 0 !important; }

/* Writer panel on post pages (fills the right side on computers) */
.nmp-wside { display: grid; gap: 12px; }
.nmp-wside-a { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.nmp-wside-a > span { display: grid; min-width: 0; }
.nmp-wside-a small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a); }
.nmp-wside-a strong { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.nmp-wside-a em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.nmp-wside p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.nmp-wside-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.nmp-wside-edit { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink); }
.nmp-wside-edit .nmp-i { width: 18px; height: 18px; color: var(--a); }
.nmp-wside-edit:hover { color: var(--a); }
@media (min-width: 1240px) {
	.nmp-read, .nmp-read-more { max-width: none; }
	.nmp-main { max-width: 760px; }
}

/* "More in ..." on post pages: a tidy grid on computers instead of a cut-off row */
@media (min-width: 1000px) {
	.nmp-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; overflow: visible; margin: 0; padding: 4px 0 0; }
	.nmp-rel-grid .nmp-mini { width: auto; }
}

/* Writer circles: long names never spill into the next one */
.nmp-ring { width: 84px; }
.nmp-ring-n { width: 100%; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; -webkit-line-clamp: 2; }
.nmp-ring-n:is([lang="ta"], [lang="si"]) { font-size: 11.5px; }

/* Greeting: calmer */
.nmp-hi h1 { font-size: clamp(24px, 4vw, 32px); text-transform: none; }

/* Footer: even columns, compact writing card */
.nmp-foot-in { align-items: start; }
.nmp-foot-cta { align-self: start; padding: 22px; }
.nmp-foot-cta h2 { font-size: 13px; letter-spacing: .08em; }
.nmp-foot-cta p { font-size: 14px; line-height: 1.55; }
.nmp-foot-cta .nmp-btn { margin-top: 2px; padding: 10px 18px; font-size: 14px; }
.nmp-foot-col a { line-height: 1.5; }
@media (min-width: 1000px) {
	.nmp-foot-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: 40px 24px 16px; }
}

/* "Your story starts here": everything centred and balanced */
.nmp-about-cta { display: grid; justify-items: center; gap: 6px; padding: 34px 24px; text-align: center; }
.nmp-about-cta h2 { text-align: center; font-size: clamp(22px, 3vw, 28px); }
.nmp-about-cta p { max-width: 52ch; margin: 0 auto; }
.nmp-about-cta .nmp-hello-acts { justify-content: center; margin-top: 10px; }
.nmp-about-tb { margin-top: 12px !important; opacity: .8; }

/* Drag to scroll with the mouse: a hand to grab, no scrollbar */
@media (hover: hover) and (pointer: fine) {
	[data-nmp-drag] { cursor: grab; }
	[data-nmp-drag].is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto !important; }
	[data-nmp-drag].is-dragging * { pointer-events: none; user-select: none; }
	[data-nmp-drag] img { -webkit-user-drag: none; }
	.nmp-rail[data-nmp-drag] { cursor: default; }
	.nmp-rail[data-nmp-drag].is-dragging { cursor: grabbing; }
}
/* Writer circles: one clean gradient ring */
html[data-palette] .nmp-ring-o { box-sizing: border-box; width: 72px; height: 72px; padding: 2.5px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); box-shadow: none; }
html[data-palette] .nmp-ring-o .nmp-av { box-sizing: border-box; width: 100%; height: 100%; margin: 0; border: 2.5px solid var(--bg); box-shadow: none; }

/* Full width on every screen: the page uses the whole window, no empty bands at the sides */
.nmp-top-in, .nmp-layout, .nmp-foot-in, .nmp-foot-bar p { max-width: 1760px; }
@media (min-width: 1240px) {
	.nmp-top-in { padding-left: 28px; padding-right: 28px; }
	.nmp-layout { grid-template-columns: 248px minmax(0, 1fr) clamp(300px, 21vw, 380px); gap: clamp(28px, 2.4vw, 44px); padding-left: 28px; padding-right: 28px; }
	.nmp-layout.is-focus { grid-template-columns: 248px minmax(0, 1fr); }
	.nmp-main { max-width: none; justify-self: stretch; }
	.nmp-layout.is-focus .nmp-main { max-width: 900px; justify-self: center; }
	.nmp-read, .nmp-read-more { max-width: none; margin-left: 0; margin-right: 0; }
	.nmp-foot-in { padding-left: 28px; padding-right: 28px; }
}
@media (min-width: 1600px) { .nmp-rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ======================================================================
   0.8.6: sticky category bar, even Trending covers, Writers page
   ====================================================================== */

/* Sticky category bar: a clean frosted strip under the top bar */
.nmp-sticky-chips { z-index: 30; gap: 8px; padding-top: 10px; padding-bottom: 10px; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .2s, padding .2s; }
.nmp-sticky-chips.is-stuck { box-shadow: 0 1px 0 var(--line), 0 14px 24px -22px rgba(16, 14, 20, .55); padding-top: 8px; padding-bottom: 8px; }
.nmp-sticky-chips .nmp-chip { padding: 8px 15px; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.nmp-sticky-chips .nmp-chip:is([lang="ta"], [lang="si"]), .nmp-sticky-chips .nmp-chip { font-weight: 600; }
.nmp-sticky-chips .nmp-chip:last-child { margin-right: 24px; }
@media (min-width: 1000px) { .nmp-sticky-chips { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; border-radius: 0 0 16px 16px; } }

/* Trending: every cover the same size, no rank numbers */
.nmp-book, .nmp-book.has-rank { width: 150px; padding-left: 0; }
.nmp-rank { display: none; }
.nmp-book-c { aspect-ratio: 3 / 4; width: 100%; }
.nmp-book-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nmp-book-meta strong { -webkit-line-clamp: 2; min-height: 2.6em; }
.nmp-book-meta small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 640px) { .nmp-book, .nmp-book.has-rank { width: 168px; } }

/* "All writers" circle and panel links */
.nmp-ring-all { display: grid; place-items: center; background: var(--soft) !important; color: var(--a); }
.nmp-ring-all .nmp-i { width: 26px; height: 26px; }
.nmp-ring.is-all .nmp-ring-n { color: var(--a); font-weight: 700; }
.nmp-panel-hr { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nmp-panel-hr .nmp-link { font-size: 13px; font-weight: 600; }

/* ---------------- Writers page ---------------- */
.nmp-wr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 26px 24px; border-radius: 24px; color: #fff; background: radial-gradient(520px 260px at 100% 0%, color-mix(in srgb, var(--gold) 45%, transparent), transparent 62%), radial-gradient(480px 300px at 0% 100%, color-mix(in srgb, var(--a) 80%, transparent), transparent 62%), var(--hero); box-shadow: 0 30px 60px -40px rgba(16, 14, 20, .9); }
.nmp-wr-head .nmp-kicker { color: rgba(255, 255, 255, .75); }
.nmp-wr-head h1 { font-family: var(--ft); font-weight: 600; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-top: 4px; }
.nmp-wr-sub { margin-top: 8px; max-width: 56ch; color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.6; }
.nmp-wr-head .nmp-btn.is-grad { box-shadow: none; background: #fff; color: #141316; }
.nmp-wr-tools { position: sticky; top: var(--top); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; padding: 10px 0; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nmp-wr-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.nmp-wr-search:focus-within { border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.nmp-wr-search .nmp-i { width: 18px; height: 18px; color: var(--muted); }
.nmp-wr-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.nmp-wr-tools .nmp-chips { flex: 0 1 auto; }
.nmp-wr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.nmp-wr { position: relative; display: grid; grid-template-rows: 1fr auto auto; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 34px -30px rgba(16, 14, 20, .5); transition: transform .25s, box-shadow .25s; }
.nmp-wr:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -30px rgba(16, 14, 20, .6); }
.nmp-wr[hidden] { display: none; }
.nmp-wr-top { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 0 18px 14px; text-align: center; color: inherit; }
.nmp-wr-band { display: block; width: calc(100% + 36px); height: 74px; margin: 0 -18px; background: var(--tint); opacity: .9; }
.nmp-wr-ph { margin-top: -50px; padding: 3px; border-radius: 50%; background: var(--grad); box-shadow: 0 12px 24px -14px rgba(16, 14, 20, .6); }
.nmp-wr-ph .nmp-av { width: 92px; height: 92px; font-size: 28px; border: 3px solid var(--surface); box-shadow: none; }
.nmp-wr-ph .nmp-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.nmp-wr-name { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font-size: 16.5px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.nmp-wr-name:is([lang="ta"]), .nmp-wr-name { max-width: 100%; }
.nmp-wr-roles { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a); }
.nmp-wr-about { font-size: 13px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-wr-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nmp-wr-stats span { display: grid; justify-items: center; gap: 1px; padding: 10px 4px; font-size: 11.5px; color: var(--muted); }
.nmp-wr-stats span + span { border-left: 1px solid var(--line); }
.nmp-wr-stats strong { font-size: 15px; color: var(--ink); font-weight: 700; }
.nmp-wr-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.nmp-wr-acts .nmp-btn { justify-content: center; width: 100%; }
.nmp-wr-acts > :only-child { grid-column: 1 / -1; }
.nmp-wr-none { margin: 30px 0; text-align: center; color: var(--muted); }
@media (max-width: 520px) {
	.nmp-wr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nmp-wr-ph .nmp-av { width: 72px; height: 72px; font-size: 22px; }
	.nmp-wr-ph { margin-top: -40px; }
	.nmp-wr-band { height: 60px; }
	.nmp-wr-name { font-size: 14.5px; }
	.nmp-wr-about { display: none; }
	.nmp-wr-acts { grid-template-columns: 1fr; }
	.nmp-wr-acts .nmp-btn.is-soft { display: none; }
	.nmp-wr-head { padding: 22px 18px; }
}
.nmp-wr-ph { position: relative; z-index: 1; }
.nmp-wr-band { position: relative; z-index: 0; }
@media (max-width: 520px) { .nmp-wr-acts .nmp-btn.is-soft:only-child { display: inline-flex; } }

/* Cards never grow wider than their slot, whatever the title or writer name (long names with no spaces wrap or trim) */
.nmp-book a, .nmp-mini a, .nmp-quote a, .nmp-hcard-b, .nmp-wr, .nmp-wr-top { grid-template-columns: minmax(0, 1fr); }
.nmp-book, .nmp-mini, .nmp-card, .nmp-row, .nmp-quote, .nmp-wr, .nmp-ring { min-width: 0; }
.nmp-book a > *, .nmp-mini a > *, .nmp-book-meta, .nmp-book-meta > *, .nmp-row > *, .nmp-card > * { min-width: 0; max-width: 100%; }
.nmp-book-meta small, .nmp-mini-a, .nmp-row .nmp-meta-a, .nmp-wlist strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; }
.nmp-book-meta strong, .nmp-mini h3, .nmp-row h3, .nmp-card h3, .nmp-wr-name, .nmp-wside-a strong, .nmp-ring-n { overflow-wrap: anywhere; }
.nmp-book-c, .nmp-mini .nmp-cov { width: 100%; max-width: 100%; }
.nmp-scroll.is-books { gap: 18px; }
.nmp-book-c.is-type { grid-template-columns: minmax(0, 1fr); }
.nmp-book-big, .nmp-book-by, .nmp-book-k { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.nmp-book-by { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-quote-f, .nmp-quote-l { min-width: 0; max-width: 100%; }
.nmp-quote-f strong, .nmp-quote-f small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-hcard-f { min-width: 0; }
.nmp-hcard-f > span:not(.nmp-hcard-go):not(.nmp-av) { flex: 1 1 auto; min-width: 0; }
.nmp-hcard-f strong, .nmp-hcard-f small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-hcard-go { flex: none; }
.nmp-card > a, .nmp-card-b { min-width: 0; max-width: 100%; }
.nmp-card-b { grid-template-columns: minmax(0, 1fr); }
.nmp-card-f, .nmp-card-f > * { min-width: 0; }
.nmp-card-f .nmp-meta { flex: 1 1 auto; overflow: hidden; }
.nmp-meta-a { min-width: 0; }
.nmp-mini h3 { max-width: 100%; }
.nmp-cov.is-tint > span { max-width: 100%; overflow-wrap: anywhere; }

/* Roles a member already has: shown, but not clickable */
.nmp-sc-card.is-done { cursor: default; filter: saturate(.55); opacity: .82; }
.nmp-sc-card.is-done:hover { transform: none; box-shadow: none; }
.nmp-sc-cta.is-done { background: rgba(255, 255, 255, .22); color: #fff; }
.nmp-sc-cta.is-done .nmp-i { width: 16px; height: 16px; }
.nmp-role.is-done { cursor: default; opacity: .7; border-style: dashed; }
.nmp-role.is-done .nmp-role-tick { opacity: 1; transform: none; }
.nmp-sc-card .nmp-sc-cta.is-done { background: rgba(255, 255, 255, .2) !important; color: #fff !important; box-shadow: none !important; }
.nmp-sc-cta { white-space: nowrap; }

/* ---------------- About: founder and developer ---------------- */
.nmp-founder { display: grid; gap: 22px; align-items: center; padding: 22px; border-radius: 26px; background: radial-gradient(520px 300px at 100% 0%, color-mix(in srgb, var(--a) 12%, transparent), transparent 65%), var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(16, 14, 20, .6); }
.nmp-founder-ph { position: relative; justify-self: center; width: min(280px, 72vw); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--grad); box-shadow: 0 26px 50px -30px rgba(16, 14, 20, .7); }
.nmp-founder-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.nmp-founder-ini { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-family: var(--ft); font-size: 64px; }
.nmp-founder-glow { position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(16, 14, 20, .28)); pointer-events: none; }
.nmp-founder-b { display: grid; gap: 10px; min-width: 0; }
.nmp-founder-b h2 { font-family: var(--ft); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.01em; }
.nmp-founder-r { font-size: 14px; font-weight: 600; color: var(--a); margin-top: -4px; }
.nmp-founder-q { display: flex; gap: 10px; margin: 6px 0 4px; padding: 14px 16px; border-radius: 16px; background: var(--soft); font-family: var(--ft); font-size: 18px; line-height: 1.5; font-style: italic; color: var(--ink); }
.nmp-founder-q .nmp-i { flex: none; width: 20px; height: 20px; color: var(--a); margin-top: 3px; }
.nmp-founder-b > p:not(.nmp-kicker):not(.nmp-founder-r) { font-size: 15.5px; line-height: 1.75; color: var(--ink2); }
.nmp-plinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.nmp-plink { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--soft); color: var(--ink); transition: background .2s, color .2s, transform .2s; }
.nmp-plink:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.nmp-plink .nmp-i { width: 19px; height: 19px; }
@media (min-width: 900px) {
	.nmp-founder { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 34px; padding: 30px; }
	.nmp-founder-ph { width: 100%; }
}
.nmp-devcard { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 20px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.nmp-devcard > div { flex: 1 1 240px; min-width: 0; }
.nmp-devcard h2 { font-size: 20px; font-weight: 700; }
.nmp-devcard p:not(.nmp-kicker) { font-size: 14px; color: var(--muted); margin-top: 2px; }
.nmp-devcard-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #141316; color: #fff; font-weight: 800; letter-spacing: .04em; }
.nmp-devcard .nmp-plinks { margin-top: 0; }

/* ======================================================================
   0.9.0: writer profile
   ====================================================================== */
.nmp-pf { position: relative; margin-top: 6px; }
.nmp-pf-cover { position: relative; height: 170px; border-radius: 26px 26px 0 0; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--tint) 92%, #000) 0%, var(--tint) 45%, color-mix(in srgb, var(--tint) 55%, #fff) 100%); }
.nmp-pf-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.nmp-pf-orb.is-a { width: 280px; height: 280px; right: -60px; top: -120px; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 65%); }
.nmp-pf-orb.is-b { width: 220px; height: 220px; left: 30%; bottom: -150px; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 70%, transparent), transparent 65%); }
.nmp-pf-grain { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.nmp-pf-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 22px 22px; border-radius: 0 0 26px 26px; background: var(--surface); border: 1px solid var(--line); border-top: 0; box-shadow: 0 30px 60px -50px rgba(16, 14, 20, .7); }
.nmp-pf-ph { margin-top: -66px; justify-self: start; padding: 4px; border-radius: 50%; background: var(--grad); box-shadow: 0 18px 34px -18px rgba(16, 14, 20, .7); }
.nmp-pf-ph .nmp-av { width: 124px; height: 124px; font-size: 38px; border: 4px solid var(--surface); box-shadow: none; }
.nmp-pf-ph .nmp-av img { object-fit: cover; object-position: center 28%; }
.nmp-pf-id { display: grid; gap: 8px; min-width: 0; }
.nmp-pf-id h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--ft); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.nmp-pf-id h1:is([lang="ta"]), .nmp-pf-id h1 { min-width: 0; }
.nmp-pf-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.nmp-pf-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: color-mix(in srgb, var(--a) 12%, transparent); color: var(--a); }
.nmp-pf-badge.is-ref { background: var(--soft); color: var(--ink2); text-transform: none; letter-spacing: .02em; }
.nmp-pf-badge .nmp-i { width: 14px; height: 14px; }
.nmp-pf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.nmp-pf-meta .nmp-i { width: 15px; height: 15px; }
.nmp-pf-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 4px; }
.nmp-pf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nmp-pf-acts .nmp-btn { padding: 11px 20px; }
.nmp-pf-ico { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); }
.nmp-pf-about { position: relative; max-width: 72ch; }
.nmp-pf-about p { font-size: 15.5px; line-height: 1.75; color: var(--ink2); overflow-wrap: anywhere; }
.nmp-pf-about.is-long:not(.is-open) p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nmp-pf-about .nmp-link { margin-top: 4px; font-weight: 600; }
.nmp-pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); }
.nmp-pf-stats li { display: grid; justify-items: center; gap: 2px; padding: 14px 6px; text-align: center; }
.nmp-pf-stats li + li { border-left: 1px solid var(--line); }
.nmp-pf-stats strong { font-family: var(--ft); font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.nmp-pf-stats span { font-size: 12px; color: var(--muted); }
.nmp-pf-topics { display: grid; gap: 8px; }
.nmp-pf-h { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nmp-pf-posts .nmp-sec-h { justify-content: flex-start; gap: 10px; }
.nmp-pf-count { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--soft); font-size: 12.5px; font-weight: 700; color: var(--ink2); }
@media (min-width: 900px) {
	.nmp-pf-cover { height: 210px; }
	.nmp-pf-card { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; align-items: end; padding: 0 30px 26px; }
	.nmp-pf-ph { margin-top: -78px; grid-row: 1; }
	.nmp-pf-ph .nmp-av { width: 150px; height: 150px; font-size: 44px; }
	.nmp-pf-id { grid-row: 1; padding-top: 16px; }
	.nmp-pf-acts { grid-row: 1; justify-content: flex-end; }
	.nmp-pf-about, .nmp-pf-stats, .nmp-pf-topics { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.nmp-pf-cover { height: 130px; border-radius: 20px 20px 0 0; }
	.nmp-pf-card { padding: 0 16px 18px; border-radius: 0 0 20px 20px; }
	.nmp-pf-ph { margin-top: -54px; }
	.nmp-pf-ph .nmp-av { width: 104px; height: 104px; }
	.nmp-pf-stats strong { font-size: 20px; }
	.nmp-pf-acts .nmp-btn { flex: 1 1 auto; justify-content: center; }
}

/* Writers list: text never touches the card edge; calmer, premium card */
.nmp-wr-top { padding: 0 20px 16px; }
.nmp-wr-about { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.nmp-wr-band { background: linear-gradient(135deg, color-mix(in srgb, var(--tint) 88%, #000), var(--tint) 55%, color-mix(in srgb, var(--tint) 60%, #fff)); opacity: 1; width: calc(100% + 40px); margin: 0 -20px; position: relative; overflow: hidden; }
.nmp-wr-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(160px 90px at 85% 0%, rgba(255, 255, 255, .35), transparent 70%); }
.nmp-wr { border-radius: 24px; }
.nmp-wr-stats strong { font-family: var(--ft); font-weight: 600; font-size: 18px; }
/* The tint is a gradient, so it is used as is, with light and shade laid on top */
.nmp-pf-cover { background: radial-gradient(420px 220px at 90% -10%, rgba(255, 255, 255, .35), transparent 65%), linear-gradient(180deg, rgba(16, 14, 20, 0) 40%, rgba(16, 14, 20, .25)), var(--tint); }
.nmp-wr-band { background: radial-gradient(180px 100px at 85% -10%, rgba(255, 255, 255, .4), transparent 70%), var(--tint); }
.nmp-pf-stats strong, .nmp-wr-stats strong { font-family: var(--f); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.nmp-wr-search input, .nmp-wr-search input:focus { border: 0 !important; outline: 0 !important; box-shadow: none !important; padding: 0 !important; height: auto !important; background: transparent !important; border-radius: 0 !important; }

/* Profile banner: upload in My NEERMAI, shown on the profile */
.nmp-pf-cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nmp-pf-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 14, 20, .05) 0%, rgba(16, 14, 20, .1) 55%, rgba(16, 14, 20, .45) 100%); }
.nmp-cover { display: grid; gap: 6px; margin-top: 14px; }
.nmp-cover-drop { position: relative; display: grid; align-content: end; min-height: 120px; padding: 14px; border-radius: 16px; overflow: hidden; cursor: pointer; border: 1.5px dashed var(--line); background: var(--soft); }
.nmp-cover-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.nmp-cover-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.nmp-cover-drop.has-cover { border-style: solid; }
.nmp-cover-drop.has-cover .nmp-cover-t { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.nmp-cover-drop.has-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16, 14, 20, .55)); }
.nmp-cover-t { position: relative; z-index: 1; display: grid; gap: 2px; }
.nmp-cover-t small { font-size: 12.5px; opacity: .85; }
.nmp-cover > .nmp-link { justify-self: start; }
.nmp, .nmp * { font-variant-numeric: lining-nums; }

/* ======================================================================
   0.9.2: footer
   ====================================================================== */
.nmp-foot { display: none; }
.nmp-ft { --ft-bg: #121016; --ft-ink: #F4F1EC; --ft-mute: rgba(244, 241, 236, .62); --ft-line: rgba(244, 241, 236, .1); margin-top: 48px; background: var(--ft-bg); color: var(--ft-ink); padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom, 0px)); position: relative; overflow: hidden; }
.nmp-ft::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 100% 0%, color-mix(in srgb, var(--a) 22%, transparent), transparent 65%), radial-gradient(600px 300px at 0% 100%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 65%); }
.nmp-ft-in { position: relative; max-width: 1760px; margin: 0 auto; padding: 0 20px; }
.nmp-ft-cta { position: relative; display: grid; gap: 18px; align-items: center; margin-top: 28px; padding: 26px 24px; border-radius: 26px; overflow: hidden; background: linear-gradient(120deg, var(--a-deep, #5B1F8C) 0%, var(--a) 55%, #E0675A 100%); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8); }
.nmp-ft-cta-orb { position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 65%); pointer-events: none; }
.nmp-ft-cta > div { position: relative; }
.nmp-ft-k { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.nmp-ft-cta h2 { margin-top: 6px; font-family: var(--ft); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; color: #fff; letter-spacing: -.01em; }
.nmp-ft-cta p:not(.nmp-ft-k) { margin-top: 8px; max-width: 52ch; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.nmp-ft-cta-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.nmp-ft-cta .nmp-btn { padding: 12px 20px; font-size: 14.5px; }
.nmp-ft-cta .nmp-btn.is-white { background: #fff; color: #141316; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6); }
.nmp-ft-cta .nmp-btn.is-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.nmp-ft-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 40px 0 30px; }
.nmp-ft-brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; }
.nmp-ft-brand .nmp-logo { color: var(--ft-ink); }
.nmp-ft-brand .nmp-logo-t { color: var(--ft-ink); }
.nmp-ft-brand p { max-width: 40ch; font-size: 14.5px; line-height: 1.7; color: var(--ft-mute); }
.nmp-ft-social { display: flex; flex-wrap: wrap; gap: 8px; }
.nmp-ft-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid var(--ft-line); color: var(--ft-ink); transition: background .2s, transform .2s; }
.nmp-ft-social a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.nmp-ft-social .nmp-i { width: 18px; height: 18px; }
.nmp-ft-col h2 { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ft-ink); opacity: .9; margin-bottom: 14px; }
.nmp-ft-col ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.nmp-ft-col a { display: inline-block; font-size: 14.5px; line-height: 1.45; color: var(--ft-mute); transition: color .2s, transform .2s; overflow-wrap: anywhere; }
.nmp-ft-col a:hover { color: #fff; transform: translateX(2px); }
.nmp-ft-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 0 22px; border-top: 1px solid var(--ft-line); }
.nmp-ft-bar p { font-size: 13px; color: var(--ft-mute); }
.nmp-ft-bar p a { color: var(--ft-ink); font-weight: 700; }
.nmp-ft-legal { display: flex; align-items: center; gap: 18px; }
.nmp-ft-legal a { font-size: 13px; color: var(--ft-mute); }
.nmp-ft-legal a:hover { color: #fff; }
.nmp-ft-top { display: grid !important; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--ft-line); color: var(--ft-ink) !important; }
.nmp-ft-top .nmp-i { width: 17px; height: 17px; }
@media (min-width: 720px) {
	.nmp-ft-in { padding: 0 28px; }
	.nmp-ft-cta { grid-template-columns: minmax(0, 1fr) auto; padding: 32px 36px; }
	.nmp-ft-main { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px 0 36px; }
	.nmp-ft-brand { grid-column: auto; }
}
@media (min-width: 1000px) { .nmp-ft { padding-bottom: 0; } }
html[data-theme="dark"] .nmp-ft { --ft-bg: #0B0A0E; }
.nmp-ft-brand .nmp-logo > img { max-height: 44px; width: auto; padding: 6px 12px; border-radius: 12px; background: #fff; }
.nmp-ft-legal { margin-left: auto; }

/* YouTube: always fits the width; Shorts stay tall and centred */
.nmp-prose .nmp-yt, .nmp-yt { width: 100%; max-width: 100%; }
.nmp-yt.is-short { aspect-ratio: 9 / 16; width: min(100%, 360px); margin-left: auto; margin-right: auto; }
.nmp-prose iframe:not(.nmp-yt iframe) { max-width: 100%; }
.nmp-prose .wp-block-embed, .nmp-prose figure.wp-block-embed { margin: 1.4em 0; max-width: 100%; }

/* ======================================================================
   0.9.4: tighter branded footer, 404, signed-out note
   ====================================================================== */
.nmp-ft-in { max-width: 1320px; }
.nmp-ft-cta { padding: 24px 26px; border-radius: 24px; }
.nmp-ft-cta h2 { font-size: clamp(22px, 2.4vw, 30px); }
.nmp-ft-cta p:not(.nmp-ft-k) { font-size: 14.5px; }
.nmp-ft-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 38px 0 10px; }
.nmp-ft-brand { gap: 14px; grid-column: auto; }
.nmp-ft-brand p { max-width: 38ch; font-size: 14px; line-height: 1.7; }
.nmp-ft-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.nmp-ft-langs a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ft-ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--ft-line); transition: background .2s; }
.nmp-ft-langs a:hover { background: rgba(255, 255, 255, .14); }
.nmp-ft-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.nmp-ft-col h2 { margin-bottom: 12px; font-size: 11px; color: color-mix(in srgb, var(--a) 40%, #fff); }
.nmp-ft-col ul { gap: 8px; }
.nmp-ft-col a { font-size: 14px; }
.nmp-ft-col.is-read { grid-column: 1 / -1; }
.nmp-ft-col.is-read ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.nmp-ft-mark { margin: 6px 0 -10px; font-family: var(--ft); font-weight: 700; font-size: clamp(56px, 13vw, 168px); line-height: .9; letter-spacing: .02em; text-align: center; white-space: nowrap; overflow: hidden; color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .015)); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }
.nmp-ft-bar { padding: 16px 0 20px; }
@media (min-width: 900px) {
	.nmp-ft-main { grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 56px; padding: 46px 0 14px; }
	.nmp-ft-cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.nmp-ft-col.is-read { grid-column: auto; }
}

/* 404 */
.nmp-404 { display: none; }
.nmp-nf { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 12px; margin-top: 8px; padding: 40px 22px 34px; border-radius: 28px; text-align: center; color: #fff; background: radial-gradient(520px 300px at 100% 0%, color-mix(in srgb, var(--gold) 45%, transparent), transparent 62%), radial-gradient(560px 340px at 0% 100%, color-mix(in srgb, var(--a) 85%, transparent), transparent 62%), var(--hero); box-shadow: 0 34px 70px -44px rgba(16, 14, 20, .9); }
.nmp-nf-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.nmp-nf-orb.is-a { width: 300px; height: 300px; right: -90px; bottom: -120px; border: 1px solid rgba(255, 255, 255, .12); }
.nmp-nf-orb.is-b { width: 180px; height: 180px; left: -50px; top: -60px; border: 1px solid rgba(255, 255, 255, .1); }
.nmp-nf-art { display: flex; align-items: center; gap: 10px; }
.nmp-nf-num { font-family: var(--ft); font-weight: 600; font-size: clamp(84px, 14vw, 140px); line-height: 1; letter-spacing: -.02em; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nmp-nf-drop { display: grid; place-items: center; width: clamp(70px, 11vw, 110px); aspect-ratio: 1; border-radius: 30%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); animation: nmpFloat 4s ease-in-out infinite; }
.nmp-nf-mark { width: 62%; height: 62%; }
@keyframes nmpFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
.nmp-nf-k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.nmp-nf h1 { font-family: var(--ft); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; }
.nmp-nf-p { max-width: 48ch; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.nmp-nf-search { display: flex; align-items: center; gap: 8px; width: min(100%, 520px); margin-top: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.nmp-nf-search .nmp-i { width: 18px; height: 18px; opacity: .8; flex: none; }
.nmp-nf-search input, .nmp-nf-search input:focus { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; color: #fff; font: inherit; font-size: 15px; padding: 8px 0 !important; height: auto !important; }
.nmp-nf-search input::placeholder { color: rgba(255, 255, 255, .65); }
.nmp-nf-search .nmp-btn { flex: none; padding: 10px 18px; }
.nmp-nf-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.nmp-nf .nmp-btn.is-white { background: #fff; color: #141316; }
.nmp-nf .nmp-btn.is-glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.nmp-nf-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.nmp-nf-cats > span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Signed out */
.nmp-bye { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 8px 0 14px; padding: 14px 14px 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 36px -28px rgba(16, 14, 20, .6); animation: nmpIn .4s ease both; }
.nmp-bye-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, #1F9D6B 14%, transparent); color: #1F9D6B; }
.nmp-bye-ico .nmp-i { width: 20px; height: 20px; }
.nmp-bye > div { flex: 1 1 220px; display: grid; gap: 2px; }
.nmp-bye strong { font-size: 15px; }
.nmp-bye span:not(.nmp-bye-ico) { font-size: 13.5px; color: var(--muted); }
@keyframes nmpIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nmp-ft-mark { font-size: clamp(48px, 9vw, 124px); margin: 22px 0 -8px; }

/* ======================================================================
   0.9.5: footer bottom band — follow, copyright, TechBytz
   ====================================================================== */
.nmp-ft-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 4px; padding: 22px 0 24px; border-top: 1px solid var(--ft-line); }
.nmp-ft-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; min-width: 0; }
.nmp-ft-follow:empty { display: none; }
.nmp-ft-fl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ft-mute); }
.nmp-ft-social { display: flex; flex-wrap: wrap; gap: 8px; }
.nmp-ft-social a { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--ft-ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--ft-line); overflow: hidden; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, color .25s, box-shadow .25s; }
.nmp-ft-social a::before { content: ""; position: absolute; inset: 0; background: var(--brand, var(--a)); opacity: 0; transition: opacity .25s; }
.nmp-ft-social a .nmp-i { position: relative; width: 19px; height: 19px; }
.nmp-ft-social a:hover, .nmp-ft-social a:focus-visible { transform: translateY(-3px); border-color: transparent; color: #fff; box-shadow: 0 12px 24px -12px var(--brand, var(--a)); }
.nmp-ft-social a:hover::before, .nmp-ft-social a:focus-visible::before { opacity: 1; }
.nmp-ft-social a[style*="#FFFFFF"]:hover { color: #141316; }
.nmp-ft-copy { display: grid; gap: 4px; min-width: 0; }
.nmp-ft-copy p { font-size: 13px; color: var(--ft-mute); }
.nmp-ft-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; }
.nmp-ft-legal a { font-size: 12.5px; color: var(--ft-mute); }
.nmp-ft-tb { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 8px 16px 8px 8px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid var(--ft-line); color: var(--ft-ink); transition: border-color .25s, transform .25s, box-shadow .25s; }
.nmp-ft-tb:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--a) 55%, transparent); box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--a) 80%, transparent); }
.nmp-ft-tb-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(135deg, #0F172A, #2563EB 60%, #22D3EE); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.nmp-ft-tb-t { display: grid; line-height: 1.25; }
.nmp-ft-tb-t small { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ft-mute); }
.nmp-ft-tb-t strong { font-size: 13.5px; font-weight: 700; }
.nmp-ft-top { justify-self: start; }
@media (min-width: 900px) {
	.nmp-ft-bar { grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 24px; }
	.nmp-ft-follow { order: 2; justify-content: flex-end; }
	.nmp-ft-copy { order: 1; }
	.nmp-ft-tb { order: 3; }
	.nmp-ft-top { order: 4; }
}
@media (max-width: 899px) {
	.nmp-ft-bar { justify-items: start; }
	.nmp-ft-top { position: absolute; right: 20px; margin-top: -2px; }
	.nmp-ft-bar { position: relative; }
}
.nmp-ft-tb-mark.has-logo, .nmp-devcard-mark.has-logo { background: #fff; padding: 4px; overflow: hidden; }
.nmp-ft-tb-mark.has-logo img, .nmp-devcard-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 7px; }
.nmp-ft-tb-mark { width: 40px; height: 40px; border-radius: 12px; }

/* ======================================================================
   0.9.7: sign-in page — centred split card that fills the space
   ====================================================================== */
.nmp-route-login .nmp-layout.is-focus .nmp-main { max-width: none; justify-self: stretch; }
.nmp-auth.is-split { display: grid; place-items: center; min-height: calc(100vh - var(--top) - 40px); padding: 12px 0 28px; }
.nmp-signin { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 1040px); border-radius: 30px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -56px rgba(16, 14, 20, .8); }
.nmp-signin .nmp-auth-card { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 34px 28px; align-content: center; max-width: none; }
.nmp-signin .nmp-auth-card > * { width: min(100%, 400px); justify-self: center; }
.nmp-signin-art { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; gap: 22px; padding: 26px; color: #fff; background: radial-gradient(420px 280px at 100% 0%, color-mix(in srgb, var(--gold) 55%, transparent), transparent 62%), radial-gradient(460px 320px at 0% 100%, color-mix(in srgb, var(--a) 90%, transparent), transparent 62%), var(--hero); }
.nmp-signin-orb { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; }
.nmp-signin-orb.is-a { width: 320px; height: 320px; right: -120px; bottom: -110px; }
.nmp-signin-orb.is-b { width: 160px; height: 160px; left: -50px; top: 40%; }
.nmp-signin-top { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; font-size: 15px; }
.nmp-signin-mark { width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .14); padding: 6px; }
.nmp-signin-mid { align-self: center; display: grid; gap: 12px; }
.nmp-signin-k { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.nmp-signin-mid h2 { font-family: var(--ft); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.nmp-signin-mid ul { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.nmp-signin-mid li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.nmp-signin-mid li .nmp-i { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.nmp-signin-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.nmp-signin-foot strong { color: #fff; }
.nmp-signin-avs { display: flex; }
.nmp-signin-avs .nmp-av { width: 32px; height: 32px; font-size: 11px; border: 2px solid var(--hero); margin-left: -8px; }
.nmp-signin-avs .nmp-av:first-child { margin-left: 0; }
@media (max-width: 859px) {
	.nmp-signin-art { gap: 14px; padding: 22px; }
	.nmp-signin-mid ul, .nmp-signin-foot { display: none; }
	.nmp-signin-mid h2 { font-size: 22px; }
	.nmp-signin .nmp-auth-card { padding: 26px 20px 24px; }
	.nmp-signin .nmp-auth-ico { display: none; }
}
@media (min-width: 860px) {
	.nmp-signin { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 560px; }
	.nmp-signin-art { padding: 34px; }
}
.nmp-signin .nmp-auth-card > .nmp-auth-ico { width: 60px; height: 60px; }

/* ======================================================================
   0.9.8: closer footer, TechBytz signature
   ====================================================================== */
.nmp-ft { margin-top: 12px; }
.nmp-ft-cta { margin-top: 26px; }
@media (min-width: 1000px) { .nmp-layout { padding-bottom: 20px; } }
.nmp-auth.is-split { min-height: 0; padding: 18px 0 8px; }
@media (min-height: 760px) and (min-width: 860px) { .nmp-auth.is-split { min-height: calc(100vh - var(--top) - 120px); } }

/* TechBytz signature: a clean lockup, no box */
.nmp-ft-tb { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 4px 0 4px 18px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ft-ink); }
.nmp-ft-tb::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, transparent, var(--ft-line) 20%, var(--ft-line) 80%, transparent); }
.nmp-ft-tb:hover { transform: none; box-shadow: none; border: 0; }
.nmp-ft-tb-mark { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 22px -12px rgba(37, 99, 235, .8); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.nmp-ft-tb:hover .nmp-ft-tb-mark { transform: rotate(-6deg) scale(1.05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 14px 28px -12px rgba(34, 211, 238, .8); }
.nmp-ft-tb-t { display: grid; gap: 1px; line-height: 1.15; }
.nmp-ft-tb-t small { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ft-mute); }
.nmp-ft-tb-t strong { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.nmp-ft-tb-dot { color: #22D3EE; }
.nmp-ft-tb-t em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12px; color: var(--ft-mute); transition: color .25s; }
.nmp-ft-tb-t em .nmp-i { width: 13px; height: 13px; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.nmp-ft-tb:hover .nmp-ft-tb-t em { color: #fff; }
.nmp-ft-tb:hover .nmp-ft-tb-t em .nmp-i { opacity: 1; transform: none; }
.nmp-ft-tb-mark.has-logo { background: #fff; padding: 5px; }
@media (max-width: 899px) { .nmp-ft-tb { padding-left: 0; } .nmp-ft-tb::before { display: none; } }
/* Sign-in: centre the card in the same height as the side menu, so the space above and below is even */
@media (min-width: 1000px) { .nmp-route-login .nmp-auth.is-split { min-height: calc(100vh - var(--top) - 48px); padding: 0; } }
@media (min-width: 1000px) {
	.nmp-route-login .nmp-auth.is-split { min-height: 0; padding: 4px 0 0; place-items: stretch center; }
	.nmp-route-login .nmp-signin { min-height: min(820px, calc(100vh - var(--top) - 40px)); width: min(100%, 1120px); }
}

/* ======================================================================
   1.0.0: NEERMAI Radio
   ====================================================================== */
.nmp-rd-head { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 26px 24px; border-radius: 26px; color: #fff; background: radial-gradient(520px 260px at 100% 0%, color-mix(in srgb, var(--gold) 45%, transparent), transparent 62%), radial-gradient(520px 300px at 0% 100%, color-mix(in srgb, var(--a) 85%, transparent), transparent 62%), var(--hero); }
.nmp-rd-orb { position: absolute; z-index: -1; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02); }
.nmp-rd-k { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.nmp-rd-k .nmp-i { width: 18px; height: 18px; }
.nmp-rd-head h1 { margin-top: 6px; font-family: var(--ft); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.nmp-rd-head p:not(.nmp-rd-k) { margin-top: 8px; max-width: 54ch; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .84); }
.nmp-rd-head .nmp-btn.is-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }

/* Now playing */
.nmp-rd-now { position: sticky; top: calc(var(--top) + 8px); z-index: 25; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 24px 48px -34px rgba(16, 14, 20, .7); }
.nmp-rd-art { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; overflow: hidden; color: #fff; background: var(--grad); box-shadow: 0 14px 28px -16px rgba(16, 14, 20, .7); }
.nmp-rd-art img, .nmp-rd-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.nmp-rd-art b, .nmp-rd-logo b { font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.nmp-rd-art > span .nmp-i { width: 30px; height: 30px; }
.nmp-rd-meta { min-width: 0; display: grid; gap: 2px; }
.nmp-rd-state { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nmp-rd-live { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.nmp-rd-now.is-live .nmp-rd-live { background: #E5484D; box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: nmpPulse 1.6s infinite; }
.nmp-rd-now.is-live .nmp-rd-state { color: #E5484D; }
.nmp-rd-now.is-err .nmp-rd-state { color: #D9822B; }
@keyframes nmpPulse { 70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.nmp-rd-meta h2 { font-size: 19px; font-weight: 700; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-rd-sub { font-size: 13px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-rd-eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; margin-top: 4px; opacity: 0; transition: opacity .3s; }
.nmp-rd-eq i { width: 3px; height: 30%; border-radius: 2px; background: var(--a); }
.nmp-rd-now.is-live .nmp-rd-eq { opacity: 1; }
.nmp-rd-now.is-live .nmp-rd-eq i { animation: nmpEq 1s ease-in-out infinite; }
.nmp-rd-eq i:nth-child(2) { animation-delay: -.3s !important; } .nmp-rd-eq i:nth-child(3) { animation-delay: -.6s !important; } .nmp-rd-eq i:nth-child(4) { animation-delay: -.15s !important; } .nmp-rd-eq i:nth-child(5) { animation-delay: -.45s !important; }
@keyframes nmpEq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.nmp-rd-ctrl, .nmp-rd-vol { display: flex; align-items: center; gap: 8px; }
.nmp-rd-ctrl { grid-column: 1 / -1; justify-content: center; }
.nmp-rd-vol { grid-column: 1 / -1; }
.nmp-rd-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--soft); color: var(--ink); cursor: pointer; transition: background .2s, transform .2s, color .2s; }
.nmp-rd-btn:hover { transform: translateY(-1px); }
.nmp-rd-btn .nmp-i { width: 20px; height: 20px; }
.nmp-rd-play { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; color: #fff; background: var(--grad); cursor: pointer; box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--a) 80%, transparent); transition: transform .2s; }
.nmp-rd-play:hover { transform: scale(1.05); }
.nmp-rd-play .nmp-i { width: 26px; height: 26px; }
.nmp-rd-play .is-play .nmp-i { fill: currentColor; margin-left: 3px; }
.nmp-rd-play > span { display: none; }
.nmp-rd-now:not(.is-live):not(.is-wait) .nmp-rd-play .is-play, .nmp-rd-now.is-live .nmp-rd-play .is-pause, .nmp-rd-now.is-wait .nmp-rd-play .is-wait { display: grid; }
.nmp-rd-play .is-wait { width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: nmpSpin .8s linear infinite; }
@keyframes nmpSpin { to { transform: rotate(360deg); } }
.nmp-rd-btn .is-off, .nmp-rd-btn.is-muted .is-on { display: none; }
.nmp-rd-btn.is-muted .is-off { display: block; }
.nmp-rd-btn.is-muted { color: #E5484D; }
[data-nmp-rd-fav].is-on { color: #E5484D; background: color-mix(in srgb, #E5484D 14%, transparent); }
[data-nmp-rd-fav].is-on .nmp-i { fill: currentColor; }
.nmp-rd-vol input[type="range"] { --v: 80%; flex: 1; min-width: 80px; height: 6px; appearance: none; -webkit-appearance: none; border-radius: 99px; background: linear-gradient(90deg, var(--a) var(--v), var(--line) var(--v)); outline: none; cursor: pointer; }
.nmp-rd-vol input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 0 0 4px color-mix(in srgb, var(--a) 30%, transparent); }
.nmp-rd-vol input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
@media (min-width: 860px) {
	.nmp-rd-now { grid-template-columns: auto minmax(0, 1fr) auto minmax(200px, 260px); padding: 16px 18px; }
	.nmp-rd-ctrl, .nmp-rd-vol { grid-column: auto; }
	.nmp-rd-art { width: 84px; height: 84px; }
}

/* Filters and stations */
.nmp-rd-tools { display: grid; gap: 10px; margin-top: 16px; }
.nmp-rd-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.nmp-rd-search .nmp-i { width: 18px; height: 18px; color: var(--muted); }
.nmp-rd-search input, .nmp-rd-search input:focus { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; height: auto !important; font: inherit; font-size: 15px; color: var(--ink); }
.nmp-rd-tools .nmp-chips button.nmp-chip { cursor: pointer; font: inherit; font-size: 14px; }
.nmp-rd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; margin-top: 14px; }
.nmp-rd-st { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.nmp-rd-st:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--a) 40%, var(--line)); box-shadow: 0 16px 30px -24px rgba(16, 14, 20, .6); }
.nmp-rd-st.is-on { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 16%, transparent); }
.nmp-rd-st.is-bad { opacity: .5; }
.nmp-rd-logo { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; color: #fff; }
.nmp-rd-logo b { font-size: 16px; }
.nmp-rd-st-t { display: grid; gap: 2px; min-width: 0; }
.nmp-rd-st-t strong { font-size: 14.5px; font-weight: 700; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-rd-st-t small { font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-transform: capitalize; }
.nmp-rd-st-p { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: background .2s, color .2s; }
.nmp-rd-st-p svg { width: 15px; height: 15px; margin-left: 2px; }
.nmp-rd-st:hover .nmp-rd-st-p, .nmp-rd-st.is-on .nmp-rd-st-p { background: var(--a); color: #fff; }
.nmp-rd-fv { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #E5484D; }
.nmp-rd-none { margin: 28px 0; text-align: center; color: var(--muted); }
.nmp-rd-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 4px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.nmp-rd-note .nmp-i { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--mint); }

/* Pop-out mini player window */
.nmp-pop .nmp-main { max-width: none; padding: 12px; }
.nmp-pop .nmp-rd-now { position: static; margin-top: 0; }
.nmp-pop .nmp-rd-grid { grid-template-columns: minmax(0, 1fr); }
body.nmp-route-radio .nmp-pop ~ * { display: none; }
@media (min-width: 860px) {
	.nmp-rd-now { grid-template-columns: auto minmax(0, 1fr) auto; }
	.nmp-rd-vol { grid-column: 2 / -1; }
}
@media (min-width: 1240px) {
	.nmp-rd-now { grid-template-columns: auto minmax(0, 1fr) auto minmax(170px, 220px); }
	.nmp-rd-vol { grid-column: auto; }
}
@media (max-width: 859px) { .nmp-rd-now { position: static; } }

/* ======================================================================
   1.1.0: listen while you read — persistent player bar
   ====================================================================== */
.nmp-rd-tip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.nmp-rd-tip .nmp-i { width: 16px; height: 16px; }

html.nmp-shell-on { --pl-h: 76px; }
html.nmp-shell-on .nmp-shell-frame { position: fixed; z-index: 2147483000; left: 0; top: 0; width: 100%; height: calc(100% - var(--pl-h)); border: 0; background: var(--bg); opacity: 0; transition: opacity .35s ease; }
html.nmp-shell-ready .nmp-shell-frame { opacity: 1; }
html.nmp-shell-ready, html.nmp-shell-ready body { overflow: hidden !important; height: 100%; }
html.nmp-shell-ready body > :not(.nmp-shell-frame):not(.nmp-lw):not(.nmp-toast):not(script) { visibility: hidden !important; }
html.nmp-in-shell { scrollbar-gutter: auto; }

.nmp-lw { --pl-bg: #141118; --pl-ink: #F4F1EC; --pl-mute: rgba(244, 241, 236, .62); --pl-line: rgba(244, 241, 236, .1); position: fixed; z-index: 2147483001; left: 0; right: 0; bottom: 0; height: var(--pl-h, 76px); padding-bottom: env(safe-area-inset-bottom, 0px); color: var(--pl-ink); background: color-mix(in srgb, var(--pl-bg) 94%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-top: 1px solid var(--pl-line); box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .6); font-family: var(--f, system-ui); animation: nmpPlIn .35s cubic-bezier(.2, .8, .2, 1) both; }
.nmp-lw::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, #6A2BD9, #D6336C, #F08A4B); opacity: .9; }
@keyframes nmpPlIn { from { transform: translateY(100%); } to { transform: none; } }
.nmp-lw-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 100%; max-width: 1760px; margin: 0 auto; padding: 0 20px; }
.nmp-lw button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.nmp-lw-who { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px; margin-left: -6px; border-radius: 14px; text-align: left; transition: background .2s; }
.nmp-lw-who:hover { background: rgba(255, 255, 255, .06); }
.nmp-lw-art { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; overflow: hidden; color: #fff; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .8); }
.nmp-lw-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.nmp-lw-art b { font-size: 15px; font-weight: 800; }
.nmp-lw-t { display: grid; gap: 2px; min-width: 0; }
.nmp-lw-t strong { font-size: 15px; font-weight: 700; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-lw-st { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pl-mute); }
.nmp-lw-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nmp-lw.is-live .nmp-lw-st { color: #FF5A5F; }
.nmp-lw.is-live .nmp-lw-st i { animation: nmpPulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(255, 90, 95, .6); }
.nmp-lw.is-err .nmp-lw-st { color: #F0A44B; }
.nmp-lw-eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; margin-left: 4px; opacity: 0; }
.nmp-lw-eq i { width: 3px; height: 30%; border-radius: 2px; background: #F08A4B; }
.nmp-lw.is-live .nmp-lw-eq { opacity: 1; }
.nmp-lw.is-live .nmp-lw-eq i { animation: nmpEq 1s ease-in-out infinite; }
.nmp-lw-eq i:nth-child(2) { animation-delay: -.35s !important; } .nmp-lw-eq i:nth-child(3) { animation-delay: -.7s !important; } .nmp-lw-eq i:nth-child(4) { animation-delay: -.2s !important; }
.nmp-lw-ctrl { display: flex; align-items: center; gap: 10px; }
.nmp-lw-b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--pl-ink); transition: background .2s, color .2s, transform .2s; }
.nmp-lw-b:hover { background: rgba(255, 255, 255, .08); }
.nmp-lw-b svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nmp-lw-b.is-skip svg { fill: currentColor; stroke-width: 1.4; }
.nmp-lw-play { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #141118 !important; background: #fff !important; box-shadow: 0 10px 24px -12px rgba(255, 255, 255, .5); transition: transform .2s; }
.nmp-lw-play:hover { transform: scale(1.06); }
.nmp-lw-play svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.nmp-lw.is-paused .nmp-lw-play svg, .nmp-lw.is-err .nmp-lw-play svg, .nmp-lw.is-idle .nmp-lw-play svg { margin-left: 3px; stroke-width: 0; }
.nmp-lw-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(20, 17, 24, .2); border-top-color: #141118; animation: nmpSpin .8s linear infinite; }
.nmp-lw-side { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.nmp-lw-b.is-mute.is-on { color: #FF5A5F; }
.nmp-lw-b.is-fav.is-on { color: #FF5A5F; }
.nmp-lw-b.is-fav.is-on svg { fill: currentColor; }
.nmp-lw-b.is-close { margin-left: 4px; color: var(--pl-mute); }
.nmp-lw-vol { --v: 80%; width: min(140px, 12vw); height: 5px; appearance: none; -webkit-appearance: none; border-radius: 99px; background: linear-gradient(90deg, #fff var(--v), rgba(255, 255, 255, .18) var(--v)); outline: none; cursor: pointer; }
.nmp-lw-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.nmp-lw-vol::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
@media (max-width: 760px) {
	html.nmp-shell-on { --pl-h: 66px; }
	.nmp-lw-in { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0 10px 0 12px; }
	.nmp-lw-ctrl { gap: 4px; }
	.nmp-lw-ctrl .is-skip, .nmp-lw-vol, .nmp-lw-b.is-mute, .nmp-lw-b.is-fav { display: none; }
	.nmp-lw-ctrl { order: 2; } .nmp-lw-side { order: 3; }
	.nmp-lw-in { grid-template-columns: minmax(0, 1fr) auto auto; }
	.nmp-lw-art { width: 42px; height: 42px; }
	.nmp-lw-play { width: 44px; height: 44px; }
	.nmp-lw-eq { display: none; }
}

/* After a reload: a small "continue listening" pill */
.nmp-lw-resume { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tab, 0px) + 16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: #141118; color: #F4F1EC; font: inherit; cursor: pointer; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); animation: nmpIn .4s ease both; max-width: calc(100% - 32px); }
.nmp-lw-resume-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; }
.nmp-lw-resume-ico svg { width: 16px; height: 16px; margin-left: 2px; }
.nmp-lw-resume > span:nth-child(2) { display: grid; text-align: left; min-width: 0; line-height: 1.2; }
.nmp-lw-resume small { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 241, 236, .6); }
.nmp-lw-resume strong { font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nmp-lw-resume-x { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(244, 241, 236, .6); }
.nmp-lw-resume-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.nmp-lw-resume-x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (min-width: 1000px) { .nmp-lw-resume { bottom: 24px; } }
.nmp-lw-resume { transform: none; translate: -50% 0; }
