/* ==========================================================================
   Dandaro 2.0 — mobile-first styles
   Brand: blue #0f75bd · red #ee1b24 · ink #0b0f14
   ========================================================================== */

@font-face {
	font-family: "Outfit";
	src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--brand: #0f75bd;
	--brand-600: #0b5f9c;
	--brand-50: #e8f2fb;
	--accent: #ee1b24;
	--wa: #14803f;

	--bg: #f4f6f9;
	--surface: #ffffff;
	--surface-2: #f0f3f7;
	--ink: #0b0f14;
	--ink-2: #3b4452;
	--muted: #5f6878;
	--line: #e3e8ef;
	--shadow: 0 1px 2px rgb(15 23 42 / .06), 0 4px 16px rgb(15 23 42 / .06);
	--shadow-lg: 0 12px 40px rgb(15 23 42 / .16);

	--tone-blue: #0f75bd;
	--tone-green: #0f7a47;
	--tone-purple: #7a3fd1;
	--tone-amber: #9a5b00;
	--tone-red: #d61a22;
	--tone-teal: #08776a;

	--radius: 14px;
	--radius-sm: 10px;
	--wrap: 1200px;
	--gutter: 16px;
	--header-h: 60px;
	--tabbar-h: 64px;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0b0f14;
		--surface: #131a22;
		--surface-2: #1a232e;
		--ink: #eef2f7;
		--ink-2: #c3ccd8;
		--muted: #8a96a6;
		--line: #243040;
		--brand-50: #10283d;
		--shadow: 0 1px 2px rgb(0 0 0 / .4);
		--shadow-lg: 0 12px 40px rgb(0 0 0 / .5);
		--tone-blue: #4ea8ec; --tone-green: #3cc483; --tone-purple: #a982f0; --tone-amber: #f0b44c; --tone-red: #ff5a60; --tone-teal: #35c2b0;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0b0f14;
	--surface: #131a22;
	--surface-2: #1a232e;
	--ink: #eef2f7;
	--ink-2: #c3ccd8;
	--muted: #8a96a6;
	--line: #243040;
	--brand-50: #10283d;
	--shadow: 0 1px 2px rgb(0 0 0 / .4);
	--shadow-lg: 0 12px 40px rgb(0 0 0 / .5);
	--tone-blue: #4ea8ec; --tone-green: #3cc483; --tone-purple: #a982f0; --tone-amber: #f0b44c; --tone-red: #ff5a60; --tone-teal: #35c2b0;
	color-scheme: dark;
}

[data-tone="blue"]   { --tone: var(--tone-blue); }
[data-tone="green"]  { --tone: var(--tone-green); }
[data-tone="purple"] { --tone: var(--tone-purple); }
[data-tone="amber"]  { --tone: var(--tone-amber); }
[data-tone="red"]    { --tone: var(--tone-red); }
[data-tone="teal"]   { --tone: var(--tone-teal); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h1 { font-weight: 800; letter-spacing: -.035em; }
body { font-feature-settings: "cv11", "ss01"; }
.dd-btn, .dd-chip, .dd-catbar__list a, .dd-tabbar, .dd-meta, .dd-fact, .dd-crumbs, .dd-pill { font-family: var(--font-display); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dd-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; }
.dd-skip:focus { top: 8px; color: #fff; }

.dd-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.dd-icon { width: 20px; height: 20px; flex: none; }
.dd-muted { color: var(--muted); }
.dd-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 700 11px/1.3 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dd-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: dd-pulse 2s infinite; }
@keyframes dd-pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.dd-only-desktop { display: none !important; }

/* ---------- Buttons, chips, pills ---------- */
.dd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, transform .1s;
}
.dd-btn:active { transform: scale(.97); }
.dd-btn--primary { background: var(--brand); color: #fff; }
.dd-btn--primary:hover { background: var(--brand-600); color: #fff; }
.dd-btn--ghost { border-color: var(--line); background: var(--surface); }
.dd-btn--ghost:hover { border-color: var(--brand); }
.dd-btn--wa { background: var(--wa); color: #fff; }
.dd-btn--wa:hover { background: #0f6e36; color: #fff; }
.dd-btn .dd-icon { width: 18px; height: 18px; }

.dd-iconbtn {
	display: inline-grid; place-items: center; position: relative;
	width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2);
}
.dd-iconbtn:hover { background: var(--surface-2); color: var(--ink); }
.dd-when-dark { display: none; }
:root[data-theme="dark"] .dd-when-dark { display: block; }
:root[data-theme="dark"] .dd-when-light { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dd-when-dark { display: block; }
	:root:not([data-theme="light"]) .dd-when-light { display: none; }
}

.dd-badge {
	position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

.dd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.dd-chips--scroll::-webkit-scrollbar { display: none; }
.dd-chip {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	min-height: 36px; padding: 0 14px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; cursor: pointer;
}
.dd-chip:hover { border-color: var(--brand); color: var(--brand); }
.dd-chip[aria-current], .dd-chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.dd-chip input { position: absolute; opacity: 0; pointer-events: none; }
.dd-chip:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }

.dd-pill { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dd-pill--new { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }

.dd-tag {
	display: inline-block; font: 700 11px/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
	color: var(--tone, var(--brand));
}

.dd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.dd-meta > span + span::before { content: "·"; margin-right: 12px; }
.dd-meta__c { display: inline-flex; align-items: center; gap: 4px; }
.dd-meta__c .dd-icon { width: 15px; height: 15px; }
.dd-meta > .dd-meta__c::before { content: none !important; }

.dd-save {
	margin-left: auto; display: inline-grid; place-items: center; width: 34px; height: 34px;
	border: 0; border-radius: 50%; background: transparent; color: var(--muted);
}
.dd-save:hover { background: var(--surface-2); color: var(--brand); }
.dd-save[aria-pressed="true"] { color: var(--brand); }
.dd-save[aria-pressed="true"] .dd-icon { fill: currentColor; }
.dd-save .dd-icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.dd-header {
	position: sticky; top: 0; z-index: 40;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: transform .25s ease;
}
.dd-header.is-hidden { transform: translateY(calc(-1 * var(--header-h))); }
.dd-header__bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.dd-logo img, .custom-logo { height: 38px; width: auto; }
:root[data-theme="dark"] .dd-logo img { filter: brightness(1.15); }
.dd-header__search { display: none; }
.dd-header__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.dd-catbar__inner { overflow-x: auto; scrollbar-width: none; }
.dd-catbar__inner::-webkit-scrollbar { display: none; }
.dd-catbar__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 0 8px; }
.dd-catbar__list a {
	display: block; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.dd-catbar__list a:hover { background: var(--surface-2); color: var(--ink); }
.dd-catbar__list a[aria-current], .dd-catbar__list .current-menu-item > a { background: var(--brand); color: #fff; }

/* ---------- Bottom tab bar (mobile) ---------- */
.dd-tabbar {
	position: fixed; inset: auto 0 0 0; z-index: 45;
	display: grid; grid-template-columns: repeat(5, 1fr);
	height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
	padding-bottom: env(safe-area-inset-bottom);
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
}
.dd-tabbar > a, .dd-tabbar > button {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600;
}
.dd-tabbar .dd-icon { width: 22px; height: 22px; }
.dd-tabbar [aria-current] { color: var(--brand); }
.dd-tabbar .dd-badge { top: 6px; right: calc(50% - 20px); }

/* ---------- Overlays ---------- */
.dd-overlay {
	position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 12px var(--gutter);
	animation: dd-up .18s ease; /* slide, never transparent */
}
.dd-overlay__search { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 14px; height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.dd-overlay__search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 17px; min-width: 0; }
.dd-overlay__search > .dd-icon { color: var(--muted); }
.dd-overlay__hints { padding: 24px 4px; }

.dd-drawer {
	position: fixed; z-index: 70; inset: auto 0 0 0; max-height: 80vh; overflow: auto;
	background: var(--surface); border-radius: 20px 20px 0 0; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
	box-shadow: var(--shadow-lg); animation: dd-up .22s ease;
}
.dd-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.dd-drawer__head h2 { font-size: 18px; }
.dd-scrim { position: fixed; inset: 0; z-index: 65; background: rgb(0 0 0 / .45); animation: dd-fade .2s ease; }
.dd-saved { list-style: none; margin: 0; padding: 0; }
.dd-saved li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dd-saved img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.dd-saved a { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.35; }
.dd-saved__empty { padding: 16px 0; }
@keyframes dd-fade { from { opacity: 0; } }
@keyframes dd-up { from { transform: translateY(24px); } }

/* ---------- Cards ---------- */
.dd-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dd-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.dd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dd-card:hover .dd-card__media img { transform: scale(1.03); }
.dd-card__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 12px; flex: 1; }
.dd-card__title { font-size: 18px; font-weight: 700; }
.dd-card__title a:hover { color: var(--tone, var(--brand)); }
.dd-card__excerpt { margin: 0; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dd-card .dd-meta { margin-top: auto; }

.dd-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--tone, var(--brand)); background: color-mix(in srgb, var(--tone, var(--brand)) 12%, var(--surface)); }
.dd-ph .dd-icon { width: 36px; height: 36px; opacity: .7; }

/* hero */
.dd-card--hero .dd-card__title { font-size: clamp(24px, 6vw, 38px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.dd-card--hero .dd-card__body { padding: 16px 18px 14px; }
.dd-card--hero .dd-card__media img, .dd-rail--people .dd-card__media img, .dd-article__hero img { object-position: center 22%; }

/* compact + row: thumbnail on the right/left */
.dd-card--compact, .dd-card--row { flex-direction: row; align-items: stretch; box-shadow: none; background: transparent; border-radius: 0; }
.dd-card--compact .dd-card__media, .dd-card--row .dd-card__media { order: 2; flex: none; width: 96px; height: 96px; aspect-ratio: 1; border-radius: var(--radius-sm); }
.dd-card--compact .dd-card__body, .dd-card--row .dd-card__body { padding: 0 12px 0 0; gap: 6px; }
.dd-card--compact .dd-card__title, .dd-card--row .dd-card__title { font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dd-card--compact .dd-card__excerpt, .dd-card--row .dd-card__excerpt { display: none; }
.dd-card--compact .dd-save, .dd-card--row .dd-save { width: 36px; height: 36px; margin-right: -6px; }

/* ---------- Homepage: statement + stats ---------- */
.dd-intro { padding-top: 22px; }
.dd-intro__title {
	font-size: clamp(34px, 9vw, 72px); line-height: .98; letter-spacing: -.045em; font-weight: 800; max-width: 14ch;
}
.dd-intro__title em { font-style: normal; color: var(--brand); }
.dd-intro__title i { font-style: normal; color: var(--accent); }
.dd-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px; margin: 18px 0 4px; padding: 14px 0 0; border-top: 1px solid var(--line); }
@media (max-width: 639px) { .dd-stats dd { font-size: 22px; } .dd-stats dt { font-size: 9px; letter-spacing: .12em; } }
.dd-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.dd-stats dt { font: 700 10.5px/1.3 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dd-stats dd { margin: 0; font: 800 26px/1 var(--font-display); letter-spacing: -.03em; }

/* ---------- Homepage: top stories ---------- */
.dd-top { display: grid; gap: 16px; padding-block: 16px 8px; }
.dd-top__list { display: grid; gap: 0; background: var(--surface); border-radius: var(--radius); padding: 4px 16px; box-shadow: var(--shadow); }
.dd-top__list .dd-card { padding: 14px 0; border-bottom: 1px solid var(--line); }
.dd-top__list .dd-card:last-child { border-bottom: 0; }

/* ---------- Sections ---------- */
.dd-section { margin-block: 28px; }
.dd-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dd-section__head h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 5vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.dd-section__head .dd-eyebrow { color: var(--tone, var(--brand)); margin-bottom: 4px; }
.dd-section__head > a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--tone, var(--brand)); }
.dd-section__head > a .dd-icon { width: 16px; height: 16px; }
.dd-section__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--tone, var(--brand)); }

.dd-grid { display: grid; gap: 16px; }
.dd-grid--section { background: var(--surface); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); gap: 0; }
.dd-grid--section > .dd-card--default { box-shadow: none; border-radius: var(--radius-sm); margin-bottom: 4px; }
.dd-grid--section > .dd-card--default .dd-card__media { border-radius: var(--radius-sm); }
.dd-grid--section > .dd-card--default .dd-card__body { padding-inline: 4px; }
.dd-grid--section > .dd-card--row { padding: 14px 4px; border-top: 1px solid var(--line); }

/* horizontal rails (swipe on phones) */
.dd-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px;
}
.dd-rail::-webkit-scrollbar { display: none; }
.dd-rail > * { scroll-snap-align: start; }
.dd-rail--people { grid-auto-columns: 62%; }
.dd-rail--people .dd-card__media { aspect-ratio: 4 / 5; }
.dd-rail--people .dd-card__excerpt { display: none; }

