/* ============================================================================
   pages/leaderboard.css  (theme update v10, 2026-10-12)
   /best-crumbl-cookies/ only (loaded by inc/enqueue.php for
   template-leaderboard.php). Design approved by Talha 2026-10-12.

   Every class is prefixed cdl- so nothing here can leak into other pages
   or collide with the component classes (.btn, .stars, .eyebrow).
   Flavor colour only through the contract (--flavor-color, --on), pure,
   never mixed toward black (D7, D21). Blush only on dark surfaces (D2).
   ========================================================================== */

.cdl {
    --cdl-ink:       #16100C;
    --cdl-ink-soft:  #6B5C52;
    --cdl-faint:     #9A8B80;
    --cdl-body:      #4A3E36;
    --cdl-rose:      #E4738E;
    --cdl-rose-text: #A83C57;
    --cdl-date:      #D95A7B;
    --cdl-blush:     #FFB9CD;
    --cdl-cream:     #FFF9F5;
    --cdl-tint:      #FBF8F6;
    --cdl-line:      rgba(22, 16, 12, 0.10);
    --cdl-line-2:    rgba(22, 16, 12, 0.22);
    --cdl-ease:      cubic-bezier(.22, .61, .36, 1);
    --cdl-display:   var(--font-display, 'Frank Ruhl Libre', Georgia, serif);
    color: var(--cdl-ink);
}

.cdl-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.cdl :focus-visible { outline: 3px solid var(--cdl-rose); outline-offset: 3px; }
.cdl-faint { color: var(--cdl-faint); }

.cdl-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--cdl-rose);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.cdl-link:hover { color: var(--cdl-rose-text); }

.cdl-eyebrow {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cdl-rose-text);
}

.cdl .stars { color: var(--cdl-date); letter-spacing: 1px; font-size: 0.875rem; }
.cdl .stars__empty { color: #F7D5DF; }


/* ============================================================
   1. HERO
============================================================ */

.cdl-hero { padding: 14px 0 8px; }
.cdl-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: end;
}
.cdl-h1 {
    margin: 14px 0 0;
    font-family: var(--cdl-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.cdl-h1 span { color: var(--cdl-date); }
.cdl-lede {
    margin-top: 20px;
    max-width: 58ch;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #3A2F28;
}
.cdl-lede b { font-weight: 800; color: var(--cdl-ink); }
.cdl-meta { margin-top: 16px; font-size: 0.875rem; color: var(--cdl-ink-soft); }

.cdl-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--cdl-line);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}
.cdl-stat { padding: 18px 18px 16px; display: flex; flex-direction: column; }
.cdl-stat + .cdl-stat { border-left: 1px solid var(--cdl-line); }
.cdl-stat__n {
    font-family: var(--cdl-display);
    font-weight: 900;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1;
    letter-spacing: -0.02em;
}
.cdl-stat__l { margin-top: 8px; font-size: 0.75rem; line-height: 1.35; color: var(--cdl-ink-soft); }

@media (min-width: 1020px) {
    .cdl-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
}


/* ============================================================
   2. PODIUM
============================================================ */

