/* KinoLumo — Персоны (/persons) и персона (/person/{slug}).
   Values copied from _prototype/KinoLumo Persons.dc.html / Person.dc.html.
   The accent comes from the admin (site.accent → --kt-accent); every other
   colour is the prototype's fixed palette. Breakpoints are the prototype's
   own JS thresholds (600 / 700 / 760 / 780 / 1100). */

.klp, .klpn {
    --klp-accent: var(--kl-accent, var(--kt-accent, #e50914));
    --klp-accent-14: color-mix(in srgb, var(--klp-accent) 14%, transparent);
    background: #141414;
    color: #fff;
    font-family: Onest, "Onest Fallback", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.klp *, .klpn * { box-sizing: border-box; }
.klp a, .klpn a { color: #fff; text-decoration: none; }
:where(.klp, .klpn) button, :where(.klp, .klpn) input { font: inherit; }
.klp input::placeholder { color: #8c8c8c; }
.klp [hidden], .klpn [hidden] { display: none !important; }

@keyframes klShimmer { 0% { background-position: -300px 0 } 100% { background-position: 300px 0 } }
@keyframes klDrop { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }

.klp-skel {
    background: linear-gradient(90deg, #1f1f1f 0%, #2e2e2e 50%, #1f1f1f 100%);
    background-size: 600px 100%;
    animation: klShimmer 1.2s linear infinite;
}

/* ---------------------------------------------------------------- list */
.klp-main {
    padding: 104px clamp(16px, 4vw, 60px) 72px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.klp-head { display: flex; flex-direction: column; gap: 20px; }
.klp-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8c8c8c; flex-wrap: wrap; }
.klp .klp-crumbs a { color: #8c8c8c; transition: color .15s; }
.klp .klp-crumbs a:hover { color: #fff; }
.klp-crumbs i { font-size: 9px; }
.klp-crumbs span { color: #e5e5e5; }
.klp-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.klp-titles { display: flex; flex-direction: column; gap: 8px; }
.klp-h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: .95; }
.klp-lead { font-size: 15px; color: #a3a3a3; }
.klp-search {
    display: flex; align-items: center; gap: 12px;
    height: 48px; width: min(440px, 100%); padding: 0 16px;
    border: 1px solid #333; border-radius: 8px; background: #1c1c1c;
    transition: border-color .2s;
}
.klp-search:focus-within { border-color: #fff; }
.klp-search > i { color: #8c8c8c; }
.klp-search input {
    flex: 1; min-width: 0; background: none; border: none; outline: none;
    color: #fff; font: inherit; font-size: 15px; -webkit-appearance: none; appearance: none;
}
.klp-search input::-webkit-search-cancel-button { display: none; }
.klp-search__clear { border: none; background: none; color: #8c8c8c; cursor: pointer; font-size: 14px; padding: 0; }
.klp-search__clear:hover { color: #fff; }

/* birthdays */
.klp-bd { display: flex; flex-direction: column; gap: 14px; }
.klp-bd__head { display: flex; align-items: center; gap: 12px; }
.klp-bd__icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--klp-accent-14); color: var(--klp-accent);
    display: grid; place-items: center;
}
.klp-h2 { margin: 0; font-size: 22px; font-weight: 700; }
.klp-bd__date { font-size: 13px; color: #8c8c8c; }
.klp-bd__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.klp .klp-bd__card {
    display: flex; align-items: center; gap: 14px; padding: 12px;
    border-radius: 10px; background: #181818; border: 1px solid #262626;
    transition: border-color .2s, transform .2s;
}
.klp .klp-bd__card:hover { border-color: var(--klp-accent); transform: translateY(-3px); color: #fff; }
.klp-bd__ph {
    position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
    background: #222; overflow: hidden;
    box-shadow: 0 0 0 2px #141414, 0 0 0 4px var(--klp-accent);
    display: grid; place-items: center; font-weight: 900; font-size: 24px; color: #8c8c8c;
}
.klp-bd__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.klp-bd__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.klp-bd__name { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.klp-bd__role { font-size: 12px; color: #8c8c8c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.klp-bd__age { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #f5c518; }
.klp-bd__age i { font-size: 10px; }

/* catalogue controls */
.klp-cat { display: flex; flex-direction: column; gap: 20px; }
.klp-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.klp-roles {
    display: grid; grid-template-columns: repeat(var(--klp-roles, 6), minmax(0, 1fr)); gap: 4px;
    background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 8px; padding: 4px;
    flex: 1 1 560px; max-width: 760px;
}
.klp-role {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px;
    border: none; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
    background: transparent; color: #b3b3b3; transition: background .2s, color .2s;
}
.klp-role i { font-size: 12px; }
.klp-role.is-on { background: var(--klp-accent); color: #fff; }
.klp-tools { display: flex; align-items: center; gap: 10px; }
.klp-seg {
    display: grid; grid-template-columns: repeat(3, minmax(max-content, 1fr)); height: 40px;
    border: 1px solid #333; border-radius: 6px; overflow: hidden; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.klp-seg button {
    padding: 0 14px; border: none; background: #1c1c1c; color: #b3b3b3;
    font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.klp-seg button.is-on { background: #fff; color: #000; }
.klp-sort { position: relative; }
.klp-sort__btn {
    display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 6px;
    border: 1px solid #333; background: #1c1c1c; color: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.klp-sort__btn:hover, .klp-sort.is-open .klp-sort__btn { border-color: #fff; }
.klp-sort__btn > i:first-child { color: #8c8c8c; }
.klp-sort__chev { font-size: 10px; color: #8c8c8c; transition: transform .25s; }
.klp-sort.is-open .klp-sort__chev { transform: rotate(180deg); }
.klp-drop {
    position: absolute; top: 46px; right: 0; left: auto; z-index: 20; width: 220px; max-width: calc(100vw - 32px);
    background: #181818; border: 1px solid #2a2a2a; border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .75); padding: 6px;
    animation: klDrop .2s cubic-bezier(.2, .8, .2, 1);
}
.klp-drop__opt {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 12px; border: none; border-radius: 6px; background: none; color: #d6d6d6;
    font-size: 13px; font-weight: 600; cursor: pointer; text-align: left;
}
.klp-drop__opt:hover { background: #262626; }
.klp-drop__opt span { display: flex; align-items: center; gap: 10px; }
.klp-drop__opt span i { width: 14px; color: #8c8c8c; }
.klp-drop__tick { color: var(--klp-accent); opacity: 0; }
.klp-drop__opt.is-on { color: #fff; }
.klp-drop__opt.is-on .klp-drop__tick { opacity: 1; }

.klp-abc { display: flex; gap: 6px; align-items: stretch; }
.klp-abc__all {
    flex: 0 0 64px; border-radius: 6px; border: 1px solid #2a2a2a; background: #1c1c1c;
    color: #fff; font-size: 13px; font-weight: 800; cursor: pointer;
}
.klp-abc__all.is-on { background: var(--klp-accent); border-color: var(--klp-accent); }
.klp-abc__list {
    flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(28, minmax(0, 1fr)); gap: 4px;
    overflow-x: auto; scrollbar-width: none;
}
.klp-abc__list::-webkit-scrollbar { display: none; }
.klp-abc__l {
    height: 34px; border-radius: 6px; border: 1px solid #2a2a2a; background: #1c1c1c; color: #d6d6d6;
    font-size: 13px; font-weight: 700; cursor: pointer; padding: 0;
    transition: background .15s, border-color .15s;
}
.klp-abc__l:hover { border-color: #fff; }
.klp-abc__l.is-on { background: var(--klp-accent); border-color: var(--klp-accent); color: #fff; }
.klp-abc__l.is-off { opacity: .3; cursor: default; }
.klp-abc__l.is-off:hover { border-color: #2a2a2a; }

.klp-found { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.klp-found__n { font-size: 15px; font-weight: 700; }
.klp-reset {
    display: flex; align-items: center; gap: 8px; border: none; background: none; color: #8c8c8c;
    font-size: 13px; font-weight: 700; cursor: pointer; padding: 0;
}
.klp-reset:hover { color: #fff; }

/* grid + card */
.klp [data-klp-fragment] { display: flex; flex-direction: column; gap: 20px; }
/* 2/4/5/6/10 columns, never auto-fill: pages of 60 (GridFill::POSTERS) end on a full row */
.klp-grid { --klp-cols: 6; display: grid; grid-template-columns: repeat(var(--klp-cols), minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 1800px) { .klp-grid { --klp-cols: 10; } }
@media (max-width: 1279px) { .klp-grid { --klp-cols: 5; } }
@media (max-width: 1023px) { .klp-grid { --klp-cols: 4; } }
.klp-skelcard { display: flex; flex-direction: column; gap: 10px; }
.klp-skelcard__ph { aspect-ratio: 3/4; border-radius: 8px; }
.klp-skelcard__l1 { height: 13px; border-radius: 3px; }
.klp-skelcard__l2 { height: 10px; width: 55%; border-radius: 3px; }

.klp-card {
    position: relative; display: flex; flex-direction: column; gap: 12px; cursor: pointer;
    animation: klDrop .35s both;
}
.klp-card__frame {
    position: relative; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; background: #222;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.klp-card__ph { position: absolute; inset: 0; display: block; }
.klp-card__init {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 64px; font-weight: 900; color: #333;
}
.klp-card__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(.25); transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .4s;
}
.klp-card__films {
    position: absolute; top: 8px; left: 8px; display: flex; align-items: center; gap: 5px;
    background: rgba(0, 0, 0, .78); font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 4px;
}
.klp-card__films i { font-size: 9px; color: var(--klp-accent); }
.klp-card__top {
    position: absolute; top: 8px; right: 8px; background: var(--klp-accent);
    font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 3px;
}
.klp-card__ov {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, 0) 75%);
    opacity: 0; transition: opacity .25s; pointer-events: none;
}
.klp-card__kicker { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8c8c8c; }
.klp-card__known { display: flex; flex-direction: column; gap: 4px; }
.klp-card__known span {
    display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #e5e5e5;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.klp-card__known i { font-size: 8px; color: var(--klp-accent); }
.klp-follow {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px; border-radius: 4px;
    border: 1px solid var(--klp-accent); background: var(--klp-accent); color: #fff;
    font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s; pointer-events: auto;
}
.klp-follow.is-on { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.klp-follow__off { display: contents; }
.klp-follow .klp-follow__on, .klp-follow.is-on .klp-follow__off { display: none; }
.klp-follow.is-on .klp-follow__on { display: contents; }
.klp-card__meta { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; min-width: 0; }
.klp .klp-card__name {
    display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e5e5e5; transition: color .2s;
}
.klp-card__name > span { overflow: hidden; text-overflow: ellipsis; }
.klp-card__name i { font-size: 11px; color: var(--klp-accent); display: none; }
.klp-card.is-followed .klp-card__name i { display: inline-block; }
.klp-card__sub { font-size: 12px; color: #8c8c8c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (hover: hover) {
    .klp-card:hover .klp-card__frame { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .7), 0 0 0 2px var(--klp-accent); }
    .klp-card:hover .klp-card__img { transform: scale(1.06); filter: none; }
    .klp-card:hover .klp-card__ov { opacity: 1; }
    .klp .klp-card:hover .klp-card__name { color: #fff; }
}
.klp-card:focus-within .klp-card__ov { opacity: 1; }

.klp-empty {
    display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 72px 16px;
    border: 1px dashed #333; border-radius: 10px; text-align: center;
}
.klp-empty__icon { width: 64px; height: 64px; border-radius: 50%; background: #1c1c1c; display: grid; place-items: center; font-size: 24px; color: #8c8c8c; }
.klp-empty__t { font-size: 18px; font-weight: 800; }
.klp-empty__s { font-size: 14px; color: #8c8c8c; }
.klp-btn-red {
    margin-top: 6px; height: 42px; padding: 0 22px; border: none; border-radius: 4px;
    background: var(--klp-accent); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer;
}

.klp-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.klp-more__bar { width: 240px; height: 3px; border-radius: 2px; background: #2a2a2a; overflow: hidden; }
.klp-more__bar i { display: block; height: 100%; background: var(--klp-accent); transition: width .4s; }
.klp-more__txt { font-size: 13px; color: #8c8c8c; }
.klp .klp-btn-ghost, .klpn .klp-btn-ghost {
    display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 32px; border-radius: 4px;
    border: 1px solid #444; background: none; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .2s, color .2s; white-space: nowrap;
}
.klp .klp-btn-ghost:hover, .klpn .klp-btn-ghost:hover { background: #fff; color: #000; border-color: #fff; }
.klp-btn-ghost.is-busy i { animation: klSpin .8s linear infinite; }
@keyframes klSpin { to { transform: rotate(360deg) } }

.klp-toast {
    position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 130;
    display: flex; align-items: center; gap: 12px; background: #fff; color: #141414; border-radius: 6px;
    padding: 12px 20px; font-family: Onest, "Onest Fallback", system-ui, sans-serif; font-size: 14px; font-weight: 700;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .6); animation: klDrop .25s; max-width: calc(100vw - 32px);
}
.klp-toast i { color: var(--kl-accent, var(--kt-accent, #e50914)); }

@media (max-width: 1099px) {
    .klp-bd__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .klp-abc__list { grid-template-columns: repeat(14, minmax(0, 1fr)); }
}
@media (max-width: 779px) {
    .klp-drop { right: auto; left: 0; }
}
@media (max-width: 699px) {
    .klp-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .klp-abc__list { grid-template-columns: repeat(28, 40px); }
    .klp-grid { --klp-cols: 2; gap: 20px 12px; }
}
@media (max-width: 599px) {
    .klp-bd__grid { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------- single */
.klpn-hero { position: relative; padding: 104px clamp(16px, 4vw, 60px) 40px; overflow: hidden; }
.klpn-hero__bg {
    position: absolute; inset: 0; background-color: #1c1c1c; background-size: cover; background-position: center;
    filter: blur(28px) brightness(.35); transform: scale(1.15);
}
.klpn-hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(0deg, #141414, rgba(20, 20, 20, 0)); }
.klpn-hero__in { position: relative; display: flex; flex-direction: column; gap: 22px; }
.klpn .klp-crumbs { color: #b3b3b3; }
.klpn .klp-crumbs a { color: #b3b3b3; }
.klpn .klp-crumbs a:hover { color: #fff; }
.klpn .klp-crumbs span { color: #fff; }
.klpn-hero__grid {
    display: grid; grid-template-columns: clamp(200px, 22vw, 280px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px); align-items: end;
}
.klpn-photo {
    position: relative; width: 100%; justify-self: center; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden;
    background: #222; box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
    display: grid; place-items: center; font-size: 96px; font-weight: 900; color: #333;
}
.klpn-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.klpn-photo__badge {
    position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; background: var(--klp-accent);
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; color: #fff;
}
.klpn-info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.klpn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.klpn-tag {
    display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 14px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700;
}
.klpn-tag i { font-size: 11px; color: var(--klp-accent); }
.klpn-names { display: flex; flex-direction: column; gap: 6px; }
.klpn-h1 { margin: 0; font-size: clamp(44px, 6vw, 84px); font-weight: 900; letter-spacing: -0.045em; line-height: .9; overflow-wrap: anywhere; }
.klpn-orig { font-size: 18px; color: #b3b3b3; font-weight: 500; }
.klpn-stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .1);
    border-radius: 8px; overflow: hidden; max-width: 760px;
}
.klpn-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: rgba(20, 20, 20, .82); min-width: 0; }
.klpn-stat__l {
    display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #8c8c8c; white-space: nowrap; overflow: hidden;
}
.klpn-stat__l i { font-size: 11px; }
.klpn-stat__v { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: #fff; }
.klpn-stat__v.is-green { color: #46d369; }
.klpn-stat__v.is-gold { color: #f5c518; }
.klpn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.klpn-follow {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 4px;
    border: 1px solid var(--klp-accent); background: var(--klp-accent); color: #fff;
    font-size: 16px; font-weight: 800; cursor: pointer; transition: background .2s;
}
.klpn-follow:hover { filter: brightness(1.1); }
.klpn-follow.is-on { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.klpn-follow .klp-follow__on, .klpn-follow.is-on .klp-follow__off { display: none; }
.klpn-follow.is-on .klp-follow__on { display: contents; }
.klpn-share {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 4px; border: none;
    background: rgba(109, 109, 110, .6); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
}
.klpn-share:hover { background: rgba(109, 109, 110, .4); }
.klpn-subs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #b3b3b3; }

.klpn-main { padding: 8px clamp(16px, 4vw, 60px) 72px; display: flex; flex-direction: column; gap: 48px; }
.klpn-sec { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.klpn-sechead { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.klpn-arrows { display: flex; gap: 8px; }
.klpn-arrow {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a3a3a; background: #1c1c1c; color: #fff;
    font-size: 13px; display: grid; place-items: center; padding: 0; cursor: pointer;
    transition: background .2s, color .2s, opacity .2s;
}
.klpn-arrow:hover { background: #fff; color: #000; border-color: #fff; }
.klpn-arrow.is-off { opacity: .3; pointer-events: none; }
.klpn-track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 10px 0 14px; }
.klpn-track::-webkit-scrollbar { display: none; }
.klpn .klpn-best {
    flex: 0 0 clamp(260px, 24vw, 340px); position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: #222;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.klpn .klpn-best:hover { transform: scale(1.04); box-shadow: 0 14px 30px rgba(0, 0, 0, .7), 0 0 0 2px var(--klp-accent); color: #fff; }
.klpn-best img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.klpn-best__ov {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 14px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 65%);
}
.klpn-best__t { font-size: 18px; font-weight: 800; line-height: 1.1; }
.klpn-best__m { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #d6d6d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.klpn-best__m b { color: #46d369; font-weight: 800; }
.klpn-best__m b i { font-size: 9px; }

.klpn-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.klpn-colmain { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.klpn-bio { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.7; color: #d6d6d6; text-wrap: pretty; }
.klpn-bio p { margin: 0; }
.klpn-bio__more p { animation: klDrop .3s; }
.klpn-bio__more { display: flex; flex-direction: column; gap: 12px; }
.klpn-bio__tog {
    align-self: flex-start; display: flex; align-items: center; gap: 8px; border: none; background: none; color: #fff;
    font-size: 14px; font-weight: 700; cursor: pointer; padding: 0;
}
.klpn-bio__tog:hover { color: var(--klp-accent); }
.klpn-bio__tog i { font-size: 11px; color: var(--klp-accent); transition: transform .25s; }
.klpn-bio__tog.is-open i { transform: rotate(180deg); }

.klpn-fh { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.klpn-fh h2 span { color: #8c8c8c; font-weight: 600; }
.klpn-seg {
    display: grid; grid-template-columns: repeat(2, minmax(max-content, 1fr)); height: 38px; border: 1px solid #333;
    border-radius: 6px; overflow: hidden; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.klpn-seg button {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: none; background: #1c1c1c;
    color: #b3b3b3; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.klpn-seg button.is-on { background: #fff; color: #000; }
.klpn-ftabs {
    display: grid; grid-template-columns: repeat(var(--klpn-tabs, 4), minmax(0, 1fr)); gap: 4px;
    background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 8px; padding: 4px;
}
.klpn-ftab {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border: none; border-radius: 6px;
    background: transparent; color: #b3b3b3; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background .2s; min-width: 0;
}
.klpn-ftab span:first-child { overflow: hidden; text-overflow: ellipsis; }
.klpn-ftab span + span { font-size: 11px; opacity: .7; }
.klpn-ftab.is-on { background: var(--klp-accent); color: #fff; }
.klpn-ftab.is-on span + span { opacity: 1; }
.klpn-list { display: flex; flex-direction: column; gap: 8px; }
.klpn-skrow { display: flex; align-items: center; gap: 16px; padding: 10px; border-radius: 8px; background: #181818; }
.klpn-skrow__y { flex: 0 0 44px; height: 20px; border-radius: 3px; }
.klpn-skrow__p { flex: 0 0 52px; height: 78px; border-radius: 4px; }
.klpn-skrow__t { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.klpn-skrow__t div:first-child { height: 14px; border-radius: 3px; }
.klpn-skrow__t div + div { height: 10px; width: 30%; border-radius: 3px; }
.klpn-work {
    display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; border-radius: 8px; background: #181818;
    border: 1px solid #222; animation: klDrop .3s both; transition: border-color .2s, background .2s;
}
.klpn-work:hover { border-color: var(--klp-accent); background: #1c1c1c; }
.klpn-work__y { flex: 0 0 44px; font-size: 15px; font-weight: 800; color: #8c8c8c; text-align: center; font-variant-numeric: tabular-nums; }
.klpn-work__p { position: relative; flex: 0 0 52px; width: 52px; height: 78px; border-radius: 4px; background: #222; overflow: hidden; }
.klpn-work__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.klpn-work__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.klpn .klpn-work__t { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.klpn .klpn-work__t:hover { color: var(--klp-accent); }
.klpn-work__r { font-size: 13px; color: #a3a3a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.klpn-work__r span { color: #8c8c8c; }
.klpn-work__k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: #8c8c8c; white-space: nowrap; overflow: hidden; }
.klpn-work__k span { border: 1px solid #444; padding: 1px 6px; border-radius: 3px; }
.klpn-work__rate { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 900; color: #8c8c8c; }
.klpn-work__rate i { font-size: 11px; }
.klpn-work__rate.is-green { color: #46d369; }
.klpn-work__rate.is-gold { color: #f5c518; }
.klpn-wl {
    flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #555; background: transparent; color: #fff;
    font-size: 12px; cursor: pointer; padding: 0; transition: background .2s, border-color .2s;
}
.klpn-wl:hover { border-color: #fff; }
.klpn-wl.is-on { background: var(--klp-accent); border-color: var(--klp-accent); }
.klpn-wl .klp-follow__off { display: inline-block; }
.klpn-wl .klp-follow__on, .klpn-wl.is-on .klp-follow__off { display: none; }
.klpn-wl.is-on .klp-follow__on { display: inline; }
.klpn-morebtn { align-self: center; height: 44px; padding: 0 28px; }

.klpn-aside { display: flex; flex-direction: column; gap: 20px; }
.klpn-box { display: flex; flex-direction: column; background: #181818; border: 1px solid #262626; border-radius: 10px; overflow: hidden; }
.klpn-box__h { padding: 16px 18px; border-bottom: 1px solid #262626; font-size: 16px; font-weight: 800; }
.klpn-fact { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #222; }
.klpn-fact__i {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 6px; background: #232323; display: grid; place-items: center;
    font-size: 12px; color: var(--klp-accent);
}
.klpn-fact__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.klpn-fact__l { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8c8c8c; }
.klpn-fact__v { font-size: 14px; font-weight: 600; color: #e5e5e5; overflow-wrap: anywhere; }
.klpn-awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.klpn-award { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 8px; background: #202020; min-height: 104px; min-width: 0; }
.klpn-award__i { width: 30px; height: 30px; border-radius: 50%; background: #2a2a2a; display: grid; place-items: center; font-size: 13px; color: #f5c518; }
.klpn-award__i.is-silver { color: #e5e5e5; }
.klpn-award__i.is-red { color: var(--klp-accent); }
.klpn-award__t { font-size: 13px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.klpn-award__n { font-size: 11px; color: #8c8c8c; }
.klpn-cw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; padding: 16px 12px; }
.klpn .klpn-cw__p { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.klpn .klpn-cw__p:hover { color: #fff; }
.klpn-cw__ph {
    position: relative; width: 64px; height: 64px; border-radius: 50%; background: #222; overflow: hidden;
    box-shadow: 0 0 0 2px #262626; transition: box-shadow .2s; display: grid; place-items: center; font-weight: 900; color: #8c8c8c; font-size: 22px;
}
.klpn-cw__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.klpn-cw__p:hover .klpn-cw__ph { box-shadow: 0 0 0 2px var(--klp-accent); }
.klpn-cw__n { font-size: 12px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.klpn-cw__c { font-size: 11px; color: #8c8c8c; }

@media (max-width: 1099px) {
    .klpn-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
    .klpn-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .klpn-photo { width: min(240px, 62%); }
    .klpn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .klpn-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
    .klpn-work__y { display: none; }
    .klpn-ftabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
