/* ==========================================================================
   CelebrityDeepLink v2 — vibrant, modern entertainment design system
   ========================================================================== */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-var.woff") format("woff"); font-weight: 100 1000; font-display: swap; }

:root {
	--bg: #07060C;
	--bg-2: #0F0D18;
	--card: #161325;
	--card-hi: #1F1B33;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .15);
	--text: #F7F5FF;
	--muted: #B3ADCC;
	--dim: #7C7698;
	--v1: #6D28FF;
	--v2: #A21CFF;
	--pink: #FF2D95;
	--orange: #FF7A3D;
	--cyan: #22D3EE;
	--lime: #A3E635;
	--grad: linear-gradient(120deg, #6D28FF 0%, #A21CFF 38%, #FF2D95 72%, #FF7A3D 100%);
	--grad-soft: linear-gradient(120deg, rgba(109, 40, 255, .25), rgba(255, 45, 149, .18));
	--grad-text: linear-gradient(100deg, #C4B5FD 0%, #F472B6 45%, #FDBA74 100%);
	--ok: #34D399;
	--warn: #FBBF24;
	--danger: #FB7185;
	--info: #60A5FA;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--shadow: 0 18px 50px -12px rgba(0, 0, 0, .7);
	--glow: 0 0 0 1px rgba(162, 28, 255, .45), 0 12px 40px -6px rgba(162, 28, 255, .45);
	--font: "DM Sans", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--display: "Montserrat", "DM Sans", system-ui, sans-serif;
	--wrap: 1360px;
	--header-h: 72px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; position: relative; }
body.cdl-no-scroll { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: #D8B4FE; text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { color: #fff; line-height: 1.12; margin: 0 0 .5em; font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #F0ABFC; outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 45, 149, .45); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--v2); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.cdl-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.cdl-muted { color: var(--muted); }
.cdl-icon { flex: none; vertical-align: middle; }
.cdl-grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-display { font-size: clamp(38px, 6vw, 76px); font-weight: 900; letter-spacing: -.04em; line-height: 1.02; }
.cdl-display-sm { font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; letter-spacing: -.035em; }

/* Aurora background --------------------------------------------------------- */
.cdl-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cdl-aurora span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .22; animation: cdl-float 28s ease-in-out infinite alternate; }
.cdl-aurora span:nth-child(1) { background: #6D28FF; top: -30vmax; left: -15vmax; }
.cdl-aurora span:nth-child(2) { background: #FF2D95; bottom: -35vmax; right: -20vmax; opacity: .16; animation-duration: 34s; }
.cdl-aurora span:nth-child(3) { background: #22D3EE; top: 30%; left: 55%; width: 34vmax; height: 34vmax; opacity: .07; animation-duration: 40s; }
.cdl-aurora::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000 0%, transparent 60%); }
@keyframes cdl-float { to { transform: translate(8vmax, 6vmax) scale(1.12); } }

/* Buttons ---------------------------------------------------------------- */
.cdl-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font: 700 15px/1.1 var(--font); cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; }
.cdl-btn:active { transform: translateY(1px) scale(.99); }
.cdl-btn-primary { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 45, 149, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.cdl-btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.cdl-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 45, 149, .75), inset 0 1px 0 rgba(255, 255, 255, .3); background-position: 100% 0; }
.cdl-btn-primary:hover::after { transform: translateX(120%); }
.cdl-btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.cdl-btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-1px); }
.cdl-btn-light { background: #fff; color: #1A0B33; box-shadow: 0 10px 30px -8px rgba(255, 255, 255, .4); }
.cdl-btn-light:hover { color: #1A0B33; transform: translateY(-2px); }
.cdl-btn-danger { background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .5); color: #FECDD3; }
.cdl-btn-sm { padding: 8px 14px; font-size: 14px; }
.cdl-btn-lg { padding: 15px 26px; font-size: 16px; }
.cdl-btn-block { width: 100%; margin-top: 10px; }
.cdl-btn[disabled], .cdl-btn.is-loading { opacity: .75; cursor: progress; }
.cdl-btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: cdl-spin .7s linear infinite; }
@keyframes cdl-spin { to { transform: rotate(360deg); } }
.cdl-icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; transition: background .2s; }
.cdl-icon-btn:hover { background: rgba(255, 255, 255, .08); }
.cdl-link-btn { background: none; border: 0; padding: 0; color: #D8B4FE; cursor: pointer; font-size: 14px; }

/* Badges, chips, kickers --------------------------------------------------- */
.cdl-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font: 800 10.5px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .08); color: var(--muted); white-space: nowrap; }
.cdl-badge-ai { background: linear-gradient(120deg, rgba(162, 28, 255, .35), rgba(34, 211, 238, .25)); color: #F3E8FF; border: 1px solid rgba(216, 180, 254, .45); box-shadow: 0 0 12px rgba(162, 28, 255, .35); }
.cdl-badge-verified { background: rgba(52, 211, 153, .16); color: #A7F3D0; border: 1px solid rgba(52, 211, 153, .35); }
.cdl-badge-adult { background: rgba(251, 113, 133, .18); color: #FECDD3; }
.cdl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; align-items: center; }
.cdl-chips-center { justify-content: center; }
.cdl-chips-label { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 14px; font-weight: 600; }
.cdl-chip, .cdl-chips a[rel="tag"] { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, transform .2s; }
.cdl-chip:hover, .cdl-chips a[rel="tag"]:hover { border-color: transparent; background: var(--grad); color: #fff; transform: translateY(-1px); }
.cdl-kicker, .cdl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--font); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-eyebrow a { color: inherit; }
.cdl-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 45, 149, .7); animation: cdl-pulse 1.8s infinite; }
@keyframes cdl-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 45, 149, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 149, 0); } }

/* Header ----------------------------------------------------------------- */
.cdl-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 6, 12, .6); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.cdl-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); opacity: .0; transition: opacity .3s; }
.cdl-header.is-scrolled { background: rgba(7, 6, 12, .85); }
.cdl-header.is-scrolled::after { opacity: .6; }
.admin-bar .cdl-header { top: 32px; }
.cdl-header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.cdl-logo { display: block; transition: transform .3s var(--ease); }
.cdl-logo:hover { transform: scale(1.03); }
.cdl-logo img, .custom-logo { height: 36px; width: auto; }
.cdl-nav { flex: 1; min-width: 0; }
.cdl-nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); width: max-content; }
.cdl-nav-list a { position: relative; display: block; padding: 8px 15px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: color .2s, background .2s; }
.cdl-nav-list a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.cdl-nav-list .current-menu-item a { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(216, 180, 254, .3); }
.cdl-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cdl-search-trigger { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; min-width: 230px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--dim); cursor: pointer; font-size: 14.5px; transition: border-color .2s, box-shadow .2s; }
.cdl-search-trigger:hover { border-color: rgba(216, 180, 254, .55); color: var(--muted); box-shadow: 0 0 24px -6px rgba(162, 28, 255, .6); }
.cdl-search-trigger kbd { margin-left: auto; font: 700 12px var(--font); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--dim); }
.cdl-avatar-link img { border-radius: 50%; padding: 2px; background: var(--grad); }
.cdl-nav-toggle { display: none; }

/* Search overlay ---------------------------------------------------------- */
.cdl-search-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(4, 3, 9, .72); backdrop-filter: blur(10px); display: flex; justify-content: center; padding: 9vh 16px 16px; animation: cdl-fade .2s; }
.cdl-search-overlay[hidden] { display: none; }
@keyframes cdl-fade { from { opacity: 0; } }
@keyframes cdl-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.cdl-search-panel { position: relative; width: 100%; max-width: 780px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; border-radius: var(--r-lg); box-shadow: 0 40px 120px -20px rgba(162, 28, 255, .45); overflow: hidden; align-self: flex-start; max-height: 82vh; display: flex; flex-direction: column; animation: cdl-rise .3s var(--ease); }
.cdl-search-form { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--line); color: #D8B4FE; }
.cdl-search-form input { flex: 1; background: transparent; border: 0; font: 500 20px var(--font); color: #fff; padding: 8px 0; outline: none; }
.cdl-suggest { padding: 8px 22px 22px; overflow: auto; }
.cdl-suggest h3 { font: 800 11px var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin: 18px 0 10px; display: flex; justify-content: space-between; }
.cdl-suggest-list { list-style: none; margin: 0; padding: 0; }
.cdl-suggest-list a { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 12px; color: var(--text); transition: background .15s; }
.cdl-suggest-list a:hover, .cdl-suggest-list a.is-active { background: var(--grad-soft); }
.cdl-suggest-list img { width: 72px; height: 40px; object-fit: cover; border-radius: 8px; }
.cdl-suggest-list small { display: block; color: var(--dim); font-size: 12px; }
.cdl-suggest-all { display: block; text-align: center; padding: 12px; margin-top: 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-weight: 600; }

/* Sections ---------------------------------------------------------------- */
.cdl-section { margin: 72px auto; }
.cdl-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.cdl-section-head .cdl-kicker { margin-bottom: 8px; }
.cdl-section-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0; display: flex; align-items: center; gap: 12px; }
.cdl-head-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; box-shadow: 0 8px 20px -6px rgba(255, 45, 149, .6); }
.cdl-section-head p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.cdl-see-all { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--text); transition: all .2s; }
.cdl-see-all:hover { background: var(--grad); border-color: transparent; color: #fff; }
.cdl-band { position: relative; padding: 1px 0; background: linear-gradient(180deg, transparent, rgba(109, 40, 255, .1) 20%, rgba(255, 45, 149, .07) 80%, transparent); }
.cdl-page { padding-top: 28px; padding-bottom: 90px; min-height: 60vh; }
.cdl-page-head { margin: 12px 0 28px; }
.cdl-page-hero { padding: 24px 0 8px; }
.cdl-title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -.035em; }
.cdl-lede { color: var(--muted); font-size: 18.5px; max-width: 780px; }
.cdl-count { color: var(--dim); font-size: 14px; margin: 0 0 16px; font-weight: 500; }
.cdl-empty { color: var(--muted); padding: 28px; text-align: center; background: rgba(255, 255, 255, .02); border-radius: var(--r); border: 1px dashed var(--line-2); }
.cdl-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.cdl-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Breadcrumbs ------------------------------------------------------------- */
.cdl-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; color: var(--dim); }
.cdl-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--dim); }
.cdl-breadcrumbs a { color: var(--muted); }