.cdl-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    margin-top: 40px;
}
.cdl-pod {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 22px 24px 24px;
    border-radius: 26px;
    background: var(--flavor-color);
    color: var(--on);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(22, 16, 12, 0.06);
    transition: transform 500ms var(--cdl-ease), box-shadow 500ms var(--cdl-ease);
}
.cdl-pod:visited { color: var(--on); }
.cdl-pod--1 { order: 2; min-height: 400px; }
.cdl-pod--2 { order: 1; }
.cdl-pod--3 { order: 3; min-height: 300px; }
.cdl-pod__rank {
    position: absolute;
    z-index: -1;
    right: -8px;
    top: -36px;
    font-family: var(--cdl-display);
    font-weight: 900;
    font-size: 13rem;
    line-height: 1;
    color: var(--on);
    opacity: 0.09;
}
.cdl-pod__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.cdl-pod__medal { display: inline-flex; align-items: center; gap: 8px; }
.cdl-pod__medal i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-style: normal;
    font-family: var(--cdl-display);
    font-size: 0.95rem;
    letter-spacing: 0;
    background: var(--on);
    color: var(--flavor-color);
}
.cdl-pod__art { flex: 1; display: grid; place-items: center; padding: 8px 0; }
.cdl-pod__art .cdl-img,
.cdl-pod__art svg {
    width: min(200px, 70%);
    height: auto;
    filter: drop-shadow(0 18px 20px rgba(22, 16, 12, 0.28));
    transition: transform 700ms var(--cdl-ease);
}
.cdl-pod--1 .cdl-pod__art .cdl-img,
.cdl-pod--1 .cdl-pod__art svg { width: min(240px, 78%); }
.cdl-pod__name {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    text-wrap: balance;
}
.cdl-pod__score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 12px; font-size: 0.8125rem; }
.cdl-pod__score b { font-family: var(--cdl-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.cdl-pod__score > span { opacity: 0.85; }
.cdl-pod .stars { color: var(--on); }
.cdl-pod .stars__empty { color: color-mix(in srgb, var(--on) 28%, transparent); }

@media (hover: hover) and (pointer: fine) {
    .cdl-pod:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(22, 16, 12, 0.55); }
    .cdl-pod:hover .cdl-pod__art .cdl-img,
    .cdl-pod:hover .cdl-pod__art svg { transform: rotate(-8deg) scale(1.05); }
}

@media (max-width: 759px) {
    .cdl-podium { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .cdl-pod,
    .cdl-pod--1,
    .cdl-pod--3 { order: 0; min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
    .cdl-pod__top { position: absolute; top: 14px; left: 18px; }
    .cdl-pod__type { display: none; }
    .cdl-pod__art { flex: 0 0 96px; order: 2; padding: 0; }
    .cdl-pod__art .cdl-img,
    .cdl-pod__art svg,
    .cdl-pod--1 .cdl-pod__art .cdl-img,
    .cdl-pod--1 .cdl-pod__art svg { width: 96px; }
    .cdl-pod__body { flex: 1; padding-top: 28px; }
    .cdl-pod__rank { font-size: 7rem; top: -18px; }
    .cdl-pod__score b { font-size: 1.6rem; }
}


/* ============================================================
   SECTION SHELL
============================================================ */

.cdl-sec { padding-top: clamp(56px, 7vw, 96px); }
.cdl-sec--last { padding-bottom: clamp(56px, 7vw, 96px); }
.cdl-sec__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px 32px;
    margin-bottom: 22px;
}
.cdl-h2 {
    margin: 8px 0 0;
    font-family: var(--cdl-display);
    font-weight: 900;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.cdl-sec__lede { margin-top: 10px; max-width: 62ch; color: var(--cdl-ink-soft); }


/* ============================================================
   3. TABS, FILTERS, SOURCE
============================================================ */

.cdl-tabs {
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    padding: 5px;
    border-radius: 999px;
    background: var(--cdl-ink);
}
.cdl-tabs[hidden] { display: none; }
.cdl-tab {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: transparent;
    color: rgba(255, 249, 245, 0.7);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 300ms, color 300ms;
}
.cdl-tab:hover { color: var(--cdl-cream); }
.cdl-tab[aria-selected="true"] { background: var(--cdl-blush); color: var(--cdl-ink); }
.cdl-tab:focus-visible { outline-color: var(--cdl-blush); }

.cdl-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.cdl-filters[hidden] { display: none; }
.cdl-chip {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--cdl-line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--cdl-ink);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}
.cdl-chip[aria-pressed="true"] { background: var(--cdl-ink); border-color: var(--cdl-ink); color: var(--cdl-cream); }
.cdl-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}
.cdl-toggle input {
    appearance: none;
    position: relative;
    width: 40px;
    height: 24px;
    margin: 0;
    border-radius: 999px;
    background: var(--cdl-line-2);
    cursor: pointer;
    transition: background-color 300ms;
}
.cdl-toggle input::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 300ms var(--cdl-ease);
}
.cdl-toggle input:checked { background: var(--cdl-rose-text); }
.cdl-toggle input:checked::after { transform: translateX(16px); }

