/* ==========================================================================
   Darkury Muse Machine — front end (v1.2)

   Structure:
   1. Base + "Match My Theme" defaults (borrows the site theme's look)
   2. Themes (CSS variables only)
   3. Hub: headers, filters, cards (lift / flat / outline / polaroid / overlay / glass)
   4. Profile: headers (banner / cover / centered / minimal), panels, sections
   5. Verses page
   6. Lightbox, theme preview, responsive, reduced motion
   Everything lives under .dmm so it never fights the site theme.
   ========================================================================== */

/* ---------- 1. Base ---------- */
.dmm {
	--dmm-cols: 3;
	--dmm-radius: 14px;
	--dmm-radius-lg: 22px;
	--dmm-accent: var(--wp--preset--color--primary, var(--wp--preset--color--accent-1, #3858e9));
	--dmm-on-accent: var(--wp--preset--color--base, #ffffff);
	--dmm-surface: rgba(127, 127, 127, .07);
	--dmm-surface-2: rgba(127, 127, 127, .13);
	--dmm-line: rgba(127, 127, 127, .3);
	--dmm-muted: currentColor;
	--dmm-muted-op: .74;
	--dmm-shadow: 0 8px 24px rgba(0, 0, 0, .10);
	--dmm-shadow-hover: 0 16px 36px rgba(0, 0, 0, .18);
	--dmm-shadow-soft: 0 1px 3px rgba(0, 0, 0, .06);
	--dmm-hero-bg: linear-gradient(135deg, rgba(127, 127, 127, .20), rgba(127, 127, 127, .07));
	--dmm-label-font: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

	box-sizing: border-box;
	max-width: 1120px;
	margin: 0 auto;
	padding: 28px 20px 56px;
	font-family: var(--dmm-font, inherit);
	font-size: var(--dmm-fs, 1em);
	line-height: 1.65;
	color: var(--dmm-ink, inherit);
	color-scheme: var(--dmm-scheme, normal);
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
	.dmm {
		--dmm-hero-bg: linear-gradient(135deg,
			color-mix(in srgb, var(--dmm-accent) 24%, transparent),
			color-mix(in srgb, var(--dmm-accent) 7%, transparent));
	}
}
.dmm *, .dmm *::before, .dmm *::after { box-sizing: border-box; }
.dmm[data-dmm-width="wide"] { max-width: 1400px; }
.dmm[data-dmm-width="full"] { max-width: none; }
.dmm[data-dmm-theme]:not([data-dmm-theme="inherit"]) {
	background-color: var(--dmm-bg);
	border-radius: var(--dmm-radius-lg);
}
.dmm img { max-width: 100%; height: auto; display: block; }
.dmm h1, .dmm h2, .dmm h3 {
	font-family: var(--dmm-font-head, inherit);
	font-weight: var(--dmm-head-weight, 700);
	text-transform: var(--dmm-head-tt, none);
	letter-spacing: var(--dmm-head-ls, normal);
	text-shadow: var(--dmm-glow, none);
	line-height: 1.2;
	margin: 0 0 .5em;
}
.dmm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.dmm-initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 3em; font-weight: 700; opacity: .75; color: var(--dmm-on-hero, currentColor); }
.dmm-prose { overflow-wrap: anywhere; }
.dmm-prose > :first-child { margin-top: 0; }
.dmm-prose > :last-child { margin-bottom: 0; }
.dmm-prose p { margin: 0 0 1em; }

/* Pills, badges, buttons */
.dmm-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.dmm-badge { display: inline-block; font-family: var(--dmm-badge-font, inherit); text-transform: var(--dmm-badge-tt, none); letter-spacing: var(--dmm-badge-ls, normal); font-size: var(--dmm-badge-fs, .78em); font-weight: 600; line-height: 1.4; padding: 3px 11px; border-radius: var(--dmm-pill, 999px); background: var(--dmm-surface-2); border: 1px solid var(--dmm-line); color: inherit; }
.dmm-badge--platform { background: var(--dmm-accent); border-color: var(--dmm-accent); color: var(--dmm-on-accent); }
.dmm-badge--open { background: #e3f6ea; border-color: #b9e3c7; color: #145a35; }
.dmm-badge--selective { background: #fff3d6; border-color: #efd99c; color: #704f00; }
.dmm-badge--hiatus { background: #eceff4; border-color: #d1d7e2; color: #444f63; }
.dmm-badge--closed { background: #fde6e6; border-color: #f1bcbc; color: #8a2020; }

.dmm .dmm-btn {
	display: inline-block; padding: 10px 20px; border-radius: var(--dmm-pill, 999px); border: 2px solid var(--dmm-accent);
	background: var(--dmm-accent); color: var(--dmm-on-accent); font-weight: 700; font-size: .95em; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.dmm .dmm-btn:hover, .dmm .dmm-btn:focus-visible { transform: translateY(-2px); box-shadow: var(--dmm-shadow); color: var(--dmm-on-accent); }
.dmm .dmm-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.dmm .dmm-btn--ghost:hover, .dmm .dmm-btn--ghost:focus-visible { background: rgba(127, 127, 127, .18); color: inherit; }
.dmm a:focus-visible, .dmm summary:focus-visible, .dmm button:focus-visible { outline: 3px solid var(--dmm-accent); outline-offset: 2px; }

.dmm-back { margin: 0 0 14px; font-size: .92em; }
.dmm-back a { color: var(--dmm-accent); font-weight: 600; text-decoration: none; }
.dmm-back a:hover { text-decoration: underline; }

/* ---------- 2. Themes ---------- */
.dmm[data-dmm-theme="midnight"] {
	--dmm-bg: #0b1b36; --dmm-surface: #11284b; --dmm-surface-2: #183462; --dmm-ink: #e8f0fa;
	--dmm-muted: #9fb6d3; --dmm-muted-op: 1; --dmm-line: #27487a;
	--dmm-accent: #4d8bff; --dmm-on-accent: #06142b;
	--dmm-hero-bg: linear-gradient(135deg, #102c54 0%, #1f2185 100%); --dmm-on-hero: #ffffff;
	--dmm-radius: 16px; --dmm-radius-lg: 24px; --dmm-scheme: dark;
	--dmm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--dmm-shadow: 0 10px 30px rgba(0, 0, 0, .35); --dmm-shadow-hover: 0 18px 44px rgba(0, 0, 0, .55); --dmm-shadow-soft: 0 6px 20px rgba(0, 0, 0, .25);
	background-image: radial-gradient(900px 380px at 85% -10%, rgba(77, 139, 255, .16), transparent 70%);
}

.dmm[data-dmm-theme="parchment"] {
	--dmm-bg: #f6edd9; --dmm-surface: #fffaf0; --dmm-surface-2: #f0e3c4; --dmm-paper: #fffdf6; --dmm-ink: #3b2a1a;
	--dmm-muted: #7a6347; --dmm-muted-op: 1; --dmm-line: #dcc9a0;
	--dmm-accent: #94651a; --dmm-on-accent: #fffaf0;
	--dmm-hero-bg: linear-gradient(135deg, #5b3a1e 0%, #8a5a2b 100%); --dmm-on-hero: #fdf3dc;
	--dmm-radius: 6px; --dmm-radius-lg: 10px;
	--dmm-font: "Lora", Georgia, "Times New Roman", serif;
	--dmm-font-head: "Cormorant Garamond", "Palatino Linotype", Georgia, serif; --dmm-head-weight: 700; --dmm-fs: 1.03em;
	--dmm-shadow: 0 8px 22px rgba(91, 58, 30, .16); --dmm-shadow-hover: 0 14px 30px rgba(91, 58, 30, .26); --dmm-shadow-soft: 0 2px 8px rgba(91, 58, 30, .10);
	background-image: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .5), transparent 45%), radial-gradient(circle at 90% 90%, rgba(154, 107, 31, .10), transparent 40%);
}

.dmm[data-dmm-theme="neonnoir"] {
	--dmm-bg: #07070d; --dmm-surface: #0f0f1a; --dmm-surface-2: #181829; --dmm-ink: #f1f1ff;
	--dmm-muted: #a2a2c9; --dmm-muted-op: 1; --dmm-line: #2b2b4b;
	--dmm-accent: #ff2fa8; --dmm-on-accent: #0a0a12; --dmm-accent-2: #19e6ff;
	--dmm-hero-bg: linear-gradient(135deg, #1b0033 0%, #001c3d 100%); --dmm-on-hero: #ffffff;
	--dmm-radius: 10px; --dmm-radius-lg: 16px; --dmm-scheme: dark;
	--dmm-font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-head-weight: 700; --dmm-glow: 0 0 20px rgba(255, 47, 168, .45);
	--dmm-shadow: 0 0 0 1px rgba(255, 47, 168, .22), 0 10px 40px rgba(255, 47, 168, .14);
	--dmm-shadow-hover: 0 0 0 1px rgba(25, 230, 255, .6), 0 14px 50px rgba(25, 230, 255, .25);
	--dmm-shadow-soft: 0 0 0 1px rgba(255, 255, 255, .04);
	background-image: radial-gradient(700px 300px at 10% 0%, rgba(255, 47, 168, .14), transparent 70%), radial-gradient(700px 300px at 100% 100%, rgba(25, 230, 255, .12), transparent 70%);
}

.dmm[data-dmm-theme="gothicrose"] {
	--dmm-bg: #140509; --dmm-surface: #1f0a10; --dmm-surface-2: #2c1119; --dmm-ink: #f3e6e8;
	--dmm-muted: #c7a4ab; --dmm-muted-op: 1; --dmm-line: #4d1e2a;
	--dmm-accent: #e0526c; --dmm-on-accent: #1a0509;
	--dmm-hero-bg: linear-gradient(135deg, #3b0a17 0%, #12040a 100%); --dmm-on-hero: #f8e9ec;
	--dmm-radius: 4px; --dmm-radius-lg: 8px; --dmm-scheme: dark;
	--dmm-font: "Cormorant Garamond", Georgia, "Times New Roman", serif; --dmm-fs: 1.1em;
	--dmm-font-head: "Cinzel", "Trajan Pro", Georgia, serif; --dmm-head-tt: uppercase; --dmm-head-ls: .07em;
	--dmm-shadow: 0 10px 30px rgba(0, 0, 0, .55); --dmm-shadow-hover: 0 16px 42px rgba(224, 82, 108, .28); --dmm-shadow-soft: 0 4px 14px rgba(0, 0, 0, .4);
	background-image: radial-gradient(800px 320px at 50% -8%, rgba(224, 82, 108, .14), transparent 70%);
}

.dmm[data-dmm-theme="cottage"] {
	--dmm-bg: #f3f6ee; --dmm-surface: #ffffff; --dmm-surface-2: #e8efe0; --dmm-ink: #2f3a2c;
	--dmm-muted: #5f6d58; --dmm-muted-op: 1; --dmm-line: #d3dfc6;
	--dmm-accent: #ab4a72; --dmm-on-accent: #ffffff;
	--dmm-hero-bg: linear-gradient(135deg, #a8c29a 0%, #e9b8c6 100%); --dmm-on-hero: #26331f;
	--dmm-radius: 22px; --dmm-radius-lg: 32px;
	--dmm-font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Playfair Display", Georgia, serif;
	--dmm-shadow: 0 10px 26px rgba(70, 90, 60, .15); --dmm-shadow-hover: 0 18px 38px rgba(70, 90, 60, .24); --dmm-shadow-soft: 0 3px 10px rgba(70, 90, 60, .10);
}

.dmm[data-dmm-theme="starlit"] {
	--dmm-bg: #0d0a24; --dmm-surface: #1a1540; --dmm-surface-2: #251e58; --dmm-glass: rgba(255, 255, 255, .07); --dmm-ink: #efeaff;
	--dmm-muted: #b3a9e0; --dmm-muted-op: 1; --dmm-line: #3c3384;
	--dmm-accent: #f5c76a; --dmm-on-accent: #1a1233;
	--dmm-hero-bg: linear-gradient(135deg, #2b1b6b 0%, #6a2c8f 100%); --dmm-on-hero: #ffffff;
	--dmm-radius: 18px; --dmm-radius-lg: 28px; --dmm-scheme: dark;
	--dmm-font: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Marcellus", Georgia, serif; --dmm-head-weight: 400; --dmm-head-ls: .03em;
	--dmm-shadow: 0 10px 34px rgba(8, 4, 40, .6); --dmm-shadow-hover: 0 18px 44px rgba(245, 199, 106, .22); --dmm-shadow-soft: 0 6px 20px rgba(8, 4, 40, .45);
	background-image:
		radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, .9), transparent 60%),
		radial-gradient(1px 1px at 78% 12%, rgba(255, 255, 255, .8), transparent 60%),
		radial-gradient(1.6px 1.6px at 41% 64%, rgba(245, 199, 106, .85), transparent 60%),
		radial-gradient(1px 1px at 88% 72%, rgba(255, 255, 255, .7), transparent 60%),
		radial-gradient(1.2px 1.2px at 22% 90%, rgba(255, 255, 255, .8), transparent 60%),
		radial-gradient(1px 1px at 62% 38%, rgba(255, 255, 255, .6), transparent 60%),
		radial-gradient(1000px 420px at 50% -12%, rgba(106, 44, 143, .45), transparent 70%);
}

.dmm[data-dmm-theme="candy"] {
	--dmm-bg: #fff3f9; --dmm-surface: #ffffff; --dmm-surface-2: #ffe1f0; --dmm-ink: #3a1f3d;
	--dmm-muted: #7d5480; --dmm-muted-op: 1; --dmm-line: #ffc4e0;
	--dmm-accent: #dc2478; --dmm-on-accent: #ffffff;
	--dmm-hero-bg: linear-gradient(135deg, #ff8ac4 0%, #ffd27a 55%, #7fd6ff 100%); --dmm-on-hero: #2d1233;
	--dmm-radius: 26px; --dmm-radius-lg: 36px;
	--dmm-font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Fredoka", "Nunito", system-ui, sans-serif; --dmm-head-weight: 600;
	--dmm-shadow: 0 6px 0 rgba(220, 36, 120, .22); --dmm-shadow-hover: 0 10px 0 rgba(220, 36, 120, .28); --dmm-shadow-soft: 0 3px 0 rgba(220, 36, 120, .14);
}

.dmm[data-dmm-theme="gallery"] {
	--dmm-bg: #ffffff; --dmm-surface: #fafafa; --dmm-surface-2: #f0f0f0; --dmm-paper: #ffffff; --dmm-ink: #111111;
	--dmm-muted: #5c5c5c; --dmm-muted-op: 1; --dmm-line: #e2e2e2;
	--dmm-accent: #111111; --dmm-on-accent: #ffffff;
	--dmm-hero-bg: #f3f3f1; --dmm-on-hero: #111111;
	--dmm-radius: 2px; --dmm-radius-lg: 4px;
	--dmm-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "DM Serif Display", Georgia, serif; --dmm-head-weight: 400;
	--dmm-shadow: 0 1px 0 rgba(0, 0, 0, .04); --dmm-shadow-hover: 0 10px 24px rgba(0, 0, 0, .12); --dmm-shadow-soft: none;
}

.dmm[data-dmm-theme="bayou"] {
	--dmm-bg: #0f2a2b; --dmm-surface: #163a3b; --dmm-surface-2: #1e4b4c; --dmm-ink: #f1ead7;
	--dmm-muted: #b3cbbf; --dmm-muted-op: 1; --dmm-line: #2e5f5e;
	--dmm-accent: #dca845; --dmm-on-accent: #1a2a24;
	--dmm-hero-bg: linear-gradient(135deg, #0b3d3a 0%, #6b2d1a 100%); --dmm-on-hero: #f8f1de;
	--dmm-radius: 10px; --dmm-radius-lg: 18px; --dmm-scheme: dark;
	--dmm-font: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Libre Baskerville", Georgia, serif; --dmm-head-weight: 700;
	--dmm-shadow: 0 10px 28px rgba(0, 0, 0, .4); --dmm-shadow-hover: 0 16px 40px rgba(220, 168, 69, .22); --dmm-shadow-soft: 0 4px 14px rgba(0, 0, 0, .3);
	background-image: radial-gradient(900px 340px at 0% 0%, rgba(220, 168, 69, .10), transparent 70%);
}

.dmm[data-dmm-theme="vapor"] {
	--dmm-bg: #fdf0ff; --dmm-surface: #ffffff; --dmm-surface-2: #f2e4ff; --dmm-glass: rgba(255, 255, 255, .6); --dmm-ink: #35224f;
	--dmm-muted: #75599a; --dmm-muted-op: 1; --dmm-line: #e3caf8;
	--dmm-accent: #8244f5; --dmm-on-accent: #ffffff;
	--dmm-hero-bg: linear-gradient(135deg, #ff9de1 0%, #9ae6ff 50%, #c8a2ff 100%); --dmm-on-hero: #2c1a4a;
	--dmm-radius: 20px; --dmm-radius-lg: 30px;
	--dmm-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 700;
	--dmm-shadow: 0 12px 30px rgba(130, 68, 245, .16); --dmm-shadow-hover: 0 18px 40px rgba(130, 68, 245, .28); --dmm-shadow-soft: 0 4px 12px rgba(130, 68, 245, .10);
	background-image: radial-gradient(600px 300px at 0% 0%, rgba(255, 157, 225, .35), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(154, 230, 255, .4), transparent 70%);
}

.dmm[data-dmm-theme="terminal"] {
	--dmm-bg: #050a05; --dmm-surface: #0a140a; --dmm-surface-2: #102010; --dmm-ink: #b9ffb9;
	--dmm-muted: #6fc46f; --dmm-muted-op: 1; --dmm-line: #1f4a1f;
	--dmm-accent: #39ff6a; --dmm-on-accent: #031203;
	--dmm-hero-bg: linear-gradient(135deg, #08140a, #0c1f0e); --dmm-on-hero: #b9ffb9;
	--dmm-radius: 0px; --dmm-radius-lg: 2px; --dmm-scheme: dark;
	--dmm-font: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --dmm-fs: .95em;
	--dmm-head-weight: 700; --dmm-glow: 0 0 10px rgba(57, 255, 106, .4);
	--dmm-shadow: 0 0 0 1px #1f4a1f; --dmm-shadow-hover: 0 0 0 1px #39ff6a, 0 0 24px rgba(57, 255, 106, .25); --dmm-shadow-soft: none;
	background-image: repeating-linear-gradient(0deg, rgba(57, 255, 106, .035) 0, rgba(57, 255, 106, .035) 1px, transparent 1px, transparent 3px);
}
.dmm[data-dmm-theme="terminal"] .dmm-section__title::before { content: "> "; color: var(--dmm-accent); }
.dmm[data-dmm-theme="terminal"] .dmm-hub__title::after { content: "_"; display: inline; width: auto; height: auto; background: none; margin: 0; animation: dmm-blink 1.1s steps(1) infinite; color: var(--dmm-accent); }
@keyframes dmm-blink { 50% { opacity: 0; } }

.dmm[data-dmm-theme="sakura"] {
	--dmm-bg: #fff6f8; --dmm-surface: #ffffff; --dmm-surface-2: #fdeaee; --dmm-ink: #2a1f24;
	--dmm-muted: #75596a; --dmm-muted-op: 1; --dmm-line: #f3d3dc;
	--dmm-accent: #c0405f; --dmm-on-accent: #ffffff;
	--dmm-hero-bg: linear-gradient(135deg, #ffe3ea 0%, #f7c3d1 100%); --dmm-on-hero: #3a1f2a;
	--dmm-radius: 14px; --dmm-radius-lg: 24px;
	--dmm-font: system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
	--dmm-font-head: "Zen Old Mincho", "Shippori Mincho", Georgia, serif; --dmm-head-weight: 700;
	--dmm-shadow: 0 8px 24px rgba(192, 64, 95, .12); --dmm-shadow-hover: 0 14px 32px rgba(192, 64, 95, .22); --dmm-shadow-soft: 0 2px 8px rgba(192, 64, 95, .08);
	background-image: radial-gradient(500px 260px at 100% 0%, rgba(247, 195, 209, .5), transparent 70%);
}

.dmm[data-dmm-theme="ember"] {
	--dmm-bg: #17120f; --dmm-surface: #231a15; --dmm-surface-2: #31241b; --dmm-ink: #f6e9dd;
	--dmm-muted: #c9ae98; --dmm-muted-op: 1; --dmm-line: #4c382a;
	--dmm-accent: #ff8a3d; --dmm-on-accent: #1c0f06;
	--dmm-hero-bg: linear-gradient(135deg, #4a1d0c 0%, #1b0e08 100%); --dmm-on-hero: #fff2e5;
	--dmm-radius: 12px; --dmm-radius-lg: 20px; --dmm-scheme: dark;
	--dmm-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif; --dmm-head-tt: uppercase; --dmm-head-ls: .05em; --dmm-head-weight: 700;
	--dmm-shadow: 0 10px 30px rgba(0, 0, 0, .5); --dmm-shadow-hover: 0 16px 40px rgba(255, 138, 61, .25); --dmm-shadow-soft: 0 4px 14px rgba(0, 0, 0, .4);
	background-image: radial-gradient(800px 320px at 100% 100%, rgba(255, 138, 61, .12), transparent 70%);
}

/* ---- The Modern family (shared base, then one block of colors per variant) ---- */
.dmm[data-dmm-theme^="modern-"] {
	--dmm-radius: 2px; --dmm-radius-lg: 2px; --dmm-muted-op: 1;
	--dmm-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--dmm-head-weight: 700; --dmm-head-ls: -.03em;
	--dmm-badge-font: var(--dmm-label-font); --dmm-badge-tt: uppercase; --dmm-badge-ls: .08em; --dmm-badge-fs: .7em;
	--dmm-shadow: none; --dmm-shadow-hover: none; --dmm-shadow-soft: none;
}
.dmm[data-dmm-theme="modern-paper"]   { --dmm-bg: #f6f5f2; --dmm-surface: #ffffff; --dmm-surface-2: #eceae4; --dmm-ink: #111214; --dmm-muted: #6b6e76; --dmm-line: #dcdad4; --dmm-accent: #1345b0; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(160deg, #1345b0, #102c54); --dmm-on-hero: #fff; }
.dmm[data-dmm-theme="modern-ink"]     { --dmm-bg: #0c0d10; --dmm-surface: #14161a; --dmm-surface-2: #1c1f25; --dmm-ink: #f1f0ec; --dmm-muted: #8d9098; --dmm-line: #26292f; --dmm-accent: #7ba3ff; --dmm-on-accent: #0c0d10; --dmm-hero-bg: linear-gradient(160deg, #1f2185, #0b1b36); --dmm-on-hero: #fff; --dmm-scheme: dark; }
.dmm[data-dmm-theme="modern-crimson"] { --dmm-bg: #f7f3f0; --dmm-surface: #ffffff; --dmm-surface-2: #ece5e0; --dmm-ink: #161212; --dmm-muted: #75696a; --dmm-line: #ddd2cc; --dmm-accent: #c1121f; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(160deg, #c1121f, #4a0a0f); --dmm-on-hero: #fff; }
.dmm[data-dmm-theme="modern-forest"]  { --dmm-bg: #eff3ec; --dmm-surface: #fbfdf9; --dmm-surface-2: #e1e8dc; --dmm-ink: #0f1f17; --dmm-muted: #5a6b60; --dmm-line: #cdd8c8; --dmm-accent: #17804f; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(160deg, #17804f, #0c3b26); --dmm-on-hero: #fff; }
.dmm[data-dmm-theme="modern-violet"]  { --dmm-bg: #0f0b18; --dmm-surface: #171122; --dmm-surface-2: #201833; --dmm-ink: #efeaf8; --dmm-muted: #9a90b0; --dmm-line: #2c2340; --dmm-accent: #a78bfa; --dmm-on-accent: #120a22; --dmm-hero-bg: linear-gradient(160deg, #6d3fe0, #241049); --dmm-on-hero: #fff; --dmm-scheme: dark; }
.dmm[data-dmm-theme="modern-sand"]    { --dmm-bg: #f3ede4; --dmm-surface: #fbf8f3; --dmm-surface-2: #e8dfd1; --dmm-ink: #2a1d14; --dmm-muted: #7a6a5a; --dmm-line: #d9ccb9; --dmm-accent: #c2410c; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(160deg, #c2410c, #6b2308); --dmm-on-hero: #fff; }
.dmm[data-dmm-theme="modern-mono"]    { --dmm-bg: #ffffff; --dmm-surface: #ffffff; --dmm-surface-2: #f1f1f1; --dmm-ink: #000000; --dmm-muted: #666666; --dmm-line: #d4d4d4; --dmm-accent: #000000; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(160deg, #3a3a3a, #000000); --dmm-on-hero: #fff; }

/* ---- Sleek & cool ---- */
.dmm[data-dmm-theme="obsidian"] {
	--dmm-bg: #08080a; --dmm-surface: #101013; --dmm-surface-2: #18181d; --dmm-ink: #ece8df; --dmm-muted: #8f8b82; --dmm-muted-op: 1; --dmm-line: #2a2a2f;
	--dmm-accent: #c9a45c; --dmm-on-accent: #14100a; --dmm-hero-bg: linear-gradient(160deg, #2a2418, #0a0a0c); --dmm-on-hero: #f4efe4;
	--dmm-radius: 0px; --dmm-radius-lg: 0px; --dmm-scheme: dark;
	--dmm-font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; --dmm-label-font: var(--dmm-font);
	--dmm-head-weight: 600; --dmm-head-tt: uppercase; --dmm-head-ls: .1em;
	--dmm-badge-tt: uppercase; --dmm-badge-ls: .12em; --dmm-badge-fs: .68em;
	--dmm-shadow: none; --dmm-shadow-hover: 0 0 0 1px #c9a45c; --dmm-shadow-soft: none;
	background-image: radial-gradient(900px 340px at 50% -10%, rgba(201, 164, 92, .12), transparent 70%);
}
.dmm[data-dmm-theme="noirgold"] {
	--dmm-bg: #0b0a09; --dmm-surface: #131110; --dmm-surface-2: #1b1917; --dmm-ink: #f3ece0; --dmm-muted: #a39a8a; --dmm-muted-op: 1; --dmm-line: #2e2a24;
	--dmm-accent: #d9b779; --dmm-on-accent: #14100a; --dmm-hero-bg: linear-gradient(160deg, #3a2f1c, #0b0a09); --dmm-on-hero: #f6efe2;
	--dmm-radius: 0px; --dmm-radius-lg: 0px; --dmm-scheme: dark;
	--dmm-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--dmm-font-head: "Playfair Display", "Didot", "Bodoni MT", Georgia, serif; --dmm-head-weight: 500; --dmm-head-ls: -.015em;
	--dmm-badge-tt: uppercase; --dmm-badge-ls: .14em; --dmm-badge-fs: .68em;
	--dmm-shadow: none; --dmm-shadow-hover: none; --dmm-shadow-soft: none;
	background-image: radial-gradient(800px 320px at 85% 0%, rgba(217, 183, 121, .10), transparent 70%);
}
.dmm[data-dmm-theme="frost"] {
	--dmm-bg: #eef5fb; --dmm-surface: #ffffff; --dmm-surface-2: #e1edf8; --dmm-glass: rgba(255, 255, 255, .66); --dmm-ink: #0f2236; --dmm-muted: #53708c; --dmm-muted-op: 1; --dmm-line: #cfe0ef;
	--dmm-accent: #1d7fe0; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(135deg, #bfe0ff 0%, #e9f4ff 55%, #cfe8ff 100%); --dmm-on-hero: #0f2236;
	--dmm-radius: 14px; --dmm-radius-lg: 22px;
	--dmm-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 800; --dmm-head-ls: -.02em;
	--dmm-shadow: 0 10px 30px rgba(29, 127, 224, .12); --dmm-shadow-hover: 0 18px 40px rgba(29, 127, 224, .22); --dmm-shadow-soft: 0 3px 10px rgba(29, 127, 224, .08);
	background-image: radial-gradient(700px 300px at 0% 0%, rgba(160, 205, 255, .55), transparent 70%), radial-gradient(700px 300px at 100% 100%, rgba(200, 230, 255, .7), transparent 70%);
}
.dmm[data-dmm-theme="aurora"] {
	--dmm-bg: #070b16; --dmm-surface: #0e1426; --dmm-surface-2: #151d36; --dmm-glass: rgba(255, 255, 255, .06); --dmm-ink: #e9f1ff; --dmm-muted: #93a4c4; --dmm-muted-op: 1; --dmm-line: #243055;
	--dmm-accent: #4ef0b4; --dmm-on-accent: #04120d; --dmm-hero-bg: linear-gradient(135deg, #0d3b4a 0%, #2b2a6e 55%, #5a2a7a 100%); --dmm-on-hero: #ffffff;
	--dmm-radius: 12px; --dmm-radius-lg: 20px; --dmm-scheme: dark;
	--dmm-font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 600; --dmm-head-ls: -.01em;
	--dmm-shadow: 0 12px 34px rgba(0, 0, 0, .45); --dmm-shadow-hover: 0 18px 46px rgba(78, 240, 180, .18); --dmm-shadow-soft: 0 4px 16px rgba(0, 0, 0, .3);
	background-image: radial-gradient(700px 320px at 15% -5%, rgba(78, 240, 180, .20), transparent 70%), radial-gradient(700px 320px at 92% 0%, rgba(140, 90, 255, .22), transparent 70%), radial-gradient(800px 300px at 50% 110%, rgba(40, 180, 230, .16), transparent 70%);
}
.dmm[data-dmm-theme="carbon"] {
	--dmm-bg: #101113; --dmm-surface: #17181b; --dmm-surface-2: #1f2125; --dmm-ink: #ecedef; --dmm-muted: #8b8f98; --dmm-muted-op: 1; --dmm-line: #2c2f35;
	--dmm-accent: #c6ff3d; --dmm-on-accent: #0d1103; --dmm-hero-bg: linear-gradient(160deg, #2a2d33, #111214); --dmm-on-hero: #ffffff;
	--dmm-radius: 2px; --dmm-radius-lg: 2px; --dmm-scheme: dark;
	--dmm-font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 700; --dmm-head-ls: -.03em;
	--dmm-badge-font: var(--dmm-label-font); --dmm-badge-tt: uppercase; --dmm-badge-ls: .08em; --dmm-badge-fs: .7em;
	--dmm-shadow: none; --dmm-shadow-hover: 0 0 0 1px #c6ff3d; --dmm-shadow-soft: none;
}
.dmm[data-dmm-theme="swiss"] {
	--dmm-bg: #ffffff; --dmm-surface: #ffffff; --dmm-surface-2: #f2f2f2; --dmm-ink: #0a0a0a; --dmm-muted: #5a5a5a; --dmm-muted-op: 1; --dmm-line: #d6d6d6;
	--dmm-accent: #e10600; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(160deg, #e10600, #7a0300); --dmm-on-hero: #ffffff;
	--dmm-radius: 0px; --dmm-radius-lg: 0px;
	--dmm-font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; --dmm-label-font: var(--dmm-font);
	--dmm-head-weight: 800; --dmm-head-ls: -.045em;
	--dmm-badge-tt: uppercase; --dmm-badge-ls: .06em; --dmm-badge-fs: .7em;
	--dmm-shadow: none; --dmm-shadow-hover: none; --dmm-shadow-soft: none;
}
.dmm[data-dmm-theme="brutalist"] {
	--dmm-bg: #f1ebd8; --dmm-surface: #fffdf5; --dmm-surface-2: #f6efd0; --dmm-ink: #111111; --dmm-muted: #3d3d3d; --dmm-muted-op: 1; --dmm-line: #111111;
	--dmm-accent: #ffd400; --dmm-on-accent: #111111; --dmm-hero-bg: linear-gradient(135deg, #ffd400, #ffb800); --dmm-on-hero: #111111;
	--dmm-radius: 0px; --dmm-radius-lg: 0px;
	--dmm-font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-label-font: "Space Mono", ui-monospace, Menlo, Consolas, monospace;
	--dmm-head-weight: 700; --dmm-head-ls: -.03em;
	--dmm-badge-font: var(--dmm-label-font); --dmm-badge-tt: uppercase; --dmm-badge-ls: .04em; --dmm-badge-fs: .7em;
	--dmm-shadow: 6px 6px 0 #111111; --dmm-shadow-hover: 9px 9px 0 #111111; --dmm-shadow-soft: 3px 3px 0 #111111;
}
.dmm[data-dmm-theme="brutalist"] .dmm-card { border-width: 3px; }
.dmm[data-dmm-theme="brutalist"] .dmm-card__img { border-bottom: 3px solid #111111; }
.dmm[data-dmm-theme="brutalist"] .dmm-panel, .dmm[data-dmm-theme="brutalist"] .dmm-verse, .dmm[data-dmm-theme="brutalist"] .dmm-vcard, .dmm[data-dmm-theme="brutalist"] .dmm-ventry, .dmm[data-dmm-theme="brutalist"] .dmm-filters { border-width: 2px; border-color: #111111; }
.dmm[data-dmm-theme="brutalist"] .dmm-panel { border-top: 6px solid #ffd400; }
.dmm[data-dmm-theme="brutalist"] .dmm .dmm-btn, .dmm[data-dmm-theme="brutalist"] .dmm-btn { border: 3px solid #111111; box-shadow: 4px 4px 0 #111111; }
.dmm[data-dmm-theme="brutalist"] .dmm-btn:hover, .dmm[data-dmm-theme="brutalist"] .dmm-btn:focus-visible { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #111111; }
.dmm[data-dmm-theme="brutalist"] .dmm-badge { border-color: #111111; border-width: 2px; }
.dmm[data-dmm-theme="brutalist"] .dmm-back a { color: #111111; text-decoration: underline; text-decoration-thickness: 2px; }
.dmm[data-dmm-theme="brutalist"] .dmm-panel__title, .dmm[data-dmm-theme="brutalist"] .dmm-source__type, .dmm[data-dmm-theme="brutalist"] .dmm-card__source,
.dmm[data-dmm-theme="brutalist"] .dmm-ventry__sub, .dmm[data-dmm-theme="brutalist"] .dmm-vstat dt, .dmm[data-dmm-theme="brutalist"] .dmm-verse summary::after { color: #6b5200; }
.dmm[data-dmm-theme="brutalist"] .dmm-hero__name, .dmm[data-dmm-theme="brutalist"] .dmm-hub__title { color: #111111; }
.dmm[data-dmm-theme="blueprint"] {
	--dmm-bg: #0b2a5e; --dmm-surface: #0f3470; --dmm-surface-2: #14408a; --dmm-ink: #e6f0ff; --dmm-muted: #9bb9e6; --dmm-muted-op: 1; --dmm-line: #3b6cb8;
	--dmm-accent: #7fd0ff; --dmm-on-accent: #05204a; --dmm-hero-bg: linear-gradient(135deg, #0f3a7d, #0b2a5e); --dmm-on-hero: #ffffff;
	--dmm-radius: 0px; --dmm-radius-lg: 0px; --dmm-scheme: dark;
	--dmm-font: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --dmm-label-font: var(--dmm-font); --dmm-fs: .95em;
	--dmm-head-weight: 600; --dmm-head-tt: uppercase; --dmm-head-ls: .06em;
	--dmm-badge-tt: uppercase; --dmm-badge-ls: .06em; --dmm-badge-fs: .7em;
	--dmm-shadow: none; --dmm-shadow-hover: 0 0 0 1px #7fd0ff; --dmm-shadow-soft: none;
	background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 28px 28px;
}
.dmm[data-dmm-theme="sunset"] {
	--dmm-bg: #1a0f24; --dmm-surface: #261634; --dmm-surface-2: #331d44; --dmm-ink: #fdeee6; --dmm-muted: #d0a9b8; --dmm-muted-op: 1; --dmm-line: #4a2b5c;
	--dmm-accent: #ff7a59; --dmm-on-accent: #240a05; --dmm-hero-bg: linear-gradient(135deg, #6a1b9a 0%, #e8505b 55%, #ffb347 100%); --dmm-on-hero: #ffffff;
	--dmm-radius: 10px; --dmm-radius-lg: 18px; --dmm-scheme: dark;
	--dmm-font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 700; --dmm-head-ls: -.02em;
	--dmm-shadow: 0 12px 32px rgba(0, 0, 0, .45); --dmm-shadow-hover: 0 18px 44px rgba(255, 122, 89, .25); --dmm-shadow-soft: 0 4px 16px rgba(0, 0, 0, .3);
	background-image: radial-gradient(800px 340px at 100% 0%, rgba(255, 122, 89, .20), transparent 70%), radial-gradient(800px 340px at 0% 100%, rgba(106, 27, 154, .35), transparent 70%);
}
.dmm[data-dmm-theme="mintlab"] {
	--dmm-bg: #f1faf6; --dmm-surface: #ffffff; --dmm-surface-2: #e0f3ec; --dmm-ink: #0b2a22; --dmm-muted: #4d6b61; --dmm-muted-op: 1; --dmm-line: #cfe6dd;
	--dmm-accent: #0f9d7a; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(160deg, #0f9d7a, #0a5e4a); --dmm-on-hero: #ffffff;
	--dmm-radius: 4px; --dmm-radius-lg: 6px;
	--dmm-font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 700; --dmm-head-ls: -.03em;
	--dmm-badge-font: var(--dmm-label-font); --dmm-badge-tt: uppercase; --dmm-badge-ls: .08em; --dmm-badge-fs: .7em;
	--dmm-shadow: none; --dmm-shadow-hover: 0 8px 22px rgba(15, 157, 122, .16); --dmm-shadow-soft: none;
}
.dmm[data-dmm-theme="cyberteal"] {
	--dmm-bg: #03090c; --dmm-surface: #081418; --dmm-surface-2: #0e2127; --dmm-ink: #dff9f6; --dmm-muted: #7fb5b0; --dmm-muted-op: 1; --dmm-line: #123840;
	--dmm-accent: #00e5c7; --dmm-on-accent: #00130f; --dmm-hero-bg: linear-gradient(135deg, #052a30, #030c10); --dmm-on-hero: #dffcf8;
	--dmm-radius: 3px; --dmm-radius-lg: 4px; --dmm-scheme: dark;
	--dmm-font: "Exo 2", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 700; --dmm-head-ls: .02em; --dmm-glow: 0 0 18px rgba(0, 229, 199, .35);
	--dmm-badge-tt: uppercase; --dmm-badge-ls: .08em; --dmm-badge-fs: .7em;
	--dmm-shadow: 0 0 0 1px rgba(0, 229, 199, .16); --dmm-shadow-hover: 0 0 0 1px #00e5c7, 0 0 30px rgba(0, 229, 199, .25); --dmm-shadow-soft: none;
	background-image: radial-gradient(700px 300px at 90% 0%, rgba(0, 229, 199, .13), transparent 70%), radial-gradient(600px 260px at 0% 100%, rgba(0, 120, 255, .10), transparent 70%);
}
.dmm[data-dmm-theme="concrete"] {
	--dmm-bg: #dcdcd8; --dmm-surface: #e9e9e5; --dmm-surface-2: #cfcfca; --dmm-ink: #121212; --dmm-muted: #4f4f49; --dmm-muted-op: 1; --dmm-line: #b0b0a9;
	--dmm-accent: #ff5a1f; --dmm-on-accent: #120600; --dmm-hero-bg: linear-gradient(160deg, #ff5a1f, #8a2c0a); --dmm-on-hero: #ffffff;
	--dmm-radius: 0px; --dmm-radius-lg: 0px;
	--dmm-font: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-label-font: var(--dmm-font);
	--dmm-head-weight: 700; --dmm-head-tt: uppercase; --dmm-head-ls: .01em;
	--dmm-badge-tt: uppercase; --dmm-badge-ls: .08em; --dmm-badge-fs: .72em;
	--dmm-shadow: none; --dmm-shadow-hover: none; --dmm-shadow-soft: none;
}
.dmm[data-dmm-theme="slate"] {
	--dmm-bg: #e8ecf2; --dmm-surface: #ffffff; --dmm-surface-2: #dde3ec; --dmm-ink: #172033; --dmm-muted: #55627c; --dmm-muted-op: 1; --dmm-line: #ccd4e1;
	--dmm-accent: #3b5bdb; --dmm-on-accent: #ffffff; --dmm-hero-bg: linear-gradient(135deg, #27346b, #3b5bdb); --dmm-on-hero: #ffffff;
	--dmm-radius: 8px; --dmm-radius-lg: 12px;
	--dmm-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --dmm-head-weight: 700; --dmm-head-ls: -.02em;
	--dmm-shadow: 0 6px 18px rgba(23, 32, 51, .08); --dmm-shadow-hover: 0 14px 30px rgba(23, 32, 51, .16); --dmm-shadow-soft: 0 1px 3px rgba(23, 32, 51, .08);
}

/* ==========================================================================
   Signature collection (v2.0): three dark, three light.
   Each one has its own type pairing, palette, atmosphere and one signature
   detail. They use the same variables as every other theme, so card styles,
   header styles, corners and per-muse themes all keep working.
   ========================================================================== */

/* ---- Velvet Eclipse (dark): plum-black, glowing rose-gold corona ---- */
.dmm[data-dmm-theme="eclipse"] {
	--dmm-bg: #0e0912; --dmm-surface: #181020; --dmm-surface-2: #241829; --dmm-glass: rgba(255, 235, 228, .055);
	--dmm-ink: #f7ece7; --dmm-muted: #c8adb5; --dmm-muted-op: 1; --dmm-line: #3b2639;
	--dmm-accent: #f3a98b; --dmm-on-accent: #240f0b; --dmm-accent-2: #e0708a;
	--dmm-hero-bg: radial-gradient(ellipse 85% 150% at 92% -25%, rgba(243, 169, 139, .46), rgba(224, 112, 138, .16) 42%, transparent 72%), linear-gradient(135deg, #3d1636 0%, #160a1d 78%);
	--dmm-on-hero: #fff3ec;
	--dmm-radius: 18px; --dmm-radius-lg: 30px; --dmm-scheme: dark;
	--dmm-font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Fraunces", "Iowan Old Style", Georgia, serif; --dmm-head-weight: 600; --dmm-head-ls: -.015em;
	--dmm-shadow: 0 16px 44px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 235, 228, .06);
	--dmm-shadow-hover: 0 22px 60px rgba(243, 169, 139, .20), 0 0 0 1px rgba(243, 169, 139, .45);
	--dmm-shadow-soft: 0 6px 22px rgba(0, 0, 0, .4);
	background-image:
		radial-gradient(circle at 50% -190px, #0e0912 0 292px, rgba(243, 169, 139, .92) 296px, rgba(243, 169, 139, .26) 314px, rgba(224, 112, 138, .12) 380px, transparent 560px),
		radial-gradient(800px 420px at 100% 100%, rgba(224, 112, 138, .15), transparent 70%),
		radial-gradient(700px 380px at 0% 60%, rgba(122, 62, 152, .17), transparent 70%);
}
.dmm[data-dmm-theme="eclipse"] .dmm-btn:not(.dmm-btn--ghost),
.dmm[data-dmm-theme="eclipse"] .dmm-badge--platform { background-image: linear-gradient(135deg, #f3a98b, #e0708a); border-color: transparent; }
.dmm[data-dmm-theme="eclipse"] .dmm-section__title::after { width: 72px; height: 2px; background: linear-gradient(90deg, #f3a98b, transparent); }
.dmm[data-dmm-theme="eclipse"] .dmm-panel { border-top: 1px solid rgba(243, 169, 139, .55); }
.dmm[data-dmm-theme="eclipse"] .dmm-site__bar { background: rgba(14, 9, 18, .62); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: rgba(243, 169, 139, .18); }
.dmm[data-dmm-theme="eclipse"] .dmm-hero__img, .dmm[data-dmm-theme="eclipse"] .dmm-vhead__img { border-color: rgba(243, 169, 139, .55); box-shadow: 0 0 0 6px rgba(243, 169, 139, .12), 0 18px 44px rgba(0, 0, 0, .5); }

/* ---- Jade Moon (dark): forest-black, a pearl crescent, mint-jade light ---- */
.dmm[data-dmm-theme="jademoon"] {
	--dmm-bg: #07110e; --dmm-surface: #0d1c18; --dmm-surface-2: #142a24; --dmm-glass: rgba(220, 255, 240, .05);
	--dmm-ink: #e9f6ef; --dmm-muted: #8fb3a6; --dmm-muted-op: 1; --dmm-line: #21403a;
	--dmm-accent: #5ce6b8; --dmm-on-accent: #03130d; --dmm-accent-2: #f3e7bf;
	--dmm-hero-bg: radial-gradient(ellipse 60% 100% at 10% -10%, rgba(92, 230, 184, .38), transparent 60%), linear-gradient(160deg, #0f3d33 0%, #061310 82%);
	--dmm-on-hero: #f1fbf6;
	--dmm-radius: 14px; --dmm-radius-lg: 24px; --dmm-scheme: dark; --dmm-fs: 1.02em;
	--dmm-font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Cormorant Garamond", "Iowan Old Style", Georgia, serif; --dmm-head-weight: 600; --dmm-head-ls: .005em;
	--dmm-shadow: 0 14px 38px rgba(0, 0, 0, .5); --dmm-shadow-hover: 0 20px 52px rgba(92, 230, 184, .20), 0 0 0 1px rgba(92, 230, 184, .4); --dmm-shadow-soft: 0 5px 18px rgba(0, 0, 0, .35);
	background-image:
		radial-gradient(900px 400px at 0% 0%, rgba(92, 230, 184, .12), transparent 70%),
		radial-gradient(800px 360px at 100% 100%, rgba(40, 150, 130, .15), transparent 70%),
		radial-gradient(500px 300px at 100% 10%, rgba(243, 231, 191, .06), transparent 70%);
}
.dmm[data-dmm-theme="jademoon"] .dmm-hero::after,
.dmm[data-dmm-theme="jademoon"][data-dmm-head="banner"] .dmm-hub__head::after,
.dmm[data-dmm-theme="jademoon"] .dmm-vhead::after {
	content: ""; position: absolute; top: 26px; right: 6%; width: 62px; height: 62px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle at 35% 32%, #fffaf0, #f3ecd2 58%, #cfc7a6);
	box-shadow: inset -15px -6px 0 0 rgba(6, 19, 16, .93), 0 0 0 12px rgba(243, 236, 210, .05), 0 0 70px 26px rgba(243, 236, 210, .20);
}
.dmm[data-dmm-theme="jademoon"] .dmm-vhead { position: relative; overflow: hidden; }
.dmm[data-dmm-theme="jademoon"] .dmm-hero.has-cover::after { display: none; }
.dmm[data-dmm-theme="jademoon"] .dmm-btn:not(.dmm-btn--ghost) { background-image: linear-gradient(135deg, #7af0cb, #3fcfa4); }
.dmm[data-dmm-theme="jademoon"] .dmm-hub__title { font-size: clamp(38px, 6vw, 60px); }
.dmm[data-dmm-theme="jademoon"] .dmm-hero__name { font-size: clamp(40px, 6.4vw, 66px); }
.dmm[data-dmm-theme="jademoon"] .dmm-vhead__title { font-size: clamp(34px, 5.4vw, 52px); }
.dmm[data-dmm-theme="jademoon"] .dmm-section__title { font-size: 2.15em; }
.dmm[data-dmm-theme="jademoon"] .dmm-card__name { font-size: 1.6em; }
.dmm[data-dmm-theme="jademoon"] .dmm-ventry__title { font-size: 2em; }

/* ---- Midnight Orchid (dark): ink-violet, orchid-to-rose gradients ---- */
.dmm[data-dmm-theme="orchid"] {
	--dmm-bg: #0a0717; --dmm-surface: #140f2d; --dmm-surface-2: #1e1742; --dmm-glass: rgba(210, 190, 255, .06);
	--dmm-ink: #f4f0ff; --dmm-muted: #b8ade2; --dmm-muted-op: 1; --dmm-line: #33286b;
	--dmm-accent: #d97bff; --dmm-on-accent: #1a0630; --dmm-accent-2: #6f8cff;
	--dmm-hero-bg: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(255, 95, 176, .55), transparent 62%), linear-gradient(135deg, #2c1782 0%, #6a27c9 55%, #a93bd0 100%);
	--dmm-on-hero: #ffffff;
	--dmm-radius: 16px; --dmm-radius-lg: 26px; --dmm-scheme: dark;
	--dmm-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Syne", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; --dmm-head-weight: 700; --dmm-head-ls: -.02em;
	--dmm-shadow: 0 14px 40px rgba(6, 2, 30, .6); --dmm-shadow-hover: 0 20px 56px rgba(217, 123, 255, .28), 0 0 0 1px rgba(217, 123, 255, .5); --dmm-shadow-soft: 0 5px 20px rgba(6, 2, 30, .45);
	background-image:
		radial-gradient(700px 420px at 12% -6%, rgba(139, 92, 255, .30), transparent 70%),
		radial-gradient(640px 420px at 96% 8%, rgba(255, 95, 176, .20), transparent 70%),
		radial-gradient(800px 420px at 50% 112%, rgba(80, 120, 255, .18), transparent 70%);
}
.dmm[data-dmm-theme="orchid"] .dmm-btn:not(.dmm-btn--ghost),
.dmm[data-dmm-theme="orchid"] .dmm-badge--platform { background-image: linear-gradient(135deg, #9b6bff, #ff5fb0); border-color: transparent; color: #fff; }
.dmm[data-dmm-theme="orchid"] .dmm-section__title::after { width: 72px; height: 3px; background: linear-gradient(90deg, #9b6bff, #ff5fb0); }
.dmm[data-dmm-theme="orchid"] .dmm-panel { border-top-color: transparent; background-image: linear-gradient(var(--dmm-surface), var(--dmm-surface)), linear-gradient(90deg, #9b6bff, #ff5fb0); background-origin: border-box; background-clip: padding-box, border-box; }
.dmm[data-dmm-theme="orchid"] .dmm-panel__title { color: #e9a8ff; }
.dmm[data-dmm-theme="orchid"] .dmm-hero__img { border-color: rgba(255, 255, 255, .55); box-shadow: 0 0 0 6px rgba(217, 123, 255, .22), 0 20px 50px rgba(6, 2, 30, .55); }

/* ---- Porcelain Peony (light): blush porcelain, raspberry, antique gold ---- */
.dmm[data-dmm-theme="peony"] {
	--dmm-bg: #fcf5f2; --dmm-surface: #ffffff; --dmm-surface-2: #f8e8e6; --dmm-paper: #fffdfc; --dmm-glass: rgba(255, 255, 255, .7);
	--dmm-ink: #38202e; --dmm-muted: #85606f; --dmm-muted-op: 1; --dmm-line: #efd5d6;
	--dmm-accent: #b1285a; --dmm-on-accent: #ffffff; --dmm-accent-2: #c79a4b;
	--dmm-hero-bg: radial-gradient(circle at 88% 15%, rgba(255, 255, 255, .7), transparent 40%), radial-gradient(circle at 10% 100%, rgba(255, 214, 220, .9), transparent 55%), linear-gradient(135deg, #f7c6d0 0%, #eaa0b5 100%);
	--dmm-on-hero: #4a1029;
	--dmm-radius: 20px; --dmm-radius-lg: 34px;
	--dmm-font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif; --dmm-head-weight: 600; --dmm-head-ls: -.01em;
	--dmm-shadow: 0 14px 38px rgba(177, 40, 90, .12); --dmm-shadow-hover: 0 22px 50px rgba(177, 40, 90, .22); --dmm-shadow-soft: 0 3px 12px rgba(177, 40, 90, .08);
	background-image:
		radial-gradient(420px 260px at 100% 0%, rgba(255, 255, 255, .85), transparent 70%),
		radial-gradient(560px 340px at 0% 0%, rgba(247, 198, 208, .55), transparent 70%),
		radial-gradient(600px 360px at 100% 100%, rgba(240, 210, 170, .42), transparent 70%);
}
.dmm[data-dmm-theme="peony"] .dmm-hero__name, .dmm[data-dmm-theme="peony"] .dmm-vhead__title { font-style: italic; font-weight: 500; }
.dmm[data-dmm-theme="peony"] .dmm-section__title::after { width: 64px; height: 2px; background: linear-gradient(90deg, #c79a4b, transparent); }
.dmm[data-dmm-theme="peony"] .dmm-panel { border-top: 3px solid var(--dmm-accent); background-image: linear-gradient(180deg, rgba(247, 198, 208, .22), transparent 60px); }
.dmm[data-dmm-theme="peony"] .dmm-hero__img, .dmm[data-dmm-theme="peony"] .dmm-vhead__img { border-color: #ffffff; box-shadow: 0 0 0 1px #c79a4b, 0 16px 38px rgba(177, 40, 90, .22); }
.dmm[data-dmm-theme="peony"] .dmm-card { border-color: #f1d9d9; }
.dmm[data-dmm-theme="peony"] .dmm-hub__title { font-size: clamp(34px, 5.6vw, 54px); }

/* ---- Golden Hour (light): cream in late sun, honey and apricot ---- */
.dmm[data-dmm-theme="goldenhour"] {
	--dmm-bg: #fff6e8; --dmm-surface: #fffdf9; --dmm-surface-2: #ffe9cc; --dmm-paper: #fffdf8; --dmm-glass: rgba(255, 255, 255, .6);
	--dmm-ink: #3a2214; --dmm-muted: #8a6549; --dmm-muted-op: 1; --dmm-line: #f1d7b3;
	--dmm-accent: #c2481a; --dmm-on-accent: #ffffff; --dmm-accent-2: #f0a53a;
	--dmm-hero-bg: radial-gradient(circle at 90% 0%, rgba(255, 240, 190, .9), transparent 45%), linear-gradient(135deg, #ffd479 0%, #ff9f68 48%, #ee6a83 100%);
	--dmm-on-hero: #35120a;
	--dmm-radius: 16px; --dmm-radius-lg: 28px;
	--dmm-font: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Young Serif", "Iowan Old Style", Georgia, serif; --dmm-head-weight: 400; --dmm-head-ls: -.005em;
	--dmm-shadow: 0 12px 32px rgba(194, 72, 26, .15); --dmm-shadow-hover: 0 20px 44px rgba(194, 72, 26, .25); --dmm-shadow-soft: 0 3px 12px rgba(194, 72, 26, .09);
	background-image:
		radial-gradient(circle 520px at 92% -120px, rgba(255, 196, 96, .70), rgba(255, 196, 96, .26) 45%, transparent 72%),
		radial-gradient(900px 360px at 0% 100%, rgba(238, 106, 131, .15), transparent 70%),
		linear-gradient(180deg, #fff4de 0%, #ffe9d1 60%, #fde1d3 100%);
}
.dmm[data-dmm-theme="goldenhour"] .dmm-btn:not(.dmm-btn--ghost) { background-image: linear-gradient(135deg, #d9561f, #c2481a); }
.dmm[data-dmm-theme="goldenhour"] .dmm-section__title::after { width: 64px; height: 5px; background: linear-gradient(90deg, #f0a53a, #ee6a83); }
.dmm[data-dmm-theme="goldenhour"] .dmm-panel { border-top-color: #f0a53a; }
.dmm[data-dmm-theme="goldenhour"] .dmm-hero__img, .dmm[data-dmm-theme="goldenhour"] .dmm-vhead__img { border-color: #fffdf8; }
.dmm[data-dmm-theme="goldenhour"][data-dmm-cards="polaroid"] .dmm-card { border-color: #f3dcb9; }

/* ---- Sea Glass (light): frosted seafoam, aqua light, deep teal ink ---- */
.dmm[data-dmm-theme="seaglass"] {
	--dmm-bg: #eaf6f4; --dmm-surface: #fbfffe; --dmm-surface-2: #d9eeec; --dmm-paper: #ffffff; --dmm-glass: rgba(255, 255, 255, .58);
	--dmm-ink: #0c2d33; --dmm-muted: #3f7076; --dmm-muted-op: 1; --dmm-line: #bfdcd9;
	--dmm-accent: #0a7378; --dmm-on-accent: #ffffff; --dmm-accent-2: #52c9b6;
	--dmm-hero-bg: radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .55), transparent 45%), linear-gradient(135deg, #9fe4d6 0%, #7ccbdc 52%, #92b7ee 100%);
	--dmm-on-hero: #052a30;
	--dmm-radius: 18px; --dmm-radius-lg: 30px;
	--dmm-font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--dmm-font-head: "Instrument Serif", "Iowan Old Style", Georgia, serif; --dmm-head-weight: 400; --dmm-head-ls: -.005em;
	--dmm-shadow: 0 14px 36px rgba(10, 115, 120, .13); --dmm-shadow-hover: 0 22px 48px rgba(10, 115, 120, .22); --dmm-shadow-soft: 0 3px 12px rgba(10, 115, 120, .08);
	background-image:
		radial-gradient(520px 320px at 8% 6%, rgba(130, 224, 206, .55), transparent 70%),
		radial-gradient(480px 320px at 96% 20%, rgba(146, 183, 238, .45), transparent 70%),
		radial-gradient(560px 360px at 70% 100%, rgba(124, 203, 220, .40), transparent 70%);
}
.dmm[data-dmm-theme="seaglass"][data-dmm-cards="glass"] .dmm-card { border-color: rgba(255, 255, 255, .9); box-shadow: var(--dmm-shadow), inset 0 1px 0 #ffffff; }
.dmm[data-dmm-theme="seaglass"] .dmm-section__title::after { width: 56px; height: 3px; background: linear-gradient(90deg, #0a7378, #52c9b6); }
.dmm[data-dmm-theme="seaglass"] .dmm-panel { border-top-color: #52c9b6; background-color: rgba(255, 255, 255, .7); }
.dmm[data-dmm-theme="seaglass"] .dmm-hub__title { font-size: clamp(38px, 6vw, 60px); }
.dmm[data-dmm-theme="seaglass"] .dmm-hero__name { font-size: clamp(40px, 6.4vw, 66px); }
.dmm[data-dmm-theme="seaglass"] .dmm-vhead__title { font-size: clamp(34px, 5.4vw, 52px); }
.dmm[data-dmm-theme="seaglass"] .dmm-section__title { font-size: 2.1em; }
.dmm[data-dmm-theme="seaglass"] .dmm-card__name { font-size: 1.55em; }
.dmm[data-dmm-theme="seaglass"] .dmm-ventry__title { font-size: 2em; }

/* Gradient headline text where the page has a plain (unboxed) title */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.dmm[data-dmm-theme="eclipse"] .dmm-section__title { background: linear-gradient(100deg, #fff3ec 8%, #f3a98b 55%, #e0708a); -webkit-background-clip: text; background-clip: text; color: transparent; }
	.dmm[data-dmm-theme="orchid"][data-dmm-head="plain"] .dmm-hub__title,
	.dmm[data-dmm-theme="orchid"] .dmm-section__title { background: linear-gradient(100deg, #ffffff 5%, #e6a2ff 50%, #ff7fc0); -webkit-background-clip: text; background-clip: text; color: transparent; }
	.dmm[data-dmm-theme="peony"][data-dmm-head="plain"] .dmm-hub__title { background: linear-gradient(100deg, #7b1840, #b1285a 55%, #c79a4b); -webkit-background-clip: text; background-clip: text; color: transparent; }
}

/* Preview tiles on the Appearance page: keep the px-sized atmospherics modest */
.dmm.dmm-pv[data-dmm-theme="eclipse"] { background-image: radial-gradient(circle at 50% -60px, #0e0912 0 84px, rgba(243, 169, 139, .9) 86px, rgba(243, 169, 139, .2) 96px, transparent 150px); }
.dmm.dmm-pv[data-dmm-theme="goldenhour"] { background-image: radial-gradient(circle 120px at 95% -30px, rgba(255, 196, 96, .7), transparent 70%); }

/* ---- Corner override (the "Corners" setting; also set per theme) ---- */
.dmm[data-dmm-corners="sharp"] { --dmm-radius: 0px; --dmm-radius-lg: 0px; --dmm-pill: 0px; --dmm-round: 0px; }
.dmm[data-dmm-corners="round"] { --dmm-radius: 16px; --dmm-radius-lg: 24px; --dmm-pill: 999px; --dmm-round: 50%; }
.dmm[data-dmm-corners="sharp"][data-dmm-cards="polaroid"] .dmm-card { border-radius: 2px; }
.dmm[data-dmm-corners="sharp"] .dmm-section__title::after,
.dmm[data-dmm-corners="sharp"][data-dmm-head="plain"] .dmm-hub__title::after { border-radius: 0; }

/* ---------- 3. Hub ---------- */
.dmm-hub__head { margin: 0 0 26px; text-align: center; }
.dmm-hub__title { font-size: clamp(30px, 5.2vw, 48px); margin: 0 0 .25em; }
.dmm-hub__intro { max-width: 640px; margin: 0 auto; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }
.dmm[data-dmm-head="plain"] .dmm-hub__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--dmm-accent); margin: .35em auto 0; }
.dmm[data-dmm-head="banner"] .dmm-hub__head,
.dmm[data-dmm-head="image"] .dmm-hub__head {
	border-radius: var(--dmm-radius-lg); padding: clamp(34px, 7vw, 72px) 24px;
	background: var(--dmm-hero-bg); color: var(--dmm-on-hero, inherit); position: relative; overflow: hidden;
}
.dmm[data-dmm-head="banner"] .dmm-hub__intro,
.dmm[data-dmm-head="image"] .dmm-hub__intro { color: inherit; opacity: .9; }
.dmm[data-dmm-head="image"] .dmm-hub__head {
	background-image: linear-gradient(rgba(5, 10, 25, .45), rgba(5, 10, 25, .72)), var(--dmm-hubimg);
	background-size: cover; background-position: center; color: #fff;
}
.dmm[data-dmm-head="image"] .dmm-hub__title { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }

.dmm-filters { display: flex; flex-wrap: wrap; gap: 10px; background: var(--dmm-surface); border: 1px solid var(--dmm-line); padding: 12px; border-radius: var(--dmm-radius); margin: 0 0 10px; box-shadow: var(--dmm-shadow-soft); }
.dmm-filters input, .dmm-filters select { padding: 10px 14px; border: 1px solid var(--dmm-line); border-radius: calc(var(--dmm-radius) * .7); background: var(--dmm-surface-2); color: inherit; font: inherit; min-width: 0; margin: 0; }
.dmm-filters__search { flex: 2 1 220px; }
.dmm-filters select { flex: 1 1 150px; }
.dmm-filters input:focus-visible, .dmm-filters select:focus-visible { outline: 2px solid var(--dmm-accent); outline-offset: 1px; }
.dmm-hub__count { margin: 8px 2px 16px; font-size: .9em; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }
.dmm-hub__empty { text-align: center; padding: 30px 0; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }

.dmm-grid { display: grid; grid-template-columns: repeat(var(--dmm-cols), minmax(0, 1fr)); gap: 22px; }
.dmm-card {
	position: relative; background: var(--dmm-surface); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius);
	overflow: hidden; box-shadow: var(--dmm-shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	animation: dmm-rise .55s both; animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes dmm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dmm-card[hidden] { display: none; }
.dmm .dmm-card__link { position: relative; display: block; height: 100%; color: inherit; text-decoration: none; }
.dmm-card__img { aspect-ratio: 4 / 5; background: var(--dmm-hero-bg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.dmm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dmm-card__body { padding: 14px 16px 16px; }
.dmm-card__name { font-size: 1.28em; margin: 0 0 .15em; }
.dmm-card__tagline { margin: 0 0 6px; font-size: .92em; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }
.dmm-card__source { margin: 0 0 10px; font-size: .82em; font-style: italic; color: var(--dmm-accent); }

/* Card style: lift (default look) */
.dmm[data-dmm-cards="lift"] .dmm-card:hover, .dmm[data-dmm-cards="lift"] .dmm-card:focus-within { transform: translateY(-6px); box-shadow: var(--dmm-shadow-hover); border-color: var(--dmm-accent); }
.dmm[data-dmm-cards="lift"] .dmm-card:hover .dmm-card__img img { transform: scale(1.06); }

/* Card style: flat */
.dmm[data-dmm-cards="flat"] .dmm-card { box-shadow: none; border-radius: min(var(--dmm-radius), 8px); }
.dmm[data-dmm-cards="flat"] .dmm-card:hover, .dmm[data-dmm-cards="flat"] .dmm-card:focus-within { background: var(--dmm-surface-2); border-color: var(--dmm-accent); }
.dmm[data-dmm-cards="flat"] .dmm-card__img { border-bottom: 1px solid var(--dmm-line); }

/* Card style: outline */
.dmm[data-dmm-cards="outline"] .dmm-card { background: transparent; box-shadow: none; border-width: 2px; }
.dmm[data-dmm-cards="outline"] .dmm-card:hover, .dmm[data-dmm-cards="outline"] .dmm-card:focus-within { border-color: var(--dmm-accent); box-shadow: var(--dmm-shadow-hover); }

/* Card style: polaroid */
.dmm[data-dmm-cards="polaroid"] .dmm-card { background: var(--dmm-paper, var(--dmm-surface)); padding: 10px 10px 0; border-radius: 4px; }
.dmm[data-dmm-cards="polaroid"] .dmm-card__img { border-radius: 2px; }
.dmm[data-dmm-cards="polaroid"] .dmm-card__body { padding: 12px 6px 16px; text-align: center; }
.dmm[data-dmm-cards="polaroid"] .dmm-card .dmm-badges { justify-content: center; }
.dmm[data-dmm-cards="polaroid"] .dmm-card:nth-child(odd) { transform: rotate(-1.1deg); }
.dmm[data-dmm-cards="polaroid"] .dmm-card:nth-child(even) { transform: rotate(.9deg); }
.dmm[data-dmm-cards="polaroid"] .dmm-card:hover, .dmm[data-dmm-cards="polaroid"] .dmm-card:focus-within { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: var(--dmm-shadow-hover); z-index: 2; }

/* Card style: overlay (full-bleed portrait, text on top) */
.dmm[data-dmm-cards="overlay"] .dmm-card__img { aspect-ratio: 3 / 4; }
.dmm[data-dmm-cards="overlay"] .dmm-card__body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 16px 16px; color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
}
.dmm[data-dmm-cards="overlay"] .dmm-card__name { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.dmm[data-dmm-cards="overlay"] .dmm-card__tagline { color: #ececf4; opacity: .92; }
.dmm[data-dmm-cards="overlay"] .dmm-card__source { color: var(--dmm-accent); }
.dmm[data-dmm-cards="overlay"] .dmm-card:hover, .dmm[data-dmm-cards="overlay"] .dmm-card:focus-within { transform: translateY(-6px); box-shadow: var(--dmm-shadow-hover); border-color: var(--dmm-accent); }
.dmm[data-dmm-cards="overlay"] .dmm-card:hover .dmm-card__img img { transform: scale(1.07); }

/* Card style: glass */
.dmm[data-dmm-cards="glass"] .dmm-card {
	background: var(--dmm-glass, rgba(127, 127, 127, .12)); border-color: rgba(255, 255, 255, .22);
	-webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
}
.dmm[data-dmm-cards="glass"] .dmm-card:hover, .dmm[data-dmm-cards="glass"] .dmm-card:focus-within { transform: translateY(-6px); box-shadow: var(--dmm-shadow-hover); border-color: var(--dmm-accent); }

/* ---------- 4. Profile ---------- */
.dmm-hero { position: relative; border-radius: var(--dmm-radius-lg); overflow: hidden; color: var(--dmm-on-hero, inherit); }
.dmm-hero__cover { display: none; }
.dmm-hero__inner { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; align-items: center; padding: 30px; }
.dmm-hero__img {
	aspect-ratio: 4 / 5; border-radius: var(--dmm-radius); overflow: hidden; display: flex; align-items: center; justify-content: center;
	background: rgba(127, 127, 127, .2); border: 4px solid rgba(255, 255, 255, .4); box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.dmm-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm .dmm-hero__name { font-size: clamp(32px, 5.4vw, 52px); margin: 0 0 .1em; color: inherit; }
.dmm-hero__tagline { margin: 0 0 14px; font-size: 1.15em; opacity: .9; }
.dmm-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dmm-hero__note { margin: 12px 0 0; font-size: .9em; opacity: .85; }
.dmm-hero .dmm-badge:not(.dmm-badge--platform):not(.dmm-badge--status) { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); color: inherit; }

/* Profile header: banner (default) */
.dmm[data-dmm-hero="banner"] .dmm-hero { background: var(--dmm-hero-bg); }
.dmm-hero.has-cover { color: #fff; --dmm-on-hero: #fff; }
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover .dmm-hero__text, .dmm[data-dmm-hero="centered"] .dmm-hero.has-cover .dmm-hero__text { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover,
.dmm[data-dmm-hero="centered"] .dmm-hero.has-cover {
	background-image: linear-gradient(rgba(5, 10, 25, .2), rgba(5, 10, 25, .58)), var(--dmm-cover);
	background-size: cover; background-position: center;
}

/* With a cover photo behind them, header text is always light, whatever the look says */
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover .dmm-hero__name,
.dmm[data-dmm-hero="centered"] .dmm-hero.has-cover .dmm-hero__name,
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover .dmm-hero__tagline,
.dmm[data-dmm-hero="centered"] .dmm-hero.has-cover .dmm-hero__tagline,
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover .dmm-hero__note,
.dmm[data-dmm-hero="centered"] .dmm-hero.has-cover .dmm-hero__note { color: #fff; }
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover .dmm-btn--ghost,
.dmm[data-dmm-hero="centered"] .dmm-hero.has-cover .dmm-btn--ghost { color: #fff; background: rgba(0, 0, 0, .25); border-color: rgba(255, 255, 255, .85); box-shadow: none; text-shadow: none; }
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover .dmm-btn--ghost:hover,
.dmm[data-dmm-hero="centered"] .dmm-hero.has-cover .dmm-btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.dmm[data-dmm-hero="banner"] .dmm-hero.has-cover .dmm-btn,
.dmm[data-dmm-hero="centered"] .dmm-hero.has-cover .dmm-btn { text-shadow: none; }

/* Profile header: centered */
.dmm[data-dmm-hero="centered"] .dmm-hero { background: var(--dmm-hero-bg); text-align: center; }
.dmm[data-dmm-hero="centered"] .dmm-hero__inner { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 42px 24px; }
.dmm[data-dmm-hero="centered"] .dmm-hero__img { width: 210px; aspect-ratio: 1; border-radius: var(--dmm-round, 50%); }
.dmm[data-dmm-hero="centered"] .dmm-hero .dmm-badges, .dmm[data-dmm-hero="centered"] .dmm-hero .dmm-links { justify-content: center; }

/* Profile header: cover image (wide cover, portrait overlaps it) */
.dmm[data-dmm-hero="cover"] .dmm-hero { overflow: visible; color: inherit; --dmm-on-hero: currentColor; }
.dmm[data-dmm-hero="cover"] .dmm-hero__cover {
	display: block; height: clamp(170px, 28vw, 300px); border-radius: var(--dmm-radius-lg);
	background: var(--dmm-hero-bg);
}
.dmm[data-dmm-hero="cover"] .dmm-hero.has-cover .dmm-hero__cover { background-image: var(--dmm-cover); background-size: cover; background-position: center; }
.dmm[data-dmm-hero="cover"] .dmm-hero__inner { grid-template-columns: 200px minmax(0, 1fr); align-items: start; margin-top: -80px; padding: 0 28px 6px; }
.dmm[data-dmm-hero="cover"] .dmm-hero__img { aspect-ratio: 1; border: 5px solid var(--dmm-bg, Canvas); box-shadow: var(--dmm-shadow); }
.dmm[data-dmm-hero="cover"] .dmm-hero__text { padding: 92px 0 6px; } /* sits below the cover; only the portrait overlaps it */
.dmm[data-dmm-hero="cover"] .dmm-hero .dmm-badge:not(.dmm-badge--platform):not(.dmm-badge--status) { background: var(--dmm-surface-2); border-color: var(--dmm-line); }

/* Profile header: minimal */
.dmm[data-dmm-hero="minimal"] .dmm-hero { color: inherit; --dmm-on-hero: currentColor; border-radius: 0; overflow: visible; border-bottom: 2px solid var(--dmm-line); }
.dmm[data-dmm-hero="minimal"] .dmm-hero.has-cover .dmm-hero__cover {
	display: block; height: clamp(120px, 18vw, 190px); border-radius: var(--dmm-radius-lg); margin-bottom: 4px;
	background-image: var(--dmm-cover); background-size: cover; background-position: center;
}
.dmm[data-dmm-hero="minimal"] .dmm-hero__inner { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 18px 0 26px; }
.dmm[data-dmm-hero="minimal"] .dmm-hero__img { aspect-ratio: 1; border: 0; box-shadow: none; }
.dmm[data-dmm-hero="minimal"] .dmm-hero .dmm-badge:not(.dmm-badge--platform):not(.dmm-badge--status) { background: var(--dmm-surface-2); border-color: var(--dmm-line); }

.dmm-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; }
.dmm .dmm-subnav a {
	padding: 7px 18px; border-radius: var(--dmm-pill, 999px); border: 1px solid var(--dmm-line); background: var(--dmm-surface); color: inherit;
	text-decoration: none; font-weight: 600; font-size: .9em; transition: background .15s, color .15s, border-color .15s;
}
.dmm .dmm-subnav a:hover, .dmm .dmm-subnav a:focus-visible { background: var(--dmm-accent); color: var(--dmm-on-accent); border-color: var(--dmm-accent); }

.dmm-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; margin-top: 22px; align-items: start; }
.dmm-panel {
	background: var(--dmm-surface); border: 1px solid var(--dmm-line); border-top: 4px solid var(--dmm-accent);
	border-radius: var(--dmm-radius); padding: 16px 20px 18px; margin-bottom: 20px; box-shadow: var(--dmm-shadow-soft);
}
.dmm .dmm-panel__title { font-size: .8em; text-transform: uppercase; letter-spacing: .16em; color: var(--dmm-accent); margin: 0 0 12px; text-shadow: none; }
.dmm-stats dl { margin: 0; }
.dmm-stat { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--dmm-line); }
.dmm-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.dmm-stat dt { font-weight: 700; }
.dmm-stat dd { margin: 0; text-align: right; opacity: .95; overflow-wrap: anywhere; }
.dmm-source__cover { margin-bottom: 12px; border-radius: calc(var(--dmm-radius) * .7); overflow: hidden; box-shadow: var(--dmm-shadow-soft); }
.dmm-source__title { margin: 0; font-weight: 700; }
.dmm-source__type { margin: 2px 0 8px; font-size: .78em; color: var(--dmm-accent); text-transform: uppercase; letter-spacing: .12em; }
.dmm-source__notes { font-size: .92em; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }

.dmm-section { margin-bottom: 36px; scroll-margin-top: 24px; }
.dmm .dmm-section__title { position: relative; font-size: 1.75em; padding-bottom: .4em; margin: 0 0 .8em; }
.dmm-section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--dmm-accent); }

/* Inline verses (Simple mode) */
.dmm-verse { border: 1px solid var(--dmm-line); border-left: 4px solid var(--dmm-accent); border-radius: var(--dmm-radius); margin-bottom: 12px; background: var(--dmm-surface); box-shadow: var(--dmm-shadow-soft); }
.dmm-verse summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dmm-verse summary::-webkit-details-marker { display: none; }
.dmm-verse summary::after { content: "+"; font-size: 1.4em; line-height: 1; color: var(--dmm-accent); }
.dmm-verse[open] summary::after { content: "\2212"; }
.dmm-verse .dmm-prose { padding: 0 18px 16px; }

/* Verse cards on the profile (Library mode) */
.dmm-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.dmm .dmm-vcard {
	display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius);
	background: var(--dmm-surface); color: inherit; text-decoration: none; box-shadow: var(--dmm-shadow-soft); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dmm .dmm-vcard:hover, .dmm .dmm-vcard:focus-visible { transform: translateY(-3px); box-shadow: var(--dmm-shadow); border-color: var(--dmm-accent); }
.dmm-vcard__img { flex: none; width: 76px; height: 76px; border-radius: calc(var(--dmm-radius) * .8); overflow: hidden; background: var(--dmm-hero-bg); display: flex; }
.dmm-vcard__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm-vcard__img .dmm-initial { font-size: 1.8em; }
.dmm-vcard__text { display: grid; gap: 3px; min-width: 0; }
.dmm-vcard__name { font-family: var(--dmm-font-head, inherit); font-size: 1.05em; }
.dmm-vcard__sum { font-size: .85em; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }
.dmm-vmore { margin: 18px 0 0; }

/* Gallery */
.dmm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 44%), 1fr)); gap: 12px; }
.dmm-gallery a { display: block; aspect-ratio: 1 / 1; border-radius: var(--dmm-radius); overflow: hidden; background: var(--dmm-surface-2); box-shadow: var(--dmm-shadow-soft); }
.dmm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.dmm-gallery a:hover img, .dmm-gallery a:focus-visible img { transform: scale(1.07); filter: brightness(1.08); }

/* ---------- 5. Verses page ---------- */
.dmm-vhead {
	display: flex; align-items: center; gap: 24px; padding: 26px 28px; border-radius: var(--dmm-radius-lg);
	background: var(--dmm-hero-bg); color: var(--dmm-on-hero, inherit); margin-bottom: 8px;
}
.dmm-vhead__img { flex: none; width: 112px; height: 112px; border-radius: var(--dmm-round, 50%); overflow: hidden; border: 4px solid rgba(255, 255, 255, .4); background: rgba(127, 127, 127, .25); display: flex; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.dmm-vhead__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm .dmm-vhead__title { font-size: clamp(27px, 4.6vw, 42px); margin: 0 0 4px; color: inherit; }
.dmm-vhead__tag { margin: 0 0 10px; opacity: .9; }
.dmm-vhead .dmm-badge:not(.dmm-badge--platform):not(.dmm-badge--status) { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); color: inherit; }
.dmm[data-dmm-hero="minimal"] .dmm-vhead { background: none; color: inherit; border-radius: 0; padding: 8px 0 22px; border-bottom: 2px solid var(--dmm-line); }

.dmm-ventries { display: grid; gap: 28px; margin-top: 24px; }
.dmm-ventry {
	border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius-lg); background: var(--dmm-surface);
	overflow: hidden; box-shadow: var(--dmm-shadow); scroll-margin-top: 20px;
}
.dmm-ventry__banner { height: 150px; overflow: hidden; background: var(--dmm-hero-bg); }
.dmm-ventry__banner img { width: 100%; height: 100%; object-fit: cover; }
.dmm-ventry__grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; padding: 26px; }
.dmm-ventry__img { aspect-ratio: 4 / 5; border-radius: var(--dmm-radius); overflow: hidden; background: var(--dmm-hero-bg); display: flex; box-shadow: var(--dmm-shadow-soft); }
.dmm-ventry__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm .dmm-ventry__title { font-size: 1.65em; margin: 0 0 .45em; }
.dmm-ventry__summary { margin-bottom: 4px; }
.dmm-vstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 16px 0 4px; }
.dmm-vstat { background: var(--dmm-surface-2); border-radius: calc(var(--dmm-radius) * .75); padding: 10px 14px; border-left: 3px solid var(--dmm-accent); }
.dmm-vstat dt { font-size: .7em; text-transform: uppercase; letter-spacing: .14em; color: var(--dmm-accent); font-weight: 700; }
.dmm-vstat dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.dmm .dmm-ventry__sub { font-size: 1.05em; margin: 20px 0 6px; color: var(--dmm-accent); }
.dmm-also { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--dmm-line); }
.dmm .dmm-also__title { font-family: inherit; font-size: .74em; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 12px; color: var(--dmm-muted); opacity: var(--dmm-muted-op); text-shadow: none; font-weight: 700; }
.dmm-also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dmm-also li { margin: 0; padding: 0; }
.dmm .dmm-also__thumbs a { display: flex; width: 58px; height: 58px; border-radius: var(--dmm-round, 50%); overflow: hidden; border: 2px solid var(--dmm-line); background: var(--dmm-hero-bg); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.dmm .dmm-also__thumbs a:hover, .dmm .dmm-also__thumbs a:focus-visible { transform: translateY(-3px) scale(1.08); border-color: var(--dmm-accent); box-shadow: var(--dmm-shadow); }
.dmm-also__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dmm-also__thumbs .dmm-initial { font-size: 1.4em; }
.dmm .dmm-also__names a { display: inline-block; padding: 6px 15px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-pill, 999px); background: var(--dmm-surface-2); color: inherit; font-weight: 600; font-size: .92em; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.dmm .dmm-also__names a:hover, .dmm .dmm-also__names a:focus-visible { background: var(--dmm-accent); color: var(--dmm-on-accent); border-color: var(--dmm-accent); }

/* ---------- 5b. Editorial styles (used by the Modern family and several sleek themes) ---------- */
.dmm-grid { counter-reset: dmmc; }

/* Hub header: huge left-aligned title, intro on the right, one rule underneath */
.dmm[data-dmm-head="editorial"] .dmm-hub__head { text-align: left; margin: 0; padding: clamp(20px, 5vw, 56px) 0 26px; border-bottom: 1px solid var(--dmm-ink, currentColor); }
.dmm[data-dmm-head="editorial"] .dmm-hub__headinner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px 40px; align-items: end; }
.dmm[data-dmm-head="editorial"] .dmm-hub__title { font-size: clamp(44px, 9vw, 108px); line-height: .92; letter-spacing: -.04em; margin: 0; overflow-wrap: anywhere; }
.dmm[data-dmm-head="editorial"] .dmm-hub__intro { margin: 0; max-width: none; font-size: .95em; }
.dmm[data-dmm-head="editorial"] .dmm-filters { background: none; border: 0; border-bottom: 1px solid var(--dmm-line); border-radius: 0; box-shadow: none; padding: 14px 0; margin: 0 0 4px; }
.dmm[data-dmm-head="editorial"] .dmm-filters input, .dmm[data-dmm-head="editorial"] .dmm-filters select { background: transparent; border-radius: var(--dmm-radius); }
.dmm[data-dmm-head="editorial"] .dmm-hub__count { font-family: var(--dmm-label-font); font-size: .75em; letter-spacing: .1em; text-transform: uppercase; margin: 10px 0 20px; }

/* Cards: portrait, hairline rule, name, running number */
.dmm[data-dmm-cards="editorial"] .dmm-grid { gap: 34px 26px; }
.dmm[data-dmm-cards="editorial"] .dmm-card { counter-increment: dmmc; background: none; border: 0; box-shadow: none; overflow: visible; border-radius: 0; }
.dmm[data-dmm-cards="editorial"] .dmm-card__img { border-radius: var(--dmm-radius); transition: filter .25s ease; }
.dmm[data-dmm-cards="editorial"] .dmm-card__body { position: relative; margin-top: 12px; padding: 10px 40px 0 0; border-top: 1px solid var(--dmm-ink, currentColor); }
.dmm[data-dmm-cards="editorial"] .dmm-card__body::after { content: counter(dmmc, decimal-leading-zero); position: absolute; right: 0; top: 12px; font: 500 11px/1 var(--dmm-label-font); color: var(--dmm-muted); }
.dmm[data-dmm-cards="editorial"] .dmm-card__name { font-size: 1.2em; letter-spacing: -.01em; transition: color .15s ease; }
.dmm[data-dmm-cards="editorial"] .dmm-card:hover .dmm-card__name, .dmm[data-dmm-cards="editorial"] .dmm-card:focus-within .dmm-card__name { color: var(--dmm-accent); }
.dmm[data-dmm-cards="editorial"] .dmm-card:hover .dmm-card__img { filter: saturate(1.2) contrast(1.03); }
.dmm[data-dmm-cards="editorial"] .dmm-card__img img { transform: none; }

/* Profile header: no box, big portrait, huge name */
.dmm[data-dmm-hero="editorial"] .dmm-hero { background: none; color: inherit; --dmm-on-hero: currentColor; border-radius: 0; overflow: visible; padding-bottom: 30px; border-bottom: 1px solid var(--dmm-ink, currentColor); }
.dmm[data-dmm-hero="editorial"] .dmm-hero__inner { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding: 30px 0 0; }
.dmm[data-dmm-hero="editorial"] .dmm-hero.has-cover .dmm-hero__cover { display: block; height: clamp(140px, 22vw, 240px); border-radius: var(--dmm-radius); background-image: var(--dmm-cover); background-size: cover; background-position: center; }
.dmm[data-dmm-hero="editorial"] .dmm-hero__img { border: 0; box-shadow: none; border-radius: var(--dmm-radius); }
.dmm[data-dmm-hero="editorial"] .dmm-hero__name { font-size: clamp(40px, 7vw, 84px); line-height: .95; letter-spacing: -.04em; overflow-wrap: anywhere; }
.dmm[data-dmm-hero="editorial"] .dmm-hero__tagline { font-size: 1.3em; color: var(--dmm-muted); opacity: var(--dmm-muted-op); max-width: 34em; }
.dmm[data-dmm-hero="editorial"] .dmm-hero .dmm-badge:not(.dmm-badge--platform):not(.dmm-badge--status) { background: none; border-color: currentColor; color: inherit; }
.dmm[data-dmm-hero="editorial"] .dmm-hero__note { color: var(--dmm-muted); opacity: var(--dmm-muted-op); }

/* Tabs-style sub navigation */
.dmm[data-dmm-hero="editorial"] .dmm-subnav { gap: 0; margin: 0 0 8px; border-bottom: 1px solid var(--dmm-line); }
.dmm[data-dmm-hero="editorial"] .dmm-subnav a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding: 14px 18px 12px; font: 500 11px/1 var(--dmm-label-font); letter-spacing: .12em; text-transform: uppercase; color: var(--dmm-muted); }
.dmm[data-dmm-hero="editorial"] .dmm-subnav a:hover, .dmm[data-dmm-hero="editorial"] .dmm-subnav a:focus-visible { background: none; color: inherit; border-bottom-color: var(--dmm-accent); }

/* Panels, section titles, stats */
.dmm[data-dmm-hero="editorial"] .dmm-panel { background: none; border: 0; border-top: 1px solid var(--dmm-ink, currentColor); border-radius: 0; box-shadow: none; padding: 14px 0 6px; }
.dmm[data-dmm-hero="editorial"] .dmm-panel__title { font-family: var(--dmm-label-font); font-size: .7em; font-weight: 600; letter-spacing: .14em; color: var(--dmm-muted); }
.dmm[data-dmm-hero="editorial"] .dmm-stat { border-bottom: 1px solid var(--dmm-line); }
.dmm[data-dmm-hero="editorial"] .dmm-stat dt { font: 500 11px/1.6 var(--dmm-label-font); letter-spacing: .1em; text-transform: uppercase; color: var(--dmm-muted); align-self: center; }
.dmm[data-dmm-hero="editorial"] .dmm-stat dd { font-weight: 550; }
.dmm[data-dmm-hero="editorial"] .dmm-section__title { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 18px; font: 600 11px/1.2 var(--dmm-label-font); letter-spacing: .14em; text-transform: uppercase; text-shadow: none; }
.dmm[data-dmm-hero="editorial"] .dmm-section__title::after { position: static; order: -1; width: 22px; height: 2px; border-radius: 0; background: var(--dmm-accent); }
.dmm[data-dmm-hero="editorial"] .dmm-verse, .dmm[data-dmm-hero="editorial"] .dmm-vcard { box-shadow: none; background: none; }
.dmm[data-dmm-hero="editorial"] .dmm-vcard:hover, .dmm[data-dmm-hero="editorial"] .dmm-vcard:focus-visible { transform: none; box-shadow: none; }

/* Verses page */
.dmm[data-dmm-hero="editorial"] .dmm-vhead { background: none; color: inherit; border-radius: 0; padding: 30px 0 26px; margin: 0; border-bottom: 1px solid var(--dmm-ink, currentColor); }
.dmm[data-dmm-hero="editorial"] .dmm-vhead__img { border: 0; box-shadow: none; }
.dmm[data-dmm-hero="editorial"] .dmm-vhead__title { font-size: clamp(34px, 6vw, 72px); line-height: .95; letter-spacing: -.04em; }
.dmm[data-dmm-hero="editorial"] .dmm-vhead .dmm-badge:not(.dmm-badge--platform):not(.dmm-badge--status) { background: none; border-color: currentColor; color: inherit; }
.dmm[data-dmm-hero="editorial"] .dmm-ventries { gap: 0; margin-top: 0; }
.dmm[data-dmm-hero="editorial"] .dmm-ventry { background: none; border: 0; border-bottom: 1px solid var(--dmm-line); border-radius: 0; box-shadow: none; overflow: visible; }
.dmm[data-dmm-hero="editorial"] .dmm-ventry__banner { height: 120px; border-radius: var(--dmm-radius); margin-top: 28px; }
.dmm[data-dmm-hero="editorial"] .dmm-ventry__grid { padding: 36px 0; gap: 36px; grid-template-columns: 260px minmax(0, 1fr); }
.dmm[data-dmm-hero="editorial"] .dmm-ventry__img { box-shadow: none; }
.dmm[data-dmm-hero="editorial"] .dmm-ventry__title { font-size: 2.1em; letter-spacing: -.03em; }
.dmm[data-dmm-hero="editorial"] .dmm-vstats { gap: 0; border: 1px solid var(--dmm-ink, currentColor); }
.dmm[data-dmm-hero="editorial"] .dmm-vstat { background: none; border: 0; border-radius: 0; padding: 12px 16px; }
.dmm[data-dmm-hero="editorial"] .dmm-vstat + .dmm-vstat { border-left: 1px solid var(--dmm-ink, currentColor); }
.dmm[data-dmm-hero="editorial"] .dmm-vstat dt { font-family: var(--dmm-label-font); letter-spacing: .14em; color: var(--dmm-muted); }
.dmm[data-dmm-hero="editorial"] .dmm-ventry__sub { font: 600 11px/1.2 var(--dmm-label-font); letter-spacing: .14em; text-transform: uppercase; color: var(--dmm-muted); }

/* Heavier rules for the Swiss theme */
.dmm[data-dmm-theme="swiss"] .dmm-hub__head, .dmm[data-dmm-theme="swiss"] .dmm-hero, .dmm[data-dmm-theme="swiss"] .dmm-vhead { border-bottom-width: 4px; }
.dmm[data-dmm-theme="swiss"] .dmm-card__body, .dmm[data-dmm-theme="swiss"] .dmm-panel { border-top-width: 3px; }

/* ---------- 6. Lightbox ---------- */
.dmm-lightbox { position: fixed; inset: 0; background: rgba(8, 12, 24, .93); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dmm-lightbox[hidden] { display: none; }
.dmm-lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.dmm-lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.dmm-lightbox button:hover, .dmm-lightbox button:focus-visible { background: rgba(255, 255, 255, .3); }
.dmm-lightbox__close { top: 16px; right: 16px; }
.dmm-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.dmm-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Theme preview tiles (Appearance page in wp-admin) ---------- */
.dmm.dmm-pv { display: block; max-width: none; margin: 0; padding: 0; font-size: 12px; line-height: 1.4; border-radius: 10px; overflow: hidden; pointer-events: none; }
.dmm-pv__hero { display: flex; align-items: center; gap: 10px; padding: 14px 12px; background: var(--dmm-hero-bg); color: var(--dmm-on-hero, inherit); }
.dmm-pv__avatar { flex: none; width: 40px; height: 40px; border-radius: var(--dmm-radius); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; background: rgba(255, 255, 255, .28); }
.dmm-pv__who { display: grid; gap: 4px; justify-items: start; }
.dmm-pv__name { font-family: var(--dmm-font-head, inherit); font-size: 14px; font-weight: var(--dmm-head-weight, 700); text-transform: var(--dmm-head-tt, none); letter-spacing: var(--dmm-head-ls, normal); text-shadow: var(--dmm-glow, none); }
.dmm-pv__body { display: grid; gap: 5px; padding: 10px 12px 12px; background: var(--dmm-surface); }
.dmm-pv__line { display: flex; justify-content: space-between; padding-bottom: 3px; border-bottom: 1px dashed var(--dmm-line); }
.dmm-pv__line i { font-style: normal; opacity: .85; }
.dmm .dmm-pv__btn { justify-self: start; margin-top: 4px; padding: 4px 13px; font-size: 11px; }

/* Preview tiles: editorial */
.dmm.dmm-pv[data-dmm-hero="editorial"] .dmm-pv__hero { background: none; color: inherit; border-bottom: 1px solid var(--dmm-ink, currentColor); }
.dmm.dmm-pv[data-dmm-hero="editorial"] .dmm-pv__avatar { background: var(--dmm-hero-bg); color: #fff; }

/* ---------- Standalone site shell (every theme except "Match My Theme") ---------- */
body.dmm-standalone { margin: 0; padding: 0; }
.dmm.dmm-site[data-dmm-theme] { max-width: none; margin: 0; padding: 0; border-radius: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.65; }
.dmm-site .dmm-site__main { flex: 1 0 auto; width: 100%; }
.dmm-site .dmm:not(.dmm-site) { background: none; border-radius: 0; }
.dmm-site__bar { position: sticky; top: 0; z-index: 50; background: var(--dmm-bg); border-bottom: 1px solid var(--dmm-line); }
.admin-bar .dmm-site__bar { top: 32px; }
.dmm-site__barin, .dmm-site__footin { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dmm-site[data-dmm-width="wide"] .dmm-site__barin, .dmm-site[data-dmm-width="wide"] .dmm-site__footin { max-width: 1400px; }
.dmm-site[data-dmm-width="full"] .dmm-site__barin, .dmm-site[data-dmm-width="full"] .dmm-site__footin { max-width: none; }
.dmm-site .dmm-site__brand, .dmm-site .dmm-site__brand a { font-family: var(--dmm-font-head, inherit); font-weight: var(--dmm-head-weight, 700); text-transform: var(--dmm-head-tt, none); letter-spacing: var(--dmm-head-ls, normal); text-shadow: var(--dmm-glow, none); font-size: 1.15em; color: inherit; text-decoration: none; line-height: 1.2; }
.dmm-site .dmm-site__brand:hover { color: var(--dmm-accent); }
.dmm[data-dmm-theme="brutalist"] .dmm-site__bar, .dmm[data-dmm-theme="brutalist"] .dmm-site__foot { border-width: 3px; border-color: #111111; }
.dmm[data-dmm-theme="swiss"] .dmm-site__bar { border-bottom: 4px solid #0a0a0a; }
.dmm-site__brand img { max-height: 40px; width: auto; display: block; }
.dmm-site__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.dmm-site__menu li { margin: 0; padding: 0; }
.dmm-site .dmm-site__menu a { display: block; padding: 8px 12px; color: var(--dmm-muted); opacity: var(--dmm-muted-op); text-decoration: none; font-weight: 600; font-size: .92em; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.dmm-site .dmm-site__menu a:hover, .dmm-site .dmm-site__menu a:focus-visible, .dmm-site .dmm-site__menu .current-menu-item > a { color: inherit; opacity: 1; border-bottom-color: var(--dmm-accent); }
.dmm-site[data-dmm-head="editorial"] .dmm-site__menu a { font: 500 11px/1.2 var(--dmm-label-font); letter-spacing: .12em; text-transform: uppercase; }
.dmm-site__foot { margin-top: 24px; border-top: 1px solid var(--dmm-line); color: var(--dmm-muted); font-size: .85em; }
.dmm-site__foot a { color: inherit; }
.dmm-site__foot .dmm-site__footin { justify-content: center; padding: 26px 20px 32px; text-align: center; }
.dmm-site[data-dmm-head="editorial"] .dmm-site__foot { font-family: var(--dmm-label-font); letter-spacing: .08em; text-transform: uppercase; font-size: .75em; }
.dmm-site[data-dmm-head="editorial"] .dmm-site__foot .dmm-site__footin { justify-content: flex-start; text-align: left; }
.dmm-site .dmm-main > :not(.dmm) { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
@media (max-width: 782px) { .admin-bar .dmm-site__bar { top: 46px; } }
@media (max-width: 600px) {
	.dmm-site__barin { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 16px; }
	.dmm-site__bar { position: static; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.dmm-grid { grid-template-columns: repeat(min(var(--dmm-cols), 3), minmax(0, 1fr)); }
	.dmm-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.dmm { padding: 20px 14px 40px; }
	.dmm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.dmm-hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 16px; }
	.dmm-hero__img { width: 240px; max-width: 100%; }
	.dmm-hero .dmm-badges, .dmm-links { justify-content: center; }
	.dmm[data-dmm-hero="cover"] .dmm-hero__inner { grid-template-columns: 1fr; justify-items: center; align-items: start; gap: 18px; text-align: center; margin-top: -70px; padding: 0 14px 6px; }
	.dmm[data-dmm-hero="cover"] .dmm-hero__text { padding-top: 0; }
	.dmm[data-dmm-hero="cover"] .dmm-hero__img { width: 170px; }
	.dmm[data-dmm-hero="minimal"] .dmm-hero__inner { grid-template-columns: 1fr; padding: 18px 0 22px; }
	.dmm[data-dmm-hero="minimal"] .dmm-hero__img { width: 140px; }
	.dmm-vhead { flex-direction: column; text-align: center; padding: 22px 16px; }
	.dmm-vhead .dmm-badges { justify-content: center; }
	.dmm-ventry__grid { grid-template-columns: 1fr; padding: 18px; }
	.dmm-ventry__img { max-width: 240px; margin: 0 auto; width: 100%; }
}
@media (max-width: 440px) {
	.dmm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	.dmm[data-dmm-head="editorial"] .dmm-hub__headinner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.dmm[data-dmm-hero="editorial"] .dmm-hero__inner { grid-template-columns: 1fr; gap: 22px; justify-items: start; text-align: left; padding: 22px 0 0; }
	.dmm[data-dmm-hero="editorial"] .dmm-hero__img { width: min(300px, 100%); }
	.dmm[data-dmm-hero="editorial"] .dmm-hero .dmm-badges, .dmm[data-dmm-hero="editorial"] .dmm-links { justify-content: flex-start; }
	.dmm[data-dmm-hero="editorial"] .dmm-vhead { text-align: left; align-items: flex-start; padding: 22px 0; }
	.dmm[data-dmm-hero="editorial"] .dmm-vhead .dmm-badges { justify-content: flex-start; }
	.dmm[data-dmm-hero="editorial"] .dmm-ventry__grid { grid-template-columns: 1fr; padding: 26px 0; }
	.dmm[data-dmm-hero="editorial"] .dmm-ventry__img { margin: 0; max-width: 260px; }
	.dmm[data-dmm-hero="editorial"] .dmm-subnav { overflow-x: auto; flex-wrap: nowrap; }
	.dmm[data-dmm-hero="editorial"] .dmm-subnav a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.dmm *, .dmm *::before, .dmm *::after { animation: none !important; transition: none !important; }
	.dmm .dmm-card:hover, .dmm .dmm-btn:hover { transform: none; }
}

/* ---- 9. Exclusives and Thread Tracker ---- */
.dmm-excl { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dmm-excl--cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.dmm-excl--thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
.dmm-excl--names { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.dmm .dmm-excl__item { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.dmm-excl--cards .dmm-excl__item { padding: 12px; background: var(--dmm-surface); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); transition: transform .2s ease, border-color .2s ease; }
.dmm .dmm-excl--cards a.dmm-excl__item:hover, .dmm .dmm-excl--cards a.dmm-excl__item:focus-visible { transform: translateY(-2px); border-color: var(--dmm-accent); }
.dmm-excl__img { flex: none; width: 52px; height: 52px; border-radius: var(--dmm-round, 50%); overflow: hidden; background: var(--dmm-hero-bg, var(--dmm-surface-2)); display: flex; }
.dmm-excl__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm-excl__img .dmm-initial { font-size: 1.3em; }
.dmm-excl--thumbs .dmm-excl__img { width: 64px; height: 64px; border: 2px solid var(--dmm-line); transition: border-color .2s ease; }
.dmm .dmm-excl--thumbs a:hover .dmm-excl__img, .dmm .dmm-excl--thumbs a:focus-visible .dmm-excl__img { border-color: var(--dmm-accent); }
.dmm-excl__text { display: grid; gap: 2px; min-width: 0; }
.dmm-excl__name { font-family: var(--dmm-font-head, inherit); overflow-wrap: anywhere; }
.dmm-excl__muse, .dmm-excl__note { font-size: .82em; color: var(--dmm-muted); opacity: var(--dmm-muted-op, 1); }
.dmm-excl--names .dmm-excl__item { padding: 5px 12px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-pill, 999px); }
.dmm .dmm-excl--names a.dmm-excl__item:hover { border-color: var(--dmm-accent); color: var(--dmm-accent); }

.dmm-threads__summary { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 14px; font-size: .88em; color: var(--dmm-muted); }
.dmm-threads__summary strong { color: var(--dmm-ink); }
.dmm-threadlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dmm-thread { padding: 12px 14px; background: var(--dmm-surface); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); display: grid; gap: 6px; }
.dmm-thread__main { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.dmm-thread__title { font-family: var(--dmm-font-head, inherit); font-weight: 600; overflow-wrap: anywhere; }
.dmm-thread__partner { font-size: .85em; color: var(--dmm-muted); }
.dmm-thread__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .8em; color: var(--dmm-muted); }
.dmm-thread__note { margin: 0; font-size: .86em; color: var(--dmm-muted); }
.dmm-tstatus { padding: 2px 10px; border-radius: var(--dmm-pill, 999px); border: 1px solid var(--dmm-line); background: var(--dmm-surface-2, transparent); color: var(--dmm-ink); font-family: var(--dmm-label-font, inherit); font-size: .92em; }
.dmm-tstatus--mine { background: var(--dmm-accent); color: var(--dmm-on-accent, #fff); border-color: var(--dmm-accent); }
.dmm-tstatus--done, .dmm-tstatus--hold { color: var(--dmm-muted); }
.dmm-threads__done { margin-top: 14px; }
.dmm-threads__done > summary { cursor: pointer; color: var(--dmm-muted); font-size: .9em; margin-bottom: 8px; }
.dmm-threadspage .dmm-section { margin-bottom: 28px; }

.dmm[data-dmm-hero="editorial"] .dmm-excl--cards .dmm-excl__item,
.dmm[data-dmm-hero="editorial"] .dmm-thread { background: none; border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
.dmm[data-dmm-hero="editorial"] .dmm-excl--cards a.dmm-excl__item:hover { transform: none; }
@media (max-width: 560px) { .dmm-excl--cards { grid-template-columns: 1fr; } }
.dmm .dmm-thread__title a { color: inherit; text-decoration: underline; text-decoration-color: var(--dmm-accent); text-underline-offset: 3px; }
.dmm .dmm-thread__title a:hover, .dmm .dmm-thread__partner:hover, .dmm .dmm-thread__partner a:hover { color: var(--dmm-accent); }
.dmm .dmm-thread__partner, .dmm .dmm-thread__partner a { color: var(--dmm-muted); }
.dmm-excl--cards { align-items: stretch; }
.dmm-excl--cards li { display: flex; }
.dmm-excl--cards .dmm-excl__item { flex: 1; }

/* ---- 10. Section tabs ---- */
.dmm[data-dmm-nav="tabs"] .dmm-subnav { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--dmm-line); }
.dmm[data-dmm-nav="tabs"] .dmm-subnav a[aria-selected="true"] { background: var(--dmm-accent); color: var(--dmm-on-accent); border-color: var(--dmm-accent); }
.dmm-section[role="tabpanel"] { margin-top: 0; }
.dmm-section[role="tabpanel"] > .dmm-section__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.dmm-section[hidden] { display: none; }
.dmm[data-dmm-hero="editorial"][data-dmm-nav="tabs"] .dmm-subnav { padding-bottom: 0; margin-bottom: 22px; }
.dmm[data-dmm-hero="editorial"][data-dmm-nav="tabs"] .dmm-subnav a[aria-selected="true"] { background: none; color: var(--dmm-ink); border-bottom-color: var(--dmm-accent); }
@media (max-width: 640px) {
	.dmm[data-dmm-nav="tabs"] .dmm-subnav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.dmm[data-dmm-nav="tabs"] .dmm-subnav a { white-space: nowrap; }
}

/* ---- 11. Ships ---- */
.dmm-ships { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.dmm .dmm-ship { all: unset; box-sizing: border-box; display: grid; gap: 4px; width: 100%; cursor: pointer; text-align: center; color: var(--dmm-ink); font-family: inherit; }
.dmm .dmm-ship:focus-visible { outline: 2px solid var(--dmm-accent); outline-offset: 3px; }
.dmm-ship__img { display: flex; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--dmm-radius); background: var(--dmm-hero-bg, var(--dmm-surface-2)); border: 1px solid var(--dmm-line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dmm-ship__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm-ship__img .dmm-initial { font-size: 2.4em; }
.dmm .dmm-ship:hover .dmm-ship__img, .dmm .dmm-ship:focus-visible .dmm-ship__img { transform: translateY(-3px); border-color: var(--dmm-accent); box-shadow: var(--dmm-shadow, 0 8px 20px rgba(0, 0, 0, .15)); }
.dmm-ship__name { font-family: var(--dmm-font-head, inherit); font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.dmm-ship__label { font-size: .8em; color: var(--dmm-muted); }
.dmm[data-dmm-hero="editorial"] .dmm-ship:hover .dmm-ship__img { transform: none; box-shadow: none; }

.dmm-noscroll { overflow: hidden; }
.dmm-modal { position: fixed; inset: 0; z-index: 99990; background: rgba(8, 12, 24, .72); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: clamp(12px, 4vw, 40px); }
.dmm-modal[hidden] { display: none; }
.dmm-modal__box { position: relative; width: min(860px, 100%); margin: auto; padding: clamp(18px, 3vw, 30px); background: var(--dmm-bg, var(--dmm-surface)); color: var(--dmm-ink); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); box-shadow: 0 24px 70px rgba(0, 0, 0, .5); text-align: left; }
.dmm .dmm-modal__close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: var(--dmm-round, 50%); border: 1px solid var(--dmm-line); background: var(--dmm-surface); color: var(--dmm-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.dmm .dmm-modal__close:hover, .dmm .dmm-modal__close:focus-visible { background: var(--dmm-accent); color: var(--dmm-on-accent); }
.dmm-shipbio { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 24px; align-items: start; }
.dmm-shipbio__photo { display: flex; border-radius: var(--dmm-radius); overflow: hidden; background: var(--dmm-hero-bg, var(--dmm-surface-2)); min-height: 120px; }
.dmm-shipbio__photo img { width: 100%; height: auto; display: block; }
.dmm-shipbio__initial { margin: auto; font-size: 4em; padding: 30px; }
.dmm-shipbio__name { margin: 0 40px 2px 0; font-family: var(--dmm-font-head, inherit); font-size: 1.6em; line-height: 1.15; }
.dmm-shipbio__label { margin: 0 0 12px; color: var(--dmm-accent); font-size: .9em; }
.dmm-shipbio__stats { margin: 0 0 14px; display: grid; gap: 0; border-top: 1px solid var(--dmm-line); }
.dmm-shipbio__stats > div { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--dmm-line); font-size: .9em; }
.dmm-shipbio__stats dt { flex: none; min-width: 120px; color: var(--dmm-muted); font-family: var(--dmm-label-font, inherit); }
.dmm-shipbio__stats dd { margin: 0; }
.dmm-minigal-front { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--dmm-line); }
.dmm-minigal-front a { display: block; width: 100px; height: 100px; border-radius: calc(var(--dmm-radius) * .6); overflow: hidden; border: 1px solid var(--dmm-line); }
.dmm-minigal-front img { width: 100px; height: 100px; object-fit: cover; display: block; transition: transform .2s ease; }
.dmm-minigal-front a:hover img, .dmm-minigal-front a:focus-visible img { transform: scale(1.08); }
.dmm-shipspage .dmm-section { margin-bottom: 30px; }
@media (max-width: 640px) {
	.dmm-shipbio { grid-template-columns: 1fr; }
	.dmm-shipbio__photo { max-width: 260px; }
	.dmm-ships { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
}

/* ---- 12. Interest form ---- */
.dmm-form { display: grid; gap: 14px; max-width: 720px; }
.dmm-form p { margin: 0; }
.dmm-form__intro { margin: 0 0 14px; color: var(--dmm-muted); max-width: 720px; }
.dmm-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.dmm-form__row { display: grid; gap: 5px; }
.dmm-form label { font-size: .88em; color: var(--dmm-muted); }
.dmm-form input[type="text"], .dmm-form select, .dmm-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; color: var(--dmm-ink); background: var(--dmm-surface); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); }
.dmm-form input[type="text"]:focus, .dmm-form select:focus, .dmm-form textarea:focus { outline: 2px solid var(--dmm-accent); outline-offset: 1px; }
.dmm-form__ways { border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); padding: 12px 14px 8px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dmm-form__ways legend { padding: 0 6px; font-size: .88em; color: var(--dmm-muted); }
.dmm .dmm-form__way { display: inline-flex; gap: 7px; align-items: center; font-size: .95em; color: var(--dmm-ink); cursor: pointer; padding: 3px 0; }
.dmm-form__error { padding: 10px 14px; border: 1px solid var(--dmm-accent); border-radius: var(--dmm-radius); background: var(--dmm-surface); }
.dmm-form--done { padding: 16px 18px; border: 1px solid var(--dmm-accent); border-radius: var(--dmm-radius); background: var(--dmm-surface); }
.dmm-interestpage { max-width: 760px; }

/* ==========================================================================
   v1.9: typed stats (bars, tags, links, long text) and stat sections
   ========================================================================== */
.dmm .dmm-stats__group { font-size: .74em; text-transform: uppercase; letter-spacing: .16em; margin: 18px 0 2px; padding-top: 14px; border-top: 1px solid var(--dmm-line); color: var(--dmm-muted); opacity: var(--dmm-muted-op); text-shadow: none; font-family: var(--dmm-label-font); font-weight: 700; }
.dmm .dmm-stats__group:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.dmm-stat--bar, .dmm-stat--tags, .dmm-stat--longtext { flex-wrap: wrap; }
.dmm-stat--bar dd, .dmm-stat--tags dd, .dmm-stat--longtext dd { flex: 1 0 100%; text-align: left; }
.dmm-stat--bar dd { display: flex; align-items: center; gap: 12px; }
.dmm-stat--longtext dd { font-size: .94em; opacity: .9; line-height: 1.55; }
.dmm-bar { position: relative; flex: 1; height: 10px; border-radius: var(--dmm-pill, 999px); background: var(--dmm-surface-2); border: 1px solid var(--dmm-line); overflow: hidden; }
.dmm-bar__fill { position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--dmm-accent), var(--dmm-accent-2, var(--dmm-accent))); transform-origin: left center; animation: dmm-bar-grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes dmm-bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dmm-bar__num { flex: none; min-width: 2.6em; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.dmm-bar__num small { font-weight: 400; opacity: .65; margin-left: 1px; }
.dmm-tags { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dmm-tags li { margin: 0; padding: 2px 11px; border-radius: var(--dmm-pill, 999px); border: 1px solid var(--dmm-line); background: var(--dmm-surface-2); font-size: .82em; font-weight: 600; line-height: 1.5; }
.dmm .dmm-stat dd a { color: var(--dmm-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dmm-vstat--bar dd { display: flex; align-items: center; gap: 10px; }
.dmm-vstat .dmm-tags { margin: 4px 0 0; }
.dmm[data-dmm-hero="editorial"] .dmm-bar { border-radius: 0; height: 6px; }
.dmm[data-dmm-hero="editorial"] .dmm-bar__fill { border-radius: 0; }
.dmm[data-dmm-hero="editorial"] .dmm-tags li { background: none; border-radius: 0; }

/* ==========================================================================
   v1.9: navigation. Hub toolbar, status chips, list view, sticky section
   nav with "you are here", sticky sidebar, pager, back-to-top.
   ========================================================================== */
.dmm { --dmm-sticky: 0px; --dmm-navh: 0px; }
.dmm-grid[hidden], .dmm-hub__empty[hidden] { display: none; }

/* ---- Hub toolbar ---- */
.dmm-toolbar { display: grid; gap: 12px; padding: 14px; }
.dmm-toolbar__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dmm-search { position: relative; display: block; flex: 3 1 260px; margin: 0; color: inherit; }
.dmm-search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .55; pointer-events: none; }
.dmm-search input { width: 100%; padding-left: 42px; }
.dmm-toolbar select { flex: 1 1 140px; }
.dmm-view { display: inline-flex; flex: none; border: 1px solid var(--dmm-line); border-radius: calc(var(--dmm-radius) * .7); overflow: hidden; background: var(--dmm-surface-2); }
.dmm .dmm-view button { appearance: none; border: 0; margin: 0; background: transparent; color: inherit; padding: 10px 13px; line-height: 0; cursor: pointer; transition: background .15s, color .15s; }
.dmm .dmm-view button:hover { background: rgba(127, 127, 127, .18); }
.dmm .dmm-view button[aria-pressed="true"] { background: var(--dmm-accent); color: var(--dmm-on-accent); }

.dmm-toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dmm-toolbar__spacer { flex: 1 1 0; }
.dmm .dmm-chip {
	appearance: none; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 6px 14px; border-radius: var(--dmm-pill, 999px);
	border: 1px solid var(--dmm-line); background: var(--dmm-surface-2); color: inherit; font: inherit; font-size: .88em; font-weight: 600; line-height: 1.3; cursor: pointer;
	transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.dmm .dmm-chip[hidden] { display: none; }
.dmm .dmm-chip:hover { border-color: var(--dmm-accent); transform: translateY(-1px); }
.dmm .dmm-chip.is-on { background: var(--dmm-accent); border-color: var(--dmm-accent); color: var(--dmm-on-accent); }
.dmm .dmm-chip--ghost { background: transparent; border-style: dashed; }
.dmm .dmm-chip--clear { background: transparent; border-color: var(--dmm-accent); color: var(--dmm-accent); }
.dmm-chip__n { font-size: .82em; opacity: .7; font-variant-numeric: tabular-nums; }
.dmm-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: var(--dmm-round, 50%); background: currentColor; }
.dmm-chip--open .dmm-dot, .dmm-card__flag--open .dmm-dot { background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .25); }
.dmm-chip--selective .dmm-dot, .dmm-card__flag--selective .dmm-dot { background: #e6a817; box-shadow: 0 0 0 3px rgba(230, 168, 23, .25); }
.dmm-chip--hiatus .dmm-dot, .dmm-card__flag--hiatus .dmm-dot { background: #8d97ab; box-shadow: 0 0 0 3px rgba(141, 151, 171, .25); }
.dmm-chip--closed .dmm-dot, .dmm-card__flag--closed .dmm-dot { background: #e0524f; box-shadow: 0 0 0 3px rgba(224, 82, 79, .25); }
.dmm-hub__empty { padding: 36px 0; }
.dmm-hub__empty p { margin: 0 0 14px; }

/* Status shown once, as a flag on the portrait (the badge row keeps the platform) */
.dmm-card__img { position: relative; }
.dmm-card__flag { position: absolute; z-index: 2; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: var(--dmm-pill, 999px); background: rgba(10, 12, 20, .62); color: #fff; font-size: .72em; font-weight: 700; line-height: 1.5; letter-spacing: .02em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dmm-card .dmm-badge--status { display: none; }

/* ---- Hub list layout ---- */
.dmm-grid[data-view="list"] { grid-template-columns: 1fr; gap: 12px; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card { transform: none; counter-increment: none; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card:hover, .dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card:focus-within { transform: translateX(4px); }
.dmm-grid[data-view="list"] .dmm-card__link { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: stretch; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card__img { aspect-ratio: auto; min-height: 104px; height: 100%; border-radius: 0; border: 0; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card__body { position: static; display: grid; align-content: center; gap: 2px; padding: 12px 20px; margin: 0; border: 0; background: none; color: inherit; text-align: left; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card__body::after { display: none; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card__name { color: inherit; text-shadow: none; font-size: 1.2em; margin: 0; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card__tagline { color: var(--dmm-muted); opacity: var(--dmm-muted-op); margin: 0; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card__source { color: var(--dmm-accent); margin: 0 0 4px; }
.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-badges { justify-content: flex-start; }
.dmm-grid[data-view="list"] .dmm-card__flag { top: 8px; left: 8px; padding: 2px 8px 2px 7px; font-size: .66em; }
.dmm[data-dmm-cards="polaroid"] .dmm-grid[data-view="list"] .dmm-card { padding: 0; }
@media (max-width: 560px) {
	.dmm-grid[data-view="list"] .dmm-card__link { grid-template-columns: 82px minmax(0, 1fr); }
	.dmm[data-dmm-cards] .dmm-grid[data-view="list"] .dmm-card__img { min-height: 92px; }
	.dmm-grid[data-view="list"] .dmm-card__flag { display: none; }
	.dmm-toolbar__spacer { display: none; }
}

/* ---- Sticky section nav (links mode) with "you are here" ---- */
.dmm-profile:not([data-dmm-nav="tabs"]) .dmm-subnav, .dmm-versespage .dmm-subnav {
	position: sticky; top: var(--dmm-sticky, 0px); z-index: 30; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
	margin: 18px 0 6px; padding: 10px 0;
	background: var(--dmm-bg, var(--wp--preset--color--base, Canvas));
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
	.dmm-profile:not([data-dmm-nav="tabs"]) .dmm-subnav, .dmm-versespage .dmm-subnav {
		background: color-mix(in srgb, var(--dmm-bg, var(--wp--preset--color--base, Canvas)) 84%, transparent);
		-webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
	}
}
.dmm-subnav::-webkit-scrollbar { display: none; }
.dmm .dmm-subnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.dmm .dmm-subnav a.is-active { background: var(--dmm-accent); border-color: var(--dmm-accent); color: var(--dmm-on-accent); }
.dmm-count { min-width: 1.75em; padding: 0 6px; border-radius: var(--dmm-pill, 999px); background: rgba(127, 127, 127, .22); font-size: .78em; font-weight: 700; line-height: 1.65; text-align: center; font-variant-numeric: tabular-nums; }
.dmm .dmm-subnav a.is-active .dmm-count, .dmm .dmm-subnav a:hover .dmm-count, .dmm .dmm-subnav a[aria-selected="true"] .dmm-count { background: rgba(255, 255, 255, .26); }
.dmm[data-dmm-hero="editorial"] .dmm-subnav a.is-active { background: none; color: inherit; border-bottom-color: var(--dmm-accent); }
.dmm-section, .dmm-ventry { scroll-margin-top: calc(var(--dmm-sticky, 0px) + var(--dmm-navh, 0px) + 18px); }

/* Sticky sidebar on wide screens */
@media (min-width: 961px) {
	.dmm-profile .dmm-side {
		position: sticky; top: calc(var(--dmm-sticky, 0px) + var(--dmm-navh, 0px) + 14px);
		max-height: calc(100vh - var(--dmm-sticky, 0px) - var(--dmm-navh, 0px) - 28px);
		overflow-y: auto; scrollbar-width: thin; padding: 2px 6px 6px 2px; margin: -2px -6px -6px -2px;
	}
}

/* ---- Share + back-to-top ---- */
.dmm .dmm-share.is-done { background: var(--dmm-accent); border-color: var(--dmm-accent); color: var(--dmm-on-accent); }
.dmm .dmm-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
	border: 0; border-radius: var(--dmm-round, 50%); background: var(--dmm-accent); color: var(--dmm-on-accent); cursor: pointer;
	box-shadow: var(--dmm-shadow-hover, 0 10px 26px rgba(0, 0, 0, .28)); animation: dmm-rise .35s both; transition: transform .15s ease;
}
.dmm .dmm-top[hidden] { display: none; }
.dmm .dmm-top:hover, .dmm .dmm-top:focus-visible { transform: translateY(-3px); }

/* ---- Previous / next muse ---- */
.dmm-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dmm-line); }
.dmm .dmm-pager__link { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--dmm-radius); color: inherit; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.dmm .dmm-pager__link:hover, .dmm .dmm-pager__link:focus-visible { border-color: var(--dmm-line); background: var(--dmm-surface); }
.dmm-pager__link--next { flex-direction: row-reverse; text-align: right; }
.dmm-pager__link--prev:hover { transform: translateX(-3px); }
.dmm-pager__link--next:hover { transform: translateX(3px); }
.dmm-pager__img { flex: none; display: flex; width: 52px; height: 52px; border-radius: var(--dmm-round, 50%); overflow: hidden; background: var(--dmm-hero-bg); border: 2px solid var(--dmm-line); }
.dmm-pager__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm-pager__img .dmm-initial { font-size: 1.3em; }
.dmm-pager__text { display: grid; gap: 1px; min-width: 0; }
.dmm-pager__text small { font-size: .7em; text-transform: uppercase; letter-spacing: .14em; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }
.dmm-pager__text strong { font-family: var(--dmm-font-head, inherit); overflow-wrap: anywhere; }
.dmm .dmm-pager__all { padding: 8px 18px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-pill, 999px); color: var(--dmm-accent); font-weight: 700; font-size: .9em; text-decoration: none; }
.dmm .dmm-pager__all:hover, .dmm .dmm-pager__all:focus-visible { background: var(--dmm-accent); border-color: var(--dmm-accent); color: var(--dmm-on-accent); }
@media (max-width: 640px) {
	.dmm-pager { grid-template-columns: 1fr 1fr; }
	.dmm-pager__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
	.dmm-pager__img { width: 42px; height: 42px; }
}
.dmm-toolbar select[data-dmm="sort"] { flex: 1 1 190px; }
.dmm-grid[data-view="list"] .dmm-card__flag { display: none; }
.dmm-grid[data-view="list"] .dmm-card .dmm-badge--status { display: inline-block; }

/* ==========================================================================
   v2.0: verse directory pages
   ========================================================================== */
.dmm-versedir .dmm-vd__title { margin-top: 34px; }
.dmm-vdhead { position: relative; overflow: hidden; margin: 0 0 8px; padding: clamp(28px, 6vw, 60px) clamp(20px, 4vw, 44px); border-radius: var(--dmm-radius-lg); background: var(--dmm-hero-bg); color: var(--dmm-on-hero, inherit); }
.dmm-vdhead.has-image { background-image: linear-gradient(rgba(5, 10, 25, .45), rgba(5, 10, 25, .8)), var(--dmm-vimg); background-size: cover; background-position: center; color: #fff; }
.dmm-vdhead__inner { position: relative; max-width: 760px; }
.dmm-vdhead__kicker { margin: 0 0 6px; font-size: .74em; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.dmm .dmm-vdhead__title { font-size: clamp(32px, 5.6vw, 56px); margin: 0 0 .25em; color: inherit; }
.dmm-vdhead__sum { margin: 0 0 14px; font-size: 1.05em; opacity: .94; }
.dmm-vdhead__sum.dmm-prose p:last-child { margin-bottom: 0; }
.dmm-vdhead__count { margin: 0; font-size: .92em; opacity: .9; }
.dmm-vdhead__count strong { font-size: 1.15em; }
.dmm-vmini { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 2px; font-size: .84em; }
.dmm-vmini li { margin: 0; padding: 0; display: flex; gap: 6px; align-items: baseline; }
.dmm-vmini b { flex: none; color: var(--dmm-muted); opacity: var(--dmm-muted-op); font-weight: 600; }
.dmm-vmini b::after { content: ":"; }
.dmm-vmini .dmm-bar { display: none; }
.dmm-vmini .dmm-tags { display: inline-flex; margin: 0; }
.dmm-vmini .dmm-tags li { padding: 0 8px; font-size: .9em; }

.dmm-vtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 22px; }
.dmm .dmm-vtile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); background: var(--dmm-surface); color: inherit; text-decoration: none; box-shadow: var(--dmm-shadow-soft); animation: dmm-rise .55s both; animation-delay: calc(var(--i, 0) * 45ms); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.dmm .dmm-vtile:hover, .dmm .dmm-vtile:focus-visible { transform: translateY(-5px); box-shadow: var(--dmm-shadow-hover); border-color: var(--dmm-accent); }
.dmm-vtile__img { display: flex; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dmm-hero-bg); }
.dmm-vtile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dmm-vtile:hover .dmm-vtile__img img { transform: scale(1.05); }
.dmm-vtile__body { display: grid; gap: 8px; padding: 16px 18px 18px; align-content: start; }
.dmm-vtile__name { font-family: var(--dmm-font-head, inherit); font-size: 1.3em; line-height: 1.2; }
.dmm-vtile__sum { font-size: .9em; color: var(--dmm-muted); opacity: var(--dmm-muted-op); }
.dmm-vtile__muses { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.dmm-stack { display: flex; }
.dmm-stack__img { display: flex; width: 34px; height: 34px; margin-left: -10px; border-radius: var(--dmm-round, 50%); overflow: hidden; border: 2px solid var(--dmm-surface); background: var(--dmm-hero-bg); }
.dmm-stack__img:first-child { margin-left: 0; }
.dmm-stack__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm-vtile__n { font-size: .84em; font-weight: 700; color: var(--dmm-accent); }

.dmm-also__more { margin: 12px 0 0; font-size: .9em; }
.dmm .dmm-also__more a, .dmm .dmm-ventry__dir a { color: var(--dmm-accent); font-weight: 600; text-decoration: none; }
.dmm .dmm-also__more a:hover, .dmm .dmm-ventry__dir a:hover { text-decoration: underline; }
.dmm-ventry__dir { margin: -.2em 0 .9em; font-size: .88em; }
.dmm[data-dmm-hero="editorial"] .dmm-vdhead { background: none; color: inherit; border-radius: 0; padding: 30px 0 26px; border-bottom: 1px solid var(--dmm-ink, currentColor); }
.dmm[data-dmm-hero="editorial"] .dmm-vdhead.has-image { background-image: none; color: inherit; }
.dmm[data-dmm-hero="editorial"] .dmm-vdhead__title { line-height: .95; letter-spacing: -.04em; font-size: clamp(36px, 7vw, 84px); }
.dmm[data-dmm-hero="editorial"] .dmm-vtile { background: none; border-width: 0 0 1px; border-radius: 0; box-shadow: none; }

/* ---------- Lyrics ---------- */
.dmm-lyrics { margin: 0; }
.dmm-lyrics__text { margin: 0; padding: 0; border: 0; background: none; font-style: italic; font-size: clamp(1.05em, 1.9vw, 1.4em); line-height: 1.55; quotes: none; }
.dmm-lyrics__text p { margin: 0 0 1em; }
.dmm-lyrics__text p:last-child { margin-bottom: 0; }
.dmm-lyrics__credit { margin-top: .9em; font-size: .85em; font-style: normal; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.dmm-lyrics__credit::before { content: "\2014\00a0"; }
.dmm-lyrics[data-align="center"] { text-align: center; }
.dmm-lyrics[data-align="left"] { text-align: left; }
.dmm-lyrics[data-align="right"] { text-align: right; }

/* Below the header: a quiet pull-quote band */
.dmm-lyrics--below { position: relative; margin: 22px auto 4px; max-width: 760px; padding: 26px 30px 24px; border-radius: var(--dmm-radius-lg); background: var(--dmm-surface); border: 1px solid var(--dmm-line); }
.dmm-lyrics--below::before { content: "\201C"; position: absolute; top: -.05em; left: 18px; font-size: 5em; line-height: 1; color: var(--dmm-accent); opacity: .55; font-style: normal; pointer-events: none; }
.dmm-lyrics--below[data-align="right"]::before { left: auto; right: 18px; }
.dmm-lyrics--below[data-align="center"]::before { left: 50%; transform: translateX(-50%); top: -.18em; }
.dmm-lyrics--below[data-align="center"] .dmm-lyrics__text { padding-top: .5em; }
.dmm-lyrics--below .dmm-lyrics__credit { color: var(--dmm-accent); opacity: 1; }

/* Over the header: sits in the header's top band */
.dmm .dmm-hero .dmm-hero__cover.dmm-hero__cover--lyrics { display: block; position: relative; height: auto; padding: 34px 34px 6px; background-color: transparent; color: #fff; }
.dmm .dmm-hero__cover--lyrics .dmm-lyrics { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.dmm .dmm-hero__cover--lyrics .dmm-lyrics[data-align="left"] { margin-left: 0; }
.dmm .dmm-hero__cover--lyrics .dmm-lyrics[data-align="right"] { margin-right: 0; }
.dmm .dmm-hero__cover--lyrics .dmm-lyrics__text { font-size: clamp(1.05em, 2.1vw, 1.55em); }
/* Header styles where the cover is its own band: the lyrics live inside it, over the picture */
.dmm[data-dmm-hero="cover"] .dmm-hero .dmm-hero__cover--lyrics,
.dmm[data-dmm-hero="minimal"] .dmm-hero .dmm-hero__cover--lyrics,
.dmm[data-dmm-hero="editorial"] .dmm-hero .dmm-hero__cover--lyrics {
	min-height: clamp(190px, 30vw, 320px); display: flex; align-items: center; padding: 34px 34px 96px; border-radius: var(--dmm-radius-lg);
	background: var(--dmm-hero-bg); overflow: hidden;
}
.dmm[data-dmm-hero="minimal"] .dmm-hero .dmm-hero__cover--lyrics { padding-bottom: 40px; }
.dmm[data-dmm-hero="editorial"] .dmm-hero .dmm-hero__cover--lyrics { padding-bottom: 40px; }
.dmm[data-dmm-hero="cover"] .dmm-hero.has-cover .dmm-hero__cover--lyrics,
.dmm[data-dmm-hero="minimal"] .dmm-hero.has-cover .dmm-hero__cover--lyrics,
.dmm[data-dmm-hero="editorial"] .dmm-hero.has-cover .dmm-hero__cover--lyrics { background-image: var(--dmm-cover); background-size: cover; background-position: center; }
.dmm[data-dmm-hero="cover"] .dmm-hero__cover--lyrics::before,
.dmm[data-dmm-hero="minimal"] .dmm-hero__cover--lyrics::before,
.dmm[data-dmm-hero="editorial"] .dmm-hero__cover--lyrics::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 10, 25, .45), rgba(5, 10, 25, .7)); }
.dmm[data-dmm-hero="cover"] .dmm-hero__cover--lyrics .dmm-lyrics,
.dmm[data-dmm-hero="minimal"] .dmm-hero__cover--lyrics .dmm-lyrics,
.dmm[data-dmm-hero="editorial"] .dmm-hero__cover--lyrics .dmm-lyrics { width: 100%; }
/* Banner / centered: the lyrics sit on the header's own background */
.dmm[data-dmm-hero="banner"] .dmm-hero:not(.has-cover) .dmm-hero__cover--lyrics,
.dmm[data-dmm-hero="centered"] .dmm-hero:not(.has-cover) .dmm-hero__cover--lyrics { color: inherit; }
.dmm[data-dmm-hero="banner"] .dmm-hero:not(.has-cover) .dmm-lyrics, .dmm[data-dmm-hero="centered"] .dmm-hero:not(.has-cover) .dmm-lyrics { text-shadow: none; }
.dmm[data-dmm-hero="banner"] .dmm-hero.has-lyrics .dmm-hero__inner, .dmm[data-dmm-hero="centered"] .dmm-hero.has-lyrics .dmm-hero__inner { padding-top: 22px; }
.dmm[data-dmm-hero="banner"] .dmm-hero.has-lyrics .dmm-lyrics--over::after, .dmm[data-dmm-hero="centered"] .dmm-hero.has-lyrics .dmm-lyrics--over::after {
	content: ""; display: block; width: 64px; height: 2px; margin: 22px auto 0; background: currentColor; opacity: .35;
}
.dmm .dmm-hero.has-lyrics .dmm-lyrics--over[data-align="left"]::after { margin-left: 0; }
.dmm .dmm-hero.has-lyrics .dmm-lyrics--over[data-align="right"]::after { margin-right: 0; }
@media (max-width: 720px) {
	.dmm .dmm-hero .dmm-hero__cover.dmm-hero__cover--lyrics { padding: 26px 20px 4px; }
	.dmm[data-dmm-hero="cover"] .dmm-hero .dmm-hero__cover--lyrics { padding: 26px 20px 84px; }
	.dmm-lyrics--below { padding: 24px 20px 20px; }
}

/* ---------- Soundtrack ---------- */
.dmm-music__intro { margin-bottom: 18px; }
.dmm-music__privacy { margin: 14px 0 0; font-size: .82em; opacity: .7; }
.dmm-songs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dmm-song { padding: 16px 18px; border-radius: var(--dmm-radius); background: var(--dmm-surface); border: 1px solid var(--dmm-line); }
.dmm-song__head { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.dmm-song__ico, .dmm-player__art { flex: none; width: 44px; height: 44px; border-radius: calc(var(--dmm-radius) * .7); display: inline-flex; align-items: center; justify-content: center; background: var(--dmm-accent); color: var(--dmm-on-accent); }
.dmm-song__text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.dmm-song__title { font-size: 1.05em; overflow-wrap: anywhere; }
.dmm-song__artist { opacity: .75; font-size: .92em; }
.dmm-song__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.dmm-song__acts .dmm-btn { display: inline-flex; align-items: center; gap: 7px; }
.dmm-song__acts .dmm-ico { width: 16px; height: 16px; }
.dmm-song__note { margin: 10px 0 0; opacity: .85; font-size: .95em; }
.dmm-song__embed { margin-top: 14px; border-radius: var(--dmm-radius); overflow: hidden; background: #000; }
.dmm-song__embed iframe { display: block; width: 100%; border: 0; aspect-ratio: 16 / 9; }
.dmm-song__embed.is-fixed iframe { aspect-ratio: auto; }
.dmm-song__audio { display: block; width: 100%; margin-top: 12px; }

.dmm-player { border-radius: var(--dmm-radius-lg); background: var(--dmm-surface); border: 1px solid var(--dmm-line); overflow: hidden; }
.dmm-player__ui { padding: 18px 20px 14px; background: var(--dmm-surface-2); border-bottom: 1px solid var(--dmm-line); }
.dmm-player__ui[hidden] { display: none; }
.dmm-player__now { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dmm-player__art { width: 56px; height: 56px; }
.dmm-player__art .dmm-ico { width: 26px; height: 26px; }
.dmm-player.is-playing .dmm-player__art { animation: dmm-pulse 1.8s ease-in-out infinite; }
@keyframes dmm-pulse { 50% { transform: scale(1.06); } }
.dmm-player__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.dmm-player__title { font-size: 1.1em; overflow-wrap: anywhere; }
.dmm-player__artist { opacity: .75; font-size: .92em; }
.dmm-player__seekrow { display: flex; align-items: center; gap: 10px; }
.dmm-player__time { font-variant-numeric: tabular-nums; font-size: .82em; opacity: .8; min-width: 2.6em; text-align: center; }
.dmm-player input[type="range"] { appearance: none; -webkit-appearance: none; height: 6px; margin: 0; padding: 0; border: 0; border-radius: 99px; cursor: pointer; background: linear-gradient(to right, var(--dmm-accent) var(--dmm-fill, 0%), var(--dmm-line) var(--dmm-fill, 0%)); }
.dmm-player__seek { flex: 1; min-width: 0; }
.dmm-player input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--dmm-accent); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.dmm-player input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--dmm-accent); border: 2px solid #fff; }
.dmm-player input[type="range"]:focus-visible { outline: 2px solid var(--dmm-accent); outline-offset: 4px; }
.dmm-player__btns { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.dmm .dmm-pbtn { appearance: none; margin: 0; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--dmm-line); background: var(--dmm-surface-2); color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.dmm .dmm-pbtn:hover { border-color: var(--dmm-accent); transform: translateY(-1px); }
.dmm .dmm-pbtn:focus-visible { outline: 2px solid var(--dmm-accent); outline-offset: 2px; }
.dmm .dmm-pbtn--main { width: 54px; height: 54px; background: var(--dmm-accent); border-color: var(--dmm-accent); color: var(--dmm-on-accent); }
.dmm-player__vol { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; }
.dmm-player__volume { width: 90px; }
.dmm-tracks { list-style: none; margin: 0; padding: 6px; }
.dmm-tracks__item { margin: 0; }
.dmm .dmm-track { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: calc(var(--dmm-radius) * .7); color: inherit; text-decoration: none; transition: background .15s; }
.dmm .dmm-track:hover { background: var(--dmm-surface-2); }
.dmm .dmm-track:focus-visible { outline: 2px solid var(--dmm-accent); outline-offset: -2px; }
.dmm-track__n { flex: none; width: 1.8em; text-align: center; font-variant-numeric: tabular-nums; opacity: .6; }
.dmm-track__main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.dmm-track__title { font-weight: 600; overflow-wrap: anywhere; }
.dmm-track__artist { opacity: .72; font-size: .9em; }
.dmm-track__len { flex: none; font-variant-numeric: tabular-nums; opacity: .7; font-size: .88em; }
.dmm .dmm-track.is-current { background: var(--dmm-surface-2); box-shadow: inset 3px 0 0 var(--dmm-accent); }
.dmm .dmm-track.is-current .dmm-track__n { color: var(--dmm-accent); opacity: 1; font-weight: 700; }
@media (max-width: 560px) { .dmm-player__vol { display: none; } .dmm-song__acts { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .dmm-player.is-playing .dmm-player__art { animation: none; } }

/* ---------- Relationship lyrics & music (inside a ship's mini bio) ---------- */
.dmm-lyrics--ship {
	position: relative; margin: 26px 0 8px; padding: clamp(34px, 6vw, 64px) clamp(22px, 5vw, 56px); border-radius: var(--dmm-radius-lg); text-align: center; overflow: hidden;
	background: var(--dmm-hero-bg); border: 1px solid var(--dmm-line);
}
.dmm-lyrics--ship::before, .dmm-lyrics--ship::after { position: absolute; font-family: Georgia, "Times New Roman", serif; font-size: clamp(5em, 14vw, 9em); line-height: 1; color: var(--dmm-accent); opacity: .22; pointer-events: none; }
.dmm-lyrics--ship::before { content: "\201C"; top: -.12em; left: .08em; }
.dmm-lyrics--ship::after { content: "\201D"; bottom: -.5em; right: .08em; }
.dmm-lyrics--ship .dmm-lyrics__text { position: relative; z-index: 1; font-family: var(--dmm-font-head, Georgia, serif); font-size: clamp(1.5em, 4.2vw, 2.6em); line-height: 1.35; letter-spacing: .005em; }
.dmm-lyrics--ship .dmm-lyrics__credit { position: relative; z-index: 1; margin-top: 1.4em; font-size: .8em; color: var(--dmm-accent); opacity: 1; font-weight: 700; }
.dmm-shipmusic { margin-top: 24px; }
.dmm-shipmusic__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--dmm-label-font, inherit); font-size: .85em; text-transform: uppercase; letter-spacing: .14em; color: var(--dmm-accent); }
.dmm-shipmusic__title .dmm-ico { width: 18px; height: 18px; }

/* ---------- Boards (Pinterest-style) ---------- */
.dmm-board { column-count: 3; column-gap: 14px; }
.dmm-pin { break-inside: avoid; margin: 0 0 14px; border-radius: var(--dmm-radius); overflow: hidden; background: var(--dmm-surface); border: 1px solid var(--dmm-line); box-shadow: var(--dmm-shadow-soft); transition: transform .2s, box-shadow .2s; }
.dmm-pin:hover, .dmm-pin:focus-within { transform: translateY(-3px); box-shadow: var(--dmm-shadow); }
.dmm-pin__img { display: block; line-height: 0; }
.dmm-pin__img img { width: 100%; height: auto; display: block; }
.dmm .dmm-pin__img:focus-visible { outline: 3px solid var(--dmm-accent); outline-offset: -3px; }
.dmm-pin__cap { padding: 9px 12px 10px; font-size: .88em; line-height: 1.4; }
.dmm-pin__link { display: inline-flex; vertical-align: middle; margin-left: 4px; color: var(--dmm-accent); }
.dmm-pin__link .dmm-ico { width: 14px; height: 14px; }
@media (max-width: 900px) { .dmm-board { column-count: 2; } }
@media (max-width: 480px) { .dmm-board { column-gap: 10px; } .dmm-pin { margin-bottom: 10px; } }

/* ---------- Boards: same-size options ---------- */
.dmm-board { column-count: var(--dmm-bcols, 3); }
.dmm-board--square, .dmm-board--portrait, .dmm-board--landscape { column-count: auto; display: grid; grid-template-columns: repeat(var(--dmm-bcols, 3), minmax(0, 1fr)); gap: 14px; }
.dmm-board--square .dmm-pin, .dmm-board--portrait .dmm-pin, .dmm-board--landscape .dmm-pin { margin: 0; display: flex; flex-direction: column; }
.dmm-board--square .dmm-pin__img img, .dmm-board--portrait .dmm-pin__img img, .dmm-board--landscape .dmm-pin__img img { height: auto; object-fit: cover; }
.dmm-board--square .dmm-pin__img img { aspect-ratio: 1; }
.dmm-board--portrait .dmm-pin__img img { aspect-ratio: 4 / 5; }
.dmm-board--landscape .dmm-pin__img img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .dmm-board { --dmm-bcols: 2 !important; } }
@media (max-width: 480px) { .dmm-board--square, .dmm-board--portrait, .dmm-board--landscape { gap: 10px; } }

/* ---------- Social tabs ---------- */
.dmm-social { --dmm-soc: var(--dmm-accent); max-width: 760px; }
.dmm-social--instagram { --dmm-soc: #e1306c; } .dmm-social--tiktok { --dmm-soc: #fe2c55; } .dmm-social--x { --dmm-soc: #1d9bf0; } .dmm-social--threads { --dmm-soc: #8e8e93; }
.dmm-social--bluesky { --dmm-soc: #1185fe; } .dmm-social--facebook { --dmm-soc: #1877f2; } .dmm-social--tumblr { --dmm-soc: #3b82c4; } .dmm-social--reddit { --dmm-soc: #ff4500; }
.dmm-social__head { padding: 0 0 18px; }
.dmm-social__banner { height: clamp(110px, 20vw, 190px); border-radius: var(--dmm-radius) var(--dmm-radius) 0 0; background: var(--dmm-hero-bg) center / cover; }
.dmm-social__who { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.dmm-social--feed .dmm-social__who { margin-top: -38px; padding: 0 16px; }
.dmm-social__avatar { flex: none; width: 84px; height: 84px; border-radius: var(--dmm-round, 50%); overflow: hidden; background: var(--dmm-surface-2); border: 3px solid var(--dmm-bg, var(--dmm-surface)); display: inline-flex; box-shadow: 0 0 0 2px var(--dmm-soc); }
.dmm-social__avatar img, .dmm-social__avatar .dmm-initial { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmm-social__avatar--sm { width: 44px; height: 44px; border-width: 2px; box-shadow: none; }
.dmm-social__id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dmm-social__name { font-size: 1.25em; overflow-wrap: anywhere; }
.dmm-social__handle { opacity: .7; font-size: .92em; }
.dmm-social__bio { margin: 12px 0 0; }
.dmm-social--feed .dmm-social__bio, .dmm-social--feed .dmm-social__counts { padding: 0 16px; }
.dmm-social__counts { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 12px 0 0; padding: 0; font-size: .92em; }
.dmm-social__counts strong { margin-right: .25em; }
.dmm-tag { color: var(--dmm-soc); }

.dmm-igrid { list-style: none; margin: 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-top: 1px solid var(--dmm-line); }
.dmm-igrid li { margin: 0; }
.dmm .dmm-igtile { appearance: none; position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; margin: 0; border: 0; border-radius: 2px; overflow: hidden; cursor: pointer; background: var(--dmm-surface-2); color: #fff; }
.dmm-social--tiktok .dmm-igtile { aspect-ratio: 9 / 14; }
.dmm-igtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.dmm-igtile:hover img, .dmm-igtile:focus-visible img { transform: scale(1.05); }
.dmm .dmm-igtile:focus-visible { outline: 3px solid var(--dmm-soc); outline-offset: 2px; }
.dmm-igtile__text { display: block; padding: 12px; font-size: .85em; text-align: left; color: var(--dmm-ink, inherit); }
.dmm-igtile__multi { position: absolute; top: 8px; right: 8px; line-height: 0; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.dmm-igtile__stat { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: .85em; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.dmm-igtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .45)); pointer-events: none; }
.dmm-igtile__multi, .dmm-igtile__stat { z-index: 1; }
.dmm-modal__box--post { width: min(980px, 100%); padding: 0; overflow: hidden; }
.dmm-igpost { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); max-height: min(86vh, 760px); }
.dmm-igpost__media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: #000; align-items: center; }
.dmm-igpost__media img { flex: 0 0 100%; width: 100%; max-height: 86vh; object-fit: contain; scroll-snap-align: center; }
.dmm-igpost__textonly { margin: 0; padding: 28px; color: #fff; flex: 0 0 100%; }
.dmm-igpost__side { padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.dmm-igpost__who { display: flex; align-items: center; gap: 10px; padding-right: 40px; }
.dmm-igpost__cap { margin: 0; }
.dmm-igpost__foot { margin-top: auto; border-top: 1px solid var(--dmm-line); padding-top: 10px; display: grid; gap: 6px; }
.dmm-igpost__date { font-size: .8em; opacity: .65; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 720px) { .dmm-igpost { grid-template-columns: 1fr; max-height: none; } .dmm-igpost__media img { max-height: 60vh; } }

.dmm-feed { border-top: 1px solid var(--dmm-line); }
.dmm-post { display: flex; gap: 12px; padding: 16px; border-bottom: 1px solid var(--dmm-line); }
.dmm-post__main { flex: 1; min-width: 0; }
.dmm-post__meta { line-height: 1.3; }
.dmm-post__date { opacity: .65; font-size: .9em; }
.dmm-post__text { margin: 4px 0 8px; overflow-wrap: anywhere; }
.dmm-post__media { display: grid; gap: 4px; border-radius: var(--dmm-radius); overflow: hidden; margin: 6px 0 8px; border: 1px solid var(--dmm-line); }
.dmm-post__media--2, .dmm-post__media--3, .dmm-post__media--4 { grid-template-columns: 1fr 1fr; }
.dmm-post__media a { display: block; line-height: 0; }
.dmm-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmm-post__media--1 img { max-height: 520px; }
.dmm-post__media--2 img, .dmm-post__media--3 img, .dmm-post__media--4 img { aspect-ratio: 1; }
.dmm-post__media--3 a:first-child { grid-row: span 2; } .dmm-post__media--3 a:first-child img { height: 100%; aspect-ratio: auto; }
.dmm-actions { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 4px 0 0; padding: 0; font-size: .88em; opacity: .8; }
.dmm-actions li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.dmm-replies { list-style: none; margin: 10px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--dmm-line); display: grid; gap: 6px; font-size: .92em; }
.dmm-reply strong { margin-right: .2em; }
.dmm-social--reddit .dmm-post { background: var(--dmm-surface); }
.dmm-social--tumblr .dmm-post { background: var(--dmm-surface); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); margin: 14px 0; }
.dmm-social--facebook .dmm-post { background: var(--dmm-surface); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); margin: 14px 0; }
.dmm-social--feed .dmm-social__who { align-items: flex-start; }
.dmm-social--feed .dmm-social__id { padding-top: 42px; }

/* ---------- Social: verse label, shared feeds, chat looks ---------- */
.dmm-social__verse { display: inline-block; margin: 10px 0 0; padding: 2px 12px; border-radius: var(--dmm-pill, 999px); border: 1px solid var(--dmm-soc); color: var(--dmm-soc); font-size: .82em; font-weight: 600; }
.dmm-social--feed .dmm-social__verse { margin-left: 16px; }
.dmm-socialhub { max-width: 820px; }
.dmm-socialhub__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.dmm-socialhub .dmm-social--hub { max-width: none; }
.dmm-post__meta a { color: inherit; text-decoration: none; }
.dmm-post__meta a:hover { text-decoration: underline; }
.dmm-social--hub .dmm-feed { border-top: 1px solid var(--dmm-line); }

.dmm-social--chat { max-width: 560px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius-lg); overflow: hidden; background: var(--dmm-surface); }
.dmm-chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--dmm-line); background: var(--dmm-surface-2); }
.dmm-chat__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dmm-chat__who small { opacity: .65; }
.dmm-chat__snapstats { margin-left: auto; font-size: .8em; opacity: .85; white-space: nowrap; }
.dmm-chat__note { margin: 0; padding: 10px 16px 0; font-size: .85em; opacity: .7; text-align: center; }
.dmm-chat { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.dmm-msg { display: flex; flex-direction: column; max-width: 78%; }
.dmm-msg--me { align-self: flex-end; align-items: flex-end; }
.dmm-msg--them { align-self: flex-start; align-items: flex-start; }
.dmm-msg__bubble { padding: 9px 14px; border-radius: 20px; line-height: 1.4; overflow-wrap: anywhere; display: grid; gap: 6px; }
.dmm-msg--me .dmm-msg__bubble { background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.dmm-msg--them .dmm-msg__bubble { background: var(--dmm-surface-2); border: 1px solid var(--dmm-line); border-bottom-left-radius: 6px; }
.dmm-msg--me .dmm-tag { color: #fff; text-decoration: underline; }
.dmm-msg__img { display: block; line-height: 0; border-radius: 14px; overflow: hidden; }
.dmm-msg__img img { width: 100%; max-width: 320px; height: auto; display: block; }
.dmm-msg__who { font-size: .72em; opacity: .65; margin: 6px 6px 2px; }
.dmm-msg__time { font-size: .7em; opacity: .55; margin: 2px 8px 6px; }
.dmm-social--snapchat .dmm-chat__head { background: #fffc00; color: #111; border-bottom-color: #111; }
.dmm-social--snapchat .dmm-chat__head .dmm-social__avatar { border-color: #111; box-shadow: none; }
.dmm-social--snapchat .dmm-chat { gap: 2px; padding: 16px 16px 20px; }
.dmm-social--snapchat .dmm-msg { max-width: 100%; align-self: stretch; align-items: stretch; border-left: 3px solid #f23c57; padding: 2px 0 2px 12px; margin: 8px 0 0; }
.dmm-social--snapchat .dmm-msg--them { border-left-color: #0eadff; }
.dmm-social--snapchat .dmm-msg__who { margin: 0; font-size: .7em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: 1; color: #f23c57; }
.dmm-social--snapchat .dmm-msg--them .dmm-msg__who { color: #0eadff; }
.dmm-social--snapchat .dmm-msg__bubble, .dmm-social--snapchat .dmm-msg--me .dmm-msg__bubble, .dmm-social--snapchat .dmm-msg--them .dmm-msg__bubble { background: none; color: inherit; border: 0; padding: 0; border-radius: 0; }
.dmm-social--snapchat .dmm-msg__img { border-radius: 14px; max-width: 280px; }
.dmm-social--snapchat .dmm-msg__time { margin: 2px 0 0; font-style: italic; }
@media (max-width: 480px) { .dmm-msg { max-width: 88%; } }

/* ---------- Verse networks: each can look completely different ---------- */
.dmm-social[data-mode="dark"], .dmm-social[data-mode="light"] { padding: 18px; border-radius: var(--dmm-radius-lg); border: 1px solid var(--dmm-line); }
.dmm-social[data-mode="dark"] { --dmm-bg: #000; --dmm-surface: #15181c; --dmm-surface-2: #1f2328; --dmm-line: #2f3336; --dmm-ink: #e7e9ea; background: #050608; color: #e7e9ea; }
.dmm-social[data-mode="light"] { --dmm-bg: #fff; --dmm-surface: #f7f9f9; --dmm-surface-2: #eff3f4; --dmm-line: #cfd9de; --dmm-ink: #0f1419; background: #fff; color: #0f1419; }
.dmm-social[data-mode="dark"] a, .dmm-social[data-mode="light"] a { color: inherit; }
.dmm-social[data-font="serif"] { font-family: Georgia, "Times New Roman", serif; }
.dmm-social[data-font="mono"] { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95em; }
.dmm-social[data-font="rounded"] { font-family: ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Nunito, system-ui, sans-serif; }
.dmm-social[data-shape="square"] .dmm-social__avatar { border-radius: 0; }
.dmm-social[data-shape="soft"] .dmm-social__avatar { border-radius: 16px; }
.dmm-social[data-boxed="1"] .dmm-post { border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); margin: 12px 0; background: var(--dmm-surface); }
.dmm-social[data-boxed="1"] .dmm-feed { border-top: 0; }
.dmm-social__brand { margin: 0 0 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05em; color: var(--dmm-soc); }
.dmm-social--custom .dmm-actions li:hover { color: var(--dmm-soc); }

/* ---------- Verse switcher and verse-page social ---------- */
.dmm-vswitch { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.dmm-vswitch__label { font-family: var(--dmm-label-font, inherit); font-size: .8em; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.dmm .dmm-vswitch select { min-width: 200px; }
.dmm-vbar { margin: 0 0 14px; }
.dmm-vbar .dmm-vswitch { margin-bottom: 6px; }
.dmm-vbar__note { margin: 0; font-size: .9em; opacity: .8; }
.dmm-vsocial { margin-top: 36px; }
.dmm-vsocial__net { margin: 0 0 28px; max-width: none; }
.dmm-vsocial__title { margin: 0 0 4px; color: var(--dmm-soc); }
.dmm-vsocial__blurb { margin: 0 0 10px; opacity: .8; }
.dmm-vsocial__accounts { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0 0 14px; padding: 0; }
.dmm-vsocial__accounts a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-pill, 999px); text-decoration: none; color: inherit; background: var(--dmm-surface); }
.dmm-vsocial__accounts a:hover { border-color: var(--dmm-soc); }
.dmm-vsocial__accounts span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.dmm-vsocial__accounts small { opacity: .7; }
.dmm-vsocial__more { margin: 14px 0 0; }

/* ---------- Interactive social: compose, follow, edit ---------- */
.dmm-social__login { margin: 0 0 14px; font-size: .9em; opacity: .8; }
.dmm-social__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.dmm-social--feed .dmm-social__bar { padding: 0 16px; }
.dmm-social__as { font-size: .85em; opacity: .7; }
.dmm .dmm-btn.is-on { border-color: var(--dmm-soc); }
.dmm-compose, .dmm-profedit { display: grid; gap: 10px; padding: 14px; margin: 0 0 16px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); background: var(--dmm-surface); }
.dmm-profedit { flex-basis: 100%; }
.dmm-profedit[hidden] { display: none; }
.dmm-compose textarea, .dmm-profedit textarea, .dmm-profedit input[type="text"] { width: 100%; box-sizing: border-box; }
.dmm-compose__as { margin: 0; font-size: .9em; }
.dmm-compose__as span { opacity: .65; }
.dmm-compose__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.dmm-compose__file { font-size: .88em; cursor: pointer; }
.dmm-compose__msg { margin: 0; font-size: .85em; min-height: 1.2em; opacity: .85; }
.dmm-compose__msg.is-bad { color: #c0392b; opacity: 1; }
.dmm-profedit label { display: grid; gap: 4px; font-size: .88em; font-weight: 600; }
.dmm-post__del { appearance: none; border: 0; background: none; color: inherit; opacity: .45; cursor: pointer; font-size: 1.1em; line-height: 1; padding: 0 4px; margin-left: auto; float: right; }
.dmm-post__del:hover, .dmm-post__del:focus-visible { opacity: 1; color: #c0392b; }
.dmm-igpost__acts { display: block; text-align: right; }

/* ---------- Likes, reposts, comments ---------- */
.dmm-actions--live { gap: 4px 14px; opacity: 1; }
.dmm-act { appearance: none; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 8px; border: 0; border-radius: var(--dmm-pill, 999px); background: none; color: inherit; font: inherit; cursor: pointer; opacity: .8; transition: background .15s, color .15s, opacity .15s; }
.dmm-act:hover:not(:disabled), .dmm-act:focus-visible { background: var(--dmm-surface-2); opacity: 1; }
.dmm-act:disabled { opacity: .4; cursor: default; }
.dmm-act.is-on { color: var(--dmm-soc); opacity: 1; }
.dmm-act.is-on .dmm-ico path { fill: currentColor; fill-opacity: .25; }
.dmm-linkbtn { appearance: none; border: 0; background: none; padding: 0; margin: 0; font: inherit; font-size: .85em; color: inherit; opacity: .6; text-decoration: underline; cursor: pointer; }
.dmm-linkbtn:hover, .dmm-linkbtn:focus-visible { opacity: 1; }
.dmm-post__repost { display: flex; align-items: center; gap: 6px; font-size: .82em; opacity: .7; margin-bottom: 2px; }
.dmm-post__repost .dmm-ico { width: 14px; height: 14px; }
.dmm-thread { margin: 8px 0 0; padding: 10px 0 0; border-top: 1px solid var(--dmm-line); }
.dmm-thread[hidden] { display: none; }
.dmm-comments { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.dmm-comment { display: flex; gap: 10px; margin: 0; }
.dmm-comment__main { min-width: 0; flex: 1; }
.dmm-comment__meta { font-size: .88em; line-height: 1.3; }
.dmm-comment__text { overflow-wrap: anywhere; }
.dmm-reply-form { display: grid; gap: 6px; }
.dmm-reply-form textarea { width: 100%; box-sizing: border-box; }

/* ---------- Account switcher ---------- */
.dmm-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.dmm-switch__label { font-family: var(--dmm-label-font, inherit); font-size: .75em; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.dmm .dmm-switch__btn { appearance: none; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 5px 12px 5px 6px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-pill, 999px); background: var(--dmm-surface); color: inherit; font: inherit; cursor: pointer; }
.dmm .dmm-switch__btn.is-static { cursor: default; }
.dmm .dmm-switch__btn:not(.is-static):hover, .dmm .dmm-switch__btn:focus-visible { border-color: var(--dmm-soc, var(--dmm-accent)); }
.dmm-switch__who { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.dmm-switch__who small { opacity: .65; }
.dmm-switch__caret { opacity: .6; }
.dmm-switch__menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 260px; margin: 0; padding: 6px; list-style: none; background: var(--dmm-bg, var(--dmm-surface)); color: var(--dmm-ink, inherit); border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); box-shadow: 0 12px 34px rgba(0, 0, 0, .35); }
.dmm-switch__menu[hidden] { display: none; }
.dmm-switch__menu li { margin: 0; }
.dmm .dmm-switch__menu button { appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 8px 10px; border: 0; border-radius: calc(var(--dmm-radius) * .6); background: none; color: inherit; font: inherit; cursor: pointer; }
.dmm .dmm-switch__menu button:hover, .dmm .dmm-switch__menu button:focus-visible { background: var(--dmm-surface-2); }
.dmm-switch__menu li[aria-selected="true"] button { box-shadow: inset 3px 0 0 var(--dmm-soc, var(--dmm-accent)); }
.dmm-switch__menu em { margin-left: auto; font-size: .78em; opacity: .7; font-style: normal; border: 1px solid var(--dmm-line); border-radius: 999px; padding: 0 8px; }
.dmm-act-static { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; opacity: .8; }
.dmm-social__bar .dmm-switch { margin: 0; }

/* ---------- Conversations between muses ---------- */
.dmm-convos { margin-top: 18px; }
.dmm-convos__title { margin: 0 0 10px; font-size: 1em; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.dmm-convos__start { margin-bottom: 14px; }
.dmm-convo { border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); margin: 0 0 10px; overflow: hidden; background: var(--dmm-surface); }
.dmm-convo > summary { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; list-style: none; }
.dmm-convo > summary::-webkit-details-marker { display: none; }
.dmm-convo > summary:hover { background: var(--dmm-surface-2); }
.dmm-convo__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.dmm-convo__who small { opacity: .65; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmm-convo__n { font-size: .8em; padding: 1px 9px; border-radius: 999px; background: var(--dmm-surface-2); }
.dmm-chat--live { max-height: 420px; overflow-y: auto; border-top: 1px solid var(--dmm-line); }
.dmm-msgform { display: grid; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--dmm-line); }
.dmm-msgform--new { border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); margin-bottom: 12px; background: var(--dmm-surface); }
.dmm-msgform textarea { width: 100%; box-sizing: border-box; }
.dmm-msgform label { font-size: .88em; font-weight: 600; display: grid; gap: 4px; }
.dmm-msg__time .dmm-linkbtn { margin-left: 6px; }

/* ---------- Relationship pages ---------- */
.dmm-rel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding: 28px; }
.dmm-rel__faces { display: inline-flex; align-items: center; gap: 0; }
.dmm-rel__face { display: block; width: 120px; height: 120px; border-radius: var(--dmm-round, 50%); overflow: hidden; border: 4px solid var(--dmm-bg, #fff); box-shadow: var(--dmm-shadow); background: var(--dmm-surface-2); }
.dmm-rel__face + .dmm-rel__amp + .dmm-rel__face { margin-left: -4px; }
.dmm-rel__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmm-rel__amp { margin: 0 -14px; z-index: 1; font-size: 1.8em; font-weight: 800; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.dmm-rel__text { flex: 1 1 260px; min-width: 0; }
.dmm-rel__body { margin-top: 24px; max-width: 860px; }
.dmm-rel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dmm-rel__item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 16px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); background: var(--dmm-surface); }
.dmm-rel__item .dmm-rel__face { width: 56px; height: 56px; border-width: 2px; }
.dmm-rel__item .dmm-rel__amp { font-size: 1em; margin: 0 -8px; }
.dmm-rel__title { color: inherit; text-decoration: none; font-size: 1.1em; }
.dmm-rel__title:hover { text-decoration: underline; }
.dmm-rel__meta { opacity: .7; font-size: .9em; }
.dmm-rel-note { margin: 0 0 12px; }
@media (max-width: 560px) { .dmm-rel__face { width: 84px; height: 84px; } .dmm-rel__head { padding: 20px; } }

/* ---------- Mood boards ---------- */
.dmm-mood { position: relative; container-type: inline-size; width: 100%; height: calc(var(--ch, 75) * 1cqw); border-radius: var(--dmm-radius-lg); overflow: hidden; box-shadow: var(--dmm-shadow); }
@supports not (width: 1cqw) { .dmm-mood { height: 0; padding-bottom: calc(var(--ch, 75) * 1%); } }
.dmm-mi { position: absolute; box-sizing: border-box; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw); transform: rotate(var(--r, 0deg)); display: flex; align-items: center; justify-content: center; line-height: 1.15; }
.dmm-mi--img { display: block; transition: transform .25s, box-shadow .25s; }
.dmm-mi--img:hover, .dmm-mi--img:focus-visible { transform: rotate(var(--r, 0deg)) scale(1.04); z-index: 99 !important; }
.dmm .dmm-mi--img:focus-visible { outline: 3px solid var(--dmm-accent); outline-offset: 3px; }
.dmm-mi img { width: 100%; height: 100%; display: block; }
.dmm-mi--col span { font-size: clamp(9px, 1.4cqw, 14px); font-weight: 700; padding: .4em; text-align: center; letter-spacing: .04em; }
.dmm-mi--txt { font-size: calc(var(--fs, 4) * 1cqw); overflow: visible; white-space: pre-wrap; overflow-wrap: anywhere; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.dmm-mi--st-serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.dmm-mi--st-script { font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive; }
.dmm-mi--st-caps { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.dmm-mi--st-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.dmm-mi--fr-polaroid { background: #fff; padding: calc(var(--w) * .04cqw) calc(var(--w) * .04cqw) calc(var(--w) * .16cqw); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.dmm-mi--fr-polaroid img { height: 100%; }
.dmm-mi--fr-round { border-radius: 50%; overflow: hidden; }
.dmm-mi--fr-shadow { box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.dmm-mi--fr-tape { box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.dmm-mi--fr-tape::before { content: ""; position: absolute; top: -2.2cqw; left: 50%; width: 9cqw; height: 3.4cqw; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 244, 200, .8); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); z-index: 2; }

/* Group relationships */
.dmm-rel__faces { flex-wrap: wrap; }
.dmm-rel__faces--group .dmm-rel__face { margin-left: -14px; }
.dmm-rel__faces--group .dmm-rel__face:first-child { margin-left: 0; }
.dmm-rel__writers { margin: 6px 0 10px; font-size: .88em; opacity: .75; }

/* ---------- Relationship timeline ---------- */
.dmm-timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 22px; }
.dmm-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--dmm-line); }
.dmm-timeline__item { position: relative; margin: 0; }
.dmm-timeline__dot { position: absolute; left: -26px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--dmm-accent); box-shadow: 0 0 0 4px var(--dmm-bg, transparent); }
.dmm-timeline__card { padding: 14px 18px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); background: var(--dmm-surface); }
.dmm-timeline__when { display: inline-block; font-family: var(--dmm-label-font, inherit); font-size: .78em; text-transform: uppercase; letter-spacing: .12em; color: var(--dmm-accent); font-weight: 700; margin-bottom: 4px; }
.dmm-timeline__title { margin: 0 0 6px; font-size: 1.15em; }
.dmm-timeline__img { display: block; max-width: 340px; margin: 6px 0 10px; border-radius: calc(var(--dmm-radius) * .7); overflow: hidden; line-height: 0; }
.dmm-timeline__img img { width: 100%; height: auto; }

/* ---------- Notifications ---------- */
.dmm-notes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; max-width: 760px; }
.dmm-note a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); background: var(--dmm-surface); color: inherit; text-decoration: none; }
.dmm-note a:hover, .dmm-note a:focus-visible { border-color: var(--dmm-accent); }
.dmm-note__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.dmm-note.is-new .dmm-note__dot { background: var(--dmm-accent); }
.dmm-note.is-new a { background: var(--dmm-surface-2); }
.dmm-note__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dmm-note__text q { opacity: .8; font-style: italic; }
.dmm-note__time { flex: none; font-size: .82em; opacity: .65; }
.dmm-noteprefs { display: grid; gap: 10px; max-width: 760px; padding: 14px 16px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); }
.dmm-noteprefs label { font-size: .92em; }

/* Ship relationship type and verse tags */
.dmm-ship__tags, .dmm-shipbio__tags { display: flex; flex-wrap: wrap; gap: .3em; margin: .35em 0 0; }
.dmm-ship__tag { font-size: .68em; letter-spacing: .08em; text-transform: uppercase; padding: .15em .6em; border: 1px solid var(--dmm-line, currentColor); color: var(--dmm-muted); }
.dmm-ship__tag--kind { color: var(--dmm-accent); border-color: var(--dmm-accent); }

/* Hub grouped by writer */
.dmm-grid .dmm-group { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .8em; margin: 1.2em 0 .2em; padding-bottom: .5em; border-bottom: 1px solid var(--dmm-line); font-size: 1.25em; }
.dmm-grid .dmm-group:first-child { margin-top: 0; }
.dmm-group__n { font-size: .6em; letter-spacing: .1em; text-transform: uppercase; color: var(--dmm-muted); font-weight: 400; }
.dmm .dmm-view--group button { line-height: 1.2; font-size: .8em; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.dmm-ventry__alias, .dmm-card__alias, .dmm-vcard__alias { margin: .1em 0 .5em; font-style: italic; color: var(--dmm-muted); }
.dmm-ventry__alias span { font-style: normal; font-size: .72em; letter-spacing: .1em; text-transform: uppercase; color: var(--dmm-accent); margin-right: .4em; }
.dmm-vcard__alias { display: block; font-size: .85em; }

.dmm-shipmood { margin-top: 24px; }
.dmm-shipmood__title { margin: 0 0 12px; font-size: .85em; text-transform: uppercase; letter-spacing: .14em; color: var(--dmm-accent); }


/* @mentions and #hashtags */
.dmm-tag { color: var(--dmm-soc, var(--dmm-accent)); }
a.dmm-tag { text-decoration: none; }
a.dmm-tag:hover, a.dmm-tag:focus-visible { text-decoration: underline; }
.dmm-ac { position: fixed; z-index: 100000; margin: 0; padding: 4px; list-style: none; max-height: 280px; overflow: auto; background: var(--dmm-surface, #fff); color: var(--dmm-ink, inherit); border: 1px solid var(--dmm-line, #ccc); border-radius: var(--dmm-radius, 8px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.dmm-ac li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 8px; cursor: pointer; border-radius: calc(var(--dmm-radius, 8px) * .6); }
.dmm-ac li.is-on, .dmm-ac li:hover { background: var(--dmm-surface-2, rgba(127,127,127,.15)); }
.dmm-ac__img { flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--dmm-accent); color: var(--dmm-on-accent, #fff); font-weight: 700; }
.dmm-ac__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm-ac__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.dmm-ac__txt small { opacity: .65; }

.dmm-tsearch { display: flex; gap: 8px; margin: 0 0 16px; }
.dmm-tsearch input[type="search"] { flex: 1; min-width: 0; }
.dmm-trending { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 20px; }
.dmm-trending__label { font-size: .75em; text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin-right: 4px; }
.dmm-tacc { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.dmm-tacc li { margin: 0; }
.dmm-tacc a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); text-decoration: none; color: inherit; background: var(--dmm-surface); }
.dmm-tacc a:hover { border-color: var(--dmm-accent); }
.dmm-tacc__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dmm-tacc__who small { opacity: .65; }
.dmm-post__net { font-size: .72em; padding: 1px 8px; border: 1px solid var(--dmm-line); border-radius: 999px; opacity: .8; }

.dmm-social__empty { padding: 28px 16px; text-align: center; opacity: .7; }

.dmm-hero__writer { margin: .4em 0 0; font-size: .85em; letter-spacing: .06em; opacity: .85; }

/* Verse version of a profile */
.dmm-vtabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.dmm-vtabs__label { font-family: var(--dmm-label-font, inherit); font-size: .75em; text-transform: uppercase; letter-spacing: .14em; opacity: .7; margin-right: 4px; }
.dmm-vtab { display: inline-block; padding: 7px 16px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-pill, 999px); text-decoration: none; color: inherit; font-size: .9em; background: var(--dmm-surface); transition: border-color .15s, background .15s; }
.dmm-vtab:hover, .dmm-vtab:focus-visible { border-color: var(--dmm-accent); }
.dmm-vtab.is-on { background: var(--dmm-accent); border-color: var(--dmm-accent); color: var(--dmm-on-accent, #fff); font-weight: 700; }
.dmm-hero__verse { margin: .2em 0 .4em; font-size: .95em; letter-spacing: .04em; }
.dmm-hero__verse span { font-size: .75em; text-transform: uppercase; letter-spacing: .14em; color: var(--dmm-accent); margin-right: .3em; }
.dmm-hero__verse em { opacity: .85; }
.dmm-stats--verse { border-color: var(--dmm-accent); }

/* Keep social pages inside the page, whatever the theme does around them */
.dmm-socialhub, .dmm-tagpage, .dmm-versespage, .dmm-vsocial { max-width: 100%; box-sizing: border-box; overflow-x: clip; }
.dmm-social { max-width: 100%; min-width: 0; box-sizing: border-box; }
.dmm-social img, .dmm-social video { max-width: 100%; height: auto; }
.dmm-igrid { max-width: 100%; }

/* A social tab on a profile: a card that opens the account on its own page */
.dmm-steaser { max-width: 560px; padding: 20px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius-lg, 12px); background: var(--dmm-surface); }
.dmm-steaser__top { display: flex; align-items: center; gap: 14px; }
.dmm-steaser__id { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.dmm-steaser__id span { opacity: .7; font-size: .9em; }
.dmm-steaser__bio { margin: 12px 0 0; }
.dmm-steaser__counts { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 12px 0 0; padding: 0; font-size: .92em; }
.dmm-steaser__go { margin: 16px 0 0; }

/* ---- Cliques and webrings ---- */
.dmm-cliques__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dmm-clq { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.dmm-clq__img { width: 36px; height: 36px; flex: none; border-radius: var(--dmm-radius, 10px); overflow: hidden; background: var(--dmm-surface-2); display: grid; place-items: center; font-weight: 700; color: var(--dmm-muted, inherit); }
.dmm-clq__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmm-clq__name { font-weight: 600; line-height: 1.25; }
.dmm-clq:hover .dmm-clq__name { color: var(--dmm-accent); }
.dmm-ring { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.dmm-ring__a { font-size: .8rem; padding: 4px 10px; border: 1px solid var(--dmm-line); border-radius: 999px; text-decoration: none; color: inherit; background: var(--dmm-surface); }
.dmm-ring__a:hover, .dmm-ring__a:focus-visible { border-color: var(--dmm-accent); color: var(--dmm-accent); }
.dmm-ring--page { margin-top: 14px; }
.dmm-ring--page .dmm-ring__a { font-size: .9rem; padding: 7px 16px; }
.dmm-card--ext .dmm-card__img { display: grid; place-items: center; background: var(--dmm-surface-2); }
.dmm-card--ext .dmm-card__img img { width: 100%; height: 100%; object-fit: cover; }
.dmm-card--ext .dmm-card__img { position: relative; }
.dmm-card--ext .dmm-ext__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- The story so far ---- */
.dmm-lifestory--inner { margin-top: 20px; }
.dmm-lifestory--inner .dmm-timeline { margin-top: 10px; }

/* ---- Exchanges, webring code, joining ---- */
.dmm-codebox { margin: 0 0 12px; overflow-wrap: anywhere; }
.dmm-codebox:last-child { margin-bottom: 0; }
.dmm-codebox object, .dmm-codebox iframe { max-width: 100%; }
.dmm-cliques__item { text-align: inherit; }
.dmm-cliques .dmm-clq { display: inline-flex; text-align: left; }
.dmm-xwall { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dmm-xwall li { margin: 0; }
.dmm-xwall a { display: block; line-height: 0; text-decoration: none; }
.dmm-xwall img { display: block; border: 0; }
.dmm-xwall__none { display: grid; place-items: center; background: var(--dmm-surface-2); border: 1px solid var(--dmm-line); color: var(--dmm-muted, inherit); font-size: 10px; line-height: 1.1; text-align: center; padding: 2px; box-sizing: border-box; overflow: hidden; }
.dmm-clqrules { margin-bottom: 16px; }
.dmm-clqrules__how { color: var(--dmm-muted, inherit); margin: 6px 0 0; }
.dmm-clqjoin { display: grid; gap: 10px; margin: 0 0 24px; }
.dmm-clqjoin__form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dmm-clqjoin__form select { max-width: 100%; }
.dmm-clqjoin__msg { padding: 10px 14px; border: 1px solid var(--dmm-accent); border-radius: var(--dmm-radius); background: var(--dmm-surface); margin: 0 0 16px; }
.dmm-clqjoin__note { margin: 0; color: var(--dmm-muted, inherit); }
.dmm-cliquepage__badge { width: 72px; height: 72px; object-fit: cover; border-radius: var(--dmm-radius, 12px); margin: 0 0 10px; display: block; }
.dmm-vdhead__tagline { margin: 4px 0 10px; font-size: 1.1em; opacity: .85; }
.dmm-clqcode textarea, .dmm-clqask textarea, .dmm-clqask input[type="text"], .dmm-clqask input[type="url"] { width: 100%; max-width: 560px; box-sizing: border-box; font: inherit; }
.dmm-clqcode textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; }
.dmm-clqcode__one { margin: 0 0 14px; }
.dmm-clqcode__form { margin: 6px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dmm-codebox a { color: var(--dmm-accent); }

/* ---- News outlets ---- */
.dmm-newshead__logo { width: 88px; height: 88px; object-fit: contain; display: block; margin: 0 0 10px; border-radius: var(--dmm-radius, 12px); background: var(--dmm-surface-2); }
.dmm-newshead__t a { color: inherit; text-decoration: none; }
.dmm-news__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.dmm-news__list a { text-decoration: none; color: inherit; }
.dmm-news__list a:hover { color: var(--dmm-accent); }
.dmm-news__sub { margin: 12px 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dmm-muted, inherit); }
.dmm-story-card { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--dmm-line); }
.dmm-story-card--top { grid-template-columns: minmax(0, 1.2fr) 1fr; gap: 24px; padding-top: 4px; }
.dmm-story-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--dmm-radius, 10px) * .7); background: var(--dmm-surface-2); }
.dmm-story-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmm-story-card__play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 3px; box-sizing: border-box; }
.dmm-story-card__sec { margin: 0 0 4px; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--dmm-accent); font-weight: 700; }
.dmm-story-card__title { margin: 0 0 6px; font-size: 1.2em; line-height: 1.25; }
.dmm-story-card--top .dmm-story-card__title { font-size: 1.9em; }
.dmm-story-card__title a { color: inherit; text-decoration: none; }
.dmm-story-card__title a:hover { color: var(--dmm-accent); }
.dmm-story-card__meta { margin: 0 0 8px; font-size: .85em; color: var(--dmm-muted, inherit); }
.dmm-byline a { color: inherit; font-weight: 600; text-decoration: none; }
.dmm-story-card__ex { margin: 0; }
.dmm-newspager { display: flex; gap: 10px; margin: 16px 0 0; }
.dmm-showlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dmm-show { padding: 16px; border: 1px solid var(--dmm-line); border-radius: var(--dmm-radius); background: var(--dmm-surface); }
.dmm-show__fmt { margin: 0 0 4px; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--dmm-accent); font-weight: 700; }
.dmm-show__name { margin: 0 0 6px; }
.dmm-show__desc { margin: 0 0 8px; }
.dmm-show__hosts { margin: 0 0 8px; font-size: .92em; }
.dmm-show__hosts a { font-weight: 600; text-decoration: none; color: inherit; }
.dmm-show__eps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: .92em; }
.dmm-show__eps a { text-decoration: none; color: inherit; } .dmm-show__eps time { color: var(--dmm-muted, inherit); font-size: .85em; }
.dmm-articlebody { max-width: 760px; margin: 24px auto; }
.dmm-article__title { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 10px; }
.dmm-article__deck { font-size: 1.2em; margin: 0 0 14px; color: var(--dmm-muted, inherit); }
.dmm-article__meta { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .92em; }
.dmm-article__faces { display: inline-flex; }
.dmm-article__face { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; margin-right: -8px; border: 2px solid var(--dmm-bg, #fff); display: block; background: var(--dmm-surface-2); }
.dmm-article__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmm-article__dateline { display: block; font-style: italic; }
.dmm-article__img { margin: 0 0 20px; } .dmm-article__img img { width: 100%; height: auto; border-radius: var(--dmm-radius); display: block; }
.dmm-article__text { font-size: 1.08em; line-height: 1.7; }
.dmm-newsmedia { position: relative; aspect-ratio: 16 / 9; margin: 0 0 18px; background: #000; border-radius: var(--dmm-radius); overflow: hidden; }
.dmm-newsmedia iframe, .dmm-newsmedia video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dmm-newsmedia--audio { aspect-ratio: auto; background: none; } .dmm-newsmedia--audio audio { width: 100%; }
@media (max-width: 700px) { .dmm-story-card, .dmm-story-card--top { grid-template-columns: 1fr; } }

/* ---- Style tags a writer can switch on for their muse ---- */
html body [data-dmm-tags~="caps"] :is(h1, h2, h3, .dmm-hero__name, .dmm-section__title) { text-transform: uppercase; letter-spacing: .06em; }
html body [data-dmm-tags~="wide"] :is(h1, h2, h3, .dmm-hero__name) { letter-spacing: .14em; }
html body [data-dmm-tags~="glow"] :is(h1, h2, .dmm-hero__name, .dmm-section__title) { text-shadow: 0 0 18px color-mix(in srgb, var(--dmm-accent) 70%, transparent), 0 0 2px color-mix(in srgb, var(--dmm-accent) 60%, transparent); }
html body [data-dmm-tags~="dots"] .dmm-section__title { border-bottom: 3px dotted var(--dmm-accent); padding-bottom: 8px; }
html body [data-dmm-tags~="tilt"] .dmm-hero__img { transform: rotate(-3deg); transition: transform .3s; } html body [data-dmm-tags~="tilt"] .dmm-hero__img:hover { transform: rotate(0); }
html body [data-dmm-tags~="frame"] .dmm-hero__img { padding: 8px; background: var(--dmm-surface); border: 2px solid var(--dmm-accent); box-shadow: 6px 6px 0 color-mix(in srgb, var(--dmm-accent) 40%, transparent); }
html body [data-dmm-tags~="grain"]::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .09; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); mix-blend-mode: overlay; }

/* Verse universe: bar, launcher, chooser */
.dmm-universe{display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;justify-content:center;padding:.45rem 1rem;font:500 .82rem/1.3 system-ui,sans-serif;background:#1d1d22;color:#fff;position:relative;z-index:5}
.dmm-universe a{color:inherit;text-decoration:underline;font-weight:600}
.dmm-launcher{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.6rem;margin:1.2rem 0}
.dmm-launcher__tile{display:flex;flex-direction:column;gap:.15rem;padding:.8rem 1rem;border:1px solid var(--dmm-line,rgba(128,128,128,.35));border-radius:var(--dmm-radius,8px);text-decoration:none;color:inherit;background:var(--dmm-card,transparent)}
.dmm-launcher__tile:first-child{background:var(--dmm-accent,#444);color:var(--dmm-on-accent,#fff)}
.dmm-launcher__tile span{font-size:.78rem;opacity:.75}
.dmm-launcher__tile:hover{transform:translateY(-2px)}
.dmm-vtile.is-current{outline:2px solid var(--dmm-accent,currentColor)}
.dmm-universe__write{text-align:center;margin:1.5rem 0}