/* Grid & cards ------------------------------------------------------------ */
.cdl-grid { display: grid; gap: 26px 22px; }
.cdl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cdl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cdl-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cdl-grid-ad { grid-column: 1 / -1; }
.cdl-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.cdl-card-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--card); isolation: isolate; transform: translateZ(0); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cdl-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.cdl-card-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(7, 6, 12, .55)); pointer-events: none; }
.cdl-card-media::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.cdl-card:hover .cdl-card-media { transform: translateY(-5px); box-shadow: 0 22px 44px -14px rgba(162, 28, 255, .55); }
.cdl-card:hover .cdl-card-media img { transform: scale(1.07); filter: saturate(1.15) brightness(1.06); }
.cdl-card:hover .cdl-card-media::after { opacity: 1; }
.cdl-card-ph { position: absolute; inset: 0; background: var(--grad); opacity: .3; }
.cdl-duration { position: absolute; z-index: 3; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; background: rgba(7, 6, 12, .78); backdrop-filter: blur(6px); color: #fff; font: 700 12px var(--font); font-variant-numeric: tabular-nums; }
.cdl-card-play { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease); }
.cdl-card-play .cdl-icon { width: 58px; height: 58px; padding: 17px 15px 17px 19px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .4); color: #fff; fill: #fff; box-shadow: 0 10px 30px rgba(255, 45, 149, .5); }
.cdl-card:hover .cdl-card-play { opacity: 1; transform: none; }
.cdl-fav { position: absolute; top: 10px; right: 10px; z-index: 4; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(7, 6, 12, .55); backdrop-filter: blur(8px); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
.cdl-card:hover .cdl-fav, .cdl-fav:focus-visible, .cdl-fav.is-on { opacity: 1; }
.cdl-fav:hover { transform: scale(1.1); }
.cdl-fav.is-on .cdl-icon, .cdl-fav-btn.is-on .cdl-icon { fill: var(--pink); color: var(--pink); }
.cdl-fav.is-on { animation: cdl-pop .35s var(--ease); }
@keyframes cdl-pop { 50% { transform: scale(1.25); } }
.cdl-card-body { padding: 14px 2px 0; }
.cdl-card-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.cdl-type { font: 800 11px/1 var(--font); text-transform: uppercase; letter-spacing: .12em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-card-title { font: 700 16.5px/1.35 var(--font); letter-spacing: -.01em; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cdl-card-title a { color: var(--text); }
.cdl-card-title a:hover { color: #fff; }
.cdl-card-foot { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--dim); }
.cdl-card-creator { color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.cdl-card-creator .cdl-icon { color: var(--ok); }
.cdl-card-portrait .cdl-card-media { aspect-ratio: 3 / 4; }
.cdl-card-square .cdl-card-media { aspect-ratio: 1; }
.cdl-card-compact { flex-direction: row; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); transition: background .2s; }
.cdl-card-compact:hover { background: rgba(255, 255, 255, .04); }
.cdl-card-compact .cdl-card-media { width: 150px; flex: none; border-radius: 12px; }
.cdl-card-compact:hover .cdl-card-media { transform: none; box-shadow: none; }
.cdl-card-compact .cdl-card-body { padding: 0; }
.cdl-card-compact .cdl-card-title { font-size: 14.5px; }
.cdl-card-compact .cdl-fav, .cdl-card-compact .cdl-card-play { display: none; }

/* Holographic AI cards */
.cdl-holo-grid .cdl-card-media::after, .cdl-grid .cdl-card:has(.cdl-badge-ai) .cdl-card-media::after { background: conic-gradient(from var(--a, 0deg), #6D28FF, #22D3EE, #A3E635, #FF2D95, #6D28FF); opacity: .55; animation: cdl-holo 6s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes cdl-holo { to { --a: 360deg; } }

/* Rails ------------------------------------------------------------------- */
.cdl-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 23%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 16px; scrollbar-width: thin; scrollbar-color: var(--card-hi) transparent; }
.cdl-rail > * { scroll-snap-align: start; }
.cdl-top10 { list-style: none; margin: 0; padding: 6px 0 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 22%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--card-hi) transparent; }
.cdl-top10 li { position: relative; display: flex; align-items: flex-end; scroll-snap-align: start; padding-left: 88px; }
.cdl-rank { position: absolute; left: 0; bottom: 104px; z-index: 0; font: 900 140px/0.8 var(--display); letter-spacing: -.1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 24px rgba(255, 45, 149, .35)); }
.cdl-top10 li:nth-child(n+4) .cdl-rank { background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06)); -webkit-background-clip: text; background-clip: text; filter: none; }
.cdl-top10 .cdl-card { flex: 1; z-index: 1; }

