/* MyDoramy — «Лица дорам» (/cast, .cst) и досье актёра (.dos). Своя вёрстка:
   липкая колонка отбора, портреты-арки, досье под луной, фильмография лентой лет.
   Токены — из dy.css; акцент — из админки (site.accent). */

.cst, .dos { color: var(--fg); }
.cst [hidden], .dos [hidden] { display: none !important; }
:where(.cst, .dos) a { color: inherit; text-decoration: none; }
:where(.cst, .dos) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.cst, .dos) :is(h1, h2, p, dl, dd, ul) { margin: 0; padding: 0; }
:where(.cst, .dos) ul { list-style: none; }

@keyframes cstIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cstPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.cst-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.cst-crumbs a:hover { color: var(--fg); }
.cst-crumbs > span:last-child { color: var(--fg-2); }

/* ───────── список ───────── */
.cst-main { padding-top: 104px; padding-bottom: 80px; }
.cst-head { display: grid; gap: 22px; margin-bottom: 30px; }
.cst-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.cst-head h1 { font: 600 clamp(42px, 5.4vw, 72px)/1 var(--f-d); letter-spacing: -.01em; margin: 4px 0 14px; }
.cst-head h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.cst-lead { max-width: 600px; color: var(--fg-2); font-size: 15.5px; line-height: 1.6; }
.cst-tally { display: grid; justify-items: end; line-height: 1; padding-bottom: 6px; }
.cst-tally b { font: 600 clamp(56px, 6vw, 88px)/.9 var(--f-d); color: var(--fg); font-variant-numeric: lining-nums; }
.cst-tally span { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }

.cst-find { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); max-width: 720px; transition: border-color .25s, box-shadow .25s; }
.cst-find:focus-within { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.cst-find > i { color: var(--fg-3); }
.cst-find input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--fg); font: 400 16px var(--f-b); -webkit-appearance: none; appearance: none; }
.cst-find input::placeholder { color: var(--fg-3); }
.cst-find input::-webkit-search-cancel-button { display: none; }
.cst-find__x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--fg-3); }
.cst-find__x:hover { background: var(--chip); color: var(--fg); }

/* дни рождения */
.cst-bd { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 24px 28px; margin-bottom: 34px; border-radius: 28px; background: linear-gradient(110deg, color-mix(in srgb, var(--gold) 12%, var(--surface)), var(--surface) 55%); border: 1px solid var(--line); }
.cst-bd__moon { position: absolute; z-index: -1; left: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; box-shadow: inset -26px -10px 0 0 color-mix(in srgb, var(--gold) 26%, transparent); transform: rotate(-24deg); }
.cst-bd__k { display: inline-flex; gap: 10px; align-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.cst-bd__k .kr { color: var(--gold); font-size: 14px; letter-spacing: .04em; }
.cst-bd h2 { font: 600 28px/1.05 var(--f-d); margin-top: 6px; }
.cst-bd__row { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.cst-bd__row::-webkit-scrollbar { display: none; }
.cst-bd__p { flex: none; width: 96px; display: grid; justify-items: center; text-align: center; gap: 4px; }
.cst-bd__ph { position: relative; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font: 600 28px var(--f-d); color: var(--fg-3); background: var(--surface-2); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px color-mix(in srgb, var(--gold) 70%, transparent); margin-bottom: 6px; transition: transform .35s var(--ease); }
.cst-bd__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cst-bd__p:hover .cst-bd__ph { transform: translateY(-3px); }
.cst-bd__n { font-size: 13px; font-weight: 600; line-height: 1.25; }
.cst-bd__a { font-size: 12px; color: var(--gold); }

/* корпус: отбор + каталог */
.cst-body { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 40px; align-items: start; }
.cst-side { position: sticky; top: 96px; display: grid; gap: 26px; padding-right: 8px; }
.cst-side__g { display: grid; gap: 10px; }
.cst-side__h { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.cst-roles { display: grid; gap: 2px; }
.cst-role { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-radius: 14px; color: var(--fg-2); font-size: 14.5px; text-align: left; transition: background-color .2s, color .2s; }
.cst-role i { width: 18px; text-align: center; font-size: 13px; color: var(--fg-3); transition: color .2s; }
.cst-role:hover { background: var(--chip); color: var(--fg); }
.cst-role.is-on { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--fg); font-weight: 600; }
.cst-role.is-on i { color: var(--accent); }
.cst-role.is-on::before { content: ""; position: absolute; left: -10px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--accent); }
.cst-pick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); }
.cst-pick button { height: 34px; padding: 0 8px; border-radius: 999px; font-size: 13px; color: var(--fg-2); font-weight: 500; transition: background-color .2s, color .2s; }
.cst-pick button.is-on { background: var(--fg); color: var(--bg); font-weight: 600; }
.cst-order { display: grid; gap: 2px; }
.cst-order button { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 4px; font-size: 14px; color: var(--fg-2); text-align: left; }
.cst-order button:hover { color: var(--fg); }
.cst-order__dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: border-color .2s, box-shadow .2s; }
.cst-order button.is-on { color: var(--fg); font-weight: 600; }
.cst-order button.is-on .cst-order__dot { border-color: var(--accent); box-shadow: inset 0 0 0 3.5px var(--bg), inset 0 0 0 8px var(--accent); }
.cst-reset { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--accent); font-weight: 600; }
.cst-reset:hover { text-decoration: underline; text-underline-offset: 3px; }