.cdl-board { margin-top: 18px; }
.cdl-board[hidden] { display: none; }
.cdl-board__title {
    margin: 32px 0 0;
    font-family: var(--cdl-display);
    font-weight: 700;
    font-size: 1.375rem;
}
.cdl--js .cdl-board__title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.cdl-source {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 880px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--cdl-line);
    border-radius: 14px;
    background: var(--cdl-tint);
    font-size: 0.875rem;
    color: var(--cdl-body);
}
.cdl-source__dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--cdl-rose); }
.cdl-empty {
    margin-top: 18px;
    padding: 20px 22px;
    border: 1.5px dashed rgba(228, 115, 142, 0.45);
    border-radius: 18px;
    background: #FFF8FA;
    color: var(--cdl-body);
}
.cdl-empty b { color: var(--cdl-ink); }


/* ============================================================
   4. THE TABLE
============================================================ */

.cdl-table {
    width: 100%;
    margin-top: 18px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
}
.cdl-table caption { caption-side: bottom; padding-top: 12px; text-align: left; font-size: 0.8125rem; color: var(--cdl-faint); }
.cdl-table th {
    padding: 0 14px 12px;
    border-bottom: 1px solid var(--cdl-line-2);
    text-align: left;
    white-space: nowrap;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cdl-faint);
}
.cdl-table td { padding: 14px; border-bottom: 1px solid var(--cdl-line); vertical-align: middle; }
.cdl-row { transition: background-color 350ms; }
.cdl-row td:first-child { box-shadow: inset 4px 0 0 transparent; transition: box-shadow 350ms; }
.cdl-row:hover { background: #FCFAF9; }
.cdl-row:hover td:first-child { box-shadow: inset 4px 0 0 var(--flavor-color); }

.cdl-rk { width: 3ch; font-family: var(--cdl-display); font-weight: 900; font-size: 1.6rem; line-height: 1; }
.cdl-rk--top { color: var(--cdl-date); }

.cdl-fl { min-width: 240px; }
.cdl-fl > span:last-child { display: inline-block; vertical-align: middle; }
.cdl-sw {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 54px;
    height: 54px;
    margin-right: 14px;
    vertical-align: middle;
    border-radius: 16px;
    background: var(--flavor-color);
    box-shadow: inset 0 0 0 1px rgba(22, 16, 12, 0.08);
    overflow: hidden;
}
.cdl-sw .cdl-img,
.cdl-sw svg { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(22, 16, 12, 0.25)); }
.cdl-fl__name {
    display: block;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--cdl-ink);
    text-decoration: none;
}
.cdl-fl__name:hover { color: var(--cdl-rose-text); }
.cdl-fl__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; font-size: 0.75rem; color: var(--cdl-ink-soft); }
.cdl-tag { font-weight: 700; }
.cdl-tag--tasted { display: inline-flex; align-items: center; gap: 5px; color: var(--cdl-rose-text); }
.cdl-tag--tasted::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cdl-rose); }

.cdl-sc { min-width: 170px; white-space: nowrap; }
.cdl-sc__n { margin-right: 8px; font-size: 1.0625rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cdl-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cdl-cat,
.cdl-last { white-space: nowrap; }
.cdl-last { font-size: 0.875rem; }
.cdl-mt { display: none; }

.cdl-more { display: flex; justify-content: center; margin-top: 18px; }
.cdl-more [hidden] { display: none; }

.cdl-soon { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--cdl-line); border-radius: 16px; background: #fff; }
.cdl-soon__h { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 800; color: var(--cdl-ink-soft); }
.cdl-soon ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }

