/* ==========================================================================
   HravéPríbehy.sk — profil postavičky v2
   Samostatný responzívny systém pre detail postavičky.
   Menu ostáva centrálne v site-shell-v2.css; tu sa mení iba farebná téma.
   ========================================================================== */

body.hp-character-profile-v2 {
    --hp-cp-bg: var(--hp-color-bg);
    --hp-cp-surface: var(--hp-color-surface);
    --hp-cp-white: var(--hp-color-surface-strong);
    --hp-cp-navy: var(--hp-color-ink);
    --hp-cp-text: var(--hp-color-text);
    --hp-cp-muted: var(--hp-color-muted);
    --hp-cp-line: var(--hp-color-line);
    --hp-cp-lavender: var(--hp-color-lavender-soft);
    --hp-cp-lavender-deep: #e4ddef;
    --hp-cp-purple: var(--hp-color-lavender);
    --hp-cp-purple-ink: var(--hp-color-lavender-ink);
    --hp-cp-accent: var(--hp-color-lavender);
    --hp-cp-accent-ink: var(--hp-color-lavender-ink);
    --hp-cp-accent-soft: var(--hp-color-lavender-soft);
    --hp-cp-accent-border: var(--hp-color-lavender-border);
    --hp-cp-secondary: var(--hp-color-honey);
    --hp-cp-container: 1180px;
    --hp-cp-gutter: clamp(18px, 4vw, 34px);
    --hp-cp-radius-lg: 30px;
    --hp-cp-radius-md: 22px;
    --hp-cp-radius-sm: 15px;
    --hp-cp-shadow-soft: var(--hp-shadow-soft);
    --hp-cp-shadow-hover: var(--hp-shadow-hover);
    --hp-cp-focus: var(--hp-color-focus);

    --hp-shell-header-bg: rgba(242, 238, 247, 0.97);
    --hp-shell-menu-bg: var(--hp-color-lavender-pale);
    --hp-shell-nav-accent: var(--hp-color-lavender);
    --hp-shell-nav-accent-soft: var(--hp-color-lavender-soft);

    color: var(--hp-cp-text);
    background: var(--hp-cp-bg);
}

body.hp-character-profile-v2.hp-character-theme--zajko-tupko {
    --hp-cp-accent: #5f8fb3;
    --hp-cp-accent-ink: #356982;
    --hp-cp-accent-soft: #e7f0f5;
    --hp-cp-accent-border: #c7dae5;
    --hp-cp-secondary: var(--hp-color-honey);
}

body.hp-character-profile-v2.hp-character-theme--zajko-lubko {
    --hp-cp-accent: #6f8875;
    --hp-cp-accent-ink: #3f5f49;
    --hp-cp-accent-soft: #e8efe7;
    --hp-cp-accent-border: #c9d7c8;
    --hp-cp-secondary: #8a6a48;
}

body.hp-character-profile-v2.hp-character-theme--liska-ryska {
    --hp-cp-accent: #b96f52;
    --hp-cp-accent-ink: #7d412e;
    --hp-cp-accent-soft: #f4e5de;
    --hp-cp-accent-border: #e3c3b6;
    --hp-cp-secondary: var(--hp-color-sage);
}

body.hp-character-profile-v2.hp-character-theme--sova-okana {
    --hp-cp-accent: #9d5b5b;
    --hp-cp-accent-ink: #6f3838;
    --hp-cp-accent-soft: #f3e5e5;
    --hp-cp-accent-border: #dec1c1;
    --hp-cp-secondary: var(--hp-color-honey);
}

body.hp-character-profile-v2.hp-character-theme--medvedik-tete {
    --hp-cp-accent: #a77b47;
    --hp-cp-accent-ink: #6b4d2d;
    --hp-cp-accent-soft: #f3e9dc;
    --hp-cp-accent-border: #dec8ac;
    --hp-cp-secondary: var(--hp-color-sky);
}

body.hp-character-profile-v2.hp-character-theme--vtacik-fliacik {
    --hp-cp-accent: #5f8fb3;
    --hp-cp-accent-ink: #356982;
    --hp-cp-accent-soft: #e7f0f5;
    --hp-cp-accent-border: #c7dae5;
    --hp-cp-secondary: var(--hp-color-honey);
}

body.hp-character-profile-v2 *,
body.hp-character-profile-v2 *::before,
body.hp-character-profile-v2 *::after {
    box-sizing: border-box;
}

body.hp-character-profile-v2 main.content-detail-page--character {
    overflow: clip;
    padding: 0;
    color: var(--hp-cp-text);
    background: var(--hp-cp-bg);
}

body.hp-character-profile-v2 main.content-detail-page--character .content-detail-article {
    padding: 0;
}

body.hp-character-profile-v2 .hp-characters-container,
body.hp-character-profile-v2 main.content-detail-page--character .row.narrow,
body.hp-character-profile-v2 .hp-character-friends > .row {
    width: min(calc(100% - (2 * var(--hp-cp-gutter))), var(--hp-cp-container));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

/* ==========================================================================
   Breadcrumb + hero
   ========================================================================== */

body.hp-character-profile-v2 .hp-character-profile-breadcrumb {
    margin: 0;
    padding: 18px 0 0;
    /* background: var(--hp-cp-lavender); */
}

body.hp-character-profile-v2 .hp-character-profile-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin: 0;
    padding: 10px 0;
}

body.hp-character-profile-v2 .hp-character-profile-breadcrumb li,
body.hp-character-profile-v2 .hp-character-profile-breadcrumb a {
    color: var(--hp-cp-muted);
    font-size: 12px;
    line-height: 1.4;
}

body.hp-character-profile-v2 .hp-character-profile-breadcrumb a {
    text-underline-offset: 3px;
}

body.hp-character-profile-v2 .hp-character-profile-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 0 clamp(58px, 6vw, 82px);
    background:
        radial-gradient(circle at 84% 34%, rgba(255, 255, 255, 0.72), transparent 24rem),
        radial-gradient(circle at 94% 18%, var(--hp-cp-accent-soft), transparent 20rem),
        var(--hp-cp-lavender);
}

body.hp-character-profile-v2 .hp-character-profile-hero::after {
    position: absolute;
    right: -10rem;
    bottom: -15rem;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    background: var(--hp-cp-accent);
    content: "";
    opacity: 0.045;
    pointer-events: none;
}

body.hp-character-profile-v2 .content-detail-hero__layout--character {
    position: relative;
    z-index: 1;
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
    gap: clamp(36px, 5vw, 68px);
    align-items: center;
    padding: clamp(38px, 5vw, 58px);
    border: 1px solid rgba(23, 35, 77, 0.075);
    border-radius: var(--hp-cp-radius-lg);
    background:
        radial-gradient(circle at 90% 18%, var(--hp-cp-accent-soft), transparent 18rem),
        rgba(255, 253, 249, 0.94);
    box-shadow: var(--hp-cp-shadow-soft);
    backdrop-filter: blur(10px);
}

body.hp-character-profile-v2 .content-detail-hero__layout--character::before {
    position: absolute;
    right: -8%;
    bottom: -46%;
    width: 44%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--hp-cp-secondary);
    content: "";
    opacity: 0.09;
    pointer-events: none;
}

body.hp-character-profile-v2 .content-detail-hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 0;
}

body.hp-character-profile-v2 .content-kicker,
body.hp-character-profile-v2 .hp-characters-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--hp-cp-accent-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.hp-character-profile-v2 .content-kicker::before,
body.hp-character-profile-v2 .hp-characters-kicker::before {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    opacity: 0.68;
}

