/* FamousWhy Download: the software catalog (/download). Uses the tokens from site.css. */
.dl { padding-bottom: 56px; }
.dl .crumbs { margin: 18px 0 16px; }
.dl h2 { font: 900 22px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
.dl-kicker { display: inline-block; font: 900 13px var(--round); color: #FF8CC0; margin-bottom: 8px; }
.dl-muted { color: var(--muted); font-size: 14px; }
.dl-empty { color: var(--muted); margin: 6px 0; }
.dl-more { display: inline-block; margin-top: 12px; font: 800 14px var(--round); }

/* Hero and search */
.dl-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px; border-radius: 28px; color: #FFF;
    background: radial-gradient(120% 140% at 0% 0%, #3A1D5C 0%, #15161A 60%), #15161A; margin-bottom: 18px; }
.dl-hero h1 { font: 900 clamp(30px, 4vw, 46px)/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 12px; }
.dl-hero p { color: #D6D7DD; margin: 0 0 20px; max-width: 62ch; }
.dl-hero--small { grid-template-columns: minmax(0, 1fr); padding: 28px 32px; }
.dl-hero--small h1 { font-size: clamp(26px, 3vw, 36px); }
.dl-promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-promise li { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.dl-promise b { display: block; font-family: var(--round); font-weight: 900; }
.dl-promise span { font-size: 14px; color: #C9CAD1; }
.dl-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 54px; padding: 0 6px 0 18px; border-radius: 99px; background: #FFF; color: var(--muted); }
.dl-search input { flex: 1; min-width: 0; border: 0; outline: none; font: 700 16px var(--round); color: var(--ink); background: transparent; }
.dl-search button { height: 42px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--grad); color: #FFF; font: 800 15px var(--round); cursor: pointer; }

/* Platforms */
.dl-platforms { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.dl-platforms a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; border: 2px solid transparent; }
.dl-platforms a:hover { border-color: #E3E5EA; }
.dl-platforms a[aria-current] { border-color: var(--ink); }
.dl-platforms i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); display: flex; align-items: center; justify-content: center; font: 900 15px var(--round); font-style: normal; }
.dl-platforms span { font: 900 15px/1.2 var(--round); }
.dl-platforms small { display: block; font: 700 12px var(--round); color: var(--muted); }

/* Layout */
.dl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.dl-cols > div, .dl-cols > aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.dl-box { display: block; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 0 0 18px; }
.dl-cols .dl-box { margin: 0; }
.dl-box__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dl-box__head a { font: 800 14px var(--round); }

/* Icons, seals, SoftRank */
.dl-icon { flex: none; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .24); display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
    background: linear-gradient(145deg, color-mix(in srgb, var(--c) 78%, #FFF), var(--c)); color: #FFF; font: 900 calc(var(--s) * .36) var(--display); letter-spacing: -.03em;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.dl-icon img { width: 100%; height: 100%; object-fit: cover; background: #FFF; }
.dl-seal { flex: none; display: inline-block; vertical-align: middle; filter: drop-shadow(0 2px 3px rgba(21,22,26,.15)); }
.dl-sr { flex: none; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; color: var(--lv); font: 900 11px var(--round); }
.dl-sr__ring { width: 48px; height: 48px; border-radius: 99px; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(closest-side, #FFF 76%, transparent 78% 100%), conic-gradient(var(--lv) calc(var(--v) * 1%), #ECEDF0 0); }
.dl-sr__ring b { font: 900 17px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }

/* Sort tabs */
.dl-sorts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.dl-sorts a { height: 34px; padding: 0 13px; border-radius: 99px; background: var(--bg); display: flex; align-items: center; font: 800 13px var(--round); color: var(--ink); text-decoration: none !important; }
.dl-sorts a[aria-current] { background: var(--ink); color: #FFF; }
.dl-tabbar { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--bg); margin-bottom: 8px; width: fit-content; max-width: 100%; overflow-x: auto; }
.dl-tabbar button { border: 0; background: transparent; height: 38px; padding: 0 16px; border-radius: 99px; font: 900 15px var(--round); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.dl-tabbar button[aria-selected="true"] { background: #FFF; color: var(--ink); box-shadow: 0 2px 8px rgba(21,22,26,.08); }

/* Program rows */
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.dl-row:first-child { border-top: 0; }
.dl-row__rank { flex: none; width: 26px; text-align: right; font: 900 18px var(--display); color: var(--faint); }
.dl-row__body { flex: 1; min-width: 0; }
.dl-row__title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.dl-row__name { font: 900 17px var(--round); color: var(--ink); }
.dl-row__version { font: 700 13px var(--round); color: var(--muted); }
.dl-row p { margin: 2px 0 5px; font-size: 14px; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dl-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 700 12px var(--round); color: var(--muted); }
.dl-row__meta b { color: var(--ink); }
.dl-license { display: inline-block; padding: 1px 8px; border-radius: 99px; font: 900 11px/1.6 var(--round); background: #EEF0F3; color: var(--ink-2); }
.dl-license--free, .dl-license--open-source { background: var(--green-soft); color: var(--green); }
.dl-license--trial { background: #FFF5DB; color: #8A5A00; }
.dl-license--paid { background: var(--violet-soft); color: var(--violet); }

/* Home picks and side lists */
.dl-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dl-pick { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--bg); color: var(--ink); text-decoration: none !important; border: 2px solid transparent; }
.dl-pick:hover { border-color: #E3E5EA; background: #FFF; }
.dl-pick__top { display: flex; justify-content: space-between; align-items: flex-start; }
.dl-pick b { font: 900 17px var(--round); margin-top: 6px; }
.dl-pick__text { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dl-pick small { font: 700 12px var(--round); color: var(--muted); margin-top: auto; }
.dl-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-top li { display: flex; align-items: center; gap: 10px; }
.dl-top__n { width: 18px; font: 900 14px var(--display); color: var(--faint); text-align: right; }
.dl-top a { flex: 1; min-width: 0; font: 800 15px/1.25 var(--round); color: var(--ink); }
.dl-top small { display: block; font: 700 12px var(--round); color: var(--muted); }
.dl-top .dl-sr { min-width: 54px; }
.dl-top .dl-sr__ring { width: 40px; height: 40px; }
.dl-top .dl-sr__ring b { font-size: 14px; }
.dl-mini { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.dl-mini li { display: flex; align-items: center; gap: 10px; }
.dl-mini a { font: 800 15px/1.25 var(--round); color: var(--ink); }
.dl-mini small { display: block; font: 700 12px var(--round); color: var(--muted); }
.dl-mini--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* Categories */
.dl-cats { list-style: none; margin: 0; padding: 0; }
.dl-cats li { display: flex; align-items: center; gap: 10px; padding: 9px 0 9px 14px; border-top: 1px solid var(--line); position: relative; }
.dl-cats li:first-child { border-top: 0; }
.dl-cats li::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: var(--c); }
.dl-cats li.is-current { background: var(--bg); border-radius: 12px; }
.dl-cats a { flex: 1; min-width: 0; color: var(--ink); }
.dl-cats b { font: 800 15px var(--round); display: block; }
.dl-cats small { display: block; font-size: 12px; color: var(--muted); }
.dl-cats span { font: 800 13px var(--round); color: var(--muted); padding-right: 6px; }
.dl-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dl-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; border-radius: 18px; background: color-mix(in srgb, var(--c) 7%, #FFF); border: 2px solid color-mix(in srgb, var(--c) 14%, #FFF); color: var(--ink); text-decoration: none !important; }
.dl-tile:hover { border-color: var(--c); }
.dl-tile b { font: 900 16px var(--round); color: color-mix(in srgb, var(--c) 80%, #000); }
.dl-tile span { font-size: 13px; color: var(--ink-2); }
.dl-tile small { margin-top: 6px; font: 800 12px var(--round); color: var(--muted); }
.dl-tile.is-empty { opacity: .55; }
.dl-catbox { border-top: 6px solid var(--c); }
.dl-catbox h1 { font: 900 clamp(26px, 3vw, 36px)/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 6px; }
.dl-catbox h1 span { color: var(--muted); }
.dl-catbox p { margin: 0 0 14px; color: var(--ink-2); }
.dl-catbox__bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dl-freeonly { height: 34px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--green); display: flex; align-items: center; font: 800 13px var(--round); color: var(--green); text-decoration: none !important; }
.dl-freeonly[aria-current] { background: var(--green); color: #FFF; }
.dl-awards-cta { color: var(--ink); text-decoration: none !important; text-align: center; background: linear-gradient(160deg, #FFF8E6, #FFF 55%); }
.dl-awards-cta span { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; }
.dl-awards-cta b { display: block; font: 900 18px var(--display); }
.dl-awards-cta small { font-size: 13px; color: var(--muted); }

/* Program page: header */
.dl-head { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-bottom: 18px; }
.dl-head__main { display: flex; gap: 22px; padding: 28px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.dl-head__main::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); }
.dl-head h1 { font: 900 clamp(30px, 3.6vw, 44px)/1.05 var(--display); letter-spacing: -.035em; margin: 0; }
.dl-head__version { font-size: .5em; color: var(--muted); letter-spacing: 0; vertical-align: middle; }
.dl-head__by { margin: 6px 0 0; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dl-head__summary { margin: 12px 0 14px; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.dl-head__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 800 14px var(--round); color: var(--ink-2); }
.dl-head__facts li { display: flex; align-items: center; }
.dl-head__facts li + li::before { content: ''; width: 4px; height: 4px; border-radius: 4px; background: #C9CBD2; margin-right: 14px; }
.dl-get-panel { padding: 24px; border-radius: 28px; background: #15161A; color: #FFF; display: flex; flex-direction: column; gap: 10px; }
.dl-get-panel p { margin: 0; font-size: 13px; color: #B9BBC3; text-align: center; }
.dl-get { display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 22px; border-radius: 99px; background: #19B866; color: #FFF; font: 900 18px var(--round); text-decoration: none !important; box-shadow: 0 10px 28px rgba(25,184,102,.35); }
.dl-get:hover { background: #17A85D; }
.dl-get.is-off { background: #2A2C33; color: #9EA0A8; box-shadow: none; }
.dl-get-panel__site { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 99px; border: 2px solid #3A3C44; color: #FFF; font: 800 15px var(--round); text-decoration: none !important; }
.dl-get-panel__site:hover { border-color: #FFF; }
.dl-checks { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid #2A2C33; display: grid; gap: 6px; font-size: 13px; color: #D6D7DD; }
.dl-checks li { display: flex; gap: 8px; }
.dl-checks li::before { content: '✓'; color: #19B866; font-weight: 900; }

/* Awards strip */
.dl-awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.dl-award { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.dl-award b { display: block; font: 900 16px var(--round); }
.dl-award span { display: block; font-size: 13px; color: var(--ink-2); }
.dl-award small { font: 800 12px var(--round); color: var(--muted); }

/* In-page navigation */
.dl-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; overflow-x: auto; padding: 6px; margin-bottom: 18px; border-radius: 99px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.dl-tabs a { flex: none; height: 38px; padding: 0 16px; border-radius: 99px; display: flex; align-items: center; font: 800 14px var(--round); color: var(--ink-2); text-decoration: none !important; }
.dl-tabs a:hover { background: var(--bg); color: var(--ink); }
.dl-page [id] { scroll-margin-top: 90px; }

/* Review */
.dl-review { border: 2px solid color-mix(in srgb, var(--c) 30%, #FFF); }
.dl-review__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dl-review__author { display: flex; align-items: center; gap: 12px; }
.dl-review__author b { display: block; font: 900 16px var(--round); }
.dl-review__author span { font: 700 13px var(--round); color: var(--muted); }
.dl-avatar { flex: none; width: 48px; height: 48px; border-radius: 99px; background: var(--grad); color: #FFF; display: flex; align-items: center; justify-content: center; font: 900 20px var(--display); box-shadow: 0 0 0 3px #FFF, 0 0 0 5px var(--pink-soft); }
.dl-score { flex: none; width: 88px; height: 88px; border-radius: 99px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(closest-side, #FFF 78%, transparent 80% 100%), conic-gradient(var(--green) calc(var(--p) * 1%), #ECEDF0 0); }
.dl-score b { font: 900 30px/1 var(--display); letter-spacing: -.03em; }
.dl-score small { font: 800 12px var(--round); color: var(--muted); }
.dl-review__verdict { margin: 18px 0; font: 600 21px/1.45 var(--serif); color: var(--ink); max-width: 64ch; }
.dl-highlights { margin-bottom: 18px; padding: 16px 20px; border-radius: 18px; background: var(--green-soft); }
.dl-highlights h3 { margin: 0 0 8px; font: 900 15px var(--round); color: #0B5E34; }
.dl-highlights ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px; font-size: 15px; }
.dl-highlights li { display: flex; gap: 8px; }
.dl-highlights li::before { content: '✓'; color: var(--green); font-weight: 900; }
.dl-prose { font: 400 17px/1.75 var(--serif); color: var(--ink-2); max-width: 70ch; }
.dl-prose p { margin: 0 0 14px; }
.dl-prose h2, .dl-prose h3 { font-family: var(--display); color: var(--ink); }
.dl-review__note { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dl-shot { padding: 12px; }
.dl-shot img { display: block; width: 100%; border-radius: 14px; }

/* Specs */
.dl-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.dl-specs div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.dl-specs div:nth-child(odd) { padding-right: 20px; }
.dl-specs dt { font: 800 13px var(--round); color: var(--muted); }
.dl-specs dd { margin: 0; font: 800 14px var(--round); color: var(--ink); overflow-wrap: anywhere; }
.dl-faq { border-top: 1px solid var(--line); padding: 12px 0; }
.dl-faq summary { cursor: pointer; font: 900 16px var(--round); }
.dl-faq p { margin: 8px 0 0; color: var(--ink-2); }

/* SoftRank band (program page) */
.dl-srband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 26px 30px; margin-bottom: 18px; border-radius: 28px; color: #FFF;
    background: radial-gradient(90% 140% at 0% 50%, color-mix(in srgb, var(--lv) 35%, #15161A) 0%, #15161A 55%), #15161A; }
.dl-srband__ring { position: relative; width: 190px; height: 190px; }
.dl-srband__ring svg { width: 100%; height: 100%; display: block; }
.dl-srband__num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dl-srband__num b { font: 900 60px/1 var(--display); letter-spacing: -.05em; }
.dl-srband__num span { font: 900 13px var(--round); color: #C9CAD1; margin-top: 2px; }
.dl-srband__arc { animation: dl-arc 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes dl-arc { from { stroke-dasharray: 0 100; } }
.dl-srband__level { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--lv); color: #15161A; font: 900 13px var(--round); }
.dl-srband__text h2 { margin: 10px 0 8px; font: 900 24px/1.15 var(--display); letter-spacing: -.02em; color: #FFF; }
.dl-srband__text h2 span { color: #9EA0A8; }
.dl-srband__text p { margin: 0 0 14px; font-size: 14px; color: #C9CAD1; }
.dl-srband__scale { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.dl-srband__scale li { flex: 1; min-width: 0; padding: 6px 0 0; border-top: 4px solid color-mix(in srgb, var(--lc) 45%, #2A2C33); font: 800 11px var(--round); color: #8E919A; }
.dl-srband__scale li b { display: block; font-size: 12px; color: #C9CAD1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-srband__scale li[aria-current] { border-top-color: var(--lc); }
.dl-srband__scale li[aria-current] b { color: #FFF; }
.dl-srband__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dl-srband__bars li { display: grid; grid-template-columns: minmax(0, 1fr) 70px; grid-template-areas: 'label weight' 'bar bar'; gap: 5px 10px; }
.dl-srband__bars li > div { grid-area: label; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.dl-srband__bars li > div b { font: 900 14px var(--round); }
.dl-srband__bars li > div span { color: #C9CAD1; font-weight: 700; }
.dl-srband__bars small { grid-area: weight; text-align: right; font: 800 11px var(--round); color: #8E919A; align-self: center; }
.dl-srband__bars i { grid-area: bar; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.dl-srband__bars em { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #FF3D8B, #6D4CFF 60%, var(--lv)); }
@media (prefers-reduced-motion: reduce) { .dl-srband__arc { animation: none; } }

/* Sidebar cards */
.dl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dl-chips a { display: inline-flex; height: 36px; padding: 0 14px; align-items: center; border-radius: 99px; background: var(--bg); font: 800 14px var(--round); color: var(--ink); }
.dl-pubcard__label { font: 800 13px var(--round); color: var(--muted); }
.dl-pubcard h2 { margin: 2px 0 10px; }
.dl-pubcard h2 a { color: var(--ink); }
.dl-pubcard__award { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 800 14px var(--round); }
.dl-embedder__row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.dl-embedder__row button { border: 1px solid #E3E5EA; background: #FFF; color: var(--ink-2); border-radius: 999px; padding: 6px 12px; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; }
.dl-embedder__row button.is-on { background: #15161A; border-color: #15161A; color: #FFF; }
.dl-embedder__row button:focus-visible, .dl-embedder__copy:focus-visible { outline: 3px solid #6D4CFF; outline-offset: 2px; }
.dl-embedder__preview { display: grid; place-items: center; min-height: 150px; margin: 12px 0; padding: 16px; border-radius: 16px; background: repeating-conic-gradient(#F4F5F8 0 25%, #FFF 0 50%) 0 0 / 18px 18px; }
.dl-embedder__preview img { max-width: 100%; height: auto; }
.dl-embedder__copy { margin-top: 8px; width: 100%; border: 0; border-radius: 12px; padding: 10px; background: linear-gradient(90deg, #FF3D8B, #6D4CFF); color: #FFF; font: 700 14px/1 inherit; font-family: inherit; cursor: pointer; }
.dl-embed textarea { width: 100%; border: 1px solid #E3E5EA; border-radius: 12px; padding: 10px; font: 12px/1.4 ui-monospace, monospace; color: var(--ink-2); background: var(--bg); resize: none; }

/* Publisher page */
.dl-pubhead { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-bottom: 18px; }
.dl-pubhead__main { display: flex; gap: 20px; padding: 28px; border-radius: 28px; color: #FFF; background: radial-gradient(120% 140% at 0% 0%, #2A1C6B 0%, #15161A 62%); }
.dl-pubhead__main h1 { font: 900 clamp(30px, 3.6vw, 44px)/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 10px; }
.dl-pubhead__main p { margin: 0 0 12px; color: #D6D7DD; max-width: 60ch; }
.dl-pubhead__site { font: 800 14px var(--round); color: #FF8CC0; }
.dl-pubhead__mono { flex: none; width: 88px; height: 88px; border-radius: 24px; background: var(--grad); display: flex; align-items: center; justify-content: center; font: 900 40px var(--display); color: #FFF; }
.dl-pubhead__mono--small { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
.dl-pubstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 18px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.dl-pubstats div { padding: 12px 14px; border-radius: 16px; background: var(--bg); }
.dl-pubstats__wide { grid-column: 1 / -1; }
.dl-pubstats dt { font: 800 12px var(--round); color: var(--muted); }
.dl-pubstats dd { margin: 2px 0 0; font: 900 22px/1.2 var(--display); letter-spacing: -.02em; }
.dl-pubstats__wide dd { font: 800 15px var(--round); letter-spacing: 0; }
.dl-awardgroup header { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.dl-awardgroup h2 { margin: 0 0 4px; }

@media (max-width: 1080px) {
    .dl-platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dl-cols, .dl-hero, .dl-head, .dl-pubhead { grid-template-columns: minmax(0, 1fr); }
    .dl-srband__ring { width: 170px; height: 170px; }
    .dl-srband__bars { grid-column: 1 / -1; }
    .dl-tiles, .dl-mini--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .dl-hero { padding: 24px 20px; border-radius: 22px; }
    .dl-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dl-picks, .dl-tiles, .dl-specs, .dl-mini--grid { grid-template-columns: minmax(0, 1fr); }
    .dl-specs div:nth-child(odd) { padding-right: 0; }
    .dl-specs div { grid-template-columns: 130px minmax(0, 1fr); }
    .dl-box { padding: 18px; }
    .dl-row { align-items: flex-start; }
    .dl-row p { white-space: normal; }
    .dl-head__main, .dl-pubhead__main { flex-direction: column; padding: 22px; }
    .dl-srband { grid-template-columns: minmax(0, 1fr); padding: 22px; justify-items: stretch; }
    .dl-srband__ring { margin: 0 auto; }
    .dl-srband__scale li b { font-size: 10px; }
    .dl-review__verdict { font-size: 19px; }
}

/* Award card at the top of the program sidebar */
.dl-honor { --tone: #FF2D7E; --tint: #FFE3EF; position: relative; overflow: hidden; text-align: center; padding: 22px 22px 20px; margin-bottom: 18px; border-radius: 26px; background: linear-gradient(170deg, var(--tint), #FFF 62%); box-shadow: var(--shadow); }
.dl-honor--editors-pick { --tone: #6D4CFF; --tint: #ECE6FF; }
.dl-honor--famous-publisher { --tone: #E0A100; --tint: #FFF3D1; }
.dl-honor__seal { position: relative; display: grid; place-items: center; margin: 0 auto 10px; }
.dl-honor__seal::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 32%, transparent), transparent 68%); }
.dl-honor__seal .dl-seal { position: relative; max-width: 100%; height: auto; }
.dl-honor__kicker { display: block; font: 800 13px var(--round); color: var(--tone); }
.dl-honor h2 { margin: 4px 0 8px; font-size: 24px; }
.dl-honor p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
    .dl-honor__seal .dl-seal { animation: dl-honor-in .7s cubic-bezier(.2, .9, .3, 1.2) both; }
    @keyframes dl-honor-in { from { opacity: 0; transform: scale(.85) rotate(-4deg); } }
}
.dl-cols .dl-honor { margin: 0; }
.dl-embedder__pick { display: grid; gap: 6px; font: 800 13px var(--round); color: var(--ink-2); }
.dl-embedder__pick select { border: 1px solid #E3E5EA; border-radius: 12px; padding: 9px 10px; font: 600 14px inherit; font-family: inherit; background: #FFF; }

/* Award page */
.dl-awardhero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; padding: 30px; margin-bottom: 18px; border-radius: 28px; background: linear-gradient(160deg, var(--tint), #FFF 60%); box-shadow: var(--shadow); --tone: #FF2D7E; --tint: #FFE3EF; }
.dl-awardhero.dl-honor--editors-pick { --tone: #6D4CFF; --tint: #ECE6FF; }
.dl-awardhero.dl-honor--famous-publisher { --tone: #E0A100; --tint: #FFF3D1; }
.dl-awardhero .dl-honor__seal::before { width: 300px; height: 300px; }
.dl-awardhero h1 { font: 900 clamp(30px, 4vw, 44px)/1.05 var(--display); letter-spacing: -.03em; margin: 6px 0 12px; }
.dl-awardhero p { max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0 0 10px; }
.dl-awardhero__count { display: inline-block; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: #FFF; font: 800 13px var(--round); color: var(--tone); }
.dl-criteria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dl-criteria li { padding: 16px; border-radius: 18px; background: var(--bg); }
.dl-criteria b, .dl-steps b { display: block; font: 900 16px var(--round); margin-bottom: 4px; }
.dl-criteria span, .dl-steps span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.dl-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.dl-steps li { counter-increment: step; padding: 16px; border-radius: 18px; border: 1px solid var(--line); }
.dl-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: linear-gradient(135deg, #FF3D8B, #6D4CFF); color: #FFF; font: 900 14px var(--round); }
.dl-badgeset { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; justify-content: center; padding: 20px; border-radius: 18px; background: repeating-conic-gradient(#F4F5F8 0 25%, #FFF 0 50%) 0 0 / 18px 18px; }
.dl-badgeset figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.dl-badgeset .dl-seal { max-width: 100%; height: auto; }
.dl-badgeset figcaption { font: 800 13px var(--round); color: var(--muted); }
.dl-awardgroup h2 a { color: inherit; }
@media (max-width: 760px) {
    .dl-awardhero { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 22px; }
    .dl-awardhero .dl-honor__seal .dl-seal { width: 200px; }
}

/* Boost and like on the FameRank band */
.dl-srband__text p a { color: #FF8CC0; font-weight: 800; }
.dl-srband__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.dl-boost, .dl-like { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 10px 18px; font: 900 15px var(--round); cursor: pointer; }
.dl-boost { background: linear-gradient(135deg, #FFC23D, #FF8A3D); color: #3A1A00; box-shadow: 0 4px 0 #B9650F; }
.dl-boost:active { transform: translateY(3px); box-shadow: 0 1px 0 #B9650F; }
.dl-boost.is-pop { animation: dl-pop .45s ease; }
@keyframes dl-pop { 40% { transform: scale(1.12); } }
.dl-like { background: rgba(255, 255, 255, .1); color: #FFF; }
.dl-like b { font-weight: 800; opacity: .8; }
.dl-like.is-on { background: #FF3D8B; }
.dl-boost:focus-visible, .dl-like:focus-visible { outline: 3px solid #FFF; outline-offset: 3px; }
.dl-srband__act small { flex-basis: 100%; font-size: 13px; color: rgba(255, 255, 255, .7); }
@media (prefers-reduced-motion: reduce) { .dl-boost.is-pop { animation: none; } }

/* Badge and widget code, in the main column */
.dl-stack { display: grid; gap: 18px; }
.dl-forpub { border: 2px solid #ECE6FF; background: linear-gradient(170deg, #F6F3FF, #FFF 45%); }
.dl-forpub h3 { font: 900 17px var(--round); margin: 18px 0 10px; }
.dl-embedder--wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dl-embedder--wide .dl-embedder__preview { margin: 0; min-height: 260px; }
.dl-embedder__controls { display: grid; gap: 12px; }
.dl-embedder__group > span { display: block; font: 800 13px var(--round); color: var(--ink-2); }
.dl-embedder__group .dl-embedder__row { margin-top: 6px; }
.dl-embedder--wide textarea { width: 100%; border: 1px solid #E3E5EA; border-radius: 12px; padding: 10px; font: 12px/1.4 ui-monospace, monospace; color: var(--ink-2); background: #FFF; resize: none; }
.dl-embedder--wide .dl-embedder__copy { margin: 0; padding: 13px; font-size: 15px; }
.dl-embedder__hint { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .dl-embedder--wide { grid-template-columns: minmax(0, 1fr); } }

/* FameRank page */
.dl-frhero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px; margin-bottom: 18px; border-radius: 28px; background: radial-gradient(circle at 85% 20%, #3B2F8F, #15142F 70%); color: #FFF; }
.dl-frhero h1 { font: 900 clamp(30px, 4vw, 46px)/1.05 var(--display); letter-spacing: -.03em; margin: 6px 0 12px; }
.dl-frhero p { max-width: 60ch; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 0; }
.dl-frhero__levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl-frhero__levels li { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border-left: 6px solid var(--lc); }
.dl-frhero__levels b { font: 900 16px var(--round); color: var(--lc); }
.dl-frhero__levels span { font: 800 13px var(--round); color: rgba(255, 255, 255, .7); }
.dl-frgroup { display: flex; justify-content: space-between; font: 900 17px var(--round); margin: 16px 0 8px; }
.dl-frgroup span { color: #6D4CFF; }
.dl-frsignals { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 12px; }
.dl-frsignals li { display: grid; grid-template-columns: minmax(0, 1fr) 160px 44px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--bg); }
.dl-frsignals b { display: block; font: 900 15px var(--round); }
.dl-frsignals span { font-size: 13px; color: var(--ink-2); }
.dl-frsignals i { height: 10px; border-radius: 99px; background: #E3E5EA; overflow: hidden; }
.dl-frsignals em { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FF3D8B, #6D4CFF); }
.dl-frsignals small { font: 900 15px var(--round); text-align: right; }
.dl-forpub > p:not(.dl-muted) { margin: 14px 0 0; font-size: 15px; }
@media (max-width: 760px) {
    .dl-frhero { grid-template-columns: minmax(0, 1fr); padding: 22px; }
    .dl-frsignals li { grid-template-columns: minmax(0, 1fr) 44px; }
    .dl-frsignals i { grid-column: 1 / -1; grid-row: 2; }
}

.dl-embedder__find { position: relative; display: grid; gap: 6px; }
.dl-embedder__find label { font: 800 13px var(--round); color: var(--ink-2); }
.dl-embedder__find input { border: 2px solid #E3E5EA; border-radius: 12px; padding: 11px 12px; font: 600 15px inherit; font-family: inherit; background: #FFF; }
.dl-embedder__find input:focus { outline: none; border-color: #6D4CFF; }
.dl-embedder__find small { font-size: 12px; color: var(--muted); }
.dl-embedder__found { position: absolute; z-index: 5; top: 72px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #FFF; box-shadow: 0 12px 30px rgba(21, 22, 26, .16); }
.dl-embedder__found button { width: 100%; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 10px; font: 700 14px inherit; font-family: inherit; cursor: pointer; }
.dl-embedder__found button:hover, .dl-embedder__found button:focus-visible { background: #F4F1FF; }
.dl-embedder__found .is-empty { padding: 9px 10px; font-size: 14px; color: var(--muted); }

.dl-fame { padding: 16px 16px 18px; }
.dl-fame .fame__boost { height: 50px; font-size: 17px; }

/* Share links */
.dl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dl-share__label { font: 800 13px var(--round); color: var(--ink-2); margin-right: 4px; }
.dl-share__btn { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #E3E5EA; background: #FFF; color: var(--ink); font: 800 14px var(--round); text-decoration: none !important; cursor: pointer; }
.dl-share__btn--x { background: #15161A; border-color: #15161A; color: #FFF; }
.dl-share__btn--fb { background: #1877F2; border-color: #1877F2; color: #FFF; }
.dl-share__btn--in { background: #0A66C2; border-color: #0A66C2; color: #FFF; }
.dl-share__btn--rd { background: #FF4500; border-color: #FF4500; color: #FFF; }
.dl-share__btn:focus-visible { outline: 3px solid #6D4CFF; outline-offset: 2px; }
.dl-forpub__more { margin: 14px 0 0; }
.dl-forpub__more a { font: 800 14px var(--round); }

/* FameRank page: benefits and the loop */
.dl-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dl-benefits li { padding: 18px; border-radius: 18px; background: #FFF; box-shadow: var(--shadow); }
.dl-benefits b { display: block; font: 900 17px var(--round); margin-bottom: 6px; }
.dl-benefits span { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.dl-loop { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; counter-reset: loop; }
.dl-loop li { counter-increment: loop; flex: 1 1 150px; position: relative; padding: 14px 14px 14px 46px; border-radius: 16px; background: linear-gradient(135deg, #FF3D8B, #6D4CFF); color: #FFF; font: 800 14px/1.35 var(--round); }
.dl-loop li::before { content: counter(loop); position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: 13px; }
.dl-loop li:last-child { background: #15161A; }

/* FameRank dial at the top right, download as a wide strip below the FameRank band */
.dl-head > .dl-fame { align-self: stretch; }
.dl-head__jump { font-weight: 800; }
.dl-get-strip { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: 'title actions' 'checks actions'; align-items: center; gap: 8px 28px; margin-bottom: 18px; padding: 24px 30px; scroll-margin-top: 90px; }
.dl-get-strip__title { grid-area: title; }
.dl-get-strip__title b { display: block; font: 900 24px/1.15 var(--display); letter-spacing: -.02em; }
.dl-get-strip__title span { font-size: 14px; color: #B9BBC3; }
.dl-get-strip__actions { grid-area: actions; display: flex; flex-direction: column; gap: 10px; }
.dl-get-strip .dl-checks { grid-area: checks; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
@media (max-width: 760px) {
    .dl-get-strip { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'title' 'actions' 'checks'; padding: 22px; }
}

.dl-srband--dial { grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1.1fr); }
.dl-srband .dl-honor { margin: 0; color: var(--ink); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.dl-srband .dl-honor .dl-seal { width: 190px; height: auto; }
@media (max-width: 1080px) {
    .dl-srband--dial { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .dl-srband--dial .dl-srband__bars { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .dl-srband--dial { grid-template-columns: minmax(0, 1fr); } }

/* Share from the FameRank dial */
.dl-fame__share { text-decoration: none !important; display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border-radius: 12px; border: 1px solid #33363E; background: transparent; color: #FFF; font: 800 14px var(--round); cursor: pointer; }
.dl-fame__share:hover { border-color: #5E616B; }
.dl-fame__share:focus-visible { outline: 3px solid #FFF; outline-offset: 2px; }
.dl-fame__sharebox { padding: 12px; border-radius: 14px; background: #1B1D23; }
.dl-fame__sharebox .dl-share__label { color: #C9CBD1; flex-basis: 100%; }
.dl-fame__sharebox .dl-share__btn { height: 34px; padding: 0 12px; font-size: 13px; }

/* Lighter page: the FameRank band and the download strip on white, only the dial stays dark */
.dl-srband { color: var(--ink); background: linear-gradient(115deg, color-mix(in srgb, var(--lv) 12%, #FFF) 0%, #FFF 55%); box-shadow: var(--shadow); }
.dl-srband__text h2 { color: var(--ink); }
.dl-srband__text h2 span { color: var(--muted); }
.dl-srband__text p { color: var(--ink-2); }
.dl-srband__text p a { color: #D81E6E; }
.dl-srband__scale li { border-top-color: color-mix(in srgb, var(--lc) 35%, #E3E5EA); color: var(--muted); }
.dl-srband__scale li b { color: var(--ink-2); }
.dl-srband__scale li[aria-current] b { color: var(--ink); }
.dl-srband__bars li > div span { color: var(--ink-2); }
.dl-srband__bars small { color: var(--muted); }
.dl-srband__bars i { background: #ECEDF1; }
.dl-like { background: #F1F2F5; color: var(--ink); }
.dl-like.is-on { background: #FF3D8B; color: #FFF; }
.dl-like:focus-visible { outline-color: #6D4CFF; }
.dl-srband__act small { color: var(--muted); }
.dl-get-strip { background: #FFF; color: var(--ink); box-shadow: var(--shadow); }
.dl-get-strip .dl-get-strip__title span, .dl-get-strip p { color: var(--muted); }
.dl-get-strip .dl-checks { border-top-color: var(--line); color: var(--ink-2); }
.dl-get-strip .dl-get-panel__site { border-color: #E3E5EA; color: var(--ink); }
.dl-get-strip .dl-get-panel__site:hover { border-color: var(--ink); }

/* Editor verdict and highlights in the header */
.dl-head__verdict { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--bg); }
.dl-head__score { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #FF3D8B, #6D4CFF); color: #FFF; font: 900 22px/1 var(--display); }
.dl-head__score small { font-size: 11px; opacity: .8; margin-top: -10px; }
.dl-head__verdict q { display: block; font: italic 400 18px/1.4 'Source Serif 4', Georgia, serif; color: var(--ink); }
.dl-head__verdict span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.dl-head__verdict a { font-weight: 800; }
.dl-head__highlights { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dl-head__highlights li { padding: 7px 12px; border-radius: 999px; background: #EAF8F0; color: #0E7A43; font: 800 13px var(--round); }
.dl-head__highlights li::before { content: '✓ '; }

.dl-head__glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.dl-head__glance div { padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.dl-head__glance dt { font: 800 12px var(--round); color: var(--muted); }
.dl-head__glance dd { margin: 2px 0 0; font: 900 15px var(--round); color: var(--ink); }

.dl-honor--compact { margin: 0; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.dl-honor--compact .dl-honor__seal { margin-bottom: 6px; }
.dl-honor--compact .dl-honor__seal::before { width: 230px; height: 230px; }
.dl-honor--compact h2 { font-size: 20px; margin: 2px 0 6px; }
.dl-honor--compact p { font-size: 14px; }
.dl-honor--compact .dl-more { margin-top: 8px; }
.dl-srband .dl-fame { align-self: stretch; }
.dl-fame .fame__head b { font-size: 12px; letter-spacing: .08em; }

/* The software dial on white, to match the page */
.fame.dl-fame--light { background: #FFF; color: var(--ink); box-shadow: var(--shadow); }
.dl-fame--light .fame__head b { color: #D81E6E; }
.dl-fame--light .fame__head small, .dl-fame--light .fame__boost-sub { color: var(--muted); }
.dl-fame--light .fame__rev, .dl-fame--light .fame__sound { border-color: #E3E5EA; color: var(--ink-2); }
.dl-fame--light .fame__rev:hover, .dl-fame--light .fame__sound:hover { border-color: var(--ink); color: var(--ink); }
.dl-fame--light .fame__score b { color: var(--ink); }
.dl-fame--light .dl-fame__share { border-color: #E3E5EA; color: var(--ink); }
.dl-fame--light .dl-fame__share:hover { border-color: var(--ink); }
.dl-fame--light .dl-fame__share:focus-visible { outline-color: #6D4CFF; }
.dl-fame--light .dl-fame__sharebox { background: var(--bg); }
.dl-fame--light .dl-fame__sharebox .dl-share__label { color: var(--ink-2); }
.dl-srband .dl-fame--light { box-shadow: 0 0 0 1px #ECEDF1; }
@media (max-width: 900px) { .dl-benefits { grid-template-columns: minmax(0, 1fr); } }

/* The rank band takes the colour of the level, with the place in the category in large type */
.dl-srband { background: linear-gradient(120deg, color-mix(in srgb, var(--lv) 38%, #FFF) 0%, color-mix(in srgb, var(--lv) 16%, #FFF) 55%, color-mix(in srgb, var(--lv) 8%, #FFF) 100%); }
.dl-srband__bars i { background: rgba(255, 255, 255, .7); }
.dl-srband__scale li { border-top-color: color-mix(in srgb, var(--lc) 45%, #FFF); }
.dl-like { background: rgba(255, 255, 255, .8); }
.dl-srband__place { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.dl-srband__place { flex-wrap: wrap; }
.dl-srband__place > b { flex: 0 0 auto; font: 900 var(--place-size, 84px)/.9 var(--display); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.dl-srband__place h2 { margin: 6px 0 2px; font-size: 22px; }
.dl-srband__place small { font: 700 13px var(--round); color: var(--ink-2); }
.dl-srband__level { background: var(--ink); color: #FFF; }
.dl-srband__place > div { flex: 1 1 170px; min-width: 0; }

/* Track, Embed, Boost, Claim */
.dl-devbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; padding: 12px 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.dl-devbar__label { font: 800 13px var(--round); color: var(--muted); margin-right: 6px; }
.dl-devbar__item { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 0; border-radius: 16px; background: transparent; color: var(--ink); font: inherit; text-align: left; text-decoration: none !important; cursor: pointer; }
.dl-devbar__item:hover { background: var(--bg); }
.dl-devbar__item:focus-visible { outline: 3px solid #6D4CFF; outline-offset: 2px; }
.dl-devbar__item > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #F1EEFF; color: #6D4CFF; font-style: normal; font-weight: 900; }
.dl-devbar__item b { display: block; font: 900 15px var(--round); }
.dl-devbar__item small { display: block; font-size: 12px; color: var(--muted); }
.dl-devbar__item.is-on > i { background: #6D4CFF; color: #FFF; }
.dl-devbar__item.is-done > i { background: #EAF8F0; color: #0E7A43; }
.dl-devbar__item.is-done { cursor: default; }
.dl-verified { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; background: #3F8CFF; color: #FFF; font: 900 11px var(--round); vertical-align: 2px; }
@media (max-width: 760px) { .dl-devbar__label { flex-basis: 100%; } .dl-devbar__item { flex: 1 1 45%; } }

/* Key benefits for publishers */
.dl-keyben { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dl-keyben li { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: #FFF; box-shadow: 0 0 0 1px #ECEDF1; }
.dl-keyben i { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #F4F1FF; font-style: normal; font-size: 18px; }
.dl-keyben b { display: block; font: 900 15px var(--round); margin-bottom: 2px; }
.dl-keyben span { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) { .dl-keyben { grid-template-columns: minmax(0, 1fr); } }

.dl-submit-cta { display: block; color: var(--ink); text-decoration: none !important; background: linear-gradient(160deg, #F1EEFF, #FFF 60%); }
.dl-submit-cta b { display: block; font: 900 18px var(--display); margin-bottom: 4px; }
.dl-submit-cta small { display: block; font-size: 13px; color: var(--ink-2); }
.dl-submit-cta span { display: inline-block; margin-top: 12px; padding: 9px 16px; border-radius: 999px; background: #6D4CFF; color: #FFF; font: 800 14px var(--round); }
.cl-small { font-size: 13px; color: var(--muted); }

/* Screenshot gallery */
.dl-gallery__main img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; background: var(--bg); }
.dl-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.dl-gallery__thumbs button { flex: 0 0 auto; padding: 0; border: 3px solid transparent; border-radius: 12px; background: none; cursor: pointer; }
.dl-gallery__thumbs button.is-on { border-color: #6D4CFF; }
.dl-gallery__thumbs img { display: block; width: 120px; height: 75px; object-fit: cover; border-radius: 9px; }

/* ---------- Submit your software ---------- */
.sb-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 22px; }
.sb-hero h1 { font: 900 clamp(34px, 4.4vw, 52px)/1.02 var(--display); letter-spacing: -.035em; margin: 6px 0 12px; }
.sb-hero p { max-width: 58ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.sb-hero__path { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: path; }
.sb-hero__path li { counter-increment: path; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.sb-hero__path li::before { content: counter(path); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #FF3D8B, #6D4CFF); color: #FFF; font: 900 15px var(--round); }
.sb-hero__path b { font: 900 15px var(--round); }
.sb-hero__path span { font-size: 13.5px; color: var(--ink-2); }
.sb-done { padding: 16px 18px; border-radius: 16px; background: #EAF8F0; color: #0E5C33; font-weight: 700; margin: 0 0 18px; }
.sb-login { padding: 28px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); max-width: 620px; }
.sb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.sb-form { display: grid; gap: 18px; }
.sb-step { padding: 26px 28px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); display: grid; gap: 18px; }
.sb-step h2 { display: flex; align-items: center; gap: 12px; margin: 0; font: 900 22px var(--display); letter-spacing: -.02em; }
.sb-step h2 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #15161A; color: #FFF; font: 900 15px var(--round); }
.sb-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sb-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sb-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 800 14px var(--round); color: var(--ink); padding: 0; }
.sb-label em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--muted); }
.sb-field small { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.sb-field input:not([type=radio]):not([type=checkbox]):not([type=file]), .sb-field select, .sb-field textarea { width: 100%; border: 2px solid #E3E5EA; border-radius: 14px; padding: 12px 14px; font: 600 15px/1.45 inherit; font-family: inherit; color: var(--ink); background: #FFF; }
.sb-field textarea { resize: vertical; }
.sb-field input:focus, .sb-field select:focus, .sb-field textarea:focus { outline: none; border-color: #6D4CFF; box-shadow: 0 0 0 4px #ECE6FF; }
.sb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.sb-tile { position: relative; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border: 2px solid #E3E5EA; border-radius: 14px; cursor: pointer; font: 800 13.5px var(--round); }
.sb-tile input, .sb-segment input, .sb-choice__card input { position: absolute; opacity: 0; pointer-events: none; }
.sb-tile i { font-style: normal; color: #6D4CFF; }
.sb-tile:has(input:checked) { border-color: #6D4CFF; background: #F4F1FF; }
.sb-tile:has(input:focus-visible), .sb-segment label:has(input:focus-visible), .sb-choice__card:has(input:focus-visible) { outline: 3px solid #6D4CFF; outline-offset: 2px; }
.sb-segment { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-segment label { position: relative; }
.sb-segment span { display: inline-block; padding: 10px 14px; border: 2px solid #E3E5EA; border-radius: 999px; font: 800 13.5px var(--round); cursor: pointer; }
.sb-segment input:checked + span { border-color: #15161A; background: #15161A; color: #FFF; }
.sb-images { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
.sb-drop { display: grid; place-items: center; min-height: 150px; padding: 18px; border: 2px dashed #C9C2F5; border-radius: 18px; background: #FBFAFF; text-align: center; cursor: pointer; color: var(--ink-2); font-size: 13.5px; transition: background .15s, border-color .15s; }
.sb-drop b { display: block; font: 900 15px var(--round); color: var(--ink); margin-bottom: 2px; }
.sb-drop:hover, .sb-drop.is-over { border-color: #6D4CFF; background: #F4F1FF; }
.sb-drop:focus-visible { outline: 3px solid #6D4CFF; outline-offset: 2px; }
.sb-drop--icon { width: 200px; height: 200px; padding: 0; overflow: hidden; }
.sb-drop--icon img { width: 100%; height: 100%; object-fit: cover; }
.sb-drop--file { min-height: 120px; }
.sb-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sb-shots:empty { display: none; }
.sb-shots li { position: relative; }
.sb-shots img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px #ECEDF1; }
.sb-shots li:first-child img { box-shadow: 0 0 0 3px #6D4CFF; }
.sb-shots div { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; }
.sb-shots button { width: 28px; height: 28px; border: 0; border-radius: 8px; background: rgba(21, 22, 26, .78); color: #FFF; font-weight: 900; cursor: pointer; }
.sb-shots button:disabled { opacity: .35; cursor: default; }
.sb-shots__wait { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border-radius: 99px; background: #FFF; font: 800 11px var(--round); }
.sb-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sb-choice__card { position: relative; display: grid; gap: 4px; padding: 18px; border: 2px solid #E3E5EA; border-radius: 18px; cursor: pointer; }
.sb-choice__card b { font: 900 16px var(--round); }
.sb-choice__card span { font-size: 14px; color: var(--ink-2); }
.sb-choice__card em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.sb-choice__card:has(input:checked) { border-color: #6D4CFF; background: #F4F1FF; }
.sb-progress { position: relative; width: 100%; height: 36px; margin-top: 12px; border-radius: 12px; background: #ECEDF1; overflow: hidden; }
.sb-progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #FF3D8B, #6D4CFF); transition: width .2s; }
.sb-progress span { position: relative; display: block; line-height: 36px; font: 800 13px var(--round); color: #FFF; mix-blend-mode: difference; }
.sb-confirm { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.sb-confirm input { width: 20px; height: 20px; margin-top: 2px; accent-color: #6D4CFF; }
.sb-send { justify-self: start; border: 0; border-radius: 999px; padding: 15px 30px; background: linear-gradient(90deg, #FF3D8B, #6D4CFF); color: #FFF; font: 900 16px var(--round); cursor: pointer; }
.sb-send:disabled { opacity: .55; cursor: progress; }
.sb-send:focus-visible { outline: 3px solid #15161A; outline-offset: 3px; }
.sb-note { color: var(--muted); }
.sb-errors { padding: 14px 18px; border-radius: 16px; background: #FFEFF3; color: #8C1035; }
.sb-errors ul { margin: 6px 0 0; padding-left: 18px; }
.sb-aside { position: sticky; top: 90px; display: grid; gap: 14px; }
.sb-preview { padding: 18px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.sb-preview__label { display: block; font: 800 12px var(--round); color: var(--muted); margin-bottom: 12px; }
.sb-preview__card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
.sb-preview__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #FF3D8B, #6D4CFF) center / cover no-repeat; color: #FFF; font: 900 22px var(--display); }
.sb-preview__icon.has-image { background-color: transparent; }
.sb-preview__icon.has-image b { display: none; }
.sb-preview__name { display: block; font: 900 18px/1.2 var(--display); overflow-wrap: anywhere; }
.sb-preview__name small { font: 800 13px var(--round); color: var(--muted); }
.sb-preview__by { font-size: 13px; color: var(--ink-2); }
.sb-preview__card p { margin: 6px 0 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.sb-preview__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-preview__chips i { font-style: normal; padding: 3px 9px; border-radius: 99px; background: var(--bg); font: 800 11.5px var(--round); }
.sb-preview__chips i:empty { display: none; }
.sb-preview__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.sb-preview__shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.sb-check { display: grid; gap: 2px; padding: 16px 18px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.sb-check__head { display: flex; justify-content: space-between; align-items: baseline; font: 900 15px var(--round); }
.sb-check__head span { font-size: 13px; color: var(--muted); }
.sb-check__bar { height: 6px; margin: 8px 0 8px; border-radius: 99px; background: #ECEDF1; overflow: hidden; }
.sb-check__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FF3D8B, #6D4CFF); transition: width .25s; }
.sb-check a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #F1F2F5; color: var(--ink-2); font: 700 14px var(--round); text-decoration: none !important; }
.sb-check a::after { content: 'To do'; flex: 0 0 auto; padding: 2px 9px; border-radius: 99px; background: #F1F2F5; color: var(--muted); font: 800 11.5px var(--round); }
.sb-check a.is-done { color: var(--ink); }
.sb-check a.is-done::after { content: 'Done ✓'; background: #EAF8F0; color: #0E7A43; }
.sb-check a:hover { color: #6D4CFF; }
.sb-check small { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .sb-check__bar i { transition: none; } }
.sb-crop { width: min(780px, calc(100vw - 32px)); border: 0; border-radius: 24px; padding: 20px; box-shadow: 0 30px 80px rgba(21, 22, 26, .35); }
.sb-crop::backdrop { background: rgba(21, 22, 26, .6); }
.sb-crop__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 900 18px var(--display); }
.sb-crop__head button { width: 36px; height: 36px; border: 1px solid #E3E5EA; border-radius: 10px; background: #FFF; font-size: 20px; cursor: pointer; }
.sb-crop__stage { display: grid; place-items: center; max-width: 100%; margin: 0 auto; background: #15161A; border-radius: 14px; overflow: hidden; }
.sb-crop__stage canvas { display: block; max-width: 100%; cursor: grab; touch-action: none; }
.sb-crop__stage canvas:active { cursor: grabbing; }
.sb-crop__zoom { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; font: 800 13px var(--round); }
.sb-crop__zoom input { flex: 1; accent-color: #6D4CFF; }
.sb-crop small { color: var(--muted); }
.sb-crop__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.sb-crop__ghost { border: 2px solid #E3E5EA; border-radius: 999px; padding: 12px 22px; background: #FFF; font: 800 15px var(--round); cursor: pointer; }
@media (max-width: 1080px) { .sb-layout, .sb-hero { grid-template-columns: minmax(0, 1fr); } .sb-aside { position: static; } }
@media (max-width: 680px) { .sb-row, .sb-row--3, .sb-choice, .sb-images { grid-template-columns: minmax(0, 1fr); } .sb-step { padding: 20px; } .sb-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .sb-drop, .sb-progress i { transition: none; } }

.sb-thanks { display: grid; justify-items: center; gap: 12px; max-width: 760px; margin: 0 auto 28px; padding: 44px 36px; border-radius: 30px; background: linear-gradient(170deg, #EAF8F0, #FFF 55%); box-shadow: var(--shadow); text-align: center; }
.sb-thanks__mark { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #19B866; color: #FFF; box-shadow: 0 12px 30px rgba(25, 184, 102, .35); }
.sb-thanks h2 { margin: 8px 0 0; font: 900 clamp(28px, 3.4vw, 40px)/1.08 var(--display); letter-spacing: -.03em; }
.sb-thanks p { margin: 0; font-size: 17px; color: var(--ink-2); }
.sb-thanks__next { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; counter-reset: next; text-align: left; }
.sb-thanks__next li { counter-increment: next; padding: 16px; border-radius: 18px; background: #FFF; box-shadow: 0 0 0 1px #E3E5EA; }
.sb-thanks__next li::before { content: counter(next); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 8px; border-radius: 50%; background: #15161A; color: #FFF; font: 900 13px var(--round); }
.sb-thanks__next b { display: block; font: 900 15px var(--round); }
.sb-thanks__next span { font-size: 13.5px; color: var(--ink-2); }
.sb-thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.sb-thanks__actions .sb-send { text-decoration: none !important; }
.sb-thanks__ghost { padding: 15px 24px; border: 2px solid #E3E5EA; border-radius: 999px; background: #FFF; color: var(--ink); font: 800 15px var(--round); text-decoration: none !important; }
@media (max-width: 680px) { .sb-thanks { padding: 30px 20px; } .sb-thanks__next { grid-template-columns: minmax(0, 1fr); } }

.sb-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sb-pad { display: grid; gap: 12px; padding: 22px 26px; border-radius: 26px; background: linear-gradient(120deg, #F4F1FF, #FFF 70%); border: 2px dashed #C9C2F5; }
.sb-pad h2 { margin: 0 0 4px; font: 900 19px var(--display); }
.sb-pad p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 70ch; }
.sb-pad__row { display: flex; gap: 10px; }
.sb-pad__row input { flex: 1; min-width: 0; border: 2px solid #E3E5EA; border-radius: 14px; padding: 12px 14px; font: 600 15px inherit; font-family: inherit; background: #FFF; }
.sb-pad__row input:focus { outline: none; border-color: #6D4CFF; box-shadow: 0 0 0 4px #ECE6FF; }
.sb-pad__go { flex: 0 0 auto; border: 0; border-radius: 14px; padding: 0 20px; background: #15161A; color: #FFF; font: 800 14px var(--round); cursor: pointer; }
.sb-pad__go:focus-visible { outline: 3px solid #6D4CFF; outline-offset: 2px; }
.sb-pad__foot { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.sb-pad__file { cursor: pointer; }
.sb-pad__file u { color: #6D4CFF; font-weight: 800; }
.sb-pad__foot .is-ok { color: #0E7A43; font-weight: 700; }
.sb-pad__foot .is-error { color: #B3123E; font-weight: 700; }
@media (max-width: 900px) { .sb-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sb-row--4 { grid-template-columns: minmax(0, 1fr); } .sb-pad__row { flex-direction: column; } .sb-pad__go { padding: 12px; } }

/* Program page: download first. The button sits in the header; the rank band is a compact box further down. */
.dl-head__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.dl-head__cta .dl-get { height: 60px; padding: 0 30px; font-size: 19px; }
.dl-head__cta p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.dl-head__cta p b { display: block; font: 900 15px var(--round); color: var(--ink); }
.dl-head__checks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 700 13px var(--round); color: var(--ink-2); }
.dl-head__checks li::before { content: '✓'; margin-right: 6px; color: #19B866; font-weight: 900; }
.dl-srband--compact { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 24px 26px; }
.dl-srband--compact.dl-srband--dial { grid-template-columns: 260px minmax(0, 1fr); gap: 20px; }
.dl-srband--compact .dl-srband__place { margin-bottom: 4px; }
.dl-srband--compact .dl-srband__act { margin-top: 10px; }
.dl-srband__how { grid-column: 1 / -1; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(21, 22, 26, .12); }
.dl-srband__how summary { cursor: pointer; font: 900 15px var(--round); color: var(--ink); }
.dl-srband__how[open] summary { margin-bottom: 14px; }
.dl-srband__how > p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.dl-srband__how .dl-srband__scale { margin-bottom: 18px; }
.dl-cols .dl-devbar { margin: 0; }
@media (max-width: 760px) { .dl-srband--compact.dl-srband--dial { grid-template-columns: minmax(0, 1fr); } }

/* Counter tiles (program header, publisher header) */
.dl-stats { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.dl-stats li > a, .dl-stats li > i, .dl-stats li { text-decoration: none !important; color: inherit; }
.dl-stats li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 20px; background: color-mix(in srgb, var(--tone) 9%, #FFF); border: 1px solid color-mix(in srgb, var(--tone) 22%, #FFF); }
.dl-stats li > a { display: contents; }
.dl-stats li:has(> a):hover { border-color: var(--tone); }
.dl-stats i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--tone); color: #FFF; box-shadow: 0 6px 16px color-mix(in srgb, var(--tone) 35%, transparent); }
.dl-stats span { min-width: 0; }
.dl-stats b { display: block; font: 900 26px/1.05 var(--display); letter-spacing: -.03em; color: var(--ink); }
.dl-stats small { display: block; margin-top: 2px; font: 800 13px var(--round); color: var(--ink-2); }
.dl-pubstats { display: block; }
.dl-pubstats .dl-stats { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dl-pubstats__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 12px 4px 0; font: 700 13px var(--round); color: var(--muted); }
.dl-pubstats__foot b { color: var(--ink); }
.dl-pubstats .dl-stats li { padding: 10px 12px; gap: 9px; }
.dl-pubstats .dl-stats i { width: 34px; height: 34px; border-radius: 11px; }
.dl-pubstats .dl-stats i svg { width: 18px; height: 18px; }

/* Publisher header: a white card like the program header, not the dark celebrity hero */
.dl-pubhead__main { color: var(--ink); background: var(--card); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.dl-pubhead__main::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.dl-pubhead__main p { color: var(--ink-2); }
.dl-pubhead__site { color: var(--accent, #C2185B); }
.dl-pubhead__main .dl-kicker { color: var(--muted); }
.dl-pubhead--solo { grid-template-columns: minmax(0, 1fr); }
.dl-pubhead__main > div { flex: 1; min-width: 0; }
.dl-pubhead .dl-pubstats { margin-top: 18px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.dl-pubhead .dl-pubstats .dl-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dl-pubhead .dl-honor { margin: 0; }
.dl-pubaward { margin-top: 18px; }
@media (max-width: 900px) { .dl-pubhead { grid-template-columns: minmax(0, 1fr); } }
.dl-pubhead .dl-pubstats__foot { justify-content: flex-start; gap: 4px 22px; margin: 10px 2px 0; }

/* Side column: top programs of the category */
.dl-mini--ranked { gap: 6px; }
.dl-mini--ranked li { padding: 6px 8px; margin: 0 -8px; border-radius: 14px; }
.dl-mini--ranked li[aria-current] { background: #F1EEFF; }
.dl-mini__place { flex: none; width: 18px; text-align: right; font: 900 15px var(--display); color: var(--faint); }
.dl-mini--ranked li[aria-current] .dl-mini__place { color: #6D4CFF; }
.dl-mini--ranked a { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Publisher section folded: one line until it is opened */
.dl-forpub--fold > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-right: 40px; position: relative; }
.dl-forpub--fold > summary::-webkit-details-marker { display: none; }
.dl-forpub--fold > summary h2 { margin: 0; }
.dl-forpub--fold > summary span { font-size: 14px; color: var(--muted); }
.dl-forpub--fold > summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F1EEFF; color: #6D4CFF; font: 900 20px/1 var(--round); }
.dl-forpub--fold[open] > summary { margin-bottom: 14px; }
.dl-forpub--fold[open] > summary::after { content: '−'; }
.dl-forpub--fold > summary:focus-visible { outline: 3px solid #6D4CFF; outline-offset: 4px; border-radius: 8px; }
.dl-head .dl-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dl-head .dl-stats li { padding: 10px 12px; gap: 9px; }
.dl-head .dl-stats i { width: 36px; height: 36px; border-radius: 12px; }
.dl-head .dl-stats b { font-size: 24px; }
@media (max-width: 1180px) { .dl-head .dl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dl-forpub__lead { margin: -4px 0 14px; font-size: 16px; color: var(--ink-2); }
.dl-head__side { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dl-like--head { width: 100%; justify-content: center; }
.dl-head .dl-like--head { background: #FFF0F6; color: #D6246E; border: 1px solid #FFD0E3; }
.dl-head .dl-like--head.is-on { background: #FF3D8B; color: #FFF; border-color: #FF3D8B; }

/* Like, Follow, Share under the icon */
.dl-head__side { width: 124px; gap: 8px; }
.dl-head__side .dl-icon { margin-bottom: 4px; }
.dl-head__side .dl-like--head, .dl-sidebtn { width: 100%; height: 40px; padding: 0 10px; justify-content: center; font-size: 14px; }
.dl-sidebtn { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; border: 1px solid var(--line); background: #FFF; color: var(--ink); font: 900 14px var(--round); cursor: pointer; text-decoration: none !important; }
.dl-sidebtn:hover { border-color: #C9CBD2; background: var(--bg); }
.dl-sidebtn.is-on { background: #6D4CFF; border-color: #6D4CFF; color: #FFF; }
.dl-sidebtn:focus-visible { outline: 3px solid #6D4CFF; outline-offset: 2px; }
.dl-sidebtn[aria-expanded="true"] { background: #F1EEFF; border-color: #6D4CFF; color: #6D4CFF; }
.dl-sharepanel { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 18px; }
.dl-sharepanel[hidden] { display: none; }
.dl-sharepanel img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.dl-sharepanel h2 { margin: 0 0 6px; }
.dl-sharepanel .dl-muted { margin: 0 0 14px; }
@media (max-width: 760px) { .dl-sharepanel { grid-template-columns: minmax(0, 1fr); } .dl-head__side { width: 112px; } }
.dl-stats em { display: block; white-space: nowrap; margin-bottom: 2px; font: 800 11px/1.2 var(--round); font-style: normal; color: color-mix(in srgb, var(--tone) 70%, #15161A); }

/* Header right: the rank dial, with the award under it */
.dl-head__right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dl-head__right .dl-fame { flex: none; }
.dl-honor--mini { margin: 0; padding: 14px 16px; display: flex; align-items: center; gap: 14px; text-align: left; flex: 1; }
.dl-honor--mini .dl-honor__seal { flex: none; margin: 0; }
.dl-honor--mini .dl-honor__seal::before { width: 130px; height: 130px; }
.dl-honor--mini .dl-honor__text { min-width: 0; }
.dl-honor--mini .dl-honor__kicker { font-size: 12px; }
.dl-honor--mini h2 { font-size: 18px; margin: 3px 0 6px; line-height: 1.15; }
.dl-honor--mini .dl-more { font-size: 14px; margin: 0; }
.dl-head__right .dl-honor--compact { flex: 1; }
.dl-head__shots { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin-top: 18px; text-decoration: none !important; }
.dl-head__shots img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: var(--bg); aspect-ratio: 16 / 10; }
.dl-head__shots img:first-child { grid-row: 1 / 3; }
.dl-head__shots--1, .dl-head__shots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
.dl-head__shots--1 img:first-child, .dl-head__shots--2 img:first-child { grid-row: auto; }
.dl-head__shots--1 { grid-template-columns: minmax(0, 1fr); }
.dl-head__shots:hover img { filter: brightness(1.04); }
