/* CampusPro directory pages: colleges, universities, schools, institutes */
@property --dx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
    --plum: #1d0b33; --plum-2: #3b1766; --plum-3: #5a2a97; --ink: #1b1230; --muted: #5f5873; --mist: #f6f3fb; --line: #e7e0f2;
    --mint: #2fd3ae; --mint-d: #0e8f74; --saffron: #ffb547; --coral: #ff6f78; --lilac: #b8a3ff;
    --serif: "Fraunces", Georgia, serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.main-body { background: var(--mist); }
.dx { font-family: var(--sans); color: var(--ink); background: var(--mist); padding-bottom: 80px; overflow-x: clip; }
.dx *, .dx *::before, .dx *::after { box-sizing: border-box; }
.dx a { text-decoration: none; color: inherit; }
.dx p { margin: 0; }
.dx ol, .dx ul { margin: 0; padding: 0; list-style: none; }
.dx :focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 10px; }
.dx-wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }

nav.navbar.fixed-top { background: rgba(246, 243, 251, .85) !important; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: none !important; }
nav.navbar.fixed-top .nav-link, nav.navbar.fixed-top .nav-link i { color: var(--ink) !important; font-family: var(--sans); font-weight: 600; }

.dx-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 13px 22px; font: 700 15px var(--sans); cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; text-align: center; }
.dx-btn-saffron { background: var(--saffron); color: #2a1500 !important; }
.dx-btn-saffron:hover { background: #ffc266; transform: translateY(-2px); }
.dx-btn-ghost { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); background: transparent; }
.dx-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.dx-btn-plum { background: var(--plum); color: #fff !important; }
.dx-btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- header ---------- */
.dx-hero { padding: 92px 14px 0; }
.dx-hero-panel { position: relative; overflow: hidden; border-radius: 30px; color: #fff; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; min-height: 420px;
    background: radial-gradient(50% 90% at 82% 50%, rgba(120, 64, 210, .5), transparent 65%), radial-gradient(40% 70% at 100% 100%, rgba(47, 211, 174, .25), transparent 70%), linear-gradient(150deg, #26104a, #170a2a 70%); }
.dx[data-type="schools"] .dx-hero-panel { background: radial-gradient(50% 90% at 82% 50%, rgba(47, 211, 174, .35), transparent 65%), radial-gradient(40% 70% at 100% 100%, rgba(255, 181, 71, .2), transparent 70%), linear-gradient(150deg, #13304a, #0c1a2c 70%); }
.dx[data-type="universities"] .dx-hero-panel { background: radial-gradient(50% 90% at 82% 50%, rgba(255, 181, 71, .32), transparent 65%), radial-gradient(40% 70% at 100% 100%, rgba(184, 163, 255, .25), transparent 70%), linear-gradient(150deg, #33163f, #1a0a26 70%); }
.dx[data-type="institutes"] .dx-hero-panel { background: radial-gradient(50% 90% at 82% 50%, rgba(80, 150, 255, .38), transparent 65%), radial-gradient(40% 70% at 100% 100%, rgba(255, 111, 165, .22), transparent 70%), linear-gradient(150deg, #142458, #0b1230 70%); }
.dx-hero-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.dx-hero-copy { position: relative; z-index: 2; padding: 52px clamp(24px, 4.5vw, 64px) 40px; }
.dx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #c7bbe6; margin-bottom: 16px; }
.dx-crumbs a { color: #fff; }
.dx-crumbs a:hover { color: var(--mint); }
.dx-title { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 14px; color: #fff; }
.dx-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 17px; color: #d6ccef; margin-bottom: 24px !important; }
.dx-odo { display: inline-flex; font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--saffron); line-height: 1; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.dx-odo .d { display: inline-block; height: 1em; overflow: hidden; }
.dx-odo .d > span { display: flex; flex-direction: column; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k) * 70ms); }
.dx-odo .d > span > i { font-style: normal; height: 1em; line-height: 1; }

.dx-search { display: flex; align-items: center; gap: 10px; max-width: 640px; padding: 7px 7px 7px 18px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(5, 0, 20, .4); }
.dx-search svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--plum-3); stroke-width: 2.2; stroke-linecap: round; }
.dx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 16.5px var(--sans); color: var(--ink); padding: 12px 0; }
.dx-search input::placeholder { color: #8e86a4; font-weight: 500; }
.dx-search button { border: 0; border-radius: 13px; padding: 13px 24px; font: 800 15.5px var(--sans); background: var(--saffron); color: #2a1500; cursor: pointer; }
.dx-search button:hover { background: #ffc266; }

/* liquid switch: a soft blob follows the pointer and settles on the current directory */
.dx-switch { position: relative; display: inline-flex; gap: 2px; margin-top: 18px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dx-switch-blob { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: #fff; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), width .45s cubic-bezier(.3, 1.4, .5, 1); z-index: 0; }
.dx-switch-item { position: relative; z-index: 1; padding: 9px 17px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: #e5dcff !important; white-space: nowrap; transition: color .3s; }
.dx-switch-item.on-blob { color: var(--plum) !important; }

/* turning ring of monogram tiles */
.dx-ring-wrap { position: relative; height: 100%; min-height: 380px; perspective: 1100px; display: grid; place-items: center; }
.dx-ring { --r: 200px; position: relative; width: 108px; height: 140px; transform-style: preserve-3d; animation: dx-turn 34s linear infinite; }
@keyframes dx-turn { from { transform: rotateX(-8deg) rotateY(0); } to { transform: rotateX(-8deg) rotateY(-360deg); } }
.dx-tile { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 22px; color: #fff;
    transform: rotateY(calc(360deg / var(--n) * var(--i))) translateZ(var(--r)); background: linear-gradient(150deg, var(--c2), var(--c1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .18), 0 20px 40px rgba(0, 0, 0, .35); backface-visibility: visible; }
.dx-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, rgba(255, 255, 255, .35), transparent 40%); }
.dx-tile b { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.dx-tile small { font-size: 12px; font-weight: 700; opacity: .85; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dx-ring-floor { position: absolute; left: 50%; bottom: 46px; width: 420px; height: 70px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); filter: blur(6px); }

/* ---------- toolbar ---------- */
.dx-bar { position: sticky; top: 76px; z-index: 20; margin-top: 18px; transition: background .3s, box-shadow .3s; }
.dx-bar.stuck { background: rgba(246, 243, 251, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.dx-bar-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.dx-filter-btn { display: none; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 16px; background: var(--plum); color: #fff; font: 700 14.5px var(--sans); cursor: pointer; }
.dx-filter-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.dx-filter-n { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--saffron); color: var(--plum); font-size: 12.5px; }
.dx-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.dx-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; color: var(--ink); animation: dx-pop .4s cubic-bezier(.3, 1.5, .5, 1) both; }
.dx-chips a i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #f0ebf8; font-style: normal; font-size: 15px; line-height: 1; color: var(--plum-3); transition: background .2s, color .2s; }
.dx-chips a:hover i { background: var(--coral); color: #fff; }
@keyframes dx-pop { from { transform: scale(.6); opacity: 0; } }
.dx-bar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dx-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.dx-sort label { font-weight: 700; margin: 0; }
.dx-sort select { border: 0; border-radius: 999px; padding: 9px 34px 9px 14px; font: 700 14px var(--sans); color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%235a2a97' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; box-shadow: 0 0 0 1px var(--line); appearance: none; cursor: pointer; }
.dx-view { display: flex; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dx-view button { display: grid; place-items: center; width: 36px; height: 32px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: var(--muted); }
.dx-view button svg { width: 18px; height: 18px; fill: currentColor; }
.dx-view button[aria-pressed="true"] { background: var(--plum); color: #fff; }

/* ---------- layout ---------- */
.dx-main { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 10px; }

/* ---------- filters ---------- */
.dx-filters { position: sticky; top: 150px; display: grid; gap: 16px; max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.dx-filters-head { display: none; align-items: center; justify-content: space-between; padding: 22px 22px 8px; }
.dx-filters form { display: grid; gap: 18px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dx-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.dx-field label, .dx-field legend { font-size: 13.5px; font-weight: 800; color: var(--plum-3); margin: 0 0 2px; padding: 0; float: none; width: auto; }
.dx-field select { width: 100%; border: 0; border-radius: 13px; padding: 12px 38px 12px 14px; font: 600 15px var(--sans); color: var(--ink); background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%235a2a97' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; box-shadow: inset 0 0 0 1px var(--line); appearance: none; cursor: pointer; }
.dx-field select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--lilac); }
.dx-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.dx-pill { position: relative; margin: 0; cursor: pointer; }
.dx-pill input { position: absolute; opacity: 0; pointer-events: none; }
.dx-pill span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s, padding .25s; }
.dx-pill span::before { content: ""; width: 0; height: 14px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%231d0b33' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; transition: width .25s; margin-left: -6px; }
.dx-pill:hover span { color: var(--ink); }
.dx-pill input:checked + span { background: var(--plum); color: #fff; box-shadow: none; }
.dx-pill input:checked + span::before { width: 14px; margin-left: 0; }
.dx-pill input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.dx-clear { justify-self: start; font-weight: 800; font-size: 14px; color: var(--coral) !important; }
.dx-apply { border: 0; border-radius: 12px; padding: 12px; font: 700 15px var(--sans); background: var(--plum); color: #fff; }
.dx-help { padding: 22px; border-radius: 22px; color: #fff; background: radial-gradient(80% 80% at 100% 0%, rgba(255, 181, 71, .3), transparent 70%), linear-gradient(160deg, var(--plum-2), var(--plum)); }
.dx-help-title { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.2; margin-bottom: 8px !important; color: #fff; }
.dx-help p:not(.dx-help-title) { color: #d9cff2; font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
.dx-help .dx-btn { width: 100%; }
.dx-admin button, .dx-admin-del button { border: 0; background: none; color: #c0392b; font: 700 13px var(--sans); cursor: pointer; padding: 0; }
.dx-admin { padding: 0 6px; }
.dx-scrim { display: none; }

/* ---------- cards ---------- */
.dx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dx-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); isolation: isolate; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
/* light that follows the pointer, and a slowly turning glow on the edge */
.dx-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c2) 14%, transparent), transparent 45%); }
.dx-card::after { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; z-index: 1; opacity: 0; transition: opacity .35s; pointer-events: none;
    background: conic-gradient(from var(--dx-a), var(--mint), var(--saffron), var(--coral), var(--lilac), var(--mint)); animation: dx-spin 4s linear infinite paused;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@keyframes dx-spin { to { --dx-a: 360deg; } }
.dx-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(59, 23, 102, .14); }
.dx-card:hover::before, .dx-card:hover::after, .dx-card:focus-within::after { opacity: 1; }
.dx-card:hover::after, .dx-card:focus-within::after { animation-play-state: running; }
.dx-media { position: relative; display: block; height: 124px; margin: 8px 8px 0; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, var(--c2), var(--c1)); }
.dx-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 45%, transparent 60%); transform: translateX(-120%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); z-index: 2; }
.dx-card:hover .dx-media::after { transform: translateX(120%); }
.dx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.dx-card:hover .dx-media img { transform: scale(1.06); }
.dx-mono { position: absolute; right: 18px; bottom: -14px; font-family: var(--serif); font-weight: 800; font-size: 110px; line-height: 1; letter-spacing: -0.05em; color: rgba(255, 255, 255, .22); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.dx-card:hover .dx-mono { transform: translateY(-8px) rotate(-4deg); }
.dx-badge { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--plum); font-size: 12.5px; font-weight: 800; backdrop-filter: blur(6px); }
.dx-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 6px; flex: 1; }
.dx-name { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 650; font-size: 20px; line-height: 1.25; margin: 0; color: var(--ink); }
.dx-name a:hover { color: var(--plum-3); }
.dx-loc { display: flex; align-items: flex-start; gap: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.dx-loc svg { width: 17px; height: 17px; flex: none; margin-top: 1px; fill: none; stroke: var(--mint-d); stroke-width: 2.2; }
.dx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dx-tags li { padding: 4px 10px; border-radius: 999px; background: #f2ecfb; color: var(--plum-3); font-size: 12.5px; font-weight: 700; }
.dx-tags .dx-more { background: #e3faf3; color: var(--mint-d); }
.dx-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; }
.dx-facts div { display: grid; gap: 1px; min-width: 0; }
.dx-facts dt { font-size: 11.5px; font-weight: 700; color: #8e86a4; }
.dx-facts dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.dx-actions { display: flex; align-items: center; gap: 8px; padding: 12px 16px 16px 20px; }
.dx-view-btn { flex: 1; text-align: center; padding: 11px 16px; border-radius: 999px; background: var(--plum); color: #fff !important; font-weight: 800; font-size: 14.5px; transition: background .2s; }
.dx-view-btn:hover { background: var(--plum-3); }
.dx-icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--mist); color: var(--plum-3); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, transform .2s; }
.dx-icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dx-icon-btn:hover { background: #efe8fb; transform: translateY(-1px); }
.dx-heart[aria-pressed="true"] { background: #ffe8ec; color: var(--coral); box-shadow: inset 0 0 0 1px #ffc9d0; }
.dx-heart[aria-pressed="true"] svg { fill: var(--coral); animation: dx-beat .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes dx-beat { 30% { transform: scale(1.35); } }
.dx-burst { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; pointer-events: none; animation: dx-burst .7s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes dx-burst { to { transform: translate(var(--bx), var(--by)) scale(.2); opacity: 0; } }
.dx-admin-del { position: absolute; right: 16px; top: 142px; }

/* list view */
.dx-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.dx-grid.is-list .dx-card { flex-direction: row; align-items: stretch; }
.dx-grid.is-list .dx-media { width: 200px; height: auto; min-height: 150px; margin: 8px 0 8px 8px; flex: none; }
.dx-grid.is-list .dx-body { padding: 18px 20px; }
.dx-grid.is-list .dx-actions { flex-direction: column; justify-content: center; padding: 16px 20px; border-left: 1px solid var(--line); }
.dx-grid.is-list .dx-view-btn { flex: none; width: 150px; }
.dx-grid.is-list .dx-admin-del { top: auto; bottom: 10px; right: 200px; }

/* entrance: cards unfold from the top edge as they enter */
.dx-js .dx-card, .dx-js .dx-promo { opacity: 0; transform-origin: 50% 0; transform: perspective(900px) rotateX(-22deg) translateY(26px); filter: blur(6px); }
.dx-js .dx-card.in, .dx-js .dx-promo.in { opacity: 1; transform: none; filter: none; transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1), filter .7s ease, box-shadow .35s; transition-delay: calc(var(--d, 0) * 60ms); }
.dx-js .dx-card.in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* inline counselling card */
.dx-promo { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: 22px; color: #fff;
    background: radial-gradient(60% 140% at 100% 0%, rgba(255, 181, 71, .3), transparent 70%), radial-gradient(40% 120% at 0% 100%, rgba(47, 211, 174, .25), transparent 70%), var(--plum); }
.dx-promo-title { font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.2; margin-bottom: 6px !important; color: #fff; }
.dx-promo p:not(.dx-promo-title) { color: #d9cff2; max-width: 48ch; }
.dx-promo-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- pagination ---------- */
.dx-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.dx-page { padding: 11px 20px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 800; font-size: 14.5px; color: var(--ink); }
a.dx-page:hover { background: var(--plum); color: #fff; }
.dx-page-off { opacity: .45; }
.dx-page-info { display: none; font-weight: 700; color: var(--muted); font-size: 14.5px; }
.dx-page-nums { display: flex; align-items: center; gap: 6px; }
.dx-num { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 50%; font-weight: 800; font-size: 14.5px; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line); }
a.dx-num:hover { background: #efe8fb; }
.dx-num[aria-current="page"] { background: var(--plum); color: #fff; box-shadow: none; }
.dx-gap { color: var(--muted); padding: 0 2px; }

/* ---------- empty ---------- */
.dx-empty { text-align: center; padding: 64px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dx-empty h2 { font-family: var(--serif); font-weight: 650; font-size: 28px; margin: 22px 0 8px; color: var(--ink); }
.dx-empty p { color: var(--muted); margin-bottom: 22px; }
.dx-empty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.dx-empty-art { position: relative; width: 120px; height: 90px; margin: 0 auto; }
.dx-empty-art span { position: absolute; border-radius: 50%; animation: dx-float 3s ease-in-out infinite; }
.dx-empty-art span:nth-child(1) { width: 64px; height: 64px; left: 28px; top: 10px; background: radial-gradient(circle at 35% 30%, #fff, var(--lilac) 45%, var(--plum-3)); }
.dx-empty-art span:nth-child(2) { width: 26px; height: 26px; left: 4px; top: 50px; background: radial-gradient(circle at 35% 30%, #fff, var(--mint) 50%, var(--mint-d)); animation-delay: -1s; }
.dx-empty-art span:nth-child(3) { width: 20px; height: 20px; right: 4px; top: 4px; background: radial-gradient(circle at 35% 30%, #fff, var(--saffron) 50%, #c47800); animation-delay: -2s; }
@keyframes dx-float { 50% { transform: translateY(-10px); } }

/* ---------- shortlist ---------- */
.dx-sl-pill { position: fixed; z-index: 1040; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 13px 20px 13px 16px;
    background: var(--plum); color: #fff; font: 800 15px var(--sans); cursor: pointer; box-shadow: 0 18px 40px rgba(29, 11, 51, .4); animation: dx-rise .5s cubic-bezier(.3, 1.4, .5, 1); }
.dx-sl-pill svg { width: 20px; height: 20px; fill: var(--coral); }
.dx-sl-pill span { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; background: var(--saffron); color: var(--plum); font-size: 13px; }
.dx-sl-pill.bump span { animation: dx-beat .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes dx-rise { from { transform: translate(-50%, 80px); } }
.dx-sl { position: fixed; z-index: 1050; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: #fff; box-shadow: -30px 0 60px rgba(29, 11, 51, .25); font-family: var(--sans); animation: dx-slide .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes dx-slide { from { transform: translateX(100%); } }
.dx-sl-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 8px; }
.dx-sl-title, .dx-filters-title { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--ink); }
.dx-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.dx-sl-note { padding: 0 22px 14px; color: var(--muted); font-size: 14.5px; }
.dx-sl-list { flex: 1; overflow-y: auto; padding: 0 22px; display: grid; gap: 10px; align-content: start; }
.dx-sl-list li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--mist); }
.dx-sl-list a { flex: 1; min-width: 0; }
.dx-sl-list b { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.dx-sl-list small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.dx-sl-list button { border: 0; background: #fff; width: 32px; height: 32px; border-radius: 50%; color: var(--coral); font-size: 18px; cursor: pointer; flex: none; }
.dx-sl-empty { color: var(--muted); padding: 30px 0; text-align: center; }
.dx-sl-foot { display: grid; gap: 10px; padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.dx-sl-clear { border: 0; background: none; color: var(--muted); font: 700 14px var(--sans); cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .dx-hero-panel { grid-template-columns: minmax(0, 1fr) 300px; }
    .dx-ring { --r: 150px; width: 100px; height: 126px; }
    .dx-tile b { font-size: 32px; }
}
@media (max-width: 991px) {
    .dx-hero-panel { grid-template-columns: minmax(0, 1fr); }
    .dx-ring-wrap { display: none; }
    .dx-main { grid-template-columns: minmax(0, 1fr); }
    .dx-filter-btn { display: inline-flex; }
    .dx-bar { top: 70px; }
    .dx-filters { position: fixed; z-index: 1055; left: 0; right: 0; bottom: 0; top: auto; max-height: 86vh; padding: 0 0 20px; border-radius: 26px 26px 0 0; background: #fff;
        transform: translateY(105%); transition: transform .45s cubic-bezier(.16, 1, .3, 1); box-shadow: 0 -20px 60px rgba(29, 11, 51, .25); }
    .dx-filters.open { transform: none; }
    .dx-filters-head { display: flex; }
    .dx-filters form { box-shadow: none; padding: 8px 22px; }
    .dx-help { margin: 0 22px; }
    .dx-scrim { display: block; position: fixed; inset: 0; z-index: 1054; background: rgba(18, 8, 34, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
    .dx-filters.open + .dx-scrim { opacity: 1; pointer-events: auto; }
}
@media (max-width: 767px) {
    .dx-grid { grid-template-columns: minmax(0, 1fr); }
    .dx-grid.is-list .dx-card { flex-direction: column; }
    .dx-grid.is-list .dx-media { width: auto; margin: 8px 8px 0; }
    .dx-grid.is-list .dx-actions { flex-direction: row; border-left: 0; }
    .dx-grid.is-list .dx-view-btn { flex: 1; width: auto; }
    .dx-view { display: none; }
    .dx-sort label { display: none; }
    .dx-page-nums { display: none; }
    .dx-page-info { display: inline; }
}
@media (max-width: 575px) {
    .dx-hero { padding: 84px 8px 0; }
    .dx-hero-panel { border-radius: 24px; min-height: 0; }
    .dx-hero-copy { padding: 34px 20px 26px; }
    .dx-search { padding-left: 12px; }
    .dx-search button { padding: 12px 16px; }
    .dx-bar-inner { flex-wrap: wrap; padding: 8px 0; gap: 8px; }
    .dx-chips { order: 3; flex-basis: 100%; }
    .dx-promo { padding: 24px; }
    .dx-sl-pill { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
    .dx *, .dx *::before, .dx *::after { animation: none !important; transition: none !important; }
    .dx-js .dx-card, .dx-js .dx-promo { opacity: 1; transform: none; filter: none; }
}