body.hp-character-profile-v2 #content-detail-title {
    max-width: 680px;
    margin: 14px 0 14px;
    color: var(--hp-cp-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.01;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

body.hp-character-profile-v2 .content-detail-hero .lead {
    max-width: 620px;
    margin: 0;
    color: var(--hp-cp-text);
    font-size: clamp(17px, 1.55vw, 20px);
    font-weight: 650;
    line-height: 1.58;
}

body.hp-character-profile-v2 .hp-character-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    align-items: center;
    margin-top: 25px;
}

body.hp-character-profile-v2 .hp-characters-button,
body.hp-character-profile-v2 .hp-characters-text-link {
    -webkit-tap-highlight-color: transparent;
}

body.hp-character-profile-v2 .hp-characters-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

body.hp-character-profile-v2 .hp-characters-button--primary {
    color: var(--hp-cp-white);
    background: var(--hp-cp-navy);
    box-shadow: 0 11px 26px rgba(23, 35, 77, 0.18);
}

body.hp-character-profile-v2 .hp-characters-button--secondary {
    border-color: rgba(23, 35, 77, 0.14);
    color: var(--hp-cp-navy);
    background: rgba(255, 255, 255, 0.86);
}

body.hp-character-profile-v2 .hp-characters-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 34px rgba(23, 35, 77, 0.16);
}

body.hp-character-profile-v2 .hp-characters-text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    color: var(--hp-cp-navy);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
    text-decoration: none;
}

body.hp-character-profile-v2 .hp-characters-text-link > span {
    display: inline-flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--hp-cp-accent-ink);
    background: var(--hp-cp-accent-soft);
    transition: transform 180ms ease;
}

body.hp-character-profile-v2 .hp-characters-text-link:hover > span {
    transform: translateX(3px);
}

body.hp-character-profile-v2 .content-detail-hero__portrait--character {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: min(100%, 390px);
    margin: 0 0 0 auto;
    border: 7px solid var(--hp-cp-white);
    border-radius: 27px;
    background: var(--hp-cp-accent-soft);
    box-shadow:
        0 20px 44px rgba(23, 35, 77, 0.13),
        0 0 0 3px var(--hp-cp-accent-border);
}

body.hp-character-profile-v2 .content-detail-hero__portrait--character::after {
    position: absolute;
    right: -18%;
    bottom: -42%;
    width: 68%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--hp-cp-secondary);
    content: "";
    opacity: 0.08;
    pointer-events: none;
}

body.hp-character-profile-v2 .content-detail-hero__portrait--character img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1.04 / 1;
    object-fit: cover;
    object-position: center 24%;
}

/* ==========================================================================
   Profil
   ========================================================================== */

body.hp-character-profile-v2 .hp-character-detail {
    padding: clamp(62px, 7vw, 92px) 0 clamp(66px, 7vw, 96px);
    background:
        linear-gradient(180deg, var(--hp-cp-bg) 0%, #fffaf4 55%, var(--hp-cp-bg) 100%);
}

body.hp-character-profile-v2 .hp-character-about {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
    gap: clamp(32px, 5vw, 62px);
    align-items: start;
    padding: clamp(34px, 5vw, 54px);
    border: 1px solid rgba(23, 35, 77, 0.075);
    border-top: 5px solid var(--hp-cp-accent);
    border-radius: var(--hp-cp-radius-lg);
    background: var(--hp-cp-surface);
    box-shadow: var(--hp-cp-shadow-soft);
}

body.hp-character-profile-v2 .hp-character-about__copy h2,
body.hp-character-profile-v2 .hp-character-stories__header h2,
body.hp-character-profile-v2 .hp-character-conversation h2,
body.hp-character-profile-v2 .hp-character-traits h2,
body.hp-character-profile-v2 .hp-character-friends h2 {
    color: var(--hp-cp-navy);
    letter-spacing: -0.04em;
    text-wrap: balance;
}

body.hp-character-profile-v2 .hp-character-about__copy h2 {
    max-width: 720px;
    margin: 12px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.5vw, 49px);
    line-height: 1.06;
}