@media (max-width: 859px) {
    .cdl-table thead { display: none; }
    .cdl-table caption { display: none; }
    .cdl-table,
    .cdl-table tbody { display: block; }
    .cdl-row {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "rk fl" "rk sc" "rk mt";
        column-gap: 14px;
        row-gap: 8px;
        padding: 14px 2px;
        border-bottom: 1px solid var(--cdl-line);
    }
    .cdl-table td { display: block; padding: 0; border: 0; }
    .cdl-table td.cdl-rk { grid-area: rk; }
    .cdl-table td.cdl-fl { grid-area: fl; min-width: 0; display: flex; align-items: center; }
    .cdl-table td.cdl-sc { grid-area: sc; min-width: 0; }
    .cdl-table td.cdl-num,
    .cdl-table td.cdl-cat,
    .cdl-table td.cdl-last { display: none; }
    .cdl-table td.cdl-mt { display: block; grid-area: mt; font-size: 0.75rem; color: var(--cdl-ink-soft); }

    .cdl-tabs { display: flex; width: 100%; }
    .cdl-tab { flex: 1; padding: 10px 8px; font-size: 0.8125rem; white-space: normal; line-height: 1.15; }

    .cdl-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: calc(var(--gutter, 16px) * -1);
        padding: 0 var(--gutter, 16px) 6px;
        scrollbar-width: none;
    }
    .cdl-filters::-webkit-scrollbar { display: none; }
    .cdl-chip,
    .cdl-toggle { flex: none; }
    .cdl-toggle { margin-left: 8px; }
}

/* Must come after the mobile grid rule so a hidden row stays hidden. */
.cdl-row[hidden] { display: none; }


/* ============================================================
   BUTTONS
============================================================ */

.cdl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.cdl-btn--ink { background: var(--cdl-ink); color: var(--cdl-cream); }
.cdl-btn--ink:visited { color: var(--cdl-cream); }
.cdl-btn--ink:hover { background: #2B1B12; }
.cdl-btn--line { background: #fff; color: var(--cdl-ink); box-shadow: inset 0 0 0 1.5px var(--cdl-line-2); }
.cdl-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--cdl-ink); }


/* ============================================================
   5. CATEGORY WINNERS
============================================================ */