/* jobs band */
.dd-band { padding-block: 24px; margin-block: 8px; }
.dd-band--jobs { background: linear-gradient(180deg, color-mix(in srgb, var(--tone-teal) 10%, var(--bg)), var(--bg)); }
.dd-band--jobs .dd-section__head h2 { font-size: 24px; }
.dd-band--jobs .dd-section__head .dd-btn { display: none; }

/* ---------- Job rows ---------- */
.dd-job {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
	border: 1px solid transparent; transition: border-color .15s, transform .15s;
}
.dd-job:hover { border-color: color-mix(in srgb, var(--tone-teal) 50%, transparent); }
.dd-job__logo {
	flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: color-mix(in srgb, var(--tone-teal) 14%, var(--surface)); color: var(--tone-teal); font-weight: 800; font-size: 18px;
}
.dd-job__body { flex: 1; min-width: 0; }
.dd-job__title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.dd-job__title a:hover { color: var(--tone-teal); }
.dd-job__facts { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.dd-fact { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
a.dd-fact:hover { color: var(--tone-teal); }
.dd-fact .dd-icon { width: 15px; height: 15px; }
.dd-job__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.dd-job--compact { box-shadow: none; padding: 12px 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.dd-job--compact:last-child { border-bottom: 0; }
.dd-job--compact .dd-job__logo { width: 38px; height: 38px; font-size: 15px; }
.dd-job--compact .dd-job__title { font-size: 15px; }
.dd-rail--jobs { grid-auto-columns: 86%; }
.dd-rail--jobs .dd-job { height: 100%; }
.dd-joblist { display: grid; gap: 10px; }

/* ---------- Layout with sidebar ---------- */
.dd-layout { display: grid; gap: 24px; padding-bottom: 32px; }
.dd-layout__main { min-width: 0; }
.dd-sidebar { display: grid; gap: 16px; align-content: start; }
.dd-panel { background: var(--surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.dd-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dd-panel__head h2 { font-size: 17px; }
.dd-panel__head a { font-size: 13px; font-weight: 600; color: var(--brand); }
.dd-panel--cta { text-align: center; background: linear-gradient(160deg, color-mix(in srgb, var(--wa) 14%, var(--surface)), var(--surface)); }
.dd-panel--cta h2 { font-size: 18px; margin: 8px 0 4px; }
.dd-panel--cta p { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.dd-cta-icon { width: 36px; height: 36px; margin-inline: auto; color: var(--wa); }

.dd-ranked { list-style: none; counter-reset: rank; margin: 0; padding: 0; }
.dd-ranked li { counter-increment: rank; display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dd-ranked li:last-child { border-bottom: 0; }
.dd-ranked li::before { content: counter(rank); grid-row: span 2; font: 800 22px/1 var(--font-display); color: var(--line); }
.dd-ranked a { font-weight: 600; font-size: 15px; line-height: 1.35; }

.dd-adslot { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1.5px dashed var(--line); text-align: center; color: var(--ink-2); }
.dd-adslot p { margin: 0; font-size: 14px; }
.dd-adslot a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-weight: 600; color: var(--brand); }
.dd-adslot a .dd-icon { width: 16px; height: 16px; }

/* ---------- Archive hero band ---------- */
.dd-hero-band { padding: 28px 0 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--tone, var(--brand)) 12%, var(--bg)), var(--bg)); }
.dd-hero-band h1 { font-size: clamp(28px, 7vw, 44px); margin-bottom: 14px; }
.dd-hero-band__sub { margin: -6px 0 18px; color: var(--ink-2); }
.dd-grid--archive { padding-top: 8px; }

/* ---------- Jobs board ---------- */
.dd-jobsearch { display: flex; flex-direction: column; gap: 10px; }
.dd-jobsearch__field { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.dd-jobsearch__field .dd-icon { color: var(--muted); }
.dd-jobsearch__field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; }
.dd-jobsearch .dd-btn { height: 50px; }

.dd-jobs { display: grid; gap: 16px; padding-block: 20px 40px; }
.dd-jobs__filters form, .dd-jobs__filterbox { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.dd-jobs__filters { min-width: 0; }
.dd-jobs__filters .dd-select { min-width: 0; max-width: 100%; }
.dd-jobs__legend { margin: 6px 0 0; font: 700 11px/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dd-townlinks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.dd-townlinks a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.dd-townlinks a:hover { color: var(--tone-teal); }
.dd-jobscard .dd-jobsearch { margin-top: 24px; }
.dd-jobscard .dd-jobsearch__field { background: rgb(255 255 255 / .96); border-color: transparent; color: #0b0f14; }
.dd-jobscard .dd-jobsearch__field input { color: #0b0f14; }
.dd-jobs__filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.dd-jobs__filters legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; padding: 0; }
.dd-select {
	width: 100%; height: 46px; padding: 0 40px 0 14px; border-radius: 12px; border: 1px solid var(--line);
	background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7584' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
	appearance: none; font-size: 15px;
}
.dd-jobs__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dd-jobs__bar h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.dd-jobs__bar a { color: var(--brand); font-weight: 600; }

/* ---------- Article ---------- */
.dd-progress { position: fixed; top: 0; left: 0; z-index: 50; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.dd-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dd-crumbs a { font-weight: 600; }

/* title card */
.dd-titlecard-wrap { padding-top: 16px; }
.dd-titlecard {
	--card-ink: #f4f7fb;
	position: relative; overflow: hidden; isolation: isolate;
	padding: 24px 20px 26px; border-radius: 22px; color: var(--card-ink);
	background:
		radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone, var(--brand)) 45%, transparent) 0%, transparent 55%),
		linear-gradient(160deg, #0a2140 0%, #06142a 60%, #050d1c 100%);
	box-shadow: var(--shadow-lg);
}
.dd-titlecard::before { /* faint grid texture */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06;
	background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.dd-titlecard .dd-crumbs { color: rgb(255 255 255 / .55); }
.dd-titlecard .dd-crumbs a { color: rgb(255 255 255 / .75); }
.dd-titlecard .dd-crumbs a:hover { color: #fff; }
.dd-kicker {
	display: inline-flex; padding: 5px 12px; border-radius: 999px;
	font: 700 11px/1.2 var(--font-display) !important; letter-spacing: .14em; text-transform: uppercase;
	color: #fff !important; background: color-mix(in srgb, var(--tone, var(--brand)) 55%, transparent);
	border: 1px solid rgb(255 255 255 / .14);
}
.dd-titlecard__title {
	margin: 16px 0 12px; max-width: 20ch;
	font-size: clamp(30px, 8vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; color: #fff;
}
.dd-titlecard__dek { margin: 0 0 18px; max-width: 60ch; font-size: 17px; line-height: 1.55; color: rgb(255 255 255 / .72); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dd-chiprow { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dd-chiprow li {
	display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px;
	font: 500 13px/1 var(--font-display); background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12);
}
.dd-chiprow li .dd-icon { width: 15px; height: 15px; opacity: .8; }
.dd-chiprow li a { color: inherit; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .3); text-underline-offset: 3px; }
.dd-chiprow li a:hover { text-decoration-color: currentColor; }
.dd-chiprow li.is-hot { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.dd-titlecard__actions { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.dd-roundbtn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; margin: 0; border-radius: 50%;
	background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: #fff;
}
.dd-roundbtn:hover { background: rgb(255 255 255 / .16); color: #fff; }
.dd-roundbtn .dd-icon { width: 18px; height: 18px; }
.dd-titlecard .dd-save[aria-pressed="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }

/* cover overlaps the card */
.dd-cover { position: relative; z-index: 1; margin: 16px auto 0; /* below the title card, never over it */ padding-inline: calc(var(--gutter) + 10px); max-width: 940px; }
.dd-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); outline: 1px solid rgb(255 255 255 / .06); }
.dd-cover figcaption { font-size: 13px; color: var(--muted); padding: 8px 4px 0; }

/* reading card */
.dd-readcard {
	position: relative; max-width: 780px; margin: 24px auto 0; padding: 28px 20px 22px;
	background: var(--surface); border-radius: 22px; box-shadow: var(--shadow);
}
.dd-readcard::before {
	content: ""; position: absolute; top: 0; left: 50%; width: 44%; height: 3px; transform: translateX(-50%);
	border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--tone, var(--brand)), transparent);
}

.dd-prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.dd-prose > * { margin-block: 0 1.15em; }
.dd-prose h2, .dd-prose h3 { color: var(--ink); font-size: clamp(22px, 4.6vw, 27px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin: 1.7em 0 .55em; }
.dd-prose h2::before, .dd-prose h3::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--tone, var(--brand)); }
.dd-prose h3 { font-size: 21px; }
.dd-prose strong { color: var(--ink); }
.dd-prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.dd-prose img { border-radius: 14px; height: auto; }
.dd-prose blockquote { margin-inline: 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--tone, var(--brand)); font: 600 1.15em/1.5 var(--font-display); color: var(--ink); }
.dd-prose ul, .dd-prose ol { padding-left: 1.3em; }
.dd-prose li { margin-bottom: .4em; }
.dd-prose li::marker { color: var(--tone, var(--brand)); font-weight: 700; }
.dd-prose p:empty { display: none; }
.dd-prose--dropcap > p:first-of-type::first-letter {
	float: left; margin: .08em .12em 0 -.02em;
	font: 800 4.1em/.78 var(--font-display); color: var(--tone, var(--brand));
}
.dd-signoff {
	margin-top: 2em !important; padding-top: 14px; border-top: 1px solid var(--line);
	font: 700 11px/1.4 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

.dd-applybox { display: grid; gap: 14px; margin-top: 24px; padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--tone-teal) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tone-teal) 30%, transparent); }
.dd-applybox strong { color: var(--ink); font: 800 19px/1.2 var(--font-display); }
.dd-applybox p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }

/* end panel */
.dd-endpanel { display: grid; gap: 18px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.dd-chiprow--soft li { background: var(--surface-2); border-color: var(--line); color: var(--ink-2); }
.dd-chiprow--soft li a:hover { color: var(--brand); }
.dd-sharebar { display: grid; gap: 10px; }
.dd-sharebar .dd-eyebrow { margin: 0; }
.dd-sharebar .dd-eyebrow .dd-icon { width: 14px; height: 14px; }
.dd-sharebar__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dd-sbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px; margin: 0;
	border-radius: 14px; border: 1px solid transparent; color: #fff; font: 700 14px/1 var(--font-display);
	transition: transform .1s, filter .15s; box-shadow: 0 6px 16px -8px currentColor;
}
.dd-sbtn:hover { color: #fff; filter: brightness(1.08); }
.dd-sbtn:active { transform: scale(.97); }
.dd-sbtn .dd-icon { width: 18px; height: 18px; }
.dd-sbtn--whatsapp { background: var(--wa); }
.dd-sbtn--facebook { background: #1877f2; }
.dd-sbtn--x { background: #0b0f14; border-color: rgb(255 255 255 / .12); }
.dd-sbtn--copy { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: none; }
.dd-sbtn--copy:hover { color: var(--brand); border-color: var(--brand); }

/* related */
.dd-related { padding-block: 40px 8px; }
.dd-related .dd-eyebrow { color: var(--tone, var(--brand)); }
.dd-related h2 { font-size: clamp(24px, 5vw, 30px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }

/* closing call to action */
.dd-ctabox {
	position: relative; overflow: hidden; isolation: isolate; max-width: 940px; margin: 36px auto 8px;
	padding: 36px 22px; border-radius: 22px; text-align: center; color: rgb(255 255 255 / .75);
	background: radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--wa) 28%, transparent), transparent 60%), linear-gradient(160deg, #0a2140, #050d1c);
	box-shadow: var(--shadow-lg);
}
.dd-ctabox::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 28px 28px; }
.dd-ctabox .dd-eyebrow { justify-content: center; color: rgb(255 255 255 / .6); }
.dd-ctabox .dd-eyebrow .dd-icon { width: 14px; height: 14px; }
.dd-ctabox h2 { color: #fff; font-size: clamp(24px, 5.5vw, 36px); font-weight: 800; letter-spacing: -.035em; max-width: 22ch; margin: 0 auto 10px; }
.dd-ctabox p:not(.dd-eyebrow) { max-width: 46ch; margin: 0 auto 22px; font-size: 16px; }
.dd-btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; box-shadow: 0 10px 30px -10px var(--wa); }

/* floating WhatsApp share */
.dd-fab {
	position: fixed; right: 16px; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); z-index: 44;
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgb(31 174 91 / .7);
	animation: dd-pop .25s ease;
}
.dd-fab:hover { color: #fff; filter: brightness(1.06); }
.dd-fab .dd-icon { width: 28px; height: 28px; }
@keyframes dd-pop { from { transform: scale(.6); opacity: 0; } }

.dd-grid--3 { grid-template-columns: 1fr; }

.dd-comments-wrap { max-width: 792px; padding-block: 24px 40px; }
.dd-comments { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.dd-comments h2 { font-size: 20px; margin-bottom: 12px; }
.dd-comments__list { list-style: none; padding: 0; margin: 0 0 16px; }
.dd-comments__list .comment-body { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dd-comments__list .avatar { border-radius: 50%; float: left; margin-right: 10px; }
.dd-comments__list .comment-meta { font-size: 13px; color: var(--muted); }
.dd-comments__list .children { list-style: none; padding-left: 24px; }
.comment-respond textarea, .comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"] {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
}
.comment-respond .comment-reply-title { font-size: 17px; }


/* ---------- Section pages ---------- */
.dd-flip { transform: scaleX(-1); }
.dd-sectioncard { padding: 20px 20px 24px; }
.dd-sectioncard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dd-sectioncard__back { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font-display); color: rgb(255 255 255 / .75); }
.dd-sectioncard__back:hover { color: #fff; }
.dd-sectioncard__back .dd-icon { width: 15px; height: 15px; }
.dd-sectioncard .dd-eyebrow { color: rgb(255 255 255 / .6); margin: 0; }
.dd-sectioncard__body { display: grid; gap: 18px; margin-top: 26px; }
.dd-sectioncard__icon {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
	background: color-mix(in srgb, var(--tone, var(--brand)) 30%, transparent); border: 1px solid rgb(255 255 255 / .14);
	color: color-mix(in srgb, var(--tone, var(--brand)) 45%, #fff);
}
.dd-sectioncard__icon .dd-icon { width: 24px; height: 24px; }
.dd-sectioncard .dd-sectioncard__kicker { margin-top: 18px; color: color-mix(in srgb, var(--tone, var(--brand)) 40%, #fff); }
.dd-sectioncard__title { margin: 4px 0 10px; font-size: clamp(34px, 8.5vw, 62px); font-weight: 800; line-height: 1; letter-spacing: -.045em; color: #fff; }
.dd-sectioncard__blurb { margin: 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: rgb(255 255 255 / .72); }
.dd-sectioncard__stat { display: flex; align-items: baseline; gap: 8px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .12); }
.dd-sectioncard__stat strong { font: 800 34px/1 var(--font-display); letter-spacing: -.03em; color: color-mix(in srgb, var(--tone, var(--brand)) 35%, #fff); }
.dd-sectioncard__stat span { font: 700 10.5px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .55); }

.dd-switcher { margin-top: 18px; }
.dd-switcher .dd-chip .dd-icon { width: 16px; height: 16px; opacity: .75; }
.dd-switcher .dd-chip[aria-current] .dd-icon { opacity: 1; }
.dd-switcher .dd-chip[aria-current][data-tone] { background: var(--tone); border-color: var(--tone); color: #fff; box-shadow: 0 8px 20px -10px var(--tone); }

.dd-archive { padding-bottom: 40px; }
.dd-archive__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 14px; }
.dd-archive__head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.dd-archive__head h2 .dd-icon { width: 20px; height: 20px; color: var(--tone, var(--brand)); }
.dd-archive__head span { font: 600 12.5px/1 var(--font-display); color: var(--muted); white-space: nowrap; }

/* ---------- Pagination, empty, footer ---------- */
.navigation.pagination { margin-top: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

.dd-empty { text-align: center; padding: 48px 16px; display: grid; gap: 12px; justify-items: center; }
.dd-empty--404 h1 { font-size: 34px; }
.search-form { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.search-form .search-submit { height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; font-weight: 600; }

.dd-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 32px; margin-top: 24px; }
.dd-footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.dd-footer__brand { grid-column: 1 / -1; }
.dd-footer__brand p { color: var(--ink-2); font-size: 15px; max-width: 34ch; }
.dd-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.dd-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.dd-footer ul a { display: inline-flex; align-items: center; gap: 6px; }
.dd-footer ul .dd-icon { width: 16px; height: 16px; color: var(--wa); }
.dd-social { display: flex; gap: 8px; }
.dd-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); }
.dd-social a:hover { background: var(--brand); color: #fff; }
.dd-social .dd-icon { width: 18px; height: 18px; }
.dd-footer__legal { padding-block: 20px; margin-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }


/* ---------- Sponsors: native-feeling, always labelled ---------- */
.dd-sponsor {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	font-family: var(--font); color: var(--ink);
}
.dd-sponsor__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; }
.dd-sponsor__label { display: inline-flex; align-items: center; gap: 7px; font: 700 10.5px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dd-sponsor__label i { width: 6px; height: 6px; border-radius: 2px; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.dd-sponsor__why { font: 600 11.5px/1 var(--font-display); color: var(--muted); text-decoration: none !important; }
.dd-sponsor__why:hover { color: var(--brand); }

/* ambient stage: any creative shape sits on a blurred bed of its own colours */
.dd-sponsor__stage {
	position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden;
	aspect-ratio: 4 / 5; margin: 0 10px; border-radius: 12px; background: var(--surface-2);
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	text-decoration: none !important;
}
.dd-sponsor__stage::before {
	content: ""; position: absolute; inset: -12%; z-index: -2;
	background: var(--ad-bg) center / cover no-repeat;
	filter: blur(28px) saturate(1.35); transform: scale(1.1); opacity: .9;
}
.dd-sponsor__stage::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(120% 80% at 50% 0%, transparent 30%, rgb(5 13 28 / .35) 100%);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
}
.dd-sponsor__creative {
	width: auto !important; height: auto !important; max-width: calc(100% - 32px) !important; max-height: calc(100% - 32px) !important;
	object-fit: contain; border-radius: 10px !important; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .1);
	transition: transform .35s ease;
}
.dd-sponsor__stage:hover .dd-sponsor__creative { transform: translateY(-2px) scale(1.015); }

.dd-sponsor__foot { display: flex; align-items: center; gap: 10px; padding: 12px 14px 14px; }
.dd-sponsor__mark {
	flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
	background: var(--surface-2); color: var(--ink-2); font: 800 15px/1 var(--font-display);
}
.dd-sponsor__who { flex: 1; min-width: 0; display: grid; gap: 1px; }
.dd-sponsor__who strong { font: 700 14.5px/1.25 var(--font-display); }
.dd-sponsor__who span { font-size: 12.5px; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd-sponsor__cta {
	flex: none; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-radius: 999px;
	background: var(--ink); color: var(--bg) !important; font: 700 12.5px/1 var(--font-display); text-decoration: none !important; white-space: nowrap;
}
.dd-sponsor__cta .dd-icon { width: 14px; height: 14px; }
.dd-sponsor__cta:hover { background: var(--brand); color: #fff !important; }

/* house card */
.dd-sponsor__stage--house {
	aspect-ratio: auto; min-height: 220px; padding: 26px 22px; gap: 10px; text-align: center; color: #fff;
	background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%), linear-gradient(160deg, #0a2140, #050d1c);
	margin-bottom: 10px; align-content: center;
}
.dd-sponsor__stage--house::before { background: linear-gradient(#fff 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, #fff 1px, transparent 1px) 0 0 / 26px 26px; opacity: .05; filter: none; inset: 0; transform: none; }
.dd-sponsor__stage--house .dd-eyebrow { justify-content: center; color: rgb(255 255 255 / .6); margin: 0; }
.dd-sponsor__stage--house strong { font: 800 21px/1.15 var(--font-display); letter-spacing: -.02em; max-width: 18ch; }
.dd-sponsor__stage--house .dd-sponsor__cta { background: #fff; color: #06142a !important; margin-top: 6px; }
.dd-sponsor__stage--code { aspect-ratio: auto; min-height: 120px; padding: 12px; margin-bottom: 10px; }

/* feed placement: wide on desktop, spans the grid */
.dd-sponsor--feed { margin-block: 28px; }
.dd-grid .dd-sponsor--feed { grid-column: 1 / -1; margin-block: 0; }
.dd-sponsor--feed .dd-sponsor__stage { aspect-ratio: 4 / 3; }

/* inside articles: break out of prose styles */
.dd-prose .dd-sponsor { margin: 2em 0; font-size: 16px; line-height: 1.5; }
.dd-prose .dd-sponsor a { text-decoration: none; }
.dd-prose .dd-sponsor img { margin: 0; }
.dd-sponsor--article .dd-sponsor__stage { aspect-ratio: 16 / 11; }

/* jobs board: a single row that reads like a listing, clearly marked */
.dd-sponsor--jobs { flex-direction: row; align-items: center; gap: 0; padding: 10px; border-style: dashed; }
.dd-sponsor--jobs .dd-sponsor__head { display: none; }
.dd-sponsor--jobs .dd-sponsor__stage { flex: none; width: 72px; aspect-ratio: 1; margin: 0; border-radius: 12px; }
.dd-sponsor--jobs .dd-sponsor__creative { max-width: calc(100% - 10px) !important; max-height: calc(100% - 10px) !important; border-radius: 6px !important; }
.dd-sponsor--jobs .dd-sponsor__foot { flex: 1; padding: 0 4px 0 12px; }
.dd-sponsor--jobs .dd-sponsor__mark { display: none; }
.dd-sponsor--jobs .dd-sponsor__who strong::after {
	content: "Sponsored"; margin-left: 8px; padding: 2px 6px; border-radius: 5px; vertical-align: 2px;
	font: 700 9.5px/1.4 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--surface-2);
}

@media (max-width: 639px) { .dd-sponsor--jobs .dd-sponsor__who span { display: none; } .dd-sponsor--jobs .dd-sponsor__cta { padding: 0 10px; } }

/* ==========================================================================
   ≥ 640px  — large phones / small tablets
   ========================================================================== */
@media (min-width: 640px) {
	:root { --gutter: 24px; }
	.dd-rail { grid-auto-columns: 46%; }
	.dd-rail--people { grid-auto-columns: 32%; }
	.dd-rail--jobs { grid-auto-columns: 60%; }
	.dd-grid--archive { grid-template-columns: repeat(2, 1fr); }
	.dd-grid--archive > .dd-card--hero { grid-column: 1 / -1; }
	.dd-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.dd-jobsearch { flex-direction: row; }
	.dd-jobsearch__field { flex: 1; }
	.dd-applybox { grid-template-columns: 1fr auto; align-items: center; }
	.dd-sharebar__btns { display: flex; flex-wrap: wrap; }
	.dd-sharebar { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
	.dd-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
	.dd-footer__brand { grid-column: auto; }
	.dd-card--compact .dd-card__media, .dd-card--row .dd-card__media { width: 120px; height: 90px; aspect-ratio: auto; }
}

/* ==========================================================================
   ≥ 1024px — desktop
   ========================================================================== */
@media (min-width: 1024px) {
	:root { --header-h: 68px; }
	body { padding-bottom: 0; }
	.dd-tabbar, .dd-only-mobile { display: none !important; }
	.dd-only-desktop { display: inline-flex !important; }
	.dd-panel.dd-only-desktop, div.dd-only-desktop:not(.dd-btn) { display: block !important; }
	.dd-header.is-hidden { transform: none; }

	.dd-logo img, .custom-logo { height: 46px; }
	.dd-header__search {
		display: flex; align-items: center; gap: 10px; flex: 1; max-width: 460px; margin-left: 24px;
		height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid transparent;
	}
	.dd-header__search:focus-within { border-color: var(--brand); background: var(--surface); }
	.dd-header__search .dd-icon { color: var(--muted); width: 18px; height: 18px; }
	.dd-header__search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 15px; }
	.dd-header__actions { gap: 8px; }
	.dd-catbar__list { padding-bottom: 10px; }

	.dd-drawer { inset: 0 0 0 auto; width: 400px; max-height: none; border-radius: 0; animation: dd-left .22s ease; padding-top: 16px; }
	@keyframes dd-left { from { transform: translateX(40px); opacity: 0; } }

	.dd-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding-top: 40px; }
	.dd-intro .dd-eyebrow { grid-column: 1 / -1; margin-bottom: -16px; }
	.dd-stats { grid-template-columns: repeat(4, auto); gap: 36px; border-top: 0; margin: 0 0 6px; padding: 0; }
	.dd-stats dd { font-size: 34px; }
	.dd-top { grid-template-columns: 1.65fr 1fr; padding-top: 24px; align-items: start; }
	.dd-top__lead .dd-card--hero .dd-card__media { aspect-ratio: 16 / 9.5; }

	.dd-band { padding-block: 36px; }
	.dd-band--jobs .dd-section__head .dd-btn { display: inline-flex; }
	.dd-rail--jobs { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }

	.dd-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }

	.dd-grid--section { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, auto); column-gap: 20px; padding: 16px; }
	.dd-grid--section > .dd-card--default { grid-row: 1 / span 3; margin: 0; }
	.dd-grid--section > .dd-card--row { padding: 12px 0; }
	.dd-grid--section > .dd-card--row:nth-child(2) { border-top: 0; padding-top: 0; }

	.dd-rail--people { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }

	.dd-grid--archive { grid-template-columns: repeat(3, 1fr); gap: 22px; }
	.dd-sectioncard { padding: 32px 48px 44px; }
	.dd-sectioncard__body { grid-template-columns: 1fr auto; align-items: end; margin-top: 30px; }
	.dd-sectioncard__stat { flex-direction: column; align-items: flex-end; gap: 8px; padding: 0; border: 0; }
	.dd-sectioncard__stat strong { font-size: 52px; }
	.dd-grid--archive > .dd-card--hero { flex-direction: row; }
	.dd-grid--archive > .dd-card--hero .dd-card__media { width: 58%; flex: none; aspect-ratio: 16 / 10; }
	.dd-grid--archive > .dd-card--hero .dd-card__body { padding: 28px; justify-content: center; }

	.dd-jobs { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
	.dd-sponsor--feed { flex-direction: row; align-items: stretch; }
	.dd-sponsor--feed .dd-sponsor__head { position: absolute; top: 6px; left: calc(58% + 10px); right: 0; z-index: 2; padding-inline: 26px 14px; pointer-events: none; }
	.dd-sponsor--feed .dd-sponsor__head a { pointer-events: auto; }
	.dd-sponsor--feed .dd-sponsor__stage { flex: 0 0 58%; aspect-ratio: 16 / 10; margin: 10px; margin-right: 0; }
	.dd-sponsor--feed .dd-sponsor__foot { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 44px 26px 24px; }
	.dd-sponsor--feed .dd-sponsor__who strong { font-size: 22px; white-space: normal; letter-spacing: -.02em; }
	.dd-sponsor--feed .dd-sponsor__who span { font-size: 15px; -webkit-line-clamp: 3; }
	.dd-sponsor--feed .dd-sponsor__mark { width: 44px; height: 44px; font-size: 19px; }
	.dd-sponsor--feed .dd-sponsor__cta { height: 40px; padding: 0 16px; font-size: 14px; }
	.dd-jobs__filters { position: sticky; top: calc(var(--header-h) + 64px); display: grid; gap: 16px; }
	.dd-jobs__filterbox { background: var(--surface); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
	.dd-jobs__filters .dd-chips--scroll { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
	.dd-job { padding: 18px; }
	.dd-job__logo { width: 52px; height: 52px; font-size: 20px; }
	.dd-job__title { font-size: 17px; }

	.dd-titlecard-wrap { padding-top: 32px; }
	.dd-titlecard { padding: 44px 56px 48px; border-radius: 28px; }
	.dd-cover { margin-top: 24px; }
	.dd-cover img { border-radius: 22px; }
	.dd-readcard { margin-top: 32px; padding: 52px 64px 40px; border-radius: 26px; }
	.dd-ctabox { padding: 56px 40px; border-radius: 28px; }
	.dd-fab { bottom: 28px; right: 28px; }
	.dd-hero-band { padding: 44px 0 26px; }
}

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

/* ---------- Dandaro Radio ---------- */
.dd-radio {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; margin-right: 4px;
	border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
}
.dd-radio__btn {
	position: relative; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
	background: var(--accent); color: #fff; box-shadow: 0 4px 12px -4px var(--accent);
}
.dd-radio__btn .dd-icon { width: 14px; height: 14px; }
.dd-radio__pause, .dd-radio__spin { display: none; }
.dd-radio[data-state="playing"] .dd-radio__play, .dd-radio[data-state="loading"] .dd-radio__play { display: none; }
.dd-radio[data-state="playing"] .dd-radio__pause { display: block; }
.dd-radio[data-state="loading"] .dd-radio__spin {
	display: block; position: absolute; inset: -3px; border-radius: 50%;
	border: 2px solid transparent; border-top-color: var(--accent); animation: dd-spin .8s linear infinite;
}
.dd-radio[data-state="loading"] .dd-radio__pause { display: block; opacity: .6; }
.dd-radio[data-state="offline"] .dd-radio__btn { background: var(--muted); box-shadow: none; }
@keyframes dd-spin { to { transform: rotate(360deg); } }
.dd-radio__meta { display: grid; line-height: 1.1; }
.dd-radio__status { font: 700 9.5px/1.2 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.dd-radio[data-state="offline"] .dd-radio__status, .dd-radio[data-state="idle"] .dd-radio__status { color: var(--muted); }
.dd-radio__name { font: 700 12.5px/1.2 var(--font-display); white-space: nowrap; }
.dd-radio__eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.dd-radio__eq i { width: 3px; height: 30%; border-radius: 2px; background: var(--muted); opacity: .5; }
.dd-radio[data-state="playing"] .dd-radio__eq i { background: var(--accent); opacity: 1; animation: dd-eq 1s ease-in-out infinite; }
.dd-radio[data-state="playing"] .dd-radio__eq i:nth-child(2) { animation-delay: -.3s; }
.dd-radio[data-state="playing"] .dd-radio__eq i:nth-child(3) { animation-delay: -.6s; }
.dd-radio[data-state="playing"] .dd-radio__eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes dd-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (max-width: 639px) {
	.dd-radio { padding-right: 4px; gap: 0; background: transparent; border-color: transparent; }
	.dd-radio__meta, .dd-radio__eq { display: none; }
	.dd-radio[data-state="playing"] .dd-radio__eq { display: flex; margin: 0 6px; }
}

/* ---------- Breaking news bar ---------- */
.dd-breaking { position: relative; z-index: 41; background: linear-gradient(90deg, #b3121a, var(--accent) 45%, #c4141c); color: #fff; }
.dd-breaking__inner { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.dd-breaking__tag {
	flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px;
	background: rgb(0 0 0 / .22); font: 800 10.5px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase;
}
.dd-breaking__tag .dd-live { background: #fff; box-shadow: none; }
.dd-breaking__text { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1.3 var(--font-display); color: #fff; overflow: hidden; }
.dd-breaking__text:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dd-breaking__text .dd-icon { width: 16px; height: 16px; flex: none; }
.dd-breaking__x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #fff; opacity: .8; }
.dd-breaking__x:hover { opacity: 1; background: rgb(0 0 0 / .15); }
.dd-breaking__x .dd-icon { width: 16px; height: 16px; }
@media (max-width: 639px) { .dd-breaking__text { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* ---------- Events ---------- */
.dd-coming { margin-block: 28px 8px; }
.dd-coming .dd-section__head .dd-eyebrow { color: var(--tone-red); }
.dd-rail--events { grid-auto-columns: 72%; }
.dd-evcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.dd-evcard:hover { color: var(--ink); }
.dd-evcard:hover strong { color: var(--tone-red); }
.dd-evcard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.dd-evcard__media img, .dd-evcard__media .dd-ph { width: 100%; height: 100%; object-fit: cover; }
.dd-evdate {
	position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 52px; padding: 6px 0 7px; border-radius: 12px;
	background: var(--surface); color: var(--ink); box-shadow: 0 6px 18px -6px rgb(0 0 0 / .45); line-height: 1;
}
.dd-evdate b { font: 800 22px/1 var(--font-display); letter-spacing: -.03em; }
.dd-evdate i { font: 700 10.5px/1 var(--font-display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--tone-red); margin-top: 3px; }
.dd-evcard__body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.dd-evcard__body strong { font: 700 16px/1.25 var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd-evcard__meta { font-size: 13px; color: var(--muted); }
.dd-evcard__price { justify-self: start; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--tone-red) 12%, transparent); color: var(--tone-red); font: 700 12px/1.3 var(--font-display); }
.dd-chiprow li.dd-chip--when.is-on { background: #fff; color: #06142a; border-color: #fff; font-weight: 700; }
.dd-chiprow li.dd-chip--when.is-on .dd-icon { opacity: 1; color: var(--accent); }
.dd-btn--light { background: #fff; color: #06142a; }
.dd-btn--light:hover { background: #f1f4f8; color: #06142a; }
.dd-btn--glass { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .18); color: #fff; }
.dd-btn--glass:hover { background: rgb(255 255 255 / .18); color: #fff; }
.dd-titlecard__actions { flex-wrap: wrap; }
@media (min-width: 640px) { .dd-rail--events { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .dd-rail--events { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }

/* ---------- Polls ---------- */
.dd-poll {
	--pc: var(--brand);
	position: relative; overflow: hidden; display: grid; gap: 14px; padding: 18px;
	border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.dd-poll::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.dd-poll__top { margin: 0; flex-wrap: wrap; gap: 6px 12px; }
.dd-poll__top > span + span::before { content: "·"; margin-right: 12px; }
.dd-poll__badge { display: inline-flex; align-items: center; gap: 5px; color: var(--pc); }
.dd-poll__badge .dd-icon { width: 14px; height: 14px; }
.dd-poll__top > .dd-poll__badge + span::before { content: none; }
.dd-poll__q { margin: 0; font: 800 clamp(20px, 4.6vw, 26px)/1.15 var(--font-display); letter-spacing: -.025em; color: var(--ink); }
.dd-poll__q a:hover { color: var(--pc); }
.dd-poll__opts { display: grid; gap: 8px; }
.dd-poll__opt {
	position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%;
	min-height: 50px; padding: 10px 16px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--surface);
	text-align: left; font: 600 15.5px/1.3 var(--font-display); color: var(--ink); cursor: pointer;
	transition: border-color .15s, transform .1s, box-shadow .15s;
}
.dd-poll[data-state="open"] .dd-poll__opt:hover { border-color: var(--pc); box-shadow: 0 6px 18px -10px var(--pc); transform: translateY(-1px); }
.dd-poll[data-state="open"] .dd-poll__opt:active { transform: scale(.99); }
.dd-poll__opt:disabled { cursor: default; }
.dd-poll__fill {
	position: absolute; inset: 0 auto 0 0; z-index: -1; width: var(--pct, 0%);
	background: color-mix(in srgb, var(--pc) 13%, transparent); transition: width .7s cubic-bezier(.2, .8, .2, 1);
}
.dd-poll__label { flex: 1; min-width: 0; }
.dd-poll__pct { font: 800 15px/1 var(--font-display); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dd-poll__opt.is-leading { border-color: color-mix(in srgb, var(--pc) 45%, var(--line)); }
.dd-poll__opt.is-leading .dd-poll__fill { background: color-mix(in srgb, var(--pc) 22%, transparent); }
.dd-poll__opt.is-leading .dd-poll__pct { color: var(--pc); }
.dd-poll__opt.is-mine { border-color: var(--pc); }
.dd-poll__opt.is-mine .dd-poll__label::after {
	content: "Your vote"; margin-left: 8px; padding: 2px 7px; border-radius: 6px; vertical-align: 2px;
	background: var(--pc); color: #fff; font: 700 10px/1.4 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
}
.dd-poll__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dd-poll__note { font-size: 13px; color: var(--muted); }
.dd-poll__share { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--wa); color: #fff !important; font: 700 13px/1 var(--font-display); text-decoration: none !important; }
.dd-poll__share .dd-icon { width: 15px; height: 15px; }
.dd-poll--full { padding: 22px; margin-bottom: 1.6em; }
.dd-poll--full .dd-poll__q { font-size: clamp(24px, 5.5vw, 32px); }
.dd-prose .dd-poll { margin-block: 2em 0; font-size: 16px; line-height: 1.5; }
.dd-prose .dd-poll a { text-decoration: none; }
.dd-haveyoursay { margin-block: 28px; }
.dd-haveyoursay .dd-section__head .dd-eyebrow { color: var(--brand); }
.dd-grid--polls { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .dd-grid--polls { grid-template-columns: repeat(2, 1fr) !important; align-items: start; } }
@media (prefers-reduced-motion: reduce) { .dd-poll__fill { transition: none; } }
/* Polls inside articles: shield from prose styles */
.dd-prose .dd-poll__q { margin: 0; color: var(--ink); font-size: clamp(20px, 4.6vw, 26px); }
.dd-prose .dd-poll__q::before { content: none; }
.dd-prose .dd-poll__q a { color: inherit; }
.dd-prose .dd-poll__q a:hover { color: var(--brand); }
.dd-prose .dd-poll p { margin: 0; }

/* ---------- Instant search ---------- */
.dd-header__search { position: relative; }
.dd-kbd { padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); font: 600 11px/1.5 var(--font-display); color: var(--muted); }
.dd-header__search:focus-within .dd-kbd { display: none; }
.dd-header__search.is-loading::after, .dd-overlay__search.is-loading::after {
	content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--brand); animation: dd-spin .7s linear infinite;
}
.dd-sx {
	position: absolute; top: calc(100% + 10px); left: 0; right: -120px; z-index: 60; max-height: min(70vh, 620px); overflow: auto; overscroll-behavior: contain;
	padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: dd-sx-in .14s ease;
}
@keyframes dd-sx-in { from { transform: translateY(-4px); } }
.dd-sx--sheet { position: static; max-height: none; margin-top: 12px; padding: 4px; border: 0; box-shadow: none; background: transparent; animation: none; }
.dd-sx__group + .dd-sx__group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.dd-sx__head { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 8px 10px 4px; font: 700 10.5px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dd-sx__head a, .dd-sx__head button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font: 600 12px/1 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--brand); cursor: pointer; }
.dd-sx__head .dd-icon { width: 13px; height: 13px; }
.dd-sx__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--ink); }
.dd-sx__item:hover, .dd-sx__item.is-active, .dd-sx__all:hover, .dd-sx__all.is-active { background: var(--surface-2); color: var(--ink); }
.dd-sx__item.is-active { box-shadow: inset 3px 0 0 var(--brand); }
.dd-sx__thumb { flex: none; width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.dd-sx__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--surface-2); color: var(--tone, var(--brand)); }
.dd-sx__item--recent .dd-sx__ico { width: 36px; height: 36px; color: var(--muted); }
.dd-sx__ico .dd-icon { width: 20px; height: 20px; }
.dd-sx__date { flex: none; display: grid; place-items: center; align-content: center; width: 46px; height: 46px; border-radius: 10px; background: color-mix(in srgb, var(--tone-red) 10%, var(--surface)); line-height: 1; }
.dd-sx__date b { font: 800 18px/1 var(--font-display); }
.dd-sx__date i { font: 700 9.5px/1 var(--font-display); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--tone-red); margin-top: 2px; }
.dd-sx__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.dd-sx__title { font: 600 14.5px/1.3 var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd-sx__title mark { background: color-mix(in srgb, var(--brand) 18%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.dd-sx__meta { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-sx__meta b { font: 700 10.5px/1.6 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--tone, var(--brand)); }
.dd-sx__all { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px; border-radius: 12px; border-top: 1px solid var(--line); font: 600 14px/1.2 var(--font-display); color: var(--brand); }
.dd-sx__all .dd-icon { width: 18px; height: 18px; }
.dd-sx__all span { flex: 1; }
.dd-sx__all kbd { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); font: 600 11px/1.4 var(--font-display); color: var(--muted); }
.dd-sx__empty { display: grid; gap: 4px; padding: 22px 14px; text-align: center; }
.dd-sx__empty strong { font: 700 15px/1.3 var(--font-display); }
.dd-sx__empty span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 1023px) { .dd-sx__all kbd { display: none; } }
.dd-sx__showing { margin: 4px 10px 6px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); }

/* ---------- Bell ---------- */
.dd-bell { position: relative; }
.dd-bell__pop {
	position: absolute; right: -60px; top: calc(100% + 10px); z-index: 60; width: min(360px, calc(100vw - 24px));
	border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; animation: dd-sx-in .14s ease;
}
.dd-bell__pop header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.dd-bell__pop header strong { font: 700 14.5px/1.2 var(--font-display); }
.dd-bell__pop header a { font: 600 12.5px/1 var(--font-display); color: var(--brand); }
.dd-bell__pop ul { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow: auto; }
.dd-bell__pop li a { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 10px; border-radius: 12px; color: var(--ink); }
.dd-bell__pop li a:hover { background: var(--surface-2); }
.dd-bell__tag { grid-column: 1; font: 700 10px/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--tone, var(--brand)); }
.dd-bell__title { grid-column: 1; font: 600 14px/1.3 var(--font-display); }
.dd-bell__time { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 12px; color: var(--muted); }
.dd-bell__empty { padding: 22px 14px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 639px) { .dd-bell__pop { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px); width: auto; } }

/* ---------- Weather ---------- */
.dd-weather .dd-panel__head { align-items: center; }
.dd-weather__town { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 4px 8px; font: 600 12.5px/1.2 var(--font-display); color: var(--ink-2); }
.dd-weather__now { display: flex; align-items: center; gap: 14px; padding: 8px 0 12px; }
.dd-weather__now .dd-weather__ic { width: 54px; height: 54px; color: var(--tone-amber); }
.dd-weather__now strong { display: block; font: 800 38px/1 var(--font-display); letter-spacing: -.04em; }
.dd-weather__now span { display: block; font: 600 14px/1.3 var(--font-display); }
.dd-weather__now small { color: var(--muted); font-size: 12.5px; }
.dd-weather__skel { display: block; width: 100%; height: 54px; border-radius: 12px; background: var(--surface-2); }
.dd-weather__days { list-style: none; margin: 0; padding: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 1px solid var(--line); }
.dd-weather__days li { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border-radius: 10px; background: var(--surface-2); font-size: 12px; }
.dd-weather__days span { font: 700 11px/1 var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.dd-weather__days .dd-weather__ic { width: 22px; height: 22px; color: var(--ink-2); }
.dd-weather__days b { font: 800 15px/1 var(--font-display); }
.dd-weather__days i { font-style: normal; color: var(--muted); }

/* ---------- Reading list + follow ---------- */
.dd-readlist { display: grid; gap: 10px; }
.dd-readitem { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.dd-readitem img, .dd-readitem__ph { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.dd-readitem a { flex: 1; min-width: 0; font: 700 15.5px/1.3 var(--font-display); }
.dd-follow { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.dd-follow__card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.dd-follow__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.dd-follow__link strong { display: block; font: 700 15px/1.2 var(--font-display); }
.dd-follow__link small { color: var(--muted); font-size: 12.5px; }
.dd-follow__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--tone) 14%, var(--surface)); color: var(--tone); }
.dd-follow__btn { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 700 13px/1 var(--font-display); color: var(--ink); cursor: pointer; }
.dd-follow__btn[aria-pressed="true"] { background: var(--tone); border-color: var(--tone); color: #fff; }
.dd-follow__on, .dd-follow__btn[aria-pressed="true"] .dd-follow__off { display: none; }
.dd-follow__btn[aria-pressed="true"] .dd-follow__on { display: inline; }

/* ---------- Notice (pages being rebuilt) ---------- */
.dd-notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); }
.dd-notice > .dd-icon { width: 28px; height: 28px; color: var(--brand); flex: none; }
.dd-notice strong { display: block; font: 800 19px/1.25 var(--font-display); color: var(--ink); }
.dd-notice p { margin: 6px 0 14px; font-size: 15.5px; }
.dd-prose .dd-notice a.dd-btn { color: #fff; text-decoration: none; }

/* ---------- Print: just the story ---------- */
@media print {
	.dd-header, .dd-breaking, .dd-tabbar, .dd-footer, .dd-sidebar, .dd-sponsor, .dd-sharebar, .dd-titlecard__actions, .dd-related, .dd-ctabox, .dd-comments-wrap, .dd-fab, .dd-progress, .dd-poll__share, .dd-crumbs { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
	.dd-titlecard { background: none !important; color: #000; box-shadow: none; padding: 0 0 12px; }
	.dd-titlecard::before { display: none; }
	.dd-titlecard__title, .dd-chiprow li { color: #000 !important; background: none !important; border-color: #ccc !important; }
	.dd-cover { margin: 12px 0 0; padding: 0; }
	.dd-readcard { box-shadow: none; padding: 0; }
	.dd-prose { color: #000; font-size: 12pt; }
	.dd-prose a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ---------- Reader accounts ---------- */
.dd-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font: 800 13px/1 var(--font-display); letter-spacing: .02em; }
.dd-avatar--sm { width: 24px; height: 24px; font-size: 10px; }
.dd-avatar--xl { width: 72px; height: 72px; font-size: 26px; box-shadow: 0 0 0 4px rgb(255 255 255 / .12); }
.dd-acctbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 14px/1 var(--font-display); }
.dd-acctbtn:hover { border-color: var(--brand); }
.dd-tabbar .dd-avatar--sm { margin-bottom: 1px; }

.dd-auth { display: grid; gap: 24px; padding-block: 24px 48px; align-items: start; }
.dd-auth__pitch { display: none; }
.dd-auth__card { max-width: 460px; width: 100%; margin-inline: auto; padding: 24px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dd-auth__card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 16px; }
.dd-auth__sub { margin: -8px 0 16px; color: var(--muted); }
.dd-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin-bottom: 14px; }
.dd-auth__tabs button { height: 40px; border: 0; border-radius: 10px; background: transparent; font: 700 14px/1 var(--font-display); color: var(--muted); }
.dd-auth__tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.dd-auth__form { display: grid; gap: 14px; }
.dd-field { display: grid; gap: 6px; }
.dd-field > span { display: flex; justify-content: space-between; font: 600 13px/1.2 var(--font-display); color: var(--ink-2); }
.dd-field > span a { color: var(--brand); }
.dd-field input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.dd-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.dd-pass { position: relative; display: block !important; }
.dd-pass input { padding-right: 64px; }
.dd-pass button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--surface-2); font: 700 12px/1 var(--font-display); color: var(--ink-2); }
.dd-btn--block { width: 100%; min-height: 50px; font-size: 15.5px; }
.dd-btn--danger { background: var(--accent); color: #fff; }
.dd-btn--danger:hover { background: #c4141c; color: #fff; }
.dd-auth__or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.dd-auth__or::before, .dd-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dd-auth__msg { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.dd-auth__msg.is-error { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); }
.dd-auth__msg.is-ok, .dd-auth__msg.is-sent { background: color-mix(in srgb, var(--wa) 12%, var(--surface)); color: var(--wa); }
.dd-auth__back { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--muted); }
.dd-auth__done { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 12px 0; }
.dd-auth__done p { margin: 0 0 8px; color: var(--ink-2); }
.dd-auth__badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); }
.dd-auth__badge .dd-icon { width: 30px; height: 30px; }
.dd-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.dd-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); }
.dd-check a { color: var(--brand); text-decoration: underline; }
.dd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dd-strength { display: flex; align-items: center; gap: 10px; margin-top: -6px; font-size: 12.5px; color: var(--muted); }
.dd-strength i { position: relative; flex: 1; height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.dd-strength i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; transition: width .25s, background .25s; }
.dd-strength[data-level="1"] i::after { width: 25%; background: var(--accent); }
.dd-strength[data-level="2"] i::after { width: 55%; background: var(--tone-amber); }
.dd-strength[data-level="3"] i::after { width: 80%; background: var(--wa); }
.dd-strength[data-level="4"] i::after { width: 100%; background: var(--wa); }

.dd-acct-hero__who { display: flex; align-items: center; gap: 18px; }
.dd-acct-hero .dd-sectioncard__title { font-size: clamp(30px, 7vw, 52px); }
.dd-acct-stats { display: flex; gap: 22px; margin: 0; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .12); }
.dd-acct-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.dd-acct-stats dt { font: 700 10.5px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.dd-acct-stats dd { margin: 0; font: 800 28px/1 var(--font-display); color: #fff; }
.dd-acct { display: grid; gap: 16px; padding-block: 18px 48px; }
.dd-acct__nav { margin-bottom: 4px; }
.dd-acct__card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 140px; }
.dd-acct__card > header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dd-acct__card > header h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; }
.dd-acct__card > header h2 .dd-icon { color: var(--brand); }
.dd-acct__card > header span { font-size: 13px; color: var(--muted); }
.dd-acct__sync { color: var(--wa) !important; font-weight: 600; }
.dd-acct__grid { display: grid; gap: 16px; }
.dd-acct__card--danger { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.dd-acct__card--danger summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.dd-acct__card--danger form { margin-top: 14px; }
.dd-acct .dd-empty { padding: 20px 0; }

@media (min-width: 1024px) {
	.dd-auth { grid-template-columns: 1fr 460px; gap: 56px; padding-block: 48px 72px; align-items: center; }
	.dd-auth__card { padding: 32px; margin: 0; }
	.dd-auth__pitch { display: grid; gap: 22px; }
	.dd-auth__pitch h2 { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.045em; max-width: 13ch; }
	.dd-auth__pitch h2 em { font-style: normal; color: var(--brand); }
	.dd-auth__pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
	.dd-auth__pitch li { display: flex; gap: 14px; align-items: flex-start; }
	.dd-auth__pitch li .dd-icon { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }
	.dd-auth__pitch li strong { display: block; font: 700 16px/1.3 var(--font-display); color: var(--ink); }
	.dd-auth__pitch li span { color: var(--ink-2); font-size: 15px; }
	.dd-auth__stat { margin: 0; color: var(--muted); }
	.dd-auth__stat strong { font: 800 28px/1 var(--font-display); color: var(--ink); }
	.dd-acct__grid { grid-template-columns: 1fr 1fr; }
	.dd-acct-stats { flex-direction: column; align-items: flex-end; gap: 14px; border: 0; padding: 0; }
	.dd-acct-stats div { align-items: flex-end; }
}

/* ---------- Story reactions ---------- */
.dd-react { margin-top: 28px; padding: 18px; border-radius: 16px; background: var(--surface-2); }
.dd-react__q { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0 0 12px; font: 700 15px/1.3 var(--font-display); color: var(--ink); }
.dd-react__q span { font: 600 13px/1.3 var(--font-display); color: var(--muted); }
.dd-react__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dd-react__btn {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 10px;
	border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer;
	font: 600 13.5px/1 var(--font-display); transition: border-color .15s, transform .12s, background .15s;
}
.dd-react__btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.dd-react__emoji { font-size: 22px; line-height: 1; transition: transform .2s; }
.dd-react__btn:hover .dd-react__emoji { transform: scale(1.15) rotate(-6deg); }
.dd-react__n { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 800; }
.dd-react__n:empty { display: none; }
.dd-react__btn[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }
.dd-react.has-mine .dd-react__btn[aria-pressed="false"] .dd-react__emoji { filter: grayscale(.5); opacity: .75; }
.dd-react__btn.is-pop .dd-react__emoji { animation: dd-react-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes dd-react-pop { 0% { transform: scale(1); } 40% { transform: scale(1.6) rotate(-10deg); } 100% { transform: scale(1); } }
.dd-meta__r { display: inline-flex; align-items: center; gap: 3px; }
.dd-meta > .dd-meta__r::before { content: none !important; }
@media (min-width: 640px) {
	.dd-react__row { grid-template-columns: repeat(6, 1fr); }
	.dd-react__btn { flex-direction: column; gap: 4px; min-height: 76px; }
	.dd-react__label { font-size: 12px; }
}
@media (max-width: 639px) { .dd-react__label { display: none; } .dd-react__btn { min-height: 52px; } }
@media (prefers-reduced-motion: reduce) { .dd-react__btn.is-pop .dd-react__emoji { animation: none; } }

/* ---------- Events search + agenda ---------- */
.dd-evsearch { margin-top: 24px; }
.dd-evsearch .dd-jobsearch__field { background: rgb(255 255 255 / .96); border-color: transparent; color: #0b0f14; }
.dd-evsearch .dd-jobsearch__field input { color: #0b0f14; }
.dd-events { display: grid; gap: 16px; padding-block: 20px 40px; }
.dd-events__filters { min-width: 0; display: grid; gap: 16px; align-content: start; }
.dd-daterange { display: grid; gap: 8px; }
.dd-daterange__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dd-daterange label { display: grid; gap: 4px; font: 600 12px/1.2 var(--font-display); color: var(--muted); }
.dd-daterange input { width: 100%; min-width: 0; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink); }
.dd-events__results { min-width: 0; }
.dd-agenda__month { margin: 22px 0 10px; font: 800 13px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--tone-red); }
.dd-agenda__month:first-child { margin-top: 4px; }
.dd-agenda__list { display: grid; gap: 10px; }
.dd-agenda__item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); border: 1px solid transparent; transition: border-color .15s; }
.dd-agenda__item:hover { border-color: color-mix(in srgb, var(--tone-red) 40%, transparent); }
.dd-agenda__item.is-past { opacity: .78; }
.dd-agenda__date { position: static; flex: none; box-shadow: none; background: color-mix(in srgb, var(--tone-red) 10%, var(--surface)); }
.dd-agenda__date.is-tbc { background: var(--surface-2); }
.dd-agenda__date.is-tbc b, .dd-agenda__date.is-tbc i { color: var(--muted); }
.dd-agenda__media { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.dd-agenda__media img, .dd-agenda__media .dd-ph { width: 100%; height: 100%; object-fit: cover; }
.dd-agenda__body { flex: 1; min-width: 0; }
.dd-agenda__body h4 { margin: 0 0 4px; font: 700 16px/1.25 var(--font-display); }
.dd-agenda__body h4 a:hover { color: var(--tone-red); }
.dd-agenda__meta { margin: 0; font-size: 13px; color: var(--muted); }
.dd-agenda__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 639px) { .dd-agenda__media { display: none; } }
@media (min-width: 1024px) {
	.dd-events { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
	.dd-events__filters { position: sticky; top: calc(var(--header-h) + 64px); }
	.dd-events__filters .dd-chips--scroll { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
	.dd-agenda__item { padding: 14px 16px; gap: 16px; }
	.dd-agenda__media { width: 76px; height: 76px; }
}

/* ---------- Invite / referrals ---------- */
.dd-invite { display: grid; gap: 16px; padding-block: 18px 48px; }
.dd-invite__link { display: flex; gap: 8px; }
.dd-invite__link input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--wa) 50%, var(--line)); background: color-mix(in srgb, var(--wa) 6%, var(--surface)); font: 600 15px/1 var(--font-display); color: var(--ink); }
.dd-invite__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dd-invite__preview { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; color: var(--ink-2); }
.dd-invite__preview span { display: block; margin-bottom: 4px; font: 700 11px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dd-invite__signedout h2 { font-size: 22px; font-weight: 800; }
.dd-invite__signedout p { color: var(--ink-2); }
.dd-acct__invite > header a { font: 600 13px/1 var(--font-display); color: var(--brand); }
.dd-acct__invite p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.dd-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.dd-badges li { position: relative; overflow: hidden; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 16px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.dd-badges li:not(.is-on) .dd-badges__emoji { filter: grayscale(1); opacity: .45; }
.dd-badges li.is-on { background: color-mix(in srgb, var(--wa) 10%, var(--surface)); border-color: color-mix(in srgb, var(--wa) 40%, var(--line)); }
.dd-badges__emoji { font-size: 30px; line-height: 1; }
.dd-badges strong { font: 700 14px/1.2 var(--font-display); }
.dd-badges small { font-size: 12px; color: var(--muted); }
.dd-badges__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p); background: var(--wa); }
.dd-leaders { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dd-leaders li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.dd-leaders li.is-me { box-shadow: inset 0 0 0 2px var(--wa); }
.dd-leaders__rank { width: 28px; text-align: center; font: 800 16px/1 var(--font-display); color: var(--muted); }
.dd-leaders strong { flex: 1; font: 700 15px/1.2 var(--font-display); }
.dd-leaders strong small { font-weight: 500; color: var(--muted); }
.dd-leaders__n { font: 700 13px/1 var(--font-display); color: var(--wa); }
.dd-leaders__note { margin: 12px 0 0; font-size: 12.5px; }
@media (min-width: 640px) { .dd-badges { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sidebar tabs (Most read / Talked about) ---------- */
.dd-tabpanel__tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 8px; border-radius: 12px; background: var(--surface-2); }
.dd-tabpanel__tabs button { height: 34px; border: 0; border-radius: 9px; background: transparent; font: 700 13px/1 var(--font-display); color: var(--muted); cursor: pointer; }
.dd-tabpanel__tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Photo captions, newspaper style ----------
   Caption in the reading font, credit in small caps after it; a thin rule ties it to the photo.
   Also styles WordPress's own caption markup on older stories. */
.dd-prose figure, .dd-prose .wp-caption { margin: 1.6em 0; max-width: 100%; }
.dd-prose figure img, .dd-prose .wp-caption img { display: block; width: 100%; height: auto; }
.dd-prose figcaption, .dd-prose .wp-caption-text, .dd-cover figcaption {
	margin: 0; padding: 10px 2px 0 12px; border-left: 3px solid var(--tone, var(--brand));
	margin-top: 10px; font: 400 14px/1.5 var(--font); color: var(--muted); text-align: left;
}
.dd-cover figcaption { margin: 12px 4px 0; }
.dd-caption { color: var(--ink-2, var(--ink)); }
.dd-credit {
	display: inline; white-space: nowrap; font: 600 11.5px/1 var(--font); letter-spacing: .06em;
	text-transform: uppercase; color: var(--muted);
}
.dd-credit::before { content: "— "; letter-spacing: 0; }
@media (min-width: 900px) { .dd-prose figcaption, .dd-cover figcaption { font-size: 14.5px; } }

/* Comment section notes (closed / hidden from readers) */
.dd-comments__note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2, rgb(127 127 127 / .08)); color: var(--muted); font-size: 14.5px; }
.dd-comments__note--warn { margin: 0 0 16px; background: rgb(154 91 0 / .1); color: var(--ink); border-left: 3px solid #9a5b00; }

/* =====================================================================
   Marketplace: cars and property
   ===================================================================== */
.dd-mkttabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
@media (min-width: 560px) { .dd-mkttabs { display: flex; gap: 8px; } }
.dd-mkttabs a {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; height: 42px; padding: 0 12px; border-radius: 999px; min-width: 0;
	border: 1px solid rgb(255 255 255 / .16); color: rgb(255 255 255 / .82); font: 600 14.5px/1 var(--font-display); background: rgb(255 255 255 / .04);
}
.dd-mkttabs a .dd-icon { width: 18px; height: 18px; }
.dd-mkttabs a:hover { background: rgb(255 255 255 / .1); color: #fff; }
.dd-mkttabs a[aria-current] { background: #fff; color: #0b0f14; border-color: #fff; }

.dd-mkt { display: grid; gap: 20px; margin-top: 20px; }
.dd-mkt__filterbox { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.dd-mkt__filterbox > summary {
	display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none;
	font: 700 15px/1 var(--font-display); color: var(--ink);
}
.dd-mkt__filterbox > summary::-webkit-details-marker { display: none; }
.dd-mkt__filterbox > summary .dd-icon { width: 18px; height: 18px; color: var(--brand); }
.dd-mkt__clear { margin-left: auto; font: 600 13px/1 var(--font); color: var(--brand); }
.dd-mkt__form { display: grid; gap: 12px; padding: 0 16px 18px; }
.dd-mkt__field { display: grid; gap: 6px; }
.dd-mkt__field > span { font: 700 11px/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dd-mkt__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dd-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); }
.dd-seg input { position: absolute; opacity: 0; pointer-events: none; }
.dd-seg span { display: grid; place-items: center; height: 38px; border-radius: 9px; font: 600 14px/1 var(--font-display); color: var(--ink-2); cursor: pointer; }
.dd-seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.dd-seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.dd-mkt__sell { display: none; }
.dd-mkt__empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.dd-mkt__empty .dd-icon { width: 40px; height: 40px; color: var(--brand); }
.dd-mkt__empty h2 { margin: 12px 0 6px; font-size: 21px; }
.dd-mkt__empty p { margin: 0 0 18px; color: var(--muted); }

/* Grid of cards */
.dd-lgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 560px) { .dd-lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dd-lgrid--row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(260px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.dd-lgrid--row::-webkit-scrollbar { display: none; }
.dd-lgrid--row > * { scroll-snap-align: start; }

/* Card: the photo always sits in a 4:3 frame; odd shapes are cropped to the centre */
.dd-lcard {
	position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
	border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.dd-lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dd-lcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.dd-lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dd-lcard:hover .dd-lcard__media img { transform: scale(1.04); }
.dd-lcard__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgb(0 0 0 / .35), transparent); pointer-events: none; }
.dd-lcard__media .dd-ph { position: absolute; inset: 0; }
.dd-lcard__badges { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.dd-lcard__count {
	position: absolute; right: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
	padding: 5px 9px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 600 12px/1 var(--font-display); backdrop-filter: blur(6px);
}
.dd-lcard__count .dd-icon { width: 14px; height: 14px; }
.dd-lcard__body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.dd-lcard__price { margin: 0; font: 800 21px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.dd-lcard__price small { font: 600 12px/1 var(--font); color: var(--muted); letter-spacing: 0; }
.dd-lcard__title { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.3; }
.dd-lcard__title a { color: var(--ink); }
.dd-lcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.dd-lcard__facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 2px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.dd-lcard__facts li + li::before { content: "·"; margin: 0 7px; color: var(--muted); }
.dd-lcard__place { display: flex; align-items: center; gap: 5px; margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.dd-lcard__place .dd-icon { width: 15px; height: 15px; }
.dd-lcard.is-sold .dd-lcard__media img { filter: grayscale(.85); opacity: .75; }

.dd-lbadge {
	display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px;
	font: 700 11.5px/1 var(--font-display); letter-spacing: .03em; background: rgb(255 255 255 / .92); color: #0b0f14; backdrop-filter: blur(6px);
}
.dd-lbadge .dd-icon { width: 14px; height: 14px; }
.dd-lbadge--featured { background: #f5b301; color: #1a1300; }
.dd-lbadge--offer { background: #9a5b00; color: #fff; }
.dd-lbadge--sold { background: #d61a22; color: #fff; }
.dd-lbadge--kind { background: var(--brand-50); color: var(--brand-600); }

/* Listing page */
.dd-listing { margin-top: 12px; }
.dd-listing__closed { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: rgb(214 26 34 / .08); color: var(--ink); font-weight: 600; }
.dd-listing__closed a { color: var(--brand); }

.dd-gallery { position: relative; margin: 8px calc(var(--gutter) * -1) 0; }
.dd-gallery__frame { position: relative; }
.dd-gallery__stage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.dd-gallery__stage::-webkit-scrollbar { display: none; }
/* Each photo is shown whole on a soft, blurred copy of itself: portrait or landscape, nothing is awkwardly cut */
.dd-gallery__slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: center; background: #0b0f14; cursor: zoom-in; }
.dd-gallery__slide::before { content: ""; position: absolute; inset: -30px; background: var(--img) center / cover no-repeat; filter: blur(28px) saturate(1.2) brightness(.7); transform: scale(1.1); }
.dd-gallery__slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.dd-gallery__nav {
	position: absolute; top: calc(50% - 22px); z-index: 2; display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgb(255 255 255 / .92); color: #0b0f14; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .15s;
}
.dd-gallery__nav:hover { transform: scale(1.06); }
.dd-gallery__nav--prev { left: 16px; }
.dd-gallery__nav--next { right: 16px; }
.dd-gallery__count, .dd-gallery__full {
	position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 0;
	background: rgb(0 0 0 / .6); color: #fff; font: 600 13px/1 var(--font-display); backdrop-filter: blur(6px);
}
.dd-gallery__count { left: 12px; bottom: 12px; }
.dd-gallery__full { right: 12px; bottom: 12px; cursor: pointer; }
.dd-gallery__full .dd-icon { width: 16px; height: 16px; }
.dd-gallery__full span { display: none; }
.dd-gallery__thumbs { display: flex; gap: 8px; padding: 10px var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
.dd-gallery__thumbs::-webkit-scrollbar { display: none; }
.dd-gallery__thumbs button { flex: none; width: 76px; height: 57px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; cursor: pointer; transition: opacity .15s; background: var(--surface-2); }
.dd-gallery__thumbs button[aria-selected="true"] { opacity: 1; outline-color: var(--brand); }
.dd-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.dd-listing__grid { display: grid; gap: 20px; margin-top: 18px; }
.dd-listing__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dd-listing__tags .dd-lbadge:not(.dd-lbadge--kind):not(.dd-lbadge--featured):not(.dd-lbadge--offer) { background: var(--surface-2); color: var(--ink-2); }
.dd-listing__title { margin: 0; font-size: clamp(26px, 6vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.dd-listing__place { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.dd-listing__place .dd-icon { width: 17px; height: 17px; }
.dd-listing__price { margin: 14px 0 0; font: 800 30px/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.dd-listing__price small { font: 600 14px/1 var(--font); letter-spacing: 0; color: var(--muted); }

.dd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.dd-specs > div { padding: 14px 16px; background: var(--surface); }
.dd-specs dt { display: flex; align-items: center; gap: 6px; font: 700 11px/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dd-specs dt .dd-icon { width: 15px; height: 15px; color: var(--brand); }
.dd-specs dd { margin: 6px 0 0; font: 650 16.5px/1.25 var(--font-display); color: var(--ink); }

.dd-listing__about { margin-top: 28px; }
.dd-listing__about h2, .dd-safety h2 { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.dd-featlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dd-featlist li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.dd-featlist .dd-icon { width: 17px; height: 17px; color: var(--tone-green); }
.dd-safety { margin-top: 28px; padding: 18px 18px 6px; border-radius: var(--radius); background: rgb(15 122 71 / .07); border: 1px solid rgb(15 122 71 / .18); }
.dd-safety h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.dd-safety h2 .dd-icon { color: var(--tone-green); }
.dd-safety ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); }
.dd-safety li { margin-bottom: 10px; }

.dd-contact { display: grid; gap: 12px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dd-contact__price { margin: 0; font: 800 32px/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.dd-contact__neg { margin: -6px 0 0; color: var(--tone-green); font-weight: 600; font-size: 14px; }
.dd-contact__seller { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-block: 1px solid var(--line); }
.dd-contact__seller strong { display: block; font: 700 15.5px/1.2 var(--font-display); }
.dd-contact__seller span:not(.dd-avatar) { font-size: 13px; color: var(--muted); }
.dd-contact__row { display: flex; justify-content: center; gap: 6px; }
.dd-contact__row .dd-iconbtn { border: 1px solid var(--line); }
.dd-contact__meta { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.dd-contact__tip { margin: 10px 4px 0; font-size: 13px; color: var(--muted); text-align: center; }
.dd-listing__side .dd-contact { display: none; }

/* Phones: a sticky contact bar above the tab bar */
.dd-lbar {
	position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 40;
	display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(15 23 42 / .08);
}
.dd-lbar > div { flex: 1; min-width: 0; }
.dd-lbar strong { display: block; font: 800 19px/1.1 var(--font-display); letter-spacing: -.02em; }
.dd-lbar span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-lbar .dd-iconbtn { border: 1px solid var(--line); }
.dd-lbar .dd-btn { height: 46px; }
.single-dd_listing .dd-footer { padding-bottom: calc(var(--tabbar-h) + 84px); }

.dd-lmore { margin-top: 36px; }

/* Full-screen photos */
.dd-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #05080c; color: #fff; }
.dd-lightbox::backdrop { background: #05080c; }
.dd-lightbox__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dd-lightbox__track::-webkit-scrollbar { display: none; }
.dd-lightbox__track figure { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: 56px 0 48px; }
.dd-lightbox__track img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dd-lightbox__count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font: 600 14px/1 var(--font-display); color: rgb(255 255 255 / .8); }
.dd-lightbox__close, .dd-lightbox__nav { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; }
.dd-lightbox__close:hover, .dd-lightbox__nav:hover { background: rgb(255 255 255 / .2); }
.dd-lightbox__close { top: 10px; right: 10px; }
.dd-lightbox__nav { top: calc(50% - 23px); display: none; }
.dd-lightbox__nav--prev { left: 16px; }
.dd-lightbox__nav--next { right: 16px; }

/* Homepage strip */
.dd-mktstrip { margin-top: 28px; }
.dd-mktstrip .dd-section__head h2 { display: flex; align-items: center; gap: 8px; }

@media (min-width: 760px) {
	.dd-gallery { margin-inline: 0; }
	.dd-gallery__frame { border-radius: 22px; overflow: hidden; }
	.dd-gallery__slide { aspect-ratio: 16 / 9; }
	.dd-gallery__nav, .dd-lightbox__nav { display: grid; }
	.dd-gallery__full span { display: inline; }
	.dd-gallery__thumbs { padding-inline: 0; }
	.dd-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dd-lgrid--row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 1024px) {
	.dd-mkt { grid-template-columns: 290px minmax(0, 1fr); align-items: start; gap: 28px; }
	.dd-mkt__filters { position: sticky; top: calc(var(--header-h) + 54px); display: grid; gap: 16px; }
	.dd-mkt__filterbox > summary { pointer-events: none; }
	.dd-mkt__filterbox > summary .dd-mkt__clear { pointer-events: auto; }
	.dd-mkt__sell { display: block; }
	.dd-lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.dd-lgrid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.dd-listing__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
	.dd-listing__side { position: sticky; top: calc(var(--header-h) + 54px); }
	.dd-listing__side .dd-contact { display: grid; }
	.dd-lbar { display: none; }
	.single-dd_listing .dd-footer { padding-bottom: 0; }
	.dd-gallery__slide { aspect-ratio: 16 / 8; }
}

/* =====================================================================
   Top-ups: airtime and ZESA
   ===================================================================== */
.dd-topup { margin-top: 20px; }
.dd-tutest { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: rgb(154 91 0 / .1); border: 1px solid rgb(154 91 0 / .25); color: var(--ink); font-size: 14px; }
.dd-tutest .dd-icon { flex: none; color: #9a5b00; }
.dd-tugrid { display: grid; gap: 20px; }
.dd-tucard { display: grid; gap: 18px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dd-tuseg { grid-auto-columns: 1fr; }
.dd-tuseg span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; font-size: 15px; }
.dd-tuseg .dd-icon { width: 18px; height: 18px; }
.dd-tufield { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dd-tufield > span, .dd-tufield > legend { padding: 0; font: 700 12px/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.dd-tufield input { width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 19px/1 var(--font-display); letter-spacing: .02em; }
.dd-tufield input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(15 117 189 / .15); }
.dd-tufield small { min-height: 1.2em; font-size: 13.5px; color: var(--muted); }
.dd-tufield small.is-ok { color: var(--tone-green); font-weight: 600; }
.dd-tufield small.is-bad { color: var(--tone-red); font-weight: 600; }
.dd-tumeter { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: rgb(15 122 71 / .08); border: 1px solid rgb(15 122 71 / .25); }
.dd-tumeter b { font: 700 16px/1.3 var(--font-display); color: var(--ink); }
.dd-tumeter span { font-size: 14px; color: var(--ink-2); }
.dd-tumeter em { margin-top: 4px; font-style: normal; font-weight: 700; color: var(--tone-green); }
.dd-tuamounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.dd-tuchip { height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 16px/1 var(--font-display); cursor: pointer; transition: border-color .15s, background .15s; }
.dd-tuchip:hover { border-color: var(--brand); }
.dd-tuchip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.dd-tuother { position: relative; }
.dd-tuother span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font: 600 17px/1 var(--font-display); color: var(--muted); }
.dd-tuother input { padding-left: 52px; }
.dd-tupay { display: grid; gap: 8px; }
.dd-tupay label { position: relative; }
.dd-tupay input { position: absolute; opacity: 0; pointer-events: none; }
.dd-tupay span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; }
.dd-tupay b { font: 700 15.5px/1.2 var(--font-display); color: var(--ink); }
.dd-tupay small { font-size: 13px; color: var(--muted); text-align: right; }
.dd-tupay input:checked + span { border-color: var(--brand); background: rgb(15 117 189 / .07); box-shadow: inset 0 0 0 1px var(--brand); }
.dd-tupay input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.dd-tuerr { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgb(214 26 34 / .08); color: var(--tone-red); font-weight: 600; font-size: 14.5px; }
.dd-tusubmit { height: 58px; font-size: 17px; }
.dd-tufine { margin: -6px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.dd-tuside { display: grid; gap: 16px; align-content: start; }
.dd-tuhow h2, .dd-turecent h2, .dd-tuwait h2 { font-size: 17px; margin: 0 0 12px; }
.dd-tuhow ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.dd-tuhow li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; counter-increment: s; }
.dd-tuhow li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(8 119 106 / .12); color: var(--tone-teal); font: 800 14px/1 var(--font-display); }
.dd-tuhow b { font: 700 14.5px/1.3 var(--font-display); }
.dd-tuhow li span { font-size: 13.5px; color: var(--muted); }
.dd-tusafe { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--tone-green); }
.dd-tusafe .dd-icon { width: 18px; height: 18px; }
.dd-turecent ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dd-turecent a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink); font-size: 14px; }
.dd-turecent a span { color: var(--muted); }
.dd-tuwait { text-align: center; border-color: var(--brand); }
.dd-tuwait p { color: var(--ink-2); }
.dd-tuspin, .dd-tustate__icon { display: block; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; border: 4px solid rgb(15 117 189 / .2); border-top-color: var(--brand); animation: dd-spin .9s linear infinite; }
@keyframes dd-spin { to { transform: rotate(360deg); } }

/* Receipt */
.dd-tureceipt { max-width: 640px; margin-inline: auto; }
.dd-tustate { text-align: center; }
.dd-tustate h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.dd-tustate p { margin: 8px 0 0; color: var(--ink-2); }
.dd-tustate p:empty { display: none; }
[data-status="delivered"] .dd-tustate__icon, [data-status="refunded"] .dd-tustate__icon { animation: none; border: 0; background: var(--tone-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 26px no-repeat; }
[data-status="cancelled"] .dd-tustate__icon, [data-status="expired"] .dd-tustate__icon, [data-status="refund_due"] .dd-tustate__icon { animation: none; border: 0; background: var(--tone-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 24px no-repeat; }
.dd-tutoken { text-align: center; padding: 20px 16px; border-radius: 18px; background: #0b1a14; color: #e8fff3; }
.dd-tutoken .dd-eyebrow { justify-content: center; color: rgb(232 255 243 / .65); }
.dd-tutoken__code { margin: 4px 0 2px; font: 800 clamp(22px, 6.4vw, 34px)/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .06em; word-spacing: .2em; }
.dd-tutoken__units { margin: 0 0 14px; font-weight: 700; color: #6fe3a5; }
.dd-tudetails { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.dd-tudetails div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dd-tudetails dt { color: var(--muted); font-size: 14px; }
.dd-tudetails dd { margin: 0; text-align: right; font-weight: 650; }
.dd-tudetails dd small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.dd-tuactions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dd-tutestpay { max-width: 520px; margin-inline: auto; text-align: center; }
.dd-tutestpay .dd-eyebrow { justify-content: center; }
.dd-tutestpay__amount { margin: 0; font: 800 44px/1 var(--font-display); letter-spacing: -.03em; }
.dd-tutestpay__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 1024px) {
	.dd-tugrid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 28px; }
	.dd-tucard { padding: 28px; }
	.dd-tuside { position: sticky; top: calc(var(--header-h) + 54px); }
}
@media print {
	.dd-tuactions, .dd-tufine, .dd-tutest, .dd-titlecard-wrap { display: none !important; }
	.dd-tutoken { background: none; color: #000; border: 2px solid #000; }
}
.dd-tuhero--compact .dd-sectioncard__icon, .dd-tuhero--compact .dd-sectioncard__blurb, .dd-tuhero--compact .dd-sectioncard__kicker { display: none; }
.dd-tuhero--compact .dd-sectioncard__title { font-size: clamp(26px, 6vw, 34px); }
.dd-tuchip[aria-pressed="true"] { border-color: var(--brand) !important; background: var(--brand) !important; color: #fff !important; box-shadow: 0 6px 16px -6px rgb(15 117 189 / .6); }
.dd-tuwallets { display: flex; flex-wrap: wrap; gap: 6px; }
.dd-tuwallets span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font: 700 13px/1 var(--font-display); color: var(--ink-2); }
.dd-tunext { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.dd-tunext:not(:has(a:not([hidden]))) { display: none; }
[data-status="claimable"] .dd-tustate__icon { animation: none; border: 0; background: #9a5b00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 26px no-repeat; }
.dd-moved { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); font-size: 15px; color: var(--ink-2); }
.dd-moved .dd-icon { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }
.dd-moved p { margin: 0; line-height: 1.45; }
.dd-moved strong { color: var(--ink); }