body.hp-character-profile-v2 .hp-character-role {
    margin: 0 0 17px;
    color: var(--hp-cp-accent-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

body.hp-character-profile-v2 .hp-character-description,
body.hp-character-profile-v2 .hp-character-description p {
    color: var(--hp-cp-text);
    font-size: 16px;
    line-height: 1.78;
}

body.hp-character-profile-v2 .hp-character-description p {
    margin: 0 0 15px;
}

body.hp-character-profile-v2 .hp-character-description p:last-child {
    margin-bottom: 0;
}

body.hp-character-profile-v2 .hp-character-description--fallback {
    margin: 0;
}

body.hp-character-profile-v2 .hp-character-facts {
    padding: 22px;
    border: 1px solid var(--hp-cp-accent-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 12%, var(--hp-cp-white), transparent 8rem),
        var(--hp-cp-accent-soft);
}

body.hp-character-profile-v2 .hp-character-facts__label,
body.hp-character-profile-v2 .hp-character-traits__label {
    display: block;
    margin-bottom: 11px;
    color: var(--hp-cp-accent-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

body.hp-character-profile-v2 .hp-character-facts dl {
    margin: 0;
}

body.hp-character-profile-v2 .hp-character-fact {
    padding: 12px 0;
    border-top: 1px solid rgba(23, 35, 77, 0.08);
}

body.hp-character-profile-v2 .hp-character-fact:first-child {
    padding-top: 0;
    border-top: 0;
}

body.hp-character-profile-v2 .hp-character-fact:last-child {
    padding-bottom: 0;
}

body.hp-character-profile-v2 .hp-character-fact dt,
body.hp-character-profile-v2 .hp-character-fact dd {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

body.hp-character-profile-v2 .hp-character-fact dt {
    margin-bottom: 3px;
    color: var(--hp-cp-muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.hp-character-profile-v2 .hp-character-fact dd {
    color: var(--hp-cp-navy);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

body.hp-character-profile-v2 .hp-character-traits {
    display: grid;
    grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1.58fr);
    gap: 28px;
    align-items: center;
    margin-top: 18px;
    padding: 22px 26px;
    border: 1px solid rgba(23, 35, 77, 0.07);
    border-radius: var(--hp-cp-radius-md);
    background: rgba(255, 253, 249, 0.92);
}

body.hp-character-profile-v2 .hp-character-traits__label {
    margin-bottom: 5px;
}

body.hp-character-profile-v2 .hp-character-traits h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
}

body.hp-character-profile-v2 .hp-character-traits ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.hp-character-profile-v2 .hp-character-traits li {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--hp-cp-accent-border);
    border-radius: 999px;
    color: var(--hp-cp-accent-ink);
    background: var(--hp-cp-accent-soft);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
}

body.hp-character-profile-v2 .hp-character-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

body.hp-character-profile-v2 .hp-character-feature {
    display: grid;
    min-width: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    padding: 21px;
    border: 1px solid rgba(23, 35, 77, 0.075);
    border-radius: 20px;
    background: var(--hp-cp-surface);
    box-shadow: 0 9px 24px rgba(23, 35, 77, 0.04);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

body.hp-character-profile-v2 .hp-character-feature:nth-child(2n) {
    background: color-mix(in srgb, var(--hp-cp-accent-soft) 58%, white);
}

body.hp-character-profile-v2 .hp-character-feature:hover {
    transform: translateY(-2px);
    border-color: var(--hp-cp-accent-border);
    box-shadow: 0 16px 36px rgba(23, 35, 77, 0.08);
}

body.hp-character-profile-v2 .hp-character-feature__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--hp-cp-accent-ink);
    background: var(--hp-cp-accent-soft);
}

body.hp-character-profile-v2 .hp-character-feature__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.hp-character-profile-v2 .hp-character-feature__number {
    display: block;
    margin-bottom: 4px;
    color: var(--hp-cp-accent-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

body.hp-character-profile-v2 .hp-character-feature h2,
body.hp-character-profile-v2 .hp-character-feature h3 {
    margin: 0 0 5px;
    color: var(--hp-cp-navy);
    font-size: 18px;
    line-height: 1.22;
}

body.hp-character-profile-v2 .hp-character-feature p {
    margin: 0;
    color: var(--hp-cp-text);
    font-size: 13px;
    line-height: 1.58;
}

body.hp-character-profile-v2 .hp-character-conversation {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.92fr);
    gap: clamp(24px, 4vw, 44px);
    align-items: center;
    margin-bottom: 18px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid var(--hp-cp-accent-border);
    border-radius: 26px;
    background:
        radial-gradient(circle at 8% 92%, var(--hp-cp-white), transparent 16rem),
        var(--hp-cp-accent-soft);
}

body.hp-character-profile-v2 .hp-character-conversation h2 {
    margin: 11px 0 11px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(29px, 3vw, 39px);
    line-height: 1.08;
}

body.hp-character-profile-v2 .hp-character-conversation blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--hp-cp-accent-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.4;
}

body.hp-character-profile-v2 .hp-character-conversation__note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 19px;
    border: 1px solid rgba(23, 35, 77, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

body.hp-character-profile-v2 .hp-character-conversation__note > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--hp-cp-accent-ink);
    background: var(--hp-cp-accent-soft);
}

body.hp-character-profile-v2 .hp-character-conversation__note svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.hp-character-profile-v2 .hp-character-conversation__note h3 {
    margin: 0 0 5px;
    color: var(--hp-cp-navy);
    font-size: 17px;
}

body.hp-character-profile-v2 .hp-character-conversation__note p {
    margin: 0;
    color: var(--hp-cp-text);
    font-size: 13px;
    line-height: 1.58;
}

/* ==========================================================================
   Príbehy
   ========================================================================== */

body.hp-character-profile-v2 .hp-character-stories {
    padding: clamp(30px, 5vw, 48px);
    border: 1px solid rgba(23, 35, 77, 0.075);
    border-radius: var(--hp-cp-radius-lg);
    background: var(--hp-cp-surface);
    box-shadow: var(--hp-cp-shadow-soft);
    scroll-margin-top: 96px;
}

body.hp-character-profile-v2 .hp-character-stories__header {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 26px;
}

body.hp-character-profile-v2 .hp-character-stories__header h2 {
    margin: 11px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 3.4vw, 45px);
    line-height: 1.06;
}

body.hp-character-profile-v2 .hp-character-stories__header > p {
    margin: 0;
    color: var(--hp-cp-muted);
    font-size: 14px;
    line-height: 1.65;
}

body.hp-character-profile-v2 .hp-character-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.hp-character-profile-v2 .hp-character-story-card {
    --hp-story-accent: #7da98a;
    --hp-story-ink: #496f55;
    --hp-story-soft: #eaf3ec;
    --hp-story-border: #c9ddce;
    min-width: 0;
}

body.hp-character-profile-v2 .hp-character-story-card--why_question {
    --hp-story-accent: #8bbbd4;
    --hp-story-ink: #477b97;
    --hp-story-soft: #e9f4f8;
    --hp-story-border: #c7e0eb;
}

body.hp-character-profile-v2 .hp-character-story-card--biblical_story {
    --hp-story-accent: #d7b75b;
    --hp-story-ink: #7c6728;
    --hp-story-soft: #f7f1df;
    --hp-story-border: #e6d9ad;
}

body.hp-character-profile-v2 .hp-character-story-card__link {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(23, 35, 77, 0.075);
    border-top: 3px solid var(--hp-story-accent);
    border-radius: 18px;
    color: inherit;
    background: var(--hp-cp-white);
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

body.hp-character-profile-v2 .hp-character-story-card__link:hover {
    transform: translateY(-3px);
    border-color: var(--hp-story-border);
    box-shadow: var(--hp-cp-shadow-hover);
}

body.hp-character-profile-v2 .hp-character-story-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--hp-story-soft);
}

body.hp-character-profile-v2 .hp-character-story-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 260ms ease;
}

body.hp-character-profile-v2 .hp-character-story-card__link:hover img {
    transform: scale(1.025);
}

body.hp-character-profile-v2 .hp-character-story-card__type {
    position: absolute;
    left: 11px;
    bottom: 11px;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid var(--hp-story-border);
    border-radius: 8px;
    color: var(--hp-story-ink);
    background: rgba(255, 255, 255, 0.93);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.hp-character-profile-v2 .hp-character-story-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

body.hp-character-profile-v2 .hp-character-story-card__body > strong {
    color: var(--hp-cp-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.018em;
}

body.hp-character-profile-v2 .hp-character-story-card__excerpt {
    display: block;
    margin-top: 7px;
    color: var(--hp-cp-text);
    font-size: 12px;
    line-height: 1.5;
}

body.hp-character-profile-v2 .hp-character-story-card small {
    display: block;
    margin-top: 9px;
    color: var(--hp-cp-muted);
    font-size: 12px;
    line-height: 1.45;
}

body.hp-character-profile-v2 .hp-character-story-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 13px;
    color: var(--hp-cp-navy);
    font-size: 12px;
    font-weight: 900;
}

body.hp-character-profile-v2 .hp-character-empty {
    padding: 28px;
    border: 1px solid var(--hp-cp-accent-border);
    border-radius: 18px;
    background: var(--hp-cp-accent-soft);
    text-align: center;
}

body.hp-character-profile-v2 .hp-character-empty strong {
    color: var(--hp-cp-navy);
    font-size: 18px;
}

body.hp-character-profile-v2 .hp-character-empty p {
    margin: 6px 0 0;
    color: var(--hp-cp-muted);
}

body.hp-character-profile-v2 .hp-character-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

body.hp-character-profile-v2 .hp-character-detail-actions .hp-characters-button {
    min-width: 174px;
}

body.hp-character-profile-v2 .content-report-row {
    width: min(calc(100% - (2 * var(--hp-cp-gutter))), 940px);
    margin: 22px auto 0;
    padding: 0;
}

/* ==========================================================================
   Ďalšie postavičky
   ========================================================================== */

body.hp-character-profile-v2 .hp-character-friends {
    padding: clamp(62px, 7vw, 88px) 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.55), transparent 20rem),
        var(--hp-cp-lavender);
}

body.hp-character-profile-v2 .hp-character-friends .home-section__header {
    max-width: 700px;
    margin: 0 auto 31px;
    text-align: center;
}

body.hp-character-profile-v2 .hp-character-friends .home-kicker {
    color: var(--hp-cp-purple-ink);
}

body.hp-character-profile-v2 .hp-character-friends h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3.7vw, 46px);
    line-height: 1.06;
}

body.hp-character-profile-v2 .hp-character-friends__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

body.hp-character-profile-v2 .hp-character-friend-card {
    overflow: hidden;
    border: 1px solid rgba(23, 35, 77, 0.075);
    border-top: 4px solid var(--hp-cp-purple);
    border-radius: 21px;
    background: var(--hp-cp-white);
    box-shadow: 0 10px 26px rgba(23, 35, 77, 0.05);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

body.hp-character-profile-v2 .hp-character-friend-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hp-cp-shadow-hover);
}