.cst-abc { display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cst-abc button { min-width: 32px; height: 32px; padding: 0 6px; border-radius: 10px; font: 600 17px/1 var(--f-d); color: var(--fg-2); transition: background-color .2s, color .2s; }
.cst-abc button:hover { background: var(--chip); color: var(--fg); }
.cst-abc button.is-on { background: var(--accent); color: var(--accent-ink); }
.cst-abc button.is-off { color: var(--fg-3); opacity: .35; pointer-events: none; }
.cst-abc .cst-abc__all { font: 600 12px/1 var(--f-b); letter-spacing: .08em; text-transform: uppercase; padding: 0 12px; }
.cst-found { margin: 16px 0 22px; font-size: 13.5px; color: var(--fg-3); }
.cst-found b { color: var(--fg); font-weight: 600; }

/* сетка портретов-арок */
.cst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 34px 22px; }
.cst-card { position: relative; display: grid; gap: 4px; align-content: start; animation: cstIn .5s var(--ease) both; animation-delay: var(--d, 0ms); }
.cst-card__frame { position: relative; margin-bottom: 10px; }
.cst-card__arch { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 999px 999px 22px 22px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, var(--surface-2), var(--surface)); isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.cst-card__init { position: absolute; inset: 0; display: grid; place-items: center; font: 600 64px var(--f-d); color: var(--fg-3); z-index: -1; }
.cst-card__arch img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease), filter .4s; }
.cst-card__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 8, 14, .88)); opacity: 0; transition: opacity .4s var(--ease); }
.cst-card__rank { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(15, 14, 20, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: italic 600 15px/1.2 var(--f-d); color: var(--gold); }
.cst-card__known { position: absolute; left: 16px; right: 58px; bottom: 16px; z-index: 2; display: grid; gap: 3px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.cst-card__known small { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.cst-card__known span { font: italic 600 15px/1.2 var(--f-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cst-card:hover .cst-card__arch img { transform: scale(1.05); }
.cst-card:hover .cst-card__arch::after, .cst-card:hover .cst-card__known, .cst-card__arch:focus-visible .cst-card__known, .cst-card__arch:focus-visible::after { opacity: 1; transform: none; }
.cst-card__name { font: 600 21px/1.12 var(--f-d); transition: color .2s; }
.cst-card__name:hover { color: var(--accent); }
.cst-card__sub { font-size: 13px; color: var(--fg-2); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cst-card__meta { font-size: 12.5px; color: var(--fg-3); }
.cst-card__meta b { color: var(--gold); font-weight: 600; }
.cst-card__meta i { font-style: normal; margin: 0 4px; }

.cst-bell { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 14, 20, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s var(--ease), background-color .25s; }
.cst-card:hover .cst-bell, .cst-bell:focus-visible, .cst-bell.is-on { opacity: 1; transform: none; }
.cst-bell:hover { background: rgba(15, 14, 20, .8); }
.cst-bell.is-on { background: var(--accent); color: var(--accent-ink); }
.cst-bell__on, .cst-bell.is-on .cst-bell__off { display: none; }
.cst-bell.is-on .cst-bell__on { display: inline; }
.cst-bell.is-busy, .cst-bell[data-busy] { animation: cstPulse 1s infinite; }
@media (hover: none) { .cst-bell { opacity: 1; transform: none; } }

.cst-ghost { display: grid; gap: 8px; }
.cst-ghost__ph { aspect-ratio: 3 / 4; border-radius: 999px 999px 22px 22px; background: var(--surface); animation: cstPulse 1.4s ease-in-out infinite; }
.cst-ghost__l { height: 14px; border-radius: 6px; background: var(--surface); animation: cstPulse 1.4s ease-in-out infinite; }
.cst-ghost__l.is-s { width: 45%; height: 11px; }

.cst-more { display: grid; justify-items: center; gap: 12px; margin-top: 48px; }
.cst-more__txt { font-size: 13px; color: var(--fg-3); }
.cst-more__bar { width: min(260px, 70%); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.cst-more__bar i { display: block; height: 100%; background: var(--accent); }
.cst-more__btn { height: 48px; border: 1px solid var(--line-2); color: var(--fg); }
.cst-more__btn:hover { border-color: var(--fg-3); transform: translateY(-2px); }
.cst-more__btn.is-busy { opacity: .6; pointer-events: none; }

.cst-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 70px 20px; border-radius: 28px; border: 1px dashed var(--line-2); }
.cst-empty__moon { width: 64px; height: 64px; border-radius: 50%; box-shadow: inset -14px -6px 0 0 var(--accent); transform: rotate(-20deg); margin-bottom: 8px; }
.cst-empty b { font: 600 26px/1.1 var(--f-d); }
.cst-empty span { color: var(--fg-2); max-width: 420px; }
.cst-empty .btn { margin-top: 10px; height: 46px; }

.mdp-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); animation: cstIn .3s var(--ease); }

/* ───────── досье ───────── */
.dos-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: 96px; }
.dos-hero__haze { position: absolute; inset: -40px; z-index: -2; background: center 30% / cover no-repeat; filter: blur(42px) saturate(1.2); opacity: .32; transform: scale(1.1); }
.dos-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent), var(--bg) 92%); }
.dos-hero__in { display: grid; gap: 26px; padding-bottom: 46px; }
.dos-hero__grid { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.dos-portrait { position: relative; padding: 18px 18px 0; }
.dos-portrait__moon { position: absolute; top: 0; right: -6px; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--gold) 55%, #fff), color-mix(in srgb, var(--gold) 30%, transparent) 70%); opacity: .55; filter: blur(.4px); }
.dos-portrait__arch { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; overflow: hidden; display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.dos-portrait__arch > span { font: 600 120px var(--f-d); color: var(--fg-3); }
.dos-portrait__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dos-id { position: relative; min-width: 0; }
.dos-id__ghost { position: absolute; z-index: -1; right: 0; top: -30px; max-width: 100%; overflow: hidden; white-space: nowrap; font-size: clamp(64px, 9vw, 140px); font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 16%, transparent); pointer-events: none; }
.dos-id h1 { font: 600 clamp(44px, 5.6vw, 80px)/1 var(--f-d); letter-spacing: -.01em; margin: 4px 0 6px; overflow-wrap: anywhere; }
.dos-id__orig { font-size: 20px; color: var(--fg-2); letter-spacing: .04em; }
.dos-id__roles { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.dos-id__roles span + span::before { content: "·"; margin: 0 10px; color: var(--fg-3); }
.dos-nums { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 0; margin-top: 28px; }
.dos-nums div { padding: 0 28px; border-left: 1px solid var(--line-2); }
.dos-nums div:first-child { padding-left: 0; border-left: 0; }
.dos-nums dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.dos-nums dd { font: 600 40px/1.05 var(--f-d); margin-top: 6px; font-variant-numeric: lining-nums; }
.dos-nums dd small { font: 500 13px var(--f-b); color: var(--fg-3); margin-left: 6px; }
.dos-nums dd.is-jade { color: var(--jade); }
.dos-nums dd.is-gold { color: var(--gold); }
.dos-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.dos-follow { min-width: 196px; }
.dos-follow__on, .dos-follow.is-on .dos-follow__off { display: none; }
.dos-follow.is-on .dos-follow__on { display: inline-flex; align-items: center; gap: 10px; }
.dos-follow__off { display: inline-flex; align-items: center; gap: 10px; }
.dos-follow.is-on { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); box-shadow: none; }
.dos-follow[data-busy] { opacity: .7; }
.dos-share { width: 52px; height: 52px; border: 1px solid var(--line-2); color: var(--fg); }
.dos-subs { font-size: 13.5px; color: var(--fg-3); margin-left: 6px; }

.dos-main { display: grid; gap: 54px; padding-bottom: 90px; }
.dos-sec { display: grid; gap: 20px; min-width: 0; }
.dos-sec > .sec-head { margin-bottom: 0; }
.dos-h2 { font: 600 clamp(30px, 3vw, 40px)/1.05 var(--f-d); }
.dos-h2 sup { font: 600 14px var(--f-b); color: var(--fg-3); vertical-align: super; margin-left: 4px; }
.dos-arrows { display: flex; gap: 6px; }
.dos-arrows .ib { border: 1px solid var(--line-2); color: var(--fg); }
.dos-arrows .ib.is-off { opacity: .3; pointer-events: none; }

.dos-best { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 6px; }
.dos-best::-webkit-scrollbar { display: none; }
.dos-best__i { position: relative; display: grid; gap: 6px; scroll-snap-align: start; }
.dos-best__n { position: absolute; z-index: 2; left: -6px; top: -12px; font: italic 600 46px/1 var(--f-d); color: var(--fg); text-shadow: 0 4px 18px rgba(0, 0, 0, .7); }
.dos-best__p { position: relative; aspect-ratio: 2 / 3; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 6px; }
.dos-best__p > span { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font: italic 600 20px/1.2 var(--f-d); color: var(--fg-3); }
.dos-best__p img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.dos-best__i:hover .dos-best__p > span { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font: italic 600 20px/1.2 var(--f-d); color: var(--fg-3); }
.dos-best__p img { position: relative; transform: scale(1.05); }
.dos-best__t { font: 600 19px/1.15 var(--f-d); }
.dos-best__i:hover .dos-best__t { color: var(--accent); }
.dos-best__m { font-size: 12.5px; color: var(--fg-3); line-height: 1.4; }
.dos-best__m b { color: var(--jade); font-weight: 600; margin-right: 4px; }

.dos-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.dos-colmain { display: grid; gap: 54px; min-width: 0; }
.dos-bio { display: grid; gap: 14px; max-width: 760px; color: var(--fg-2); font-size: 16px; line-height: 1.75; }
.dos-bio > p:first-child::first-letter { float: left; font: 600 64px/.84 var(--f-d); color: var(--accent); margin: 6px 12px 0 0; }
.dos-bio [data-mdpn-bio-more] { display: grid; gap: 14px; }
.dos-bio__tog { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.dos-bio__tog i { font-size: 11px; transition: transform .25s; }
.dos-bio__tog.is-open i { transform: rotate(180deg); }

.dos-fh { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.dos-sort { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); }
.dos-sort button { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 13px; color: var(--fg-2); font-weight: 500; }
.dos-sort button.is-on { background: var(--fg); color: var(--bg); font-weight: 600; }
.dos-ftabs .chip { cursor: pointer; }
.dos-ftabs .chip.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.dos-ftabs .chip.is-on small { color: var(--bg); opacity: .6; }

.dos-line { position: relative; display: grid; }
.dos-line::before { content: ""; position: absolute; left: 66px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.dos-work { position: relative; display: grid; grid-template-columns: 56px 52px minmax(0, 1fr) auto auto; gap: 0 18px; align-items: center; padding: 12px 0 12px; animation: cstIn .4s var(--ease) both; }
.dos-work::before { content: ""; position: absolute; left: 62px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--fg-3); transition: box-shadow .2s; }
.dos-work:hover::before { box-shadow: inset 0 0 0 5px var(--accent); }
.dos-work__y { font: 600 22px/1 var(--f-d); color: var(--fg-2); font-variant-numeric: lining-nums; }
.dos-work__p { grid-column: 2; margin-left: 22px; width: 52px; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: var(--surface); }
.dos-work__p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dos-work__b { display: grid; gap: 2px; min-width: 0; margin-left: 22px; }
.dos-work__t { font: 600 19px/1.2 var(--f-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dos-work__t:hover { color: var(--accent); }
.dos-work__r { font-size: 13.5px; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dos-work__k { font-size: 12px; color: var(--fg-3); }
.dos-work__rate b { font: 600 20px var(--f-d); color: var(--jade); }
.dos-wl { color: var(--fg-3); }
.dos-wl:hover { color: var(--fg); }
.dos-wl__on, .dos-wl.is-on .dos-wl__off { display: none; }
.dos-wl.is-on .dos-wl__on { display: inline; }
.dos-wl.is-on { color: var(--accent); }
.dos-ghost { height: 76px; margin-left: 96px; border-radius: 14px; background: var(--surface); margin-bottom: 8px; animation: cstPulse 1.4s ease-in-out infinite; }
.dos-more { justify-self: start; height: 46px; margin-left: 96px; border: 1px solid var(--line-2); color: var(--fg); }
.dos-more:hover { border-color: var(--fg-3); }
.dos-more span { color: var(--fg-3); font-weight: 500; }

.dos-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.dos-card { padding: 22px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.dos-card__h { font: 600 22px/1.1 var(--f-d); }
.dos-facts { display: grid; }
.dos-facts div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.dos-facts div:first-child { border-top: 0; padding-top: 0; }
.dos-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.dos-facts dd { font-size: 14.5px; color: var(--fg); line-height: 1.45; }
.dos-awards { display: grid; gap: 12px; }
.dos-awards li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.dos-awards__i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); font-size: 14px; }
.dos-awards li.is-silver .dos-awards__i { background: var(--chip); color: var(--fg-2); }
.dos-awards b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.dos-awards small { display: block; font-size: 12.5px; color: var(--fg-3); }
.dos-cw { display: grid; gap: 10px; }
.dos-cw__p { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.dos-cw__ph { position: relative; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); font: 600 18px var(--f-d); color: var(--fg-3); }
.dos-cw__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dos-cw__t b { display: block; font-size: 14px; font-weight: 600; }
.dos-cw__p:hover b { color: var(--accent); }
.dos-cw__t small { font-size: 12.5px; color: var(--fg-3); }

/* ───────── узкий экран ───────── */
@media (max-width: 1100px) {
    .dos-cols { grid-template-columns: minmax(0, 1fr); }
    .dos-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}
@media (max-width: 900px) {
    .cst-main { padding-top: 88px; }
    .cst-body { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .cst-side { position: static; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0; }
    .cst-side__g { min-width: 0; }
    .cst-side__h { display: none; }
    .cst-roles { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 3.4vw, 44px)); padding: 0 clamp(16px, 3.4vw, 44px); }
    .cst-roles::-webkit-scrollbar { display: none; }
    .cst-role { flex: none; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); }
    .cst-role.is-on { border-color: transparent; background: var(--fg); color: var(--bg); }
    .cst-role.is-on i { color: var(--bg); }
    .cst-role.is-on::before { display: none; }
    .cst-order { display: flex; gap: 4px 16px; flex-wrap: wrap; }
    .cst-pick { max-width: none; }
    .cst-order button { height: 30px; font-size: 13px; }
    .cst-abc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .cst-abc::-webkit-scrollbar { display: none; }
    .cst-abc button { flex: none; }
    .cst-bd { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
    .dos-hero { padding-top: 84px; }
    .dos-hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 22px; }
    .dos-portrait { width: min(250px, 68vw); }
    .dos-id__ghost { display: none; }
    .dos-id__roles, .dos-act { justify-content: center; }
    .dos-nums { justify-content: center; }
}
@media (max-width: 600px) {
    .cst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
    .cst-card__name { font-size: 18px; }
    .cst-tally { display: none; }
    .cst-head h1 { margin-bottom: 8px; }
    .dos-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; width: 100%; }
    .dos-nums div { padding: 0 14px; }
    .dos-nums div:nth-child(odd) { border-left: 0; }
    .dos-nums dd { font-size: 32px; }
    .dos-follow { flex: 1; min-width: 0; }
    .dos-line::before { left: 44px; }
    .dos-work { grid-template-columns: 38px 44px minmax(0, 1fr) auto; gap: 0 10px; }
    .dos-work::before { left: 40px; }
    .dos-work__y { font-size: 17px; }
    .dos-work__p { width: 44px; margin-left: 14px; }
    .dos-work__b { margin-left: 12px; }
    .dos-work__rate { display: none; }
    .dos-work__t { font-size: 17px; }
    .dos-ghost, .dos-more { margin-left: 0; }
    .dos-best { grid-auto-columns: 150px; gap: 16px; }
    .dos-cols { gap: 40px; }
}