/* Hero carousel ------------------------------------------------------------ */
.cdl-hero { padding: 28px 0 8px; }
.cdl-hero-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(280px, 1fr); gap: 20px; }
.cdl-hero-stage { position: relative; aspect-ratio: 16 / 8.6; border-radius: var(--r-xl); overflow: hidden; background: var(--card); box-shadow: 0 40px 90px -30px rgba(162, 28, 255, .55), 0 0 0 1px var(--line); }
.cdl-slide { position: absolute; inset: 0; display: block; color: #fff; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.cdl-slide.is-active { opacity: 1; visibility: visible; }
.cdl-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.cdl-slide.is-active .cdl-slide-img { transform: scale(1); }
.cdl-slide-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4.5vw, 56px); background: linear-gradient(0deg, rgba(7, 6, 12, .96) 0%, rgba(7, 6, 12, .55) 42%, transparent 72%), linear-gradient(90deg, rgba(7, 6, 12, .65) 0%, transparent 60%); }
.cdl-slide-title { font-size: clamp(28px, 4.2vw, 58px); font-weight: 900; letter-spacing: -.04em; line-height: 1.02; max-width: 18ch; margin-bottom: 14px; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.cdl-slide.is-active .cdl-slide-title, .cdl-slide.is-active .cdl-slide-text, .cdl-slide.is-active .cdl-slide-cta, .cdl-slide.is-active .cdl-kicker { animation: cdl-rise .8s var(--ease) both; }
.cdl-slide.is-active .cdl-slide-title { animation-delay: .08s; }
.cdl-slide.is-active .cdl-slide-text { animation-delay: .16s; }
.cdl-slide.is-active .cdl-slide-cta { animation-delay: .24s; }
.cdl-slide-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #E4DEFF; max-width: 58ch; font-size: 17px; margin-bottom: 22px; }
.cdl-slide-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cdl-slide-meta { display: inline-flex; align-items: center; gap: 6px; color: #E4DEFF; font-weight: 600; font-size: 14px; }
.cdl-slide .cdl-kicker { background: none; color: #fff; -webkit-text-fill-color: #fff; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); align-self: flex-start; letter-spacing: .12em; }
.cdl-hero-rail { display: flex; flex-direction: column; gap: 10px; }
.cdl-rail-label { font: 800 11px var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--dim); margin: 4px 0 2px; }
.cdl-hero-tab { position: relative; display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); text-align: left; cursor: pointer; overflow: hidden; font: 600 14px/1.3 var(--font); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.cdl-hero-tab img { width: 104px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex: none; }
.cdl-hero-tab small { display: block; font: 800 10.5px var(--font); text-transform: uppercase; letter-spacing: .12em; color: #D8B4FE; margin-bottom: 3px; }
.cdl-hero-tab span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cdl-hero-tab:hover { color: #fff; border-color: var(--line-2); transform: translateX(3px); }
.cdl-hero-tab.is-active { color: #fff; background: var(--grad-soft); border-color: rgba(216, 180, 254, .45); }
.cdl-hero-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.cdl-hero-tab.is-active .cdl-hero-progress { animation: cdl-progress var(--dur, 6s) linear forwards; }
.cdl-hero.is-paused .cdl-hero-tab.is-active .cdl-hero-progress { animation-play-state: paused; }
@keyframes cdl-progress { to { width: 100%; } }
.cdl-hero-empty { padding: 80px 0 40px; text-align: center; }

/* Big search + stats ------------------------------------------------------- */
.cdl-home-search { margin-top: 48px; text-align: center; }
.cdl-bigsearch { position: relative; display: flex; align-items: center; gap: 12px; max-width: 860px; margin: 0 auto; padding: 9px 9px 9px 24px; border-radius: 999px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 20px 60px -20px rgba(162, 28, 255, .55); color: #D8B4FE; transition: box-shadow .3s; }
.cdl-bigsearch:focus-within { box-shadow: 0 0 0 6px rgba(162, 28, 255, .18), 0 24px 70px -18px rgba(255, 45, 149, .6); }
.cdl-bigsearch input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; font: 500 18px var(--font); color: #fff; outline: none; }
.cdl-bigsearch .cdl-btn { padding: 14px 26px; }
.cdl-inline-suggest { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 20; text-align: left; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px; box-shadow: var(--shadow); animation: cdl-rise .2s var(--ease); }
.cdl-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; max-width: 980px; margin: 32px auto 0; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.cdl-stats div { background: rgba(15, 13, 24, .85); padding: 18px 12px; display: flex; flex-direction: column-reverse; gap: 2px; }
.cdl-stats dd { margin: 0; font: 900 clamp(24px, 3vw, 34px)/1 var(--display); letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-stats dt { color: var(--dim); font-size: 13px; font-weight: 600; }

/* Categories --------------------------------------------------------------- */
.cdl-hue-0 { --h1: #6D28FF; --h2: #22D3EE; } .cdl-hue-1 { --h1: #FF2D95; --h2: #FF7A3D; } .cdl-hue-2 { --h1: #A21CFF; --h2: #FF2D95; } .cdl-hue-3 { --h1: #0EA5E9; --h2: #6D28FF; }
.cdl-hue-4 { --h1: #F59E0B; --h2: #FF2D95; } .cdl-hue-5 { --h1: #10B981; --h2: #22D3EE; } .cdl-hue-6 { --h1: #E11D48; --h2: #A21CFF; } .cdl-hue-7 { --h1: #8B5CF6; --h2: #A3E635; }
.cdl-hue-violet { --h1: #6D28FF; --h2: #A21CFF; } .cdl-hue-fuchsia { --h1: #C026D3; --h2: #FF2D95; } .cdl-hue-pink { --h1: #FF2D95; --h2: #FF7A3D; } .cdl-hue-cyan { --h1: #06B6D4; --h2: #6366F1; }
.cdl-hue-blue { --h1: #3B82F6; --h2: #06B6D4; } .cdl-hue-emerald { --h1: #10B981; --h2: #22D3EE; } .cdl-hue-amber { --h1: #F59E0B; --h2: #EF4444; } .cdl-hue-sky { --h1: #0EA5E9; --h2: #22D3EE; }
.cdl-hue-orange { --h1: #FF7A3D; --h2: #FF2D95; } .cdl-hue-rose { --h1: #F43F5E; --h2: #A21CFF; } .cdl-hue-lime { --h1: #84CC16; --h2: #10B981; } .cdl-hue-indigo { --h1: #6366F1; --h2: #C026D3; }
.cdl-cat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cdl-cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 20px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; background: linear-gradient(135deg, var(--h1), var(--h2)); transition: transform .35s var(--ease), box-shadow .35s; }
.cdl-cat-tile img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .35; transition: opacity .4s, transform .6s var(--ease); }
.cdl-cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 6, 12, .55), transparent 70%); }
.cdl-cat-tile strong { font: 800 21px/1.1 var(--display); letter-spacing: -.02em; }
.cdl-cat-tile small { display: inline-flex; align-items: center; gap: 4px; opacity: .85; font-weight: 600; margin-top: 4px; }
.cdl-cat-tile:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 22px 46px -16px var(--h1); color: #fff; }
.cdl-cat-tile:hover img { opacity: .55; transform: scale(1.08); }
.cdl-cat-pill { display: flex; flex-direction: column; padding: 18px; border-radius: var(--r); background: linear-gradient(135deg, var(--h1, #6D28FF), var(--h2, #FF2D95)); color: #fff; }
.cdl-cat-pill small { opacity: .8; }
.cdl-cat-card { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--h1, #6D28FF), var(--h2, #FF2D95)); transition: transform .35s var(--ease), box-shadow .35s; }
.cdl-cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .4; transition: opacity .3s, transform .6s var(--ease); }
.cdl-cat-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -16px var(--h1, #6D28FF); color: #fff; }
.cdl-cat-card:hover img { opacity: .6; transform: scale(1.06); }
.cdl-cat-card span { position: absolute; inset: auto 0 0; padding: 18px; background: linear-gradient(0deg, rgba(7, 6, 12, .7), transparent); display: flex; flex-direction: column; }
.cdl-cat-card strong { font: 800 20px var(--display); }
.cdl-cat-card small { opacity: .85; }

/* Creators ----------------------------------------------------------------- */
.cdl-creator-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cdl-creator-tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 14px 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.cdl-creator-tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 70px; background: var(--grad); opacity: .18; }
.cdl-creator-tile:hover { transform: translateY(-6px); border-color: rgba(216, 180, 254, .45); box-shadow: 0 24px 50px -20px rgba(162, 28, 255, .6); color: #fff; }
.cdl-creator-tile strong { font-size: 15.5px; }
.cdl-creator-tile small { color: var(--dim); font-size: 13px; line-height: 1.4; }
.cdl-avatar-ring { position: relative; display: block; width: 104px; height: 104px; padding: 3px; border-radius: 50%; background: conic-gradient(from var(--a, 0deg), #6D28FF, #FF2D95, #FF7A3D, #22D3EE, #6D28FF); margin-bottom: 8px; animation: cdl-holo 5s linear infinite; }
.cdl-avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-2); }
.cdl-verified-dot { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #34D399, #22D3EE); color: #052e1f; vertical-align: middle; }
.cdl-tile-cta { margin-top: 8px; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); transition: background .2s, border-color .2s; }
.cdl-creator-tile:hover .cdl-tile-cta { background: var(--grad); border-color: transparent; }

/* Bento gallery ------------------------------------------------------------ */
.cdl-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.cdl-bento-item { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--card); }
.cdl-bento-item.is-large { grid-column: span 2; grid-row: span 2; }
.cdl-bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cdl-bento-item:hover img { transform: scale(1.06); }
.cdl-bento-item span { position: absolute; inset: auto 0 0; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(0deg, rgba(7, 6, 12, .9), transparent); }
.cdl-bento-item strong { font: 800 18px/1.2 var(--display); letter-spacing: -.02em; }
.cdl-bento-item.is-large strong { font-size: 28px; }
.cdl-bento-item small { display: inline-flex; gap: 6px; align-items: center; color: #E4DEFF; font-weight: 600; }
.cdl-bento-item:hover { color: #fff; }

/* News + tools teaser ------------------------------------------------------ */
.cdl-split { display: grid; grid-template-columns: 1.8fr 1fr; gap: 36px; }
.cdl-news-list { display: grid; gap: 6px; }
.cdl-news-list > .cdl-card:not(.cdl-card-compact) { margin-bottom: 14px; }
.cdl-tools-teaser { position: relative; padding: 28px; border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(109, 40, 255, .28), rgba(22, 19, 37, .92) 45%, rgba(255, 45, 149, .14)); border: 1px solid rgba(216, 180, 254, .25); align-self: start; overflow: hidden; }
.cdl-tools-teaser h2 { font-size: 25px; }
.cdl-tools-teaser ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.cdl-tools-teaser li a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid transparent; transition: all .2s; }
.cdl-tools-teaser li a strong { flex: 1; font-weight: 600; font-size: 15px; }
.cdl-tools-teaser li a:hover { border-color: rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .08); color: #fff; transform: translateX(3px); }

/* CTA band ------------------------------------------------------------------ */
.cdl-cta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--grad); box-shadow: 0 40px 100px -30px rgba(255, 45, 149, .6); }
.cdl-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .3), transparent), radial-gradient(500px 300px at 0% 100%, rgba(7, 6, 12, .45), transparent); }
.cdl-cta .cdl-kicker { background: none; -webkit-text-fill-color: #fff; color: #fff; opacity: .85; }
.cdl-cta .cdl-grad-text { background: none; -webkit-text-fill-color: #1A0B33; color: #1A0B33; }
.cdl-cta p { color: rgba(255, 255, 255, .9); max-width: 52ch; margin: 0; font-size: 17px; }
.cdl-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cdl-cta .cdl-btn-ghost { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); }

/* Filters & tabs ------------------------------------------------------------ */
.cdl-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; margin-bottom: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.cdl-filter select, .cdl-filter input[type="search"] { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-weight: 500; }
.cdl-filter select:focus, .cdl-filter-q:focus-within { border-color: rgba(216, 180, 254, .6); outline: none; box-shadow: 0 0 0 3px rgba(162, 28, 255, .2); }
.cdl-filter-q { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; padding-left: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: #D8B4FE; }
.cdl-filter-q input[type="search"] { flex: 1; border: 0; background: transparent; padding-left: 0; outline: none; }
.cdl-filter-check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; padding: 0 6px; font-weight: 600; }
.cdl-filter-check input { accent-color: var(--pink); width: 17px; height: 17px; }
.cdl-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 4px; }
.cdl-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); white-space: nowrap; font-weight: 700; transition: all .2s; }
.cdl-tabs a:hover { color: #fff; border-color: var(--line-2); }
.cdl-tabs a.is-active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 10px 26px -10px rgba(255, 45, 149, .7); }

/* Pagination ---------------------------------------------------------------- */
.cdl-pagination { margin: 44px 0 0; }
.cdl-pagination ul, .cdl-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cdl-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); font-weight: 700; transition: all .2s; }
.cdl-pagination .page-numbers.current { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 45, 149, .7); }
.cdl-pagination a.page-numbers:hover { border-color: rgba(216, 180, 254, .55); transform: translateY(-2px); }