body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image {
    display: block;
    overflow: hidden;
    background: var(--hp-cp-lavender);
}

body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 260ms ease;
}

body.hp-character-profile-v2 .hp-character-friend-card:hover .home-content-card__image img {
    transform: scale(1.025);
}

body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__body {
    padding: 18px 19px 20px;
}

body.hp-character-profile-v2 .hp-character-friend-card .home-card-type {
    color: var(--hp-cp-purple-ink);
    background: var(--hp-cp-lavender);
    border-color: var(--hp-cp-lavender-deep);
}

body.hp-character-profile-v2 .hp-character-friend-card h3 {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.15;
}

body.hp-character-profile-v2 .hp-character-friend-card h3 a {
    color: var(--hp-cp-navy);
    text-decoration: none;
}

body.hp-character-profile-v2 .hp-character-friend-card p {
    margin: 8px 0 0;
    color: var(--hp-cp-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* ==========================================================================
   Focus + motion
   ========================================================================== */

body.hp-character-profile-v2 .hp-characters-button:focus-visible,
body.hp-character-profile-v2 .hp-characters-text-link:focus-visible,
body.hp-character-profile-v2 .hp-character-story-card__link:focus-visible,
body.hp-character-profile-v2 .hp-character-friend-card a:focus-visible {
    outline: 3px solid var(--hp-cp-focus);
    outline-offset: 4px;
}

/* ==========================================================================
   Responzivita
   ========================================================================== */

@media (max-width: 1020px) {
    body.hp-character-profile-v2 .content-detail-hero__layout--character {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
        gap: 32px;
    }

    body.hp-character-profile-v2 .hp-character-about {
        grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.7fr);
        gap: 30px;
    }
}

@media (max-width: 820px) {
    body.hp-character-profile-v2 .content-detail-hero__layout--character {
        grid-template-columns: 1fr;
    }

    body.hp-character-profile-v2 .content-detail-hero__portrait--character {
        width: min(100%, 390px);
        margin-inline: auto;
    }

    body.hp-character-profile-v2 .hp-character-about {
        grid-template-columns: 1fr;
    }

    body.hp-character-profile-v2 .hp-character-conversation {
        grid-template-columns: 1fr;
    }

    body.hp-character-profile-v2 .hp-character-stories__header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.hp-character-profile-v2 .hp-character-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.hp-character-profile-v2 {
        --hp-cp-gutter: 16px;
    }

    body.hp-character-profile-v2 .hp-character-profile-breadcrumb {
        padding-top: 8px;
    }

    body.hp-character-profile-v2 .hp-character-profile-breadcrumb .content-breadcrumb__current {
        display: none;
    }

    body.hp-character-profile-v2 .hp-character-profile-breadcrumb ol {
        padding-block: 8px;
    }

    body.hp-character-profile-v2 .hp-character-profile-hero {
        padding: 10px 0 42px;
    }

    body.hp-character-profile-v2 .content-detail-hero__layout--character {
        gap: 22px;
        padding: 26px 20px 20px;
        border-radius: 23px;
    }

    body.hp-character-profile-v2 #content-detail-title {
        margin-top: 10px;
        font-size: clamp(39px, 11vw, 47px);
        line-height: 1.01;
    }

    body.hp-character-profile-v2 .content-detail-hero .lead {
        font-size: 16px;
        line-height: 1.52;
    }

    body.hp-character-profile-v2 .hp-character-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 19px;
    }

    body.hp-character-profile-v2 .hp-character-hero-actions .hp-characters-button,
    body.hp-character-profile-v2 .hp-character-hero-actions .hp-characters-text-link {
        width: 100%;
        justify-content: center;
    }

    body.hp-character-profile-v2 .content-detail-hero__portrait--character {
        width: min(100%, 250px);
        border-width: 5px;
        border-radius: 20px;
    }

    body.hp-character-profile-v2 .content-detail-hero__portrait--character img {
        aspect-ratio: 1 / 1;
    }

    body.hp-character-profile-v2 .hp-character-detail {
        padding: 46px 0 58px;
    }

    body.hp-character-profile-v2 .hp-character-about {
        gap: 23px;
        padding: 25px 20px;
        border-top-width: 4px;
        border-radius: 22px;
    }

    body.hp-character-profile-v2 .hp-character-about__copy h2 {
        font-size: 33px;
    }

    body.hp-character-profile-v2 .hp-character-description,
    body.hp-character-profile-v2 .hp-character-description p {
        font-size: 15px;
        line-height: 1.68;
    }

    body.hp-character-profile-v2 .hp-character-facts {
        padding: 18px;
    }

    body.hp-character-profile-v2 .hp-character-traits {
        grid-template-columns: 1fr;
        gap: 13px;
        margin-top: 14px;
        padding: 19px;
    }

    body.hp-character-profile-v2 .hp-character-traits ul {
        justify-content: flex-start;
    }

    body.hp-character-profile-v2 .hp-character-features {
        grid-template-columns: 1fr;
        gap: 11px;
        margin: 14px 0;
    }

    body.hp-character-profile-v2 .hp-character-feature {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 17px;
        border-radius: 17px;
    }

    body.hp-character-profile-v2 .hp-character-feature__icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    body.hp-character-profile-v2 .hp-character-feature__icon svg {
        width: 22px;
        height: 22px;
    }

    body.hp-character-profile-v2 .hp-character-feature h2,
    body.hp-character-profile-v2 .hp-character-feature h3 {
        font-size: 17px;
    }

    body.hp-character-profile-v2 .hp-character-conversation {
        gap: 19px;
        margin-bottom: 14px;
        padding: 24px 20px;
        border-radius: 22px;
    }

    body.hp-character-profile-v2 .hp-character-conversation h2 {
        font-size: 31px;
    }

    body.hp-character-profile-v2 .hp-character-conversation blockquote {
        font-size: 22px;
    }

    body.hp-character-profile-v2 .hp-character-stories {
        padding: 24px 17px;
        border-radius: 22px;
    }

    body.hp-character-profile-v2 .hp-character-stories__header h2 {
        font-size: 32px;
    }

    body.hp-character-profile-v2 .hp-character-story-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__link {
        display: grid;
        grid-template-columns: minmax(112px, 36%) minmax(0, 1fr);
        min-height: 138px;
        border-top-width: 1px;
        border-left: 3px solid var(--hp-story-accent);
        border-radius: 16px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__image {
        min-height: 138px;
        height: 100%;
    }

    body.hp-character-profile-v2 .hp-character-story-card__image img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
    }

    body.hp-character-profile-v2 .hp-character-story-card__type {
        left: 8px;
        bottom: 8px;
        min-height: 23px;
        padding: 4px 7px;
        font-size: 12px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__body {
        padding: 14px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__body > strong {
        font-size: 17px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__excerpt {
        display: none;
    }

    body.hp-character-profile-v2 .hp-character-story-card small {
        margin-top: 7px;
        font-size: 12px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__cta {
        padding-top: 8px;
    }

    body.hp-character-profile-v2 .hp-character-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.hp-character-profile-v2 .hp-character-detail-actions .hp-characters-button {
        width: 100%;
        min-width: 0;
    }

    body.hp-character-profile-v2 .hp-character-friends {
        padding: 52px 0 58px;
    }

    body.hp-character-profile-v2 .hp-character-friends .home-section__header {
        margin-bottom: 24px;
        text-align: left;
    }

    body.hp-character-profile-v2 .hp-character-friends h2 {
        font-size: 33px;
    }

    body.hp-character-profile-v2 .hp-character-friends__grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        padding: 2px 2px 12px;
    }

    body.hp-character-profile-v2 .hp-character-friends__grid::-webkit-scrollbar {
        display: none;
    }

    body.hp-character-profile-v2 .hp-character-friend-card {
        min-width: min(78vw, 300px);
        flex: 0 0 min(78vw, 300px);
        border-radius: 18px;
        scroll-snap-align: start;
    }

    body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image img {
        aspect-ratio: 4 / 3;
    }

    body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__body {
        padding: 14px 15px 16px;
    }

    body.hp-character-profile-v2 .hp-character-friend-card h3 {
        font-size: 19px;
    }

    body.hp-character-profile-v2 .hp-character-friend-card p {
        display: none;
    }
}

@media (max-width: 380px) {
    body.hp-character-profile-v2 .hp-character-story-card__link {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    body.hp-character-profile-v2 .hp-character-story-card small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.hp-character-profile-v2 .hp-characters-button,
    body.hp-character-profile-v2 .hp-characters-text-link > span,
    body.hp-character-profile-v2 .hp-character-feature,
    body.hp-character-profile-v2 .hp-character-story-card__link,
    body.hp-character-profile-v2 .hp-character-story-card__image img,
    body.hp-character-profile-v2 .hp-character-friend-card,
    body.hp-character-profile-v2 .hp-character-friend-card img {
        transition: none;
    }

    body.hp-character-profile-v2 .hp-characters-button:hover,
    body.hp-character-profile-v2 .hp-character-feature:hover,
    body.hp-character-profile-v2 .hp-character-story-card__link:hover,
    body.hp-character-profile-v2 .hp-character-friend-card:hover {
        transform: none;
    }
}


/* ==========================================================================
   Character Profile Asset Pack — profile hero + transparent friend cards
   ========================================================================== */
body.hp-character-profile-v2 .content-detail-hero__portrait--character {
    display: grid;
    width: min(100%, 336px);
    aspect-ratio: 1200 / 1615;
    place-items: stretch;
    overflow: hidden;
    background: var(--hp-cp-accent-soft);
}

body.hp-character-profile-v2 .content-detail-hero__portrait--character img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}

body.hp-character-profile-v2 .hp-character-friend-card {
    --hp-character-friend-spot: #e9e3f3;
    --hp-character-friend-spot-deep: #d8cde9;
}

body.hp-character-profile-v2 .hp-character-friend-card--zajko-tupko {
    --hp-character-friend-spot: #e4f2fb;
    --hp-character-friend-spot-deep: #c6e2f4;
}

body.hp-character-profile-v2 .hp-character-friend-card--zajko-lubko {
    --hp-character-friend-spot: #e8f1e5;
    --hp-character-friend-spot-deep: #cfe0c9;
}

body.hp-character-profile-v2 .hp-character-friend-card--liska-ryska {
    --hp-character-friend-spot: #fbe9dc;
    --hp-character-friend-spot-deep: #f1cfb5;
}

body.hp-character-profile-v2 .hp-character-friend-card--sova-okana {
    --hp-character-friend-spot: #f1e8e6;
    --hp-character-friend-spot-deep: #dfc9c5;
}

body.hp-character-profile-v2 .hp-character-friend-card--medvedik-tete {
    --hp-character-friend-spot: #f6ecd9;
    --hp-character-friend-spot-deep: #e7d3af;
}

body.hp-character-profile-v2 .hp-character-friend-card--vtacik-fliacik {
    --hp-character-friend-spot: #e3f2f5;
    --hp-character-friend-spot-deep: #c6e1e7;
}

body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 260px;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 14px 14px 0;
    background: linear-gradient(180deg, var(--hp-color-surface) 0%, var(--hp-character-friend-spot) 100%);
}

body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image::before {
    position: absolute;
    z-index: 0;
    right: 10%;
    bottom: -22%;
    left: 10%;
    height: 80%;
    border-radius: 50% 50% 42% 42%;
    background: var(--hp-character-friend-spot-deep);
    content: "";
    opacity: 0.72;
}

body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image img {
    position: relative;
    z-index: 1;
    width: min(238px, 90%);
    height: 246px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 13px 12px rgba(23, 35, 77, 0.13));
    transform-origin: center bottom;
}