.cdl-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px)  { .cdl-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cdl-cats { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.cdl-catw {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--cdl-line);
    border-radius: 20px;
    background: #fff;
    color: var(--cdl-ink);
    text-decoration: none;
    transition: transform 450ms var(--cdl-ease), box-shadow 450ms var(--cdl-ease);
}
.cdl-catw:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(22, 16, 12, 0.45); }
.cdl-catw__art { position: relative; display: grid; place-items: center; height: 124px; background: var(--flavor-color); }
.cdl-catw__art .cdl-img,
.cdl-catw__art svg { width: 82px; height: 82px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(22, 16, 12, 0.25)); }
.cdl-catw__label {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on);
    opacity: 0.8;
}
.cdl-catw__body { padding: 12px 14px 14px; }
.cdl-catw__name { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.cdl-catw__sc { display: block; margin-top: 6px; font-size: 0.75rem; color: var(--cdl-ink-soft); }


/* ============================================================
   6. WORST (dark band, matches the header and footer)
============================================================ */

.cdl-dark {
    margin-top: clamp(56px, 7vw, 96px);
    padding: clamp(56px, 7vw, 88px) 0;
    background:
        radial-gradient(900px 400px at 85% 0%, rgba(255, 185, 205, 0.07), transparent 65%),
        linear-gradient(180deg, #1C120D, #16100C);
    color: var(--cdl-cream);
}
.cdl-dark .cdl-eyebrow { color: var(--cdl-blush); }
.cdl-dark .cdl-sec__lede { color: rgba(255, 249, 245, 0.66); }
.cdl-dark .stars { color: var(--cdl-blush); }
.cdl-dark .stars__empty { color: rgba(255, 249, 245, 0.22); }
.cdl-worst { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 560px)  { .cdl-worst { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cdl-worst { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cdl-wc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 249, 245, 0.12);
    border-radius: 20px;
    background: rgba(255, 249, 245, 0.04);
    color: var(--cdl-cream);
    text-decoration: none;
    transition: border-color 300ms, background-color 300ms;
}
.cdl-wc:visited { color: var(--cdl-cream); }
.cdl-wc:hover { border-color: rgba(255, 185, 205, 0.5); background: rgba(255, 185, 205, 0.05); }
.cdl-wc__top { display: flex; align-items: center; }
.cdl-wc .cdl-sw { width: 48px; height: 48px; border-radius: 14px; }
.cdl-wc__rk { display: block; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 249, 245, 0.56); }
.cdl-wc__name { display: block; font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.cdl-wc__sc { font-size: 0.8125rem; color: rgba(255, 249, 245, 0.72); }
.cdl-wc__sc b { font-size: 1rem; color: var(--cdl-cream); }
.cdl-wc__note { font-size: 0.8125rem; line-height: 1.5; color: rgba(255, 249, 245, 0.62); }


/* ============================================================
   7. JOIN THE READERS' BOARD
============================================================ */

.cdl-join { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .cdl-join { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cdl-jc { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--cdl-line); border-radius: 20px; background: #fff; }
.cdl-jc .cdl-sw { margin-right: 0; }
.cdl-jc__body { flex: 1; min-width: 0; }
.cdl-jc__name { display: block; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.cdl-meter { display: flex; gap: 4px; margin-top: 10px; }
.cdl-meter i { flex: 1; height: 6px; border-radius: 999px; background: #F5EDE8; }
.cdl-meter i.on { background: var(--cdl-rose); }
.cdl-jc__txt { display: block; margin-top: 6px; font-size: 0.75rem; color: var(--cdl-ink-soft); }
.cdl-jc .cdl-btn { padding: 10px 16px; font-size: 0.8125rem; }


/* ============================================================
   8. HOW WE RANK
============================================================ */

.cdl-method { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .cdl-method { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cdl-mc { padding: 24px; border: 1px solid var(--cdl-line); border-radius: 22px; background: var(--cdl-tint); }
.cdl-mc__k {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--cdl-ink);
    color: var(--cdl-blush);
    font-family: var(--cdl-display);
    font-size: 1.25rem;
    font-weight: 900;
}
.cdl-mc h3 { margin: 16px 0 0; font-family: var(--cdl-display); font-weight: 700; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.015em; }
.cdl-mc p { margin-top: 8px; font-size: 0.9375rem; color: var(--cdl-body); }
.cdl-mc ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--cdl-ink-soft); }
.cdl-mc li { padding: 6px 0; border-top: 1px solid var(--cdl-line); }
.cdl-note { margin-top: 14px; font-size: 0.875rem; color: var(--cdl-body); }
.cdl-note > * + * { margin-top: 8px; }


/* ============================================================
   9. FAQ
============================================================ */

.cdl-faq { max-width: 900px; border-top: 1px solid var(--cdl-line); }
.cdl-faq details { border-bottom: 1px solid var(--cdl-line); }
.cdl-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    list-style: none;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cdl-faq summary::-webkit-details-marker { display: none; }
.cdl-faq summary::after {
    content: "";
    flex: none;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(228, 115, 142, 0.45);
    border-radius: 50%;
    background:
        linear-gradient(var(--cdl-rose-text), var(--cdl-rose-text)) center / 12px 2px no-repeat,
        linear-gradient(var(--cdl-rose-text), var(--cdl-rose-text)) center / 2px 12px no-repeat;
    transition: transform 300ms var(--cdl-ease);
}
.cdl-faq details[open] summary::after { transform: rotate(45deg); }
.cdl-faq p { margin: 0; padding: 0 48px 22px 0; line-height: 1.7; color: var(--cdl-body); }


/* ============================================================
   10. NEXT STEP
============================================================ */

.cdl-next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 860px) { .cdl-next { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cdl-nx {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border: 1px solid var(--cdl-line);
    border-radius: 20px;
    color: var(--cdl-ink);
    font-weight: 800;
    text-decoration: none;
    transition: border-color 300ms;
}
.cdl-nx:hover { border-color: var(--cdl-rose); }
.cdl-nx span { color: var(--cdl-rose); }


/* ============================================================
   MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
    .cdl-pod,
    .cdl-pod__art .cdl-img,
    .cdl-pod__art svg,
    .cdl-catw,
    .cdl-row,
    .cdl-row td:first-child { transition: none; }
}