/* Alerts -------------------------------------------------------------------- */
.cdl-alert { padding: 14px 18px; border-radius: var(--r); margin: 0 0 18px; border: 1px solid; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cdl-alert-ok { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .4); color: #A7F3D0; }
.cdl-alert-error { background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .45); color: #FECDD3; }
.cdl-alert-warn { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .45); color: #FDE68A; }
.cdl-alert-info { background: rgba(96, 165, 250, .08); border-color: rgba(96, 165, 250, .35); color: #BFDBFE; }

/* Forms --------------------------------------------------------------------- */
.cdl-form { display: grid; gap: 16px; }
.cdl-form-narrow { max-width: 660px; }
.cdl-field { display: grid; gap: 7px; }
.cdl-field label { font-weight: 700; font-size: 14px; color: var(--text); }
.cdl-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .cdl-field select, .cdl-field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7, 6, 12, .6); color: #fff; transition: border-color .2s, box-shadow .2s, background .2s; }
.cdl-field input:hover, .cdl-field select:hover, .cdl-field textarea:hover { border-color: rgba(255, 255, 255, .25); }
.cdl-field input:focus, .cdl-field select:focus, .cdl-field textarea:focus { outline: none; border-color: rgba(216, 180, 254, .7); box-shadow: 0 0 0 4px rgba(162, 28, 255, .2); background: rgba(7, 6, 12, .85); }
.cdl-field input[type="file"] { padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .03); width: 100%; color: var(--muted); }
.cdl-field-check, .cdl-field-check label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); font-weight: 500; cursor: pointer; }
.cdl-field-check input { margin-top: 3px; accent-color: var(--pink); width: 17px; height: 17px; flex: none; }
.cdl-switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cdl-switch { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: background .25s; margin-top: -1px; }
.cdl-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .25s var(--ease); }
.cdl-switch-row input:checked + .cdl-switch { background: var(--grad); }
.cdl-switch-row input:checked + .cdl-switch::after { transform: translateX(18px); }
.cdl-switch-row input:focus-visible + .cdl-switch { outline: 2px solid #F0ABFC; outline-offset: 2px; }
.cdl-field-error { color: var(--danger); font-size: 13px; margin: 0; font-weight: 600; }
.cdl-field-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea, .has-error .cdl-drop { border-color: var(--danger) !important; }
.cdl-help { color: var(--dim); font-size: 13px; margin: 0; }
.cdl-fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 12px; margin: 0; }
.cdl-fieldset legend, .cdl-segmented legend { font-weight: 800; padding: 0 6px; }
.cdl-segmented { display: flex; gap: 8px; border: 0; padding: 0; margin: 0; flex-wrap: wrap; }
.cdl-segmented label { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; font-weight: 600; }
.cdl-segmented label:has(input:checked) { border-color: transparent; background: var(--grad); color: #fff; }
.cdl-hp { position: absolute; left: -9999px; }
.cdl-form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cdl-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 160px; padding: 24px; text-align: center; border-radius: var(--r-lg); border: 2px dashed rgba(216, 180, 254, .35); background: radial-gradient(circle at 50% 0%, rgba(162, 28, 255, .14), transparent 70%), rgba(255, 255, 255, .02); color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.cdl-drop strong { color: #fff; font-size: 16px; }
.cdl-drop small { color: var(--dim); }
.cdl-drop-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; font-size: 24px; box-shadow: 0 10px 26px -8px rgba(255, 45, 149, .7); }
.cdl-drop.is-over, .cdl-drop:hover { border-color: #F0ABFC; transform: scale(1.005); background: radial-gradient(circle at 50% 0%, rgba(255, 45, 149, .2), transparent 70%), rgba(255, 255, 255, .04); }
.cdl-drop.has-file { border-style: solid; border-color: rgba(52, 211, 153, .55); }
.cdl-drop-thumb { max-height: 120px; width: auto; border-radius: 10px; margin-top: 8px; box-shadow: var(--shadow); }
.cdl-file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cdl-panel { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 32px); backdrop-filter: blur(12px); }

/* Tools --------------------------------------------------------------------- */
.cdl-tool-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--h1, #6D28FF), var(--h2, #FF2D95)); color: #fff; box-shadow: 0 10px 26px -10px var(--h1, #6D28FF); flex: none; }
.cdl-tool-icon-lg { width: 68px; height: 68px; border-radius: 20px; margin-bottom: 16px; }
.cdl-tool-icon-sm { width: 30px; height: 30px; border-radius: 9px; }
.cdl-tool-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; height: 100%; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); color: var(--muted); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.cdl-tool-card::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(var(--h1, #6D28FF), transparent 70%); opacity: .25; transition: opacity .35s, transform .5s var(--ease); }
.cdl-tool-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); box-shadow: 0 26px 50px -24px var(--h1, #6D28FF); color: var(--muted); }
.cdl-tool-card:hover::before { opacity: .5; transform: scale(1.2); }
.cdl-tool-card strong { color: #fff; font: 800 19px/1.2 var(--display); letter-spacing: -.02em; }
.cdl-tool-card > span:not(.cdl-tool-icon) { font-size: 14.5px; flex: 1; }
.cdl-tool-card .cdl-badge { align-self: flex-start; }
.cdl-tool-go { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 700; font-size: 14px; color: #fff; opacity: .7; transition: opacity .2s, gap .2s; }
.cdl-tool-card:hover .cdl-tool-go { opacity: 1; gap: 8px; }
.cdl-group-title { font: 800 12px var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--dim); margin-bottom: 16px; }
.cdl-tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
.cdl-tool-head { position: relative; padding: 8px 0 4px; }
.cdl-tool-head .cdl-title { background: linear-gradient(100deg, #fff 30%, var(--h1, #C4B5FD) 70%, var(--h2, #F472B6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-tool-panel { position: relative; border-color: rgba(255, 255, 255, .12); }
.cdl-tool-panel::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, var(--h1, #6D28FF), transparent 40%, transparent 60%, var(--h2, #FF2D95)); opacity: .5; filter: blur(14px); }
.cdl-tool-aside { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.cdl-tool-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.cdl-tool-list a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: all .2s; }
.cdl-tool-list a:hover { background: rgba(255, 255, 255, .05); color: #fff; transform: translateX(3px); }
.cdl-tool .cdl-btn-primary { background: linear-gradient(120deg, var(--h1, #6D28FF), var(--h2, #FF2D95)); box-shadow: 0 12px 30px -10px var(--h1, #6D28FF); }
.cdl-btn-example { border-style: dashed; }
.cdl-progress { position: relative; height: 3px; margin: -6px 0 14px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.cdl-progress span { position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, var(--h1, #6D28FF), var(--h2, #FF2D95)); animation: cdl-indet 1.1s ease-in-out infinite; }
@keyframes cdl-indet { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.cdl-tool-history { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cdl-tool-history ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cdl-tool-history button { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer; font-size: 13px; }
.cdl-tool-history button span:nth-child(2) { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdl-tool-history button small { color: var(--dim); }
.cdl-tool-history button:hover { border-color: rgba(216, 180, 254, .5); }
.cdl-dot { width: 8px; height: 8px; border-radius: 50%; border: 0 !important; padding: 0 !important; }
.cdl-dot.cdl-status-ok { background: var(--ok); } .cdl-dot.cdl-status-warn { background: var(--warn); } .cdl-dot.cdl-status-danger { background: var(--danger); } .cdl-dot.cdl-status-info { background: var(--info); }
.cdl-tool-result { margin-top: 26px; outline: none; }
.cdl-tool-result > * { animation: cdl-rise .5s var(--ease) both; }
.cdl-result-summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); border: 1px solid; margin-bottom: 16px; flex-wrap: wrap; }
.cdl-result-summary p { margin: 0; flex: 1; font-weight: 600; }
.cdl-result-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 900; background: currentColor; }
.cdl-result-icon { color: inherit; }
.cdl-status-ok .cdl-result-icon { background: var(--ok); color: #052e1f; } .cdl-status-warn .cdl-result-icon { background: var(--warn); color: #3a2500; } .cdl-status-danger .cdl-result-icon { background: var(--danger); color: #3b0711; } .cdl-status-info .cdl-result-icon { background: var(--info); color: #0b1d3a; }
.cdl-status-ok { background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .4); color: #A7F3D0; }
.cdl-status-warn { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .4); color: #FDE68A; }
.cdl-status-danger { background: rgba(251, 113, 133, .08); border-color: rgba(251, 113, 133, .45); color: #FECDD3; }
.cdl-status-info { background: rgba(96, 165, 250, .08); border-color: rgba(96, 165, 250, .35); color: #BFDBFE; }
.cdl-ref { padding: 5px 11px; border-radius: 8px; background: rgba(255, 255, 255, .1); font-family: ui-monospace, monospace; color: #fff; }
.cdl-result-chips { margin: 0 0 18px; }
.cdl-result-chips .cdl-chip { background: linear-gradient(120deg, rgba(var(--c1, 109, 40, 255), .18), rgba(255, 45, 149, .12)); border-color: rgba(216, 180, 254, .3); font-weight: 700; }
.cdl-viz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.cdl-viz-single { grid-template-columns: 1fr; }
.cdl-viz-main, .cdl-viz-side { padding: 20px; border-radius: var(--r-lg); background: rgba(7, 6, 12, .5); border: 1px solid var(--line); }
.cdl-gauge-card { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.cdl-gauge-card h4 { font-size: 18px; margin: 0 0 4px; }
.cdl-gauge-card p { margin: 0; color: var(--muted); font-size: 14px; }
.cdl-gauge { position: relative; width: 128px; height: 128px; flex: none; }
.cdl-gauge-svg { width: 100%; height: 100%; }
.cdl-gauge-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 11; }
.cdl-gauge-bar { fill: none; stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); filter: drop-shadow(0 0 6px currentColor); }
.cdl-tone-ok .cdl-gauge-bar { stroke: var(--ok); color: var(--ok); } .cdl-tone-warn .cdl-gauge-bar { stroke: var(--warn); color: var(--warn); } .cdl-tone-danger .cdl-gauge-bar { stroke: var(--danger); color: var(--danger); }
.cdl-gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cdl-gauge-num { font: 900 36px/1 var(--display); letter-spacing: -.04em; color: #fff; }
.cdl-gauge-center small { color: var(--dim); font-size: 12px; }
.cdl-bars { display: grid; gap: 12px; }
.cdl-bar-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.cdl-bar-head small { color: var(--dim); font-weight: 500; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.cdl-bar-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.cdl-bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--h1, #6D28FF), var(--h2, #FF2D95)); transition: width 1s var(--ease); }
.cdl-mini-title { font: 800 11.5px var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin: 18px 0 10px; }
.cdl-viz-side .cdl-mini-title:first-child { margin-top: 0; }
.cdl-figure { margin: 0 0 16px; }
.cdl-figure img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); background: #000; }
.cdl-figure figcaption { color: var(--dim); font-size: 13px; margin-top: 8px; }
.cdl-palette { display: flex; height: 72px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.cdl-swatch { position: relative; flex: 1 1 0; min-width: 44px; border: 0; padding: 8px; background: var(--sw); cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); transition: flex-grow .3s var(--ease); }
.cdl-swatch span { font: 700 11px ui-monospace, monospace; opacity: 0; transition: opacity .2s; }
.cdl-swatch small { font-size: 10px; opacity: 0; }
.cdl-swatch:hover span, .cdl-swatch:hover small, .cdl-swatch:focus-visible span { opacity: 1; }
.cdl-swatch:hover { flex-grow: 30 !important; }
.cdl-hist-wrap .cdl-bars { margin-top: 14px; }
.cdl-hist { display: flex; align-items: flex-end; gap: 2px; height: 90px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.cdl-hist span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #F0ABFC, #6D28FF); opacity: calc(.45 + var(--i) / 60); }
.cdl-hist-axis { display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; margin-top: 4px; }
.cdl-cmp { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); background: #000; user-select: none; }
.cdl-cmp > img { width: 100%; display: block; }
.cdl-cmp-clip { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cdl-cmp-top { width: 100%; height: 100%; object-fit: cover; }
.cdl-cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(255, 45, 149, .8); pointer-events: none; }
.cdl-cmp-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.cdl-cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cdl-cmp-tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(7, 6, 12, .75); backdrop-filter: blur(6px); font: 700 12px var(--font); color: #fff; pointer-events: none; }
.cdl-cmp-tag-l { left: 12px; } .cdl-cmp-tag-r { right: 12px; }
.cdl-highlight { padding: 16px 18px; border-radius: var(--r); background: rgba(7, 6, 12, .5); border: 1px solid var(--line); line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.cdl-highlight mark { padding: 2px 6px; border-radius: 6px; color: #fff; font-weight: 700; }
.cdl-hl-minor, .cdl-hl-nonconsent { background: rgba(251, 113, 133, .35); box-shadow: inset 0 -2px 0 var(--danger); }
.cdl-hl-synthetic { background: rgba(162, 28, 255, .35); box-shadow: inset 0 -2px 0 #C084FC; }
.cdl-hl-explicit { background: rgba(251, 191, 36, .3); box-shadow: inset 0 -2px 0 var(--warn); }
.cdl-hl-person { background: rgba(34, 211, 238, .25); box-shadow: inset 0 -2px 0 var(--cyan); }
.cdl-result-section { margin-bottom: 14px; }
details.cdl-result-section > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); font: 700 15px var(--font); margin-bottom: 8px; }
details.cdl-result-section > summary::-webkit-details-marker { display: none; }
details.cdl-result-section > summary::after { content: "+"; font-size: 20px; color: var(--dim); }
details[open].cdl-result-section > summary::after { content: "–"; }
.cdl-result-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.cdl-tool-grid { margin-top: 6px; }
.cdl-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.cdl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cdl-table th, .cdl-table td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); vertical-align: top; word-break: break-word; }
.cdl-table tr:last-child th, .cdl-table tr:last-child td { border-bottom: 0; }
.cdl-table th { color: var(--muted); font-weight: 600; width: 34%; }
.cdl-table thead th { background: rgba(255, 255, 255, .04); width: auto; }
.cdl-table code { font-size: 12.5px; color: #F0ABFC; }
.cdl-output-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.cdl-output-head h4 { font-size: 16px; margin: 0; }
.cdl-output-btns { display: flex; gap: 6px; }
.cdl-code { margin: 0; padding: 16px; max-height: 320px; overflow: auto; border-radius: 12px; background: #05040A; border: 1px solid var(--line); font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #F5D0FE; white-space: pre-wrap; word-break: break-word; }
.cdl-preview { width: 100%; height: 120px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #14121f; }
.cdl-skeleton { height: 160px; border-radius: var(--r-lg); background: linear-gradient(90deg, rgba(255, 255, 255, .03) 0%, rgba(162, 28, 255, .12) 50%, rgba(255, 255, 255, .03) 100%); background-size: 200% 100%; animation: cdl-shimmer 1.2s infinite; }
@keyframes cdl-shimmer { to { background-position: -200% 0; } }
.cdl-more { text-align: center; margin-top: 18px; }
.cdl-how { padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .02); border: 1px solid var(--line); }
.cdl-how ol { color: var(--muted); padding: 0; margin: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.cdl-how li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.cdl-how li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--h1, #6D28FF), var(--h2, #FF2D95)); color: #fff; font-weight: 800; }
.cdl-auth-gate { flex-direction: column; align-items: flex-start; }

/* Single / watch ------------------------------------------------------------- */
.cdl-watch { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 34px; margin-top: 8px; }
.cdl-player { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 40px 90px -30px rgba(162, 28, 255, .6), 0 0 0 1px var(--line); }
.cdl-player video, .cdl-player iframe, .cdl-player img, .cdl-player-image, .cdl-embed { width: 100%; height: 100%; object-fit: cover; border: 0; }
.cdl-player video { object-fit: contain; background: #000; }
.cdl-embed-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.cdl-embed-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.cdl-embed-play:hover img { opacity: 1; }
.cdl-play-icon { position: absolute; top: 50%; left: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 10px rgba(255, 255, 255, .12), 0 14px 50px rgba(255, 45, 149, .7); transition: transform .3s var(--ease); }
.cdl-embed-play:hover .cdl-play-icon { transform: scale(1.08); }
.cdl-play-icon::after { content: ""; position: absolute; left: 35px; top: 27px; border-style: solid; border-width: 17px 0 17px 27px; border-color: transparent transparent transparent #fff; }
.cdl-watch .cdl-title { font-size: clamp(24px, 2.8vw, 34px); margin-top: 22px; }
.cdl-meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; margin-bottom: 18px; align-items: center; font-weight: 500; }
.cdl-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.cdl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.cdl-creator-strip { display: flex; gap: 14px; align-items: center; padding: 16px; margin-bottom: 22px; border-radius: var(--r-lg); background: linear-gradient(90deg, rgba(109, 40, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid var(--line); color: var(--text); transition: border-color .2s; }
.cdl-creator-strip:hover { border-color: rgba(216, 180, 254, .5); color: #fff; }
.cdl-creator-strip small { display: block; color: var(--muted); }
.cdl-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; padding: 2px; background: var(--grad); }
.cdl-prose { color: #DCD6F2; font-size: 17.5px; line-height: 1.78; max-width: 76ch; }
.cdl-prose h2 { font-size: 26px; margin-top: 1.6em; }
.cdl-prose a { text-decoration: underline; text-decoration-color: rgba(240, 171, 252, .5); text-underline-offset: 3px; }
.cdl-prose ul, .cdl-prose ol { padding-left: 1.3em; }
.cdl-rights { color: var(--dim); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.cdl-side-title { font: 800 12px var(--font); margin: 0 0 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; }
.cdl-ai-disclosure { display: flex; gap: 10px; align-items: center; padding: 13px 16px; margin: 0 0 20px; border-radius: var(--r); background: linear-gradient(120deg, rgba(162, 28, 255, .16), rgba(34, 211, 238, .08)); border: 1px solid rgba(216, 180, 254, .4); color: #F3E8FF; font-size: 14.5px; }

/* Gallery -------------------------------------------------------------------- */
.cdl-gallery-grid { columns: 4 220px; column-gap: 14px; margin: 26px 0; }
.cdl-gallery-item { margin: 0 0 14px; break-inside: avoid; }
.cdl-gallery-item button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--card); }
.cdl-gallery-item img { width: 100%; transition: transform .6s var(--ease), filter .3s; }
.cdl-gallery-item button:hover img { transform: scale(1.05); filter: saturate(1.15); }
.cdl-gallery-item figcaption { font-size: 13px; color: var(--dim); padding: 6px 2px 0; }
.cdl-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 3, 9, .96); backdrop-filter: blur(12px); display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; animation: cdl-fade .2s; }
.cdl-lightbox[hidden] { display: none; }
.cdl-lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100vh; padding: 40px 0; }
.cdl-lb-figure img { max-height: calc(100vh - 140px); width: auto; border-radius: var(--r); box-shadow: 0 40px 100px -20px rgba(162, 28, 255, .5); animation: cdl-rise .35s var(--ease); }
.cdl-lb-figure figcaption { display: flex; gap: 16px; color: var(--muted); padding-top: 14px; font-size: 14px; text-align: center; }
.cdl-lb-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.cdl-lb-nav { height: 64px; width: 64px; justify-self: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.cdl-lb-nav:hover { background: var(--grad); transform: scale(1.06); }

/* Profiles ------------------------------------------------------------------- */
.cdl-profile-cover { position: relative; height: clamp(180px, 28vw, 340px); background: var(--grad); overflow: hidden; }
.cdl-profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), transparent 60%); }
.cdl-profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.cdl-profile-head { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: end; margin-top: -76px; position: relative; z-index: 1; }
.cdl-profile-avatar img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; padding: 4px; background: conic-gradient(from 0deg, #6D28FF, #FF2D95, #FF7A3D, #22D3EE, #6D28FF); box-shadow: 0 20px 50px -10px rgba(162, 28, 255, .6); }
.cdl-profile-info .cdl-title { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 4px; }
.cdl-profile-head .cdl-actions { margin: 0; }
.cdl-social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.cdl-social a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; font-weight: 600; transition: all .2s; }
.cdl-social a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.cdl-bio { margin: 26px 0; }
.cdl-character { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: 44px; margin-top: 12px; }
.cdl-character-art { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--card); align-self: start; box-shadow: 0 40px 90px -30px rgba(162, 28, 255, .6); }
.cdl-character-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--a, 0deg), #6D28FF, #22D3EE, #A3E635, #FF2D95, #6D28FF); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: cdl-holo 6s linear infinite; pointer-events: none; }
.cdl-character-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cdl-art-badge { position: absolute; top: 14px; left: 14px; font-size: 12px; z-index: 1; }
.cdl-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; }
.cdl-facts div { padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cdl-facts dt { color: var(--dim); font: 800 11px var(--font); text-transform: uppercase; letter-spacing: .12em; }
.cdl-facts dd { margin: 6px 0 0; color: #fff; font-weight: 700; }

/* Article -------------------------------------------------------------------- */
.cdl-article-head { max-width: 920px; margin: 18px 0 26px; }
.cdl-article-hero { margin: 0 0 36px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.cdl-article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.cdl-article-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; }

/* Account / auth ------------------------------------------------------------- */
.cdl-auth { display: grid; place-items: center; padding: 44px 0; }
.cdl-auth-card { position: relative; width: 100%; max-width: 470px; padding: 40px; border-radius: var(--r-xl); background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 100px -30px rgba(162, 28, 255, .6); }
.cdl-auth-card h1 { font-size: 30px; }
.cdl-auth-links { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.cdl-resend { margin-top: 12px; color: var(--muted); font-size: 14px; }
.cdl-resend summary { cursor: pointer; text-align: center; }
.cdl-account-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cdl-account-head img { border-radius: 50%; padding: 3px; background: var(--grad); }
.cdl-account-head .cdl-title { font-size: 32px; margin: 0; }
.cdl-account-head > a { margin-left: auto; }
.cdl-account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; }
.cdl-account-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; padding: 8px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cdl-account-nav a { padding: 11px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; }
.cdl-account-nav a[aria-selected="true"] { background: var(--grad); color: #fff; }
.cdl-account-nav a:hover { color: #fff; }
.cdl-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.cdl-stat { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(109, 40, 255, .18), rgba(255, 255, 255, .02)); border: 1px solid var(--line); color: var(--muted); transition: transform .2s; }
.cdl-stat:hover { transform: translateY(-3px); color: var(--muted); }
.cdl-stat strong { display: block; font: 900 32px var(--display); color: #fff; }
.cdl-list { list-style: none; padding: 0; margin: 0; }
.cdl-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cdl-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cdl-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .08); }
.cdl-status-approved, .cdl-status-verified, .cdl-status-removed { background: rgba(52, 211, 153, .15); color: #A7F3D0; }
.cdl-status-pending, .cdl-status-open, .cdl-status-in_review { background: rgba(251, 191, 36, .14); color: #FDE68A; }
.cdl-status-rejected { background: rgba(251, 113, 133, .15); color: #FECDD3; }
.cdl-danger-zone { margin-top: 40px; padding: 22px; border-radius: var(--r-lg); border: 1px solid rgba(251, 113, 133, .35); background: rgba(251, 113, 133, .05); }

/* Age gate ------------------------------------------------------------------- */
.cdl-age-gate { display: grid; place-items: center; }
.cdl-age-card, .cdl-dialog { position: relative; max-width: 480px; padding: 38px; text-align: center; border-radius: var(--r-xl); background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 100px -30px rgba(162, 28, 255, .6); color: var(--text); }
.cdl-age-card .cdl-form, .cdl-dialog .cdl-form { text-align: left; }
.cdl-age-icon { display: inline-grid; place-items: center; width: 78px; height: 78px; border-radius: 24px; background: var(--grad); font: 900 24px var(--display); margin-bottom: 18px; color: #fff; box-shadow: 0 14px 40px -10px rgba(255, 45, 149, .7); }
.cdl-age-note { color: var(--dim); font-size: 12px; margin-top: 16px; }
.cdl-dialog { width: min(440px, calc(100vw - 32px)); }
.cdl-dialog::backdrop { background: rgba(4, 3, 9, .8); backdrop-filter: blur(6px); }
.cdl-dialog-close { position: absolute; top: 10px; right: 10px; }

/* Empty / 404 ----------------------------------------------------------------- */
.cdl-empty-state { text-align: center; padding: 44px 0; }
.cdl-empty-icon { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 28px; background: var(--grad); color: #fff; margin-bottom: 18px; box-shadow: 0 18px 44px -12px rgba(255, 45, 149, .7); }
.cdl-empty-tips { list-style: none; padding: 0; color: var(--muted); margin: 16px 0; }
.cdl-empty-sub { margin-top: 44px; text-align: left; }
.cdl-404-code { font: 900 clamp(110px, 20vw, 220px)/0.9 var(--display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 50px rgba(162, 28, 255, .5)); }

/* Ads -------------------------------------------------------------------------- */
.cdl-ad-wrap { padding: 14px 24px; }
.cdl-ad { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cdl-ad iframe { width: 100%; max-width: 970px; border: 0; background: transparent; border-radius: 12px; }
.cdl-ad-label { align-self: flex-start; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); font-weight: 700; }
.cdl-ad-sidebar { margin-top: 26px; }
.cdl-mobile-ad { display: none; position: fixed; left: 0; right: 0; bottom: 68px; z-index: 40; background: var(--bg-2); border-top: 1px solid var(--line); padding: 4px; }
.cdl-ad.is-hidden, .cdl-mobile-ad.is-hidden { display: none !important; }

/* Footer & tabbar -------------------------------------------------------------- */
.cdl-footer { position: relative; margin-top: 100px; padding: 64px 0 28px; background: linear-gradient(180deg, rgba(109, 40, 255, .08), rgba(7, 6, 12, .9)); border-top: 1px solid var(--line); }
.cdl-footer::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: var(--grad); box-shadow: 0 0 30px 2px rgba(255, 45, 149, .5); }
.cdl-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
.cdl-footer h2 { font: 800 12px var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--dim); }
.cdl-footer ul { list-style: none; padding: 0; margin: 0; }
.cdl-footer li { margin: 0 0 10px; }
.cdl-footer a { color: var(--muted); font-weight: 500; }
.cdl-footer a:hover { color: #fff; }
.cdl-footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 46ch; }
.cdl-footer-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cdl-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.cdl-tabbar { display: none; }

/* Responsive ------------------------------------------------------------------- */
@media (max-width: 1280px) {
	.cdl-grid-6, .cdl-creator-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cdl-search-trigger { min-width: 0; }
	.cdl-search-trigger span, .cdl-search-trigger kbd { display: none; }
	.cdl-nav-list a { padding: 8px 11px; }
	.cdl-top10 { grid-auto-columns: minmax(240px, 24%); }
}
@media (max-width: 1080px) {
	:root { --header-h: 64px; }
	.cdl-nav-toggle { display: inline-grid; }
	.cdl-nav { position: fixed; top: var(--header-h); left: 0; bottom: 0; width: min(330px, 86vw); background: rgba(15, 13, 24, .97); backdrop-filter: blur(20px); border-right: 1px solid var(--line); transform: translateX(-102%); transition: transform .35s var(--ease); z-index: 60; padding: 18px; overflow-y: auto; }
	.admin-bar .cdl-nav { top: calc(var(--header-h) + 46px); }
	.cdl-nav.is-open { transform: none; box-shadow: 30px 0 80px rgba(0, 0, 0, .6); }
	.cdl-nav-list { flex-direction: column; width: auto; border: 0; background: none; padding: 0; gap: 4px; }
	.cdl-nav-list a { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
	.cdl-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cdl-hero-grid, .cdl-watch, .cdl-split, .cdl-article-body, .cdl-tool-layout, .cdl-viz { grid-template-columns: 1fr; }
	.cdl-hero-rail { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; }
	.cdl-rail-label { display: none; }
	.cdl-hero-tab { flex: 0 0 280px; scroll-snap-align: start; }
	.cdl-tool-aside { position: static; }
	.cdl-footer-grid { grid-template-columns: 1fr 1fr; }
	.cdl-account { grid-template-columns: 1fr; }
	.cdl-account-nav { position: static; flex-direction: row; overflow-x: auto; }
	.cdl-account-nav a { white-space: nowrap; }
	.cdl-rail { grid-auto-columns: minmax(250px, 40%); }
	.cdl-stats { grid-template-columns: repeat(3, 1fr); }
	.cdl-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.cdl-container { padding: 0 16px; }
	.cdl-hide-sm { display: none; }
	.cdl-logo img { height: 30px; }
	.cdl-grid { gap: 20px 14px; }
	.cdl-grid-3, .cdl-grid-4, .cdl-grid-6, .cdl-creator-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cdl-cat-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.cdl-cat-tile { min-height: 120px; padding: 16px; }
	.cdl-cat-tile strong { font-size: 18px; }
	.cdl-hero { padding-top: 16px; }
	.cdl-hero-stage { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
	.cdl-slide-text { display: none; }
	.cdl-hero-tab { flex-basis: 240px; }
	.cdl-hero-tab img { width: 80px; }
	.cdl-section { margin: 52px auto; }
	.cdl-section-head h2 { font-size: 23px; }
	.cdl-head-icon { width: 32px; height: 32px; border-radius: 10px; }
	.cdl-see-all { padding: 6px 10px; font-size: 13px; }
	.cdl-card-title { font-size: 14.5px; }
	.cdl-card-foot { font-size: 12px; }
	.cdl-fav { opacity: 1; }
	.cdl-bigsearch { padding-left: 16px; }
	.cdl-bigsearch input { font-size: 16px; }
	.cdl-bigsearch .cdl-btn { padding: 12px 16px; }
	.cdl-stats { grid-template-columns: repeat(2, 1fr); }
	.cdl-stats div:last-child { grid-column: span 2; }
	.cdl-top10 { grid-auto-columns: 72%; }
	.cdl-rank { font-size: 120px; }
	.cdl-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.cdl-bento-item.is-large strong { font-size: 20px; }
	.cdl-filters { padding: 10px; }
	.cdl-filter, .cdl-filter select { flex: 1 1 calc(50% - 10px); width: 100%; }
	.cdl-filters .cdl-btn { flex: 1 1 100%; }
	.cdl-profile-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.cdl-profile-info .cdl-title { justify-content: center; }
	.cdl-social { justify-content: center; }
	.cdl-character { grid-template-columns: 1fr; gap: 26px; }
	.cdl-facts { grid-template-columns: 1fr; }
	.cdl-stat-row { grid-template-columns: repeat(2, 1fr); }
	.cdl-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.cdl-footer-bottom { flex-direction: column; }
	.cdl-footer { padding-bottom: 100px; }
	.cdl-lightbox { grid-template-columns: 1fr; }
	.cdl-lb-nav { position: absolute; bottom: 24px; width: 54px; height: 54px; }
	.cdl-lb-prev { left: 24px; } .cdl-lb-next { right: 24px; }
	.cdl-auth-card { padding: 26px; }
	.cdl-rail { grid-auto-columns: 74%; }
	.cdl-card-compact .cdl-card-media { width: 120px; }
	.cdl-gauge-card { flex-direction: column; text-align: center; }
	.cdl-cta { text-align: left; }
	.cdl-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; padding: 6px; border-radius: 22px; background: rgba(22, 19, 37, .88); backdrop-filter: blur(18px) saturate(180%); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); }
	.cdl-tabbar a, .cdl-tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border: 0; border-radius: 16px; background: none; color: var(--muted); font: 700 10.5px var(--font); cursor: pointer; transition: all .2s; }
	.cdl-tabbar button { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -6px rgba(255, 45, 149, .7); }
	.cdl-tabbar a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
	.cdl-mobile-ad { display: block; }
	.cdl-ad-device-desktop { display: none !important; }
}
@media (min-width: 721px) {
	.cdl-ad-device-mobile { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.cdl-js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
	.cdl-header, .cdl-footer, .cdl-tabbar, .cdl-aurora, .cdl-tool-aside, .cdl-tool-form, .cdl-tool-history, .cdl-result-actions, .cdl-ad { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ==========================================================================
   v3 features: follow, reactions, collections, events, charts, hubs,
   polls/quizzes, comments, tips, analytics, API, transparency
   ========================================================================== */
.cdl-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cdl-chip.is-on { border-color: transparent; background: var(--grad); color: #fff; }
.cdl-chip small { opacity: .7; font-size: 12px; }
.cdl-inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cdl-inline-form input:not([type="checkbox"]), .cdl-inline-form select { flex: 1 1 200px; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--text); font: inherit; }
.cdl-inline-form.cdl-panel { padding: 14px; border-radius: var(--r-lg); margin-bottom: 18px; }
.cdl-btn-block { width: 100%; justify-content: center; }
.cdl-danger { color: var(--danger) !important; }
.cdl-help a, .cdl-muted a { color: #F0ABFC; }

/* Follow */
.cdl-follow small { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .25); }
.cdl-follow.is-on { border-color: rgba(52, 211, 153, .5); color: #A7F3D0; }
.cdl-profile-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cdl-profile-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.cdl-profile-body:not(:has(.cdl-tipbox)) { grid-template-columns: 1fr; }

/* Reactions */
.cdl-reactions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.cdl-react { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font: 700 14px var(--font); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.cdl-react:hover { transform: translateY(-2px); border-color: rgba(255, 45, 149, .6); }
.cdl-react-emoji { font-size: 18px; line-height: 1; }
.cdl-react.is-on { background: var(--grad-soft); border-color: rgba(255, 45, 149, .8); box-shadow: 0 0 18px -4px rgba(255, 45, 149, .6); }
.cdl-react.is-pop .cdl-react-emoji { animation: cdl-pop .45s var(--ease); }
@keyframes cdl-pop { 0% { transform: scale(1); } 40% { transform: scale(1.6) rotate(-10deg); } 100% { transform: scale(1); } }

/* Collections */
.cdl-collect { position: relative; display: inline-block; }
.cdl-collect-pop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: 280px; padding: 14px; border-radius: var(--r); background: var(--card-hi); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cdl-collect-pop ul { list-style: none; margin: 0 0 10px; padding: 0; max-height: 220px; overflow: auto; }
.cdl-collect-pop li button { width: 100%; display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 10px; border: 0; background: none; color: var(--text); font: 600 14px var(--font); cursor: pointer; text-align: left; }
.cdl-collect-pop li button:hover { background: rgba(255, 255, 255, .06); }
.cdl-collect-pop form { display: flex; gap: 6px; }
.cdl-collect-pop input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--text); }
.cdl-pop-title { font-weight: 800; margin: 0 0 8px; }
.cdl-coll-list, .cdl-follow-list, .cdl-draft-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cdl-coll-list li, .cdl-follow-list li, .cdl-draft-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cdl-coll-list li > a, .cdl-follow-list li > a { display: flex; align-items: center; gap: 10px; color: var(--text); flex: 1 1 220px; }
.cdl-coll-list li > span { margin-left: auto; display: flex; gap: 12px; }
.cdl-follow-list img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cdl-follow-list small, .cdl-draft-list small { display: block; color: var(--muted); font-size: 13px; }
.cdl-draft-list li > span { flex: 1 1 220px; }
.cdl-draft-list input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--text); color-scheme: dark; }
.cdl-collect-item { display: grid; gap: 6px; }
.cdl-collection-head .cdl-actions { margin-top: 14px; }

/* Continue watching */
.cdl-progress-card { position: relative; flex: 0 0 auto; }
.cdl-rail .cdl-progress-card { width: min(300px, 78vw); }
.cdl-progress { position: absolute; left: 10px; right: 10px; top: calc(min(300px, 78vw) * .5625 - 10px); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; pointer-events: none; }
.cdl-grid .cdl-progress { top: auto; bottom: auto; position: relative; display: block; left: 0; right: 0; margin-top: -2px; }
.cdl-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--grad); }

/* Where to watch */
.cdl-watchbox { padding: 18px; margin-bottom: 22px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(34, 211, 238, .12), rgba(255, 255, 255, .02)); border: 1px solid rgba(34, 211, 238, .25); }
.cdl-watchbox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cdl-watchbox a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); color: var(--text); transition: background .2s, transform .2s; }
.cdl-watchbox a:hover { background: rgba(255, 255, 255, .07); transform: translateX(3px); }
.cdl-wtw-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--grad); font: 900 15px var(--display); color: #fff; }
.cdl-wtw-name { flex: 1; font-weight: 700; }
.cdl-wtw-type { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.cdl-wtw-free { background: rgba(163, 230, 53, .18); color: #D9F99D; }
.cdl-wtw-stream { background: rgba(34, 211, 238, .18); color: #A5F3FC; }
.cdl-wtw-tickets { background: rgba(255, 122, 61, .2); color: #FED7AA; }
.cdl-badge-sponsored { background: rgba(251, 191, 36, .16); color: #FDE68A; border: 1px solid rgba(251, 191, 36, .45); }

/* Events */
.cdl-event { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; margin-bottom: 10px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.cdl-event:hover { border-color: rgba(162, 28, 255, .5); transform: translateY(-2px); }
.cdl-event-date { display: grid; place-items: center; height: 70px; border-radius: 16px; background: var(--grad); color: #fff; line-height: 1; text-align: center; box-shadow: 0 10px 26px -10px rgba(255, 45, 149, .7); }
.cdl-event-date span, .cdl-event-date small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.cdl-event-date strong { font: 900 26px var(--display); }
.cdl-event-body h3 { margin: 4px 0 2px; font-size: 17px; }
.cdl-event-body h3 a { color: var(--text); }
.cdl-event-body p { margin: 0; font-size: 14px; }
.cdl-event-add { display: flex; gap: 6px; }
.cdl-event-type { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ev, #F0ABFC); }
.cdl-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.cdl-ev-premiere { --ev: #F472B6; } .cdl-ev-release { --ev: #22D3EE; } .cdl-ev-awards { --ev: #FBBF24; } .cdl-ev-tour, .cdl-ev-concert { --ev: #A3E635; }
.cdl-ev-livestream { --ev: #FB7185; } .cdl-ev-festival { --ev: #FDBA74; } .cdl-ev-tv { --ev: #A78BFA; } .cdl-ev-other { --ev: #B3ADCC; }
.cdl-event-page .cdl-event-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 10px 0 34px; }
.cdl-event-hero:not(:has(.cdl-event-art)) { grid-template-columns: 1fr; }
.cdl-event-art img { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.cdl-event-facts { display: grid; gap: 10px; margin: 18px 0; }
.cdl-event-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.cdl-event-facts dt { color: var(--muted); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.cdl-event-facts dd { margin: 0; font-weight: 700; }
.cdl-countdown { display: flex; gap: 10px; margin: 6px 0 20px; }
.cdl-countdown span { min-width: 68px; padding: 10px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.cdl-countdown strong { display: block; font: 900 28px var(--display); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-countdown small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

/* Calendar */
.cdl-cal-bar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin: 10px 0 18px; }
.cdl-cal-nav { display: flex; align-items: center; gap: 10px; }
.cdl-cal-nav h2 { margin: 0; min-width: 190px; text-align: center; font-size: 22px; }
.cdl-cal { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.cdl-cal-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cdl-cal-head span { padding: 12px; text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: rgba(255, 255, 255, .03); }
.cdl-cal-cell { min-height: 118px; padding: 8px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cdl-cal-row > :first-child { border-left: 0; }
.cdl-cal-cell.is-empty { background: rgba(0, 0, 0, .2); }
.cdl-cal-num { font-weight: 800; font-size: 14px; color: var(--muted); }
.cdl-cal-cell.is-today .cdl-cal-num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; }
.cdl-cal-ev { display: block; padding: 4px 7px; border-radius: 7px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--ev, #A21CFF) 28%, transparent); border-left: 3px solid var(--ev, #A21CFF); }
.cdl-cal-more { font-size: 12px; color: var(--muted); }
.cdl-agenda-day { margin-bottom: 22px; }

/* Charts */
.cdl-chart { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.cdl-chart-row { display: grid; grid-template-columns: 64px 160px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px 18px 12px 12px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.cdl-chart-row:hover { transform: translateX(4px); border-color: rgba(255, 45, 149, .45); }
.cdl-chart-row.is-podium { background: linear-gradient(100deg, rgba(109, 40, 255, .22), rgba(255, 45, 149, .1) 60%, rgba(255, 255, 255, .02)); border-color: rgba(255, 45, 149, .35); }
.cdl-chart-rank { font: 900 44px/1 var(--display); text-align: center; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-chart-thumb img { width: 160px; height: 90px; object-fit: cover; border-radius: 12px; display: block; }
.cdl-chart-info h2 { font-size: 18px; margin: 4px 0; }
.cdl-chart-info h2 a { color: var(--text); }
.cdl-chart-info small { color: var(--muted); }
.cdl-chart-views { text-align: right; }
.cdl-chart-views strong { display: block; font: 900 22px var(--display); }
.cdl-chart-views small { color: var(--muted); }

/* Topic hubs */
.cdl-topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); grid-auto-flow: dense; gap: 14px; }
.cdl-topic { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 120px; padding: 18px; border-radius: var(--r-lg); color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(140deg, var(--h1), var(--h2)); transition: transform .25s var(--ease), box-shadow .25s; }
.cdl-topic::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .35), transparent 45%); }
.cdl-topic:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 20px 40px -14px var(--h1); }
.cdl-topic strong { font: 900 20px var(--display); letter-spacing: -.02em; }
.cdl-topic span { font-size: 13px; opacity: .85; }
.cdl-topic-w2 { grid-column: span 2; }
.cdl-topic-w3 { grid-column: span 2; grid-row: span 2; }
.cdl-topic-w3 strong { font-size: 30px; }
.cdl-hub-jump { margin-top: 18px; }

/* Polls & quizzes */
.cdl-play { max-width: 820px; }
.cdl-play-card { margin-bottom: 20px; }
.cdl-play-art img { width: 100%; height: auto; border-radius: var(--r-lg); margin-bottom: 18px; }
.cdl-poll { margin: 0 0 20px; }
.cdl-poll-q { font: 900 clamp(24px, 3vw, 34px)/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 18px; }
.cdl-poll-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cdl-poll-opt { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font: 700 16px var(--font); cursor: pointer; overflow: hidden; isolation: isolate; text-align: left; transition: border-color .2s, transform .2s; }
.cdl-poll-opt:hover:not(:disabled) { border-color: rgba(255, 45, 149, .7); transform: translateY(-1px); }
.cdl-poll-fill { position: absolute; inset: 0 auto 0 0; z-index: -1; background: var(--grad-soft); transition: width .7s var(--ease); }
.cdl-poll-opt.is-mine { border-color: rgba(255, 45, 149, .9); }
.cdl-poll-opt.is-mine .cdl-poll-fill { background: linear-gradient(90deg, rgba(109, 40, 255, .55), rgba(255, 45, 149, .45)); }
.cdl-poll-pct { font: 900 18px var(--display); }
.cdl-poll-meta { color: var(--muted); font-size: 14px; margin-top: 12px; }
.cdl-quiz { margin-top: 18px; padding: 22px; border-radius: var(--r-lg); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.cdl-quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
.cdl-quiz-bar { flex: 1; max-width: 260px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.cdl-quiz-bar i { display: block; height: 100%; background: var(--grad); transition: width .4s var(--ease); }
.cdl-quiz-q { font: 800 22px/1.25 var(--display); margin: 18px 0; }
.cdl-quiz-answers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cdl-quiz-answers button { width: 100%; min-height: 58px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); font: 700 15px var(--font); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.cdl-quiz-answers button:hover:not(:disabled) { border-color: rgba(162, 28, 255, .8); transform: translateY(-2px); }
.cdl-quiz-answers .is-right { background: rgba(52, 211, 153, .25); border-color: var(--ok); }
.cdl-quiz-answers .is-wrong { background: rgba(251, 113, 133, .25); border-color: var(--danger); animation: cdl-shake .35s; }
.cdl-quiz-answers .is-dim { opacity: .45; }
@keyframes cdl-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.cdl-quiz-end { text-align: center; padding: 10px 0; }
.cdl-quiz-score { width: 150px; height: 150px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#FF2D95 var(--p), rgba(255, 255, 255, .08) 0); position: relative; }
.cdl-quiz-score::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--bg-2); }
.cdl-quiz-score strong { position: relative; font: 900 36px var(--display); }
.cdl-quiz-result { font: 700 20px var(--display); margin: 0 0 16px; }
.cdl-quiz-end .cdl-actions { justify-content: center; }

/* Comments */
.cdl-comments { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.cdl-comment-list, .cdl-comment-list .children { list-style: none; margin: 0; padding: 0; }
.cdl-comment-list .children { margin-left: 52px; }
.cdl-comment article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cdl-comment header { display: flex; align-items: center; gap: 10px; }
.cdl-comment header img { border-radius: 50%; }
.cdl-comment time { color: var(--dim); font-size: 13px; }
.cdl-comment-body { margin: 6px 0 6px 50px; }
.cdl-comment-body p { margin: 0 0 6px; }
.cdl-comment footer { margin-left: 50px; display: flex; gap: 14px; font-size: 13px; }
.cdl-comment footer a { color: var(--muted); }
.cdl-comment-form textarea { width: 100%; }
.cdl-comment-form .form-submit { margin: 10px 0 0; }

/* Tips */
.cdl-tipbox { position: sticky; top: calc(var(--header-h) + 20px); border-color: rgba(255, 45, 149, .35); background: linear-gradient(170deg, rgba(255, 45, 149, .14), rgba(109, 40, 255, .08) 60%, rgba(255, 255, 255, .02)); }
.cdl-tip-kind { margin: 12px 0; }
.cdl-tip-kind label { font-size: 14px; padding: 8px 14px; }
.cdl-tip-kind input { position: absolute; opacity: 0; }
.cdl-tip-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.cdl-tip-amounts .cdl-chip { justify-content: center; padding: 10px 6px; cursor: pointer; font-weight: 800; }

/* Digest */
.cdl-digest { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cdl-digest input[type="email"] { flex: 1 1 240px; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--text); font: inherit; }
.cdl-digest-msg { flex-basis: 100%; margin: 0; min-height: 1.2em; font-size: 14px; color: #FBCFE8; }
.cdl-digest.is-done input, .cdl-digest.is-done button { display: none; }
.cdl-hp { position: absolute; left: -9999px; }
.cdl-digest-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: radial-gradient(circle at 0 0, rgba(34, 211, 238, .25), transparent 50%), radial-gradient(circle at 100% 100%, rgba(255, 45, 149, .3), transparent 55%), var(--card); border: 1px solid var(--line-2); }
.cdl-digest-band p { color: var(--muted); }
.cdl-footer-digest { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; padding: 22px 26px; margin-bottom: 36px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid var(--line-2); }
.cdl-footer-digest strong { display: block; font: 800 18px var(--display); }
.cdl-footer-digest span { color: var(--muted); font-size: 14px; }
.cdl-footer-digest .cdl-digest { flex: 1 1 380px; max-width: 520px; }

/* Creator analytics */
.cdl-spark-wrap { padding: 18px; margin: 12px 0 18px; }
.cdl-spark { width: 100%; height: 140px; display: block; }
.cdl-spark-axis { display: flex; justify-content: space-between; color: var(--dim); font-size: 12px; margin-top: 6px; }
.cdl-key-row { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.cdl-key-row code { padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .4); word-break: break-all; }

/* Transparency */
.cdl-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.cdl-tiles-sm { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.cdl-tile { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(109, 40, 255, .16), rgba(255, 255, 255, .02)); border: 1px solid var(--line); }
.cdl-tile strong { display: block; font: 900 34px/1.1 var(--display); margin: 8px 0 4px; }
.cdl-tiles-sm .cdl-tile strong { font-size: 26px; }
.cdl-tile span { color: var(--muted); font-size: 14px; }
.cdl-tile-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; }
.cdl-hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cdl-hbars li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 14px; }
.cdl-hbar { display: flex; height: 12px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.cdl-hbar-a, .cdl-key-a { background: #FF2D95; } .cdl-hbar-b, .cdl-key-b { background: #6D28FF; } .cdl-hbar-c, .cdl-key-c { background: #7C7698; }
.cdl-hbar-n { text-align: right; font-weight: 800; }
.cdl-legend { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 14px; }
.cdl-key { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.cdl-dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; margin: 0 0 24px; }
.cdl-dl dt { color: var(--muted); }
.cdl-dl dd { margin: 0; font-weight: 800; text-align: right; }

/* Developer docs */
.cdl-docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; }
.cdl-docs-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.cdl-docs-nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; }
.cdl-docs-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.cdl-docs pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--r); background: #05040A; border: 1px solid var(--line-2); font-size: 13px; }

/* Language switcher */
.cdl-lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); }
.cdl-lang a { padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--muted); }
.cdl-lang a.is-current { background: var(--grad); color: #fff; }

@media (max-width: 1080px) {
	.cdl-profile-body, .cdl-docs, .cdl-event-page .cdl-event-hero, .cdl-digest-band { grid-template-columns: 1fr; }
	.cdl-tipbox, .cdl-docs-nav { position: static; }
	.cdl-docs-nav { display: flex; overflow-x: auto; }
	.cdl-tiles, .cdl-tiles-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cdl-event-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.cdl-grid-2 { grid-template-columns: 1fr; }
	.cdl-cal-cell { min-height: 64px; padding: 4px; }
	.cdl-cal-ev { font-size: 0; height: 6px; padding: 0; border-left: 0; background: var(--ev, #A21CFF); }
	.cdl-chart-row { grid-template-columns: 40px 96px minmax(0, 1fr); gap: 12px; }
	.cdl-chart-thumb img { width: 96px; height: 54px; }
	.cdl-chart-rank { font-size: 30px; }
	.cdl-chart-views { display: none; }
	.cdl-event { grid-template-columns: 56px minmax(0, 1fr); }
	.cdl-event-add { grid-column: 2; }
	.cdl-quiz-answers { grid-template-columns: 1fr; }
	.cdl-hbars li { grid-template-columns: 110px minmax(0, 1fr) 36px; }
	.cdl-topic-w3 { grid-row: auto; }
	.cdl-lang { display: none; }
}
.cdl-watch-side .cdl-event { grid-template-columns: 56px minmax(0, 1fr); }
.cdl-watch-side .cdl-event-add { grid-column: 2; }
.cdl-watch-side .cdl-event-date { height: 62px; }
.cdl-event-page .cdl-follow { margin: 12px 0 18px; }
.cdl-prose .cdl-poll-options, .cdl-prose .cdl-quiz-answers { padding-left: 0; margin-left: 0; }
.cdl-prose .cdl-poll-options li, .cdl-prose .cdl-quiz-answers li { margin: 0; }
.cdl-coll-list, .cdl-follow-list, .cdl-draft-list { margin-bottom: 24px; }