body.hp-character-profile-v2 .hp-character-friend-card--vtacik-fliacik .home-content-card__image img {
    width: min(266px, 100%);
}

body.hp-character-profile-v2 .hp-character-friend-card:hover .home-content-card__image img {
    transform: translateY(-3px) scale(1.018);
}

@media (max-width: 760px) {
    body.hp-character-profile-v2 .content-detail-hero__portrait--character {
        width: min(78vw, 300px);
        margin-inline: auto;
    }

    body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image {
        min-height: 226px;
    }

    body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image img {
        height: 214px;
    }
}


/* Related character card visibility and mobile carousel fixes — 20260805c */
body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image {
    aspect-ratio: auto !important;
}

body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image img {
    position: relative;
    z-index: 1;
    width: min(238px, 90%) !important;
    height: 246px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center bottom !important;
}

body.hp-character-profile-v2 .hp-character-friend-card--vtacik-fliacik .home-content-card__image img {
    width: min(266px, 100%) !important;
}

@media (max-width: 960px) {
    body.hp-character-profile-v2 .hp-character-friends__grid {
        display: flex !important;
        width: 100%;
        grid-template-columns: none !important;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 14px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 2px;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.hp-character-profile-v2 .hp-character-friends__grid::-webkit-scrollbar {
        display: none;
    }

    body.hp-character-profile-v2 .hp-character-friend-card {
        min-width: min(78vw, 300px);
        flex: 0 0 min(78vw, 300px);
        scroll-snap-align: start;
    }
}

@media (max-width: 640px) {
    body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image {
        min-height: 226px;
    }

    body.hp-character-profile-v2 .hp-character-friend-card .home-content-card__image img {
        height: 214px !important;
    }
}


/* ==========================================================================
   Premium profile refinements — 20260805c
   ========================================================================== */
body.hp-character-profile-v2 .hp-character-about {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 35, 77, 0.065);
    border-top-width: 1px;
    background:
        radial-gradient(circle at 96% 4%, var(--hp-cp-accent-soft), transparent 18rem),
        linear-gradient(145deg, #fffefa 0%, #fffaf5 100%);
}

body.hp-character-profile-v2 .hp-character-about::before {
    position: absolute;
    top: 0;
    left: clamp(34px, 5vw, 54px);
    width: 72px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: var(--hp-cp-accent);
    content: "";
}

body.hp-character-profile-v2 .hp-character-facts {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(23, 35, 77, 0.085);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 32px rgba(23, 35, 77, 0.055);
}

body.hp-character-profile-v2 .hp-character-facts::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hp-cp-accent), var(--hp-cp-secondary));
    content: "";
    opacity: 0.82;
}

body.hp-character-profile-v2 .hp-character-facts__label {
    margin: 1px 0 13px;
    color: var(--hp-cp-accent-ink);
    font-size: 12px;
    letter-spacing: 0.12em;
}

body.hp-character-profile-v2 .hp-character-facts dl {
    display: grid;
    gap: 9px;
}

body.hp-character-profile-v2 .hp-character-fact,
body.hp-character-profile-v2 .hp-character-fact:first-child,
body.hp-character-profile-v2 .hp-character-fact:last-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px;
    min-width: 0;
    padding: 11px 12px !important;
    border: 1px solid rgba(23, 35, 77, 0.065) !important;
    border-radius: 13px;
    background: rgba(255, 253, 249, 0.86);
}

body.hp-character-profile-v2 .hp-character-fact dt,
body.hp-character-profile-v2 .hp-character-fact dd {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    clear: both;
    text-align: left !important;
}

body.hp-character-profile-v2 .hp-character-fact dt {
    color: var(--hp-cp-muted);
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.085em;
}

body.hp-character-profile-v2 .hp-character-fact dd {
    color: var(--hp-cp-navy);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.42;
    overflow-wrap: break-word;
    word-break: normal;
}

body.hp-character-profile-v2 .content-report-row {
    width: min(calc(100% - (2 * var(--hp-cp-gutter))), var(--hp-cp-container));
    margin: 30px auto 0;
}

body.hp-character-profile-v2 .content-report {
    max-width: none;
    border-color: rgba(23, 35, 77, 0.075);
    background:
        radial-gradient(circle at 0 0, var(--hp-cp-accent-soft), transparent 15rem),
        rgba(255, 253, 249, 0.94);
    box-shadow: 0 13px 34px rgba(23, 35, 77, 0.055);
}

body.hp-character-profile-v2 .content-report__icon {
    color: var(--hp-cp-accent-ink);
    background: var(--hp-cp-accent-soft);
    box-shadow: inset 0 0 0 1px var(--hp-cp-accent-border);
}

body.hp-character-profile-v2 .content-report__action {
    color: var(--hp-cp-white);
    background: var(--hp-cp-navy);
    box-shadow: 0 8px 20px rgba(23, 35, 77, 0.14);
}

body.hp-character-profile-v2 .content-report__action:hover {
    color: var(--hp-cp-white);
    background: var(--hp-cp-accent-ink);
}

@media (max-width: 820px) {
    body.hp-character-profile-v2 .hp-character-about::before {
        left: 25px;
    }
}

@media (max-width: 640px) {
    body.hp-character-profile-v2 .hp-character-about::before {
        left: 20px;
        width: 58px;
    }

    body.hp-character-profile-v2 .hp-character-facts {
        padding: 17px;
    }

    body.hp-character-profile-v2 .content-report-row {
        margin-top: 22px;
    }
}

/* ==========================================================================
   Cohesive premium pass — calmer hierarchy and mobile cards — 20260805d
   ========================================================================== */
body.hp-character-profile-v2 .hp-character-profile-hero {
    padding-block: 16px clamp(50px, 5vw, 70px);
}

body.hp-character-profile-v2 .content-detail-hero__layout--character {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
    gap: clamp(34px, 5vw, 62px);
    padding: clamp(34px, 4.6vw, 50px);
    border: 1px solid rgba(23, 35, 77, 0.075);
    border-radius: 28px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: 0 20px 58px rgba(23, 35, 77, 0.075);
    backdrop-filter: none;
}

body.hp-character-profile-v2 .content-detail-hero__layout--character::before {
    opacity: 0.42;
}

body.hp-character-profile-v2 .content-detail-hero__portrait--character {
    width: min(100%, 302px);
    padding: 7px;
    border: 1px solid var(--hp-cp-accent-border);
    border-radius: 22px;
    background: color-mix(in srgb, var(--hp-cp-accent-soft) 56%, white);
    box-shadow: 0 17px 38px rgba(23, 35, 77, 0.10);
}

body.hp-character-profile-v2 .content-detail-hero__portrait--character::after {
    display: none;
}

body.hp-character-profile-v2 .content-detail-hero__portrait--character img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 1615;
    border-radius: 16px;
    object-fit: cover;
}

body.hp-character-profile-v2 .hp-character-detail {
    padding: clamp(52px, 6vw, 76px) 0 clamp(62px, 6vw, 84px);
}

body.hp-character-profile-v2 .hp-character-about {
    position: relative;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(34px, 5vw, 58px);
    padding: clamp(34px, 4.5vw, 48px);
    border-top: 1px solid rgba(23, 35, 77, 0.075);
    border-radius: 26px;
}

body.hp-character-profile-v2 .hp-character-about::before {
    position: absolute;
    top: 0;
    left: clamp(34px, 4.5vw, 48px);
    width: 58px;
    height: 3px;
    border-radius: 999px;
    background: var(--hp-cp-accent);
    content: "";
    transform: translateY(-1px);
}

body.hp-character-profile-v2 .hp-character-about__copy h2 {
    max-width: 16ch;
    font-size: clamp(34px, 3.25vw, 46px);
}

body.hp-character-profile-v2 .hp-character-facts {
    padding: 20px;
    border: 0;
    border-radius: 18px;
    background: #fbf8f2;
    box-shadow: inset 0 0 0 1px rgba(23, 35, 77, 0.055);
}

body.hp-character-profile-v2 .hp-character-facts__label {
    position: relative;
    margin-bottom: 13px;
    padding-bottom: 10px;
}

body.hp-character-profile-v2 .hp-character-facts__label::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--hp-cp-accent), rgba(23, 35, 77, 0.04));
    content: "";
}

body.hp-character-profile-v2 .hp-character-facts dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

body.hp-character-profile-v2 .hp-character-fact {
    min-width: 0;
    padding: 11px 12px;
    border: 0;
}

body.hp-character-profile-v2 .hp-character-fact:nth-child(2n) {
    border-left: 1px solid rgba(23, 35, 77, 0.07);
}

body.hp-character-profile-v2 .hp-character-fact:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 35, 77, 0.07);
}

body.hp-character-profile-v2 .hp-character-fact dt {
    margin-bottom: 5px;
    color: var(--hp-cp-accent-ink);
    font-size: 12px;
    letter-spacing: 0.085em;
}

body.hp-character-profile-v2 .hp-character-fact dd {
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body.hp-character-profile-v2 .hp-character-traits {
    margin-top: 16px;
    padding: 20px 24px;
    border-color: rgba(23, 35, 77, 0.06);
    background: rgba(255, 253, 249, 0.72);
}

body.hp-character-profile-v2 .hp-character-traits ul {
    gap: 9px;
}

body.hp-character-profile-v2 .hp-character-traits li {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 12.5px;
}

body.hp-character-profile-v2 .hp-character-features {
    overflow: hidden;
    gap: 0;
    margin: 16px 0;
    padding: 8px;
    border: 1px solid rgba(23, 35, 77, 0.065);
    border-radius: 24px;
    background: var(--hp-cp-surface);
    box-shadow: 0 12px 34px rgba(23, 35, 77, 0.045);
}

body.hp-character-profile-v2 .hp-character-feature,
body.hp-character-profile-v2 .hp-character-feature:nth-child(2n) {
    min-height: 150px;
    padding: 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.hp-character-profile-v2 .hp-character-feature:nth-child(odd) {
    border-right: 1px solid rgba(23, 35, 77, 0.065);
}

body.hp-character-profile-v2 .hp-character-feature:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(23, 35, 77, 0.065);
}

body.hp-character-profile-v2 .hp-character-feature:hover {
    border-color: rgba(23, 35, 77, 0.065);
    box-shadow: none;
    transform: none;
}

body.hp-character-profile-v2 .hp-character-feature__number {
    display: none;
}

body.hp-character-profile-v2 .hp-character-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

body.hp-character-profile-v2 .hp-character-feature h2,
body.hp-character-profile-v2 .hp-character-feature h3 {
    font-size: 18px;
}

body.hp-character-profile-v2 .hp-character-feature p {
    font-size: 13.5px;
    line-height: 1.62;
}

body.hp-character-profile-v2 .hp-character-conversation {
    padding: clamp(28px, 3.8vw, 40px);
    border-color: color-mix(in srgb, var(--hp-cp-accent-border) 72%, white);
    background: color-mix(in srgb, var(--hp-cp-accent-soft) 72%, white);
}

body.hp-character-profile-v2 .hp-character-conversation__note {
    padding: 8px 0 8px clamp(24px, 3vw, 34px);
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--hp-cp-accent) 36%, white);
    border-radius: 0;
    background: transparent;
}

body.hp-character-profile-v2 .hp-character-stories {
    padding: clamp(30px, 4.2vw, 44px);
    border-radius: 26px;
}

body.hp-character-profile-v2 .content-report-row {
    margin-top: 28px;
    margin-bottom: 4px;
}

body.hp-character-profile-v2 .content-report {
    max-width: 100%;
}

@media (max-width: 1020px) {
    body.hp-character-profile-v2 .content-detail-hero__layout--character {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
    }

    body.hp-character-profile-v2 .hp-character-about {
        grid-template-columns: 1fr;
    }

    body.hp-character-profile-v2 .hp-character-facts dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.hp-character-profile-v2 .hp-character-fact:nth-child(n) {
        border: 0;
    }

    body.hp-character-profile-v2 .hp-character-fact:nth-child(2n) {
        border-left: 1px solid rgba(23, 35, 77, 0.07);
    }

    body.hp-character-profile-v2 .hp-character-fact:nth-child(n + 3) {
        border-top: 1px solid rgba(23, 35, 77, 0.07);
    }
}

@media (max-width: 820px) {
    body.hp-character-profile-v2 .content-detail-hero__layout--character {
        grid-template-columns: 1fr;
    }

    body.hp-character-profile-v2 .content-detail-hero__portrait--character {
        width: min(100%, 270px);
    }

    body.hp-character-profile-v2 .hp-character-facts dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.hp-character-profile-v2 .hp-character-fact:nth-child(n) {
        border: 0;
    }

    body.hp-character-profile-v2 .hp-character-fact:nth-child(2n) {
        border-left: 1px solid rgba(23, 35, 77, 0.07);
    }

    body.hp-character-profile-v2 .hp-character-fact:nth-child(n + 3) {
        border-top: 1px solid rgba(23, 35, 77, 0.07);
    }
}

@media (max-width: 640px) {
    body.hp-character-profile-v2 .hp-character-profile-hero {
        padding: 8px 0 34px;
    }

    body.hp-character-profile-v2 .content-detail-hero__layout--character {
        gap: 20px;
        padding: 24px 18px 19px;
        border-radius: 21px;
    }

    body.hp-character-profile-v2 #content-detail-title {
        font-size: clamp(35px, 10vw, 42px);
    }

    body.hp-character-profile-v2 .content-detail-hero__portrait--character {
        width: min(100%, 225px);
        padding: 5px;
        border-radius: 18px;
    }

    body.hp-character-profile-v2 .content-detail-hero__portrait--character img {
        aspect-ratio: 1200 / 1615;
        border-radius: 13px;
    }

    body.hp-character-profile-v2 .hp-character-detail {
        padding: 40px 0 52px;
    }

    body.hp-character-profile-v2 .hp-character-about {
        gap: 22px;
        padding: 27px 19px 22px;
        border-radius: 20px;
    }

    body.hp-character-profile-v2 .hp-character-about::before {
        left: 19px;
        width: 48px;
    }

    body.hp-character-profile-v2 .hp-character-about__copy h2 {
        max-width: 14ch;
        font-size: 31px;
    }

    body.hp-character-profile-v2 .hp-character-facts {
        padding: 16px;
    }

    body.hp-character-profile-v2 .hp-character-facts dl {
        grid-template-columns: 1fr;
    }

    body.hp-character-profile-v2 .hp-character-fact:nth-child(n) {
        padding: 11px 0;
        border: 0;
        border-top: 1px solid rgba(23, 35, 77, 0.07);
    }

    body.hp-character-profile-v2 .hp-character-fact:first-child {
        padding-top: 2px;
        border-top: 0;
    }

    body.hp-character-profile-v2 .hp-character-traits {
        gap: 12px;
        padding: 18px;
    }

    body.hp-character-profile-v2 .hp-character-traits li {
        min-height: 35px;
        padding: 8px 12px;
        font-size: 12px;
    }

    body.hp-character-profile-v2 .hp-character-features {
        display: block;
        padding: 5px 16px;
        border-radius: 20px;
    }

    body.hp-character-profile-v2 .hp-character-feature,
    body.hp-character-profile-v2 .hp-character-feature:nth-child(n) {
        min-height: 0;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 13px;
        padding: 18px 0;
        border: 0;
        border-bottom: 1px solid rgba(23, 35, 77, 0.065);
    }

    body.hp-character-profile-v2 .hp-character-feature:last-child {
        border-bottom: 0;
    }

    body.hp-character-profile-v2 .hp-character-feature__icon {
        width: 40px;
        height: 40px;
    }

    body.hp-character-profile-v2 .hp-character-conversation {
        gap: 17px;
        padding: 24px 19px;
    }

    body.hp-character-profile-v2 .hp-character-conversation__note {
        padding: 18px 0 0;
        border: 0;
        border-top: 1px solid color-mix(in srgb, var(--hp-cp-accent) 30%, white);
    }

    body.hp-character-profile-v2 .hp-character-stories {
        overflow: hidden;
        padding: 25px 0 25px;
    }

    body.hp-character-profile-v2 .hp-character-stories__header {
        padding-inline: 18px;
    }

    body.hp-character-profile-v2 .hp-character-story-grid {
        display: flex;
        width: 100%;
        gap: 13px;
        overflow-x: auto;
        padding: 2px 18px 13px;
        scroll-padding-inline: 18px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.hp-character-profile-v2 .hp-character-story-grid::-webkit-scrollbar {
        display: none;
    }

    body.hp-character-profile-v2 .hp-character-story-card {
        flex: 0 0 min(82vw, 325px);
        scroll-snap-align: start;
    }

    body.hp-character-profile-v2 .hp-character-story-card__link {
        display: flex;
        min-height: 0;
        flex-direction: column;
        border-left: 1px solid rgba(23, 35, 77, 0.075);
        border-top: 3px solid var(--hp-story-accent);
        border-radius: 18px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__image {
        height: auto;
        min-height: 0;
    }

    body.hp-character-profile-v2 .hp-character-story-card__image img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

    body.hp-character-profile-v2 .hp-character-story-card__body {
        padding: 16px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__body > strong {
        font-size: 19px;
    }

    body.hp-character-profile-v2 .hp-character-story-card__excerpt {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.hp-character-profile-v2 .hp-character-story-card small {
        display: block;
    }

    body.hp-character-profile-v2 .hp-character-friends .home-section__header {
        text-align: center;
    }

    body.hp-character-profile-v2 .hp-character-friends__grid {
        margin-inline: calc(-1 * var(--hp-cp-gutter));
        padding-inline: var(--hp-cp-gutter);
        scroll-padding-inline: var(--hp-cp-gutter);
    }

    body.hp-character-profile-v2 .hp-character-friend-card {
        min-width: min(82vw, 325px);
        flex-basis: min(82vw, 325px);
    }

    body.hp-character-profile-v2 .s-footer__main {
        padding-block: 42px;
    }

    body.hp-character-profile-v2 .footer-grid {
        gap: 10px;
    }

    body.hp-character-profile-v2 .footer-column {
        padding: 22px;
    }

    body.hp-character-profile-v2 .footer-about-text,
    body.hp-character-profile-v2 .footer-column--newsletter > p {
        margin-bottom: 14px;
    }
}

/* Quiet report strip inside character profiles — final override */
body.hp-character-profile-v2 .content-report {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px 2px;
    border: 0;
    border-top: 1px solid rgba(23, 35, 77, 0.08);
    border-bottom: 1px solid rgba(23, 35, 77, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.hp-character-profile-v2 .content-report__icon {
    width: 32px;
    height: 32px;
    border: 0;
    color: var(--hp-cp-accent-ink);
    background: var(--hp-cp-accent-soft);
    box-shadow: none;
}

body.hp-character-profile-v2 .content-report__action {
    min-height: 34px;
    padding: 6px 2px;
    color: var(--hp-cp-navy);
    background: transparent;
    box-shadow: none;
}

body.hp-character-profile-v2 .content-report__action:hover {
    color: var(--hp-cp-accent-ink);
    background: transparent;
    box-shadow: none;
}

@media (max-width: 640px) {
    body.hp-character-profile-v2 .content-report {
        grid-template-columns: 30px minmax(0, 1fr);
        padding-block: 13px;
    }

    body.hp-character-profile-v2 .content-report__action {
        grid-column: 2;
        justify-self: start;
    }
}

/* HP TOP SPACE INTEGRATION v1 */
body.hp-character-profile-v2 {
    --hp-shell-header-bg: var(--hp-shell-page-top);
    --hp-shell-menu-bg: var(--hp-shell-page-top);
}
body.hp-character-profile-v2 .hp-character-profile-breadcrumb {
    background: var(--hp-shell-page-top);
}
body.hp-character-profile-v2 .hp-character-profile-hero {
    background:
        radial-gradient(circle at 84% 34%, rgba(255, 255, 255, 0.70), transparent 24rem),
        radial-gradient(circle at 94% 18%, var(--hp-cp-accent-soft), transparent 20rem),
        linear-gradient(180deg, var(--hp-shell-page-top) 0%, var(--hp-shell-page-top-soft) 100%);
}

/* HP CHARACTER PROFILE RESPONSIVE TYPOGRAPHY v1 — 2026-08-06 */
@media (max-width: 1080px) {
    body.hp-character-profile-v2 .hp-character-profile-breadcrumb li,
    body.hp-character-profile-v2 .hp-character-profile-breadcrumb a {
        font-size: 13px;
    }

    body.hp-character-profile-v2 .content-kicker,
    body.hp-character-profile-v2 .hp-characters-kicker,
    body.hp-character-profile-v2 .hp-character-role,
    body.hp-character-profile-v2 .hp-character-facts__label,
    body.hp-character-profile-v2 .hp-character-traits__label,
    body.hp-character-profile-v2 .hp-character-fact dt {
        font-size: 12px;
    }

    body.hp-character-profile-v2 .hp-characters-button,
    body.hp-character-profile-v2 .hp-characters-text-link {
        font-size: 15px;
    }

    body.hp-character-profile-v2 .hp-character-fact dd,
    body.hp-character-profile-v2 .hp-character-feature p,
    body.hp-character-profile-v2 .hp-character-story-card__excerpt,
    body.hp-character-profile-v2 .hp-character-friend-card p {
        font-size: 15px;
        line-height: 1.58;
    }

    body.hp-character-profile-v2 .hp-character-traits li,
    body.hp-character-profile-v2 .hp-character-story-card small,
    body.hp-character-profile-v2 .hp-character-story-card__cta {
        font-size: 13px;
        line-height: 1.5;
    }

    body.hp-character-profile-v2 .hp-character-description,
    body.hp-character-profile-v2 .hp-character-description p,
    body.hp-character-profile-v2 .hp-character-conversation__note p,
    body.hp-character-profile-v2 .hp-character-stories__header > p {
        font-size: 16px;
        line-height: 1.65;
    }
}

@media (max-width: 820px) {
    body.hp-character-profile-v2 .hp-character-description,
    body.hp-character-profile-v2 .hp-character-description p,
    body.hp-character-profile-v2 .hp-character-conversation__note p,
    body.hp-character-profile-v2 .hp-character-stories__header > p {
        font-size: 16.5px;
        line-height: 1.68;
    }

    body.hp-character-profile-v2 .hp-character-fact dd,
    body.hp-character-profile-v2 .hp-character-feature p,
    body.hp-character-profile-v2 .hp-character-story-card__excerpt,
    body.hp-character-profile-v2 .hp-character-friend-card p {
        font-size: 15.5px;
        line-height: 1.62;
    }

    body.hp-character-profile-v2 .hp-characters-button,
    body.hp-character-profile-v2 .hp-characters-text-link {
        font-size: 15.5px;
    }
}

/* HP GLOBAL TYPOGRAPHY NORMALIZATION v1 */
body.hp-character-profile-v2 .hp-character-about__copy h2,
body.hp-character-profile-v2 .hp-character-conversation h2,
body.hp-character-profile-v2 .hp-character-feature h2,
body.hp-character-profile-v2 .hp-character-friends h2,
body.hp-character-profile-v2 .hp-character-stories__header h2,
body.hp-character-profile-v2 .hp-character-traits h2 {
    font-size: var(--hp-type-h2, 2rem);
    line-height: var(--hp-line-heading, 1.15);
}

body.hp-character-profile-v2 .hp-character-conversation__note h3,
body.hp-character-profile-v2 .hp-character-feature h3,
body.hp-character-profile-v2 .hp-character-friend-card h3 {
    font-size: var(--hp-type-h3, 1.4375rem);
    line-height: 1.25;
}

body.hp-character-profile-v2 .content-detail-hero .lead {
    font-size: var(--hp-type-lead, 1.125rem);
    line-height: var(--hp-line-body, 1.6);
}

body.hp-character-profile-v2 .hp-character-conversation__note p,
body.hp-character-profile-v2 .hp-character-description,
body.hp-character-profile-v2 .hp-character-description p,
body.hp-character-profile-v2 .hp-character-feature p,
body.hp-character-profile-v2 .hp-character-friend-card p,
body.hp-character-profile-v2 .hp-character-stories__header > p,
body.hp-character-profile-v2 .hp-character-story-card__excerpt {
    font-size: var(--hp-type-body, 1rem);
    line-height: var(--hp-line-body, 1.6);
}

body.hp-character-profile-v2 .content-kicker,
body.hp-character-profile-v2 .hp-character-fact dd,
body.hp-character-profile-v2 .hp-character-fact dt,
body.hp-character-profile-v2 .hp-character-facts__label,
body.hp-character-profile-v2 .hp-character-feature__number,
body.hp-character-profile-v2 .hp-character-profile-breadcrumb a,
body.hp-character-profile-v2 .hp-character-profile-breadcrumb li,
body.hp-character-profile-v2 .hp-character-role,
body.hp-character-profile-v2 .hp-character-story-card small,
body.hp-character-profile-v2 .hp-character-story-card__type,
body.hp-character-profile-v2 .hp-character-traits li,
body.hp-character-profile-v2 .hp-character-traits__label,
body.hp-character-profile-v2 .hp-characters-kicker {
    font-size: var(--hp-type-small, .875rem);
    line-height: var(--hp-line-small, 1.45);
}

body.hp-character-profile-v2 .hp-character-traits li {
    font-size: var(--hp-type-micro, .8125rem);
    line-height: var(--hp-line-small, 1.45);
}

body.hp-character-profile-v2 .hp-character-story-card__cta,
body.hp-character-profile-v2 .hp-characters-button,
body.hp-character-profile-v2 .hp-characters-text-link {
    font-size: var(--hp-type-body, 1rem);
    line-height: 1.3;
    min-height: var(--hp-touch-min, 44px);
}

/* END HP GLOBAL TYPOGRAPHY NORMALIZATION v1 */
