.cs-profile-app{max-width:980px;margin:0 auto;font-family:inherit}.cs-form{display:grid;gap:18px;max-width:560px;padding:28px;border:1px solid rgba(127,127,127,.25);border-radius:18px;background:rgba(255,255,255,.04)}.cs-form--wide{max-width:980px}.cs-form label{display:grid;gap:7px;font-weight:600}.cs-form input,.cs-form select,.cs-form textarea{width:100%;padding:12px 14px;border:1px solid rgba(127,127,127,.4);border-radius:10px;background:var(--e-global-color-primary,#fff);background:#fff;color:#111;box-sizing:border-box}.cs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cs-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important;font-weight:400!important}.cs-check input{width:auto}.cs-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border:0;border-radius:10px;background:#1689ff;color:#fff!important;text-decoration:none;font-weight:700;cursor:pointer}.cs-button--secondary{background:rgba(127,127,127,.18);color:inherit!important}.cs-notice{padding:14px 16px;margin:0 0 20px;border-radius:10px}.cs-notice--success{background:#e8f7ee;color:#156b35}.cs-notice--error{background:#fdecec;color:#9f2424}.cs-profile-head,.cs-user-card{position:relative;overflow:hidden;border-radius:18px}.cs-banner{display:block;width:100%;height:240px;object-fit:cover;background:#222}.cs-profile-head .cs-avatar{position:absolute;left:28px;bottom:18px}.cs-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;background:#ddd;border:4px solid #fff}.cs-user-card{border:1px solid rgba(127,127,127,.25);background:rgba(255,255,255,.04)}.cs-user-card__body{display:flex;align-items:center;gap:18px;padding:24px}.cs-user-card h1{margin:0 0 8px}.cs-badges{display:flex;gap:8px;flex-wrap:wrap}.cs-badges span{padding:4px 9px;border-radius:999px;background:rgba(22,137,255,.16)}.cs-badges .cs-online{background:#dff6e8;color:#126b33}.cs-user-card dl{display:flex;gap:24px;padding:0 24px}.cs-user-card dl div{display:grid}.cs-user-card dt{font-size:.8rem;opacity:.65}.cs-user-card dd{margin:0;font-weight:700}.cs-description{padding:0 24px 24px}.cs-user-card>.cs-button{margin:0 0 24px 24px}.cs-options{display:flex;gap:20px;flex-wrap:wrap}@media(max-width:700px){.cs-grid{grid-template-columns:1fr}.cs-banner{height:160px}.cs-user-card__body{align-items:flex-end}.cs-avatar{width:86px;height:86px}.cs-profile-head .cs-avatar{left:16px;bottom:12px}}

/* v1.3.4: public profile polish */
.cs-avatar{display:block}
.cs-membership-badge{box-sizing:border-box}
.cs-user-card>.cs-private-message-button{margin:24px 24px 24px 24px}
.cs-private-message-button,.cs-private-message-button:hover{background-color:transparent}
body:has(.elementor-widget-cruisingsuomi-public-profile .cs-public-profile) .entry-title,
body:has(.elementor-widget-cruisingsuomi-public-profile .cs-public-profile) .page-header{display:none!important}

/* v1.3.6: presence controls and private-message outline defaults */
.cs-badges .cs-offline{background:rgba(127,127,127,.18);color:inherit}
.cs-presence-badge{box-sizing:border-box}
.cs-private-message-button{border-style:solid;border-width:1px}


/* v1.4.0: richer public profile */
.elementor-widget-cruisingsuomi-public-profile .cs-public-profile{width:100%;max-width:none}
.cs-user-card--full{width:100%;max-width:none;box-sizing:border-box}
.cs-profile-section{margin:0;padding:24px;border-top:1px solid rgba(127,127,127,.16)}
.cs-profile-section__title{margin:0 0 16px;font-size:1.15rem}
.cs-physical-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cs-physical-card{display:grid;gap:6px;padding:16px;border:1px solid rgba(127,127,127,.22);border-radius:12px;background:rgba(255,255,255,.035);text-align:center;box-sizing:border-box}
.cs-physical-card__label{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;opacity:.72}
.cs-physical-card__value{font-size:1.15rem}
.cs-preferences-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cs-preference-chip{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid rgba(127,127,127,.22);border-radius:10px;box-sizing:border-box}
.cs-preference-chip.is-on{background:rgba(55,180,90,.08);border-color:rgba(55,180,90,.28)}
.cs-preference-chip.is-on .cs-preference-chip__icon{color:#39b86a}
.cs-preference-chip.is-off{background:rgba(220,70,70,.05);border-color:rgba(220,70,70,.18);opacity:.72}
.cs-preference-chip.is-off .cs-preference-chip__icon{color:#d95b5b}
.cs-profile-edit-section{display:grid;gap:12px;padding-top:8px}
.cs-profile-edit-section h3{margin:0}
.cs-preference-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cs-preference-toggle{display:flex!important;grid-template-columns:none!important;align-items:center;gap:9px!important;padding:12px;border:1px solid rgba(127,127,127,.25);border-radius:10px;font-weight:500!important}
.cs-preference-toggle input{width:auto!important}
@media(max-width:700px){.cs-physical-grid{grid-template-columns:1fr}.cs-preferences-grid,.cs-preference-edit-grid{grid-template-columns:1fr}.cs-profile-section{padding:18px}}

.cs-video-call-button{margin:0 0 24px 24px!important;background:#111318!important;border:1px solid #ff1744!important;color:#fff!important}
.cs-video-call-button:hover:not(:disabled){background:#ff1744!important}.cs-video-call-button:disabled{opacity:.45;cursor:not-allowed}.cs-video-call-hint{margin:-14px 24px 24px;color:#999;font-size:.82rem}

/* v1.4.6: julkisen profiilin yhteydenottopainikkeet */
.cs-profile-contact-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.cs-profile-contact-actions .cs-private-message-button,
.cs-profile-contact-actions .cs-video-call-button{margin:0!important}
.cs-profile-contact-actions .cs-video-call-button{background:transparent!important;border:1px solid #ff1744!important;color:#fff!important}
.cs-profile-contact-actions .cs-video-call-button:hover{background:#ff1744!important;color:#fff!important}
@media(max-width:600px){.cs-profile-contact-actions{align-items:stretch}.cs-profile-contact-actions .cs-button{width:100%}}

/* v1.4.7: profiilin yhteydenottoalue ja muokattava videokuvake */
.cs-profile-contact-actions{
    padding-bottom:28px;
}
.cs-video-call-button{
    gap:7px;
}
.cs-video-call-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    flex:0 0 auto;
}
.cs-video-call-icon svg{
    display:block;
    width:1em;
    height:1em;
}
.cs-video-call-label{
    display:inline-block;
}


/* v1.4.8: yhteydenottopainikkeiden vasen reuna samaan linjaan profiilin muun sisällön kanssa */
.cs-user-card .cs-profile-contact-actions{
    width:100%;
    box-sizing:border-box;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    justify-content:flex-start;
}
.cs-user-card .cs-profile-contact-actions .cs-private-message-button,
.cs-user-card .cs-profile-contact-actions .cs-video-call-button{
    margin-left:0 !important;
}


/* v1.4.9: yhteydenottopainikkeet samaan 24 px sisältölinjaan kuin profiilin osiot */
.cs-user-card .cs-profile-contact-actions{
    width:auto !important;
    box-sizing:border-box;
    margin:18px 0 0 0 !important;
    padding-left:24px !important;
    padding-right:24px !important;
    padding-bottom:28px;
    justify-content:flex-start;
}
.cs-user-card .cs-profile-contact-actions .cs-private-message-button,
.cs-user-card .cs-profile-contact-actions .cs-video-call-button{
    margin-left:0 !important;
    margin-right:0 !important;
}
@media(max-width:700px){
    .cs-user-card .cs-profile-contact-actions{
        padding-left:18px !important;
        padding-right:18px !important;
    }
}


/* v1.5.1: registration verification, legal links and Elementor styling */
.cs-register-app .cs-register-form{box-sizing:border-box}
.cs-register-form .cs-field__help{display:block;margin-top:2px;font-size:.78em;font-weight:400;opacity:.65;line-height:1.35}
.cs-register-form .cs-check span{line-height:1.45}
.cs-register-legal-link{text-decoration:underline;text-underline-offset:2px}
.cs-verification-info{display:grid;gap:4px;max-width:560px;margin:0 0 16px;padding:14px 16px;border:1px solid rgba(36,190,100,.25);border-radius:12px;background:rgba(36,190,100,.08);box-sizing:border-box}
.cs-verification-info span{font-size:.9em;opacity:.8}
.cs-register-resend{display:grid;gap:9px;max-width:560px;margin-top:14px;padding:16px;border:1px solid rgba(127,127,127,.18);border-radius:12px;background:rgba(255,255,255,.02);box-sizing:border-box}
.cs-register-resend__title{font-size:.88rem;font-weight:700;opacity:.78}
.cs-register-resend__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.cs-register-resend input{width:100%;min-width:0;padding:10px 12px;border:1px solid rgba(127,127,127,.4);border-radius:9px;background:#fff;color:#111;box-sizing:border-box}
.cs-register-submit{border:1px solid transparent}
@media(max-width:560px){.cs-register-resend__row{grid-template-columns:1fr}.cs-register-resend__row .cs-button{width:100%}}


/* v1.5.6: bannerin kiinteä kuvasuhde, käyttäjän rajaus ja mediapoisto */
.cs-banner-frame{
    position:relative;
    width:100%;
    aspect-ratio:16 / 7;
    overflow:hidden;
    background:#222;
}
.cs-banner-frame .cs-banner{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.cs-user-card>.cs-banner-frame{
    border-radius:0;
}
.cs-profile-head .cs-banner-frame{
    border-radius:18px;
}
.cs-banner-editor{
    cursor:grab;
    user-select:none;
    touch-action:none;
}
.cs-banner-editor.is-dragging{cursor:grabbing}
.cs-banner-editor.is-empty{
    min-height:150px;
    background:linear-gradient(135deg,rgba(127,127,127,.18),rgba(127,127,127,.08));
}
.cs-banner-editor.is-empty .cs-banner{display:none}
.cs-banner-editor__hint{
    position:absolute;
    left:50%;
    bottom:12px;
    transform:translateX(-50%);
    z-index:2;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(0,0,0,.68);
    color:#fff;
    font-size:.78rem;
    line-height:1;
    pointer-events:none;
    opacity:.9;
    white-space:nowrap;
}
.cs-banner-editor.is-empty .cs-banner-editor__hint{
    top:50%;
    bottom:auto;
    transform:translate(-50%,-50%);
}
.cs-media-field{
    display:grid;
    gap:8px;
    align-content:start;
}
.cs-media-remove{
    justify-self:start;
    padding:8px 12px;
    font-size:.86rem;
}
.cs-media-field.is-marked-for-removal .cs-media-remove{
    opacity:.65;
}
.cs-media-field.is-marked-for-removal .cs-media-remove::after{
    content:" ✓";
}
@media(max-width:700px){
    .cs-banner-editor__hint{font-size:.72rem}
}

/* v1.5.8: hallittavat mieltymykset ja kiinnostuksen kohteet */
.cs-taxonomy-edit-section{margin-top:10px}
.cs-taxonomy-edit-groups{display:grid;gap:18px}
.cs-taxonomy-edit-group{display:grid;gap:9px}
.cs-taxonomy-edit-group h4{margin:0;font-size:.92rem;opacity:.78}
.cs-tag-selector,.cs-profile-tags{display:flex;flex-wrap:wrap;gap:8px}
.cs-tag-choice{position:relative;display:inline-flex!important;align-items:center!important;grid-template-columns:none!important;gap:0!important;width:auto!important;padding:0!important;border:0!important;font-weight:600!important;cursor:pointer}
.cs-tag-choice input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.cs-tag-choice span,.cs-profile-tag{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid rgba(127,127,127,.28);border-radius:999px;background:rgba(255,255,255,.035);box-sizing:border-box;font-size:.88rem;line-height:1.15;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}
.cs-tag-choice:hover span{border-color:rgba(22,137,255,.55)}
.cs-tag-choice.is-selected span{border-color:rgba(55,180,90,.42);background:rgba(55,180,90,.11)}
.cs-tag-choice.is-selected span::before{content:"✓";margin-right:6px;color:#39b86a;font-weight:800}
.cs-public-term-groups{display:grid;gap:15px}
.cs-public-term-group{display:grid;gap:8px}
.cs-public-term-group__title{margin:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.045em;opacity:.62}
.cs-preferences-section .cs-profile-tag{border-color:rgba(55,180,90,.30);background:rgba(55,180,90,.08)}
.cs-interests-section .cs-profile-tag,.cs-roles-section .cs-profile-tag,.cs-looking-for-section .cs-profile-tag{background:rgba(255,255,255,.04)}
@media(max-width:700px){.cs-tag-selector,.cs-profile-tags{gap:7px}.cs-tag-choice span,.cs-profile-tag{min-height:32px;padding:6px 10px;font-size:.84rem}}

/* v1.5.10: kiinnostusten kompakti haku- ja accordion-valitsin */
.cs-taxonomy-selector.is-enhanced{display:grid;gap:14px}
.cs-taxonomy-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cs-taxonomy-search-label{flex:1 1 260px;margin:0!important}
.cs-taxonomy-search{width:100%;min-height:42px;padding:9px 13px;border:1px solid rgba(127,127,127,.3);border-radius:8px;background:rgba(255,255,255,.035);color:inherit;box-sizing:border-box}
.cs-taxonomy-search::placeholder{opacity:.6}
.cs-taxonomy-open{white-space:nowrap}
.cs-taxonomy-selected{display:grid;gap:8px;padding:12px 14px;border:1px solid rgba(127,127,127,.18);border-radius:9px;background:rgba(255,255,255,.022)}
.cs-taxonomy-selected__heading{display:flex;align-items:center;gap:6px;font-size:.84rem}
.cs-taxonomy-selected__heading [data-cs-selected-count]::before{content:"("}.cs-taxonomy-selected__heading [data-cs-selected-count]::after{content:")"}
.cs-taxonomy-selected__tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.cs-selected-tag{appearance:none;border:1px solid rgba(55,180,90,.35);border-radius:999px;background:rgba(55,180,90,.1);color:inherit;padding:6px 10px;font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}
.cs-selected-tag:hover{border-color:rgba(55,180,90,.65);background:rgba(55,180,90,.16)}
.cs-taxonomy-selector.is-enhanced .cs-taxonomy-edit-groups{gap:8px}
.cs-taxonomy-selector.is-enhanced .cs-taxonomy-edit-group{display:block;border:1px solid rgba(127,127,127,.16);border-radius:9px;overflow:hidden;background:rgba(255,255,255,.018)}
.cs-taxonomy-group-toggle{width:100%;display:grid;grid-template-columns:1fr auto auto;gap:9px;align-items:center;text-align:left;border:0;background:transparent;color:inherit;padding:11px 13px;font:inherit;font-weight:700;cursor:pointer}
.cs-taxonomy-group-toggle:hover{background:rgba(255,255,255,.025)}
.cs-taxonomy-group-count{font-size:.76rem;font-weight:600;opacity:.58}
.cs-taxonomy-chevron{font-size:1rem;opacity:.65;transition:transform .15s ease}
.cs-taxonomy-edit-group.is-open .cs-taxonomy-chevron{transform:rotate(180deg)}
.cs-taxonomy-selector.is-enhanced .cs-tag-selector{padding:4px 13px 13px}
.cs-taxonomy-selector.is-enhanced .cs-tag-choice.is-filtered-out{display:none!important}
.cs-taxonomy-no-results{margin:8px 0 0}
.cs-taxonomy-selector.is-compact .cs-taxonomy-selected{margin-bottom:0}
@media(max-width:700px){.cs-taxonomy-toolbar{display:grid;grid-template-columns:1fr}.cs-taxonomy-open{width:100%}.cs-taxonomy-group-toggle{padding:10px 11px}.cs-taxonomy-selector.is-enhanced .cs-tag-selector{padding:3px 11px 11px}}
.cs-taxonomy-selector.is-compact:not(.is-expanded) .cs-taxonomy-search-label{display:none!important}

/* v1.5.12: CruisingSuomi public profile redesign */
.elementor-widget-cruisingsuomi-public-profile{
    --cs-profile-accent:#fe010a;
    --cs-profile-bg:#0b0e12;
    --cs-profile-surface:#11151a;
    --cs-profile-surface-2:#151a20;
    --cs-profile-surface-3:#1a2027;
    --cs-profile-border:#2a3038;
    --cs-profile-hero-border-width:0px;
    --cs-profile-hero-border-style:solid;
    --cs-profile-hero-border-color:var(--cs-profile-border);
    --cs-profile-content-border-width:1px;
    --cs-profile-content-border-style:solid;
    --cs-profile-content-border-color:var(--cs-profile-border);
    --cs-profile-sidebar-border-width:1px;
    --cs-profile-sidebar-border-style:solid;
    --cs-profile-sidebar-border-color:var(--cs-profile-border);
    --cs-profile-inner-border-width:1px;
    --cs-profile-inner-border-style:solid;
    --cs-profile-inner-border-color:var(--cs-profile-border);
    --cs-profile-gallery-border-width:1px;
    --cs-profile-gallery-border-style:solid;
    --cs-profile-gallery-border-color:var(--cs-profile-border);
    --cs-profile-avatar-border-width:2px;
    --cs-profile-avatar-border-style:solid;
    --cs-profile-avatar-border-color:#3a414a;
    --cs-profile-stats-account-border-width:1px;
    --cs-profile-stats-account-border-style:solid;
    --cs-profile-stats-account-border-color:var(--cs-profile-border);
    --cs-profile-text:#f7f8fa;
    --cs-profile-muted:#9ba3ae;
    --cs-profile-success:#35c759;
    --cs-profile-gold:#e4b922;
    --cs-profile-radius:14px;
}
.elementor-widget-cruisingsuomi-public-profile .cs-profile-app:has(.cs-public-profile-v2){max-width:none;width:100%}
.elementor-widget-cruisingsuomi-public-profile .cs-public-profile-v2{
    width:100%;max-width:none;margin:0;padding:0;overflow:visible;border:0;border-radius:0;
    background:transparent;color:var(--cs-profile-text);font-family:inherit;box-shadow:none;
}
.cs-public-profile-v2 *{box-sizing:border-box}
.cs-public-profile-v2 button,.cs-public-profile-v2 a{font-family:inherit}
.cs-public-profile-v2 [hidden]{display:none!important}
.cs-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Hero */
.cs-public-profile-v2 .cs-public-hero{
    position:relative;overflow:hidden;margin:0 0 22px;border:var(--cs-profile-hero-border-width) var(--cs-profile-hero-border-style) var(--cs-profile-hero-border-color);
    border-radius:var(--cs-profile-radius);background:linear-gradient(135deg,#0c1014,#12171d);
    box-shadow:0 18px 50px rgba(0,0,0,.28);
}
.cs-public-profile-v2 .cs-public-hero__banner{position:relative;width:100%;height:285px;overflow:hidden;background:linear-gradient(135deg,#171a1f,#0e1115)}
.cs-public-profile-v2 .cs-public-hero__banner::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04) 40%,rgba(8,11,15,.42) 100%);pointer-events:none}
.cs-public-profile-v2 .cs-public-hero__banner.is-empty::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 25%,rgba(254,1,10,.12),transparent 38%),linear-gradient(135deg,#171a1f,#090c10)}
.cs-public-profile-v2 .cs-public-hero__banner .cs-banner{width:100%;height:100%;object-fit:cover;border:0;border-radius:0}
.cs-public-profile-v2 .cs-public-hero__content{position:relative;min-height:152px;padding:22px 24px 24px 196px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(90deg,#0e1217 0%,#11161b 70%,#0d1115 100%)}
.cs-public-profile-v2 .cs-public-identity{display:flex;align-items:flex-end;min-width:0}
.cs-public-profile-v2 .cs-public-avatar-wrap{position:absolute;z-index:3;left:26px;top:-84px;width:148px;height:184px;border:var(--cs-profile-avatar-border-width) var(--cs-profile-avatar-border-style) var(--cs-profile-avatar-border-color);border-radius:16px;overflow:hidden;background:#0a0d11;box-shadow:0 12px 30px rgba(0,0,0,.48)}
.cs-public-profile-v2 .cs-public-avatar-wrap .cs-avatar{display:block;width:100%;height:100%;border:0;border-radius:14px;object-fit:cover;background:#111}
.cs-public-profile-v2 .cs-public-avatar-status{position:absolute;right:10px;bottom:10px;width:18px;height:18px;border:3px solid #10151a;border-radius:50%;background:#626a74;box-shadow:0 0 0 2px rgba(0,0,0,.18)}
.cs-public-profile-v2 .cs-public-avatar-status.is-online{background:var(--cs-profile-success)}
.cs-public-profile-v2 .cs-public-identity__text{display:grid;gap:9px;min-width:0}
.cs-public-profile-v2 .cs-public-identity__text h1{margin:0;color:#fff;font-size:clamp(2rem,3vw,3.2rem);font-weight:850;line-height:.95;letter-spacing:-.035em;text-transform:none}
.cs-public-profile-v2 .cs-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cs-public-profile-v2 .cs-badges span{display:inline-flex;align-items:center;min-height:26px;padding:5px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#20262d;color:#f8f9fb;font-size:.78rem;font-weight:750;line-height:1}
.cs-public-profile-v2 .cs-badges .cs-online{border-color:rgba(53,199,89,.55);background:var(--cs-profile-success);color:#07150b}
.cs-public-profile-v2 .cs-badges .cs-offline{background:#242a31;color:#b8bec6}
.cs-public-profile-v2 .cs-public-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:#eef1f4;font-size:.94rem}
.cs-public-profile-v2 .cs-public-meta>span{display:inline-flex;align-items:center;gap:7px}
.cs-public-profile-v2 .cs-public-meta strong{font-weight:760;color:#fff}
.cs-public-profile-v2 .cs-public-meta .cs-ui-icon{color:#fff}
.cs-public-profile-v2 .cs-public-hero__actions{display:flex!important;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:nowrap!important;max-width:none;min-width:0;flex:1 1 auto}
.cs-public-profile-v2 .cs-public-hero__actions .cs-button{min-height:46px;padding:11px 18px;border:1px solid var(--cs-profile-accent);border-radius:10px;background:var(--cs-profile-accent)!important;color:#fff!important;font-size:.9rem;font-weight:800;box-shadow:none;gap:8px}
.cs-public-profile-v2 .cs-public-hero__actions .cs-video-call-button{background:transparent!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-video-call-button:hover,.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button:hover{background:var(--cs-profile-accent)!important}
.cs-public-profile-v2 .cs-public-hero-like.cs-social-like{width:46px;height:46px;min-width:46px;margin:0;padding:0;border:1px solid #46505c;border-radius:50%;background:#10151b;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:.82rem}
.cs-public-profile-v2 .cs-public-hero-like.cs-social-like.is-liked{border-color:var(--cs-profile-accent);color:var(--cs-profile-accent);background:rgba(254,1,10,.07)}


/* v1.5.13: follow controls live in the hero action strip */
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow{
    display:inline-flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow>*{margin:0!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow .cs-button,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow button,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-button{
    min-height:46px!important;padding:11px 18px!important;border-radius:10px!important;white-space:nowrap!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow .cs-follow-stat,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow .cs-connection-stat,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow [class*="follow-count"],
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow [class*="followers"],
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow [class*="following"]{
    display:inline-grid!important;align-content:center!important;justify-items:center!important;gap:2px!important;min-width:52px!important;min-height:46px!important;padding:4px 7px!important;
    border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow strong,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow b{color:#fff!important;font-size:.92rem!important;line-height:1!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow small,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow span{line-height:1.15}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow small{color:var(--cs-profile-muted)!important;font-size:.68rem!important}
.cs-public-profile-v2 .cs-public-panel[data-cs-public-panel="stats"] .cs-profile-follow-stats,
.cs-public-profile-v2 .cs-public-panel[data-cs-public-panel="stats"] .cs-follow-stats,
.cs-public-profile-v2 .cs-public-panel[data-cs-public-panel="stats"] .cs-connections-profile,
.cs-public-profile-v2 .cs-public-panel[data-cs-public-panel="stats"] [data-cs-profile-connections]{display:none!important}

/* Two-column profile workspace */
.cs-public-profile-v2 .cs-public-layout{display:grid;grid-template-columns:228px minmax(0,1fr);align-items:start;gap:22px}
.cs-public-profile-v2 .cs-public-sidebar{position:sticky;top:24px;display:grid;gap:14px;min-width:0}
.cs-public-profile-v2 .cs-public-nav,.cs-public-profile-v2 .cs-public-sidebar__info,.cs-public-profile-v2 .cs-public-sidebar__award-preview,.cs-public-profile-v2 .cs-public-sidebar__report{border:var(--cs-profile-sidebar-border-width) var(--cs-profile-sidebar-border-style) var(--cs-profile-sidebar-border-color);border-radius:var(--cs-profile-radius);background:linear-gradient(160deg,#10151a,#0d1115);overflow:hidden}
.cs-public-profile-v2 .cs-public-nav{padding:7px}
.cs-public-profile-v2 .cs-public-nav__item{appearance:none;width:100%;min-height:48px;padding:0 14px;border:0;border-radius:9px;background:transparent;color:#edf0f3;display:flex;align-items:center;gap:12px;text-align:left;font-size:.94rem;font-weight:720;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}
.cs-public-profile-v2 .cs-public-nav__item:hover{background:rgba(255,255,255,.045)}
.cs-public-profile-v2 .cs-public-nav__item.is-active{background:linear-gradient(135deg,var(--cs-profile-accent),#d80008);color:#fff;box-shadow:0 8px 24px rgba(254,1,10,.16)}
.cs-public-profile-v2 .cs-public-nav__item .cs-ui-icon{color:#fff}
.cs-public-profile-v2 .cs-public-sidebar__info{padding:11px 14px}
.cs-public-profile-v2 .cs-public-sidebar__row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.055)}
.cs-public-profile-v2 .cs-public-sidebar__row:last-of-type{border-bottom:0}
.cs-public-profile-v2 .cs-public-sidebar__row .cs-ui-icon{margin-top:2px;color:#fff}
.cs-public-profile-v2 .cs-public-sidebar__row span:last-child{display:grid;gap:2px}
.cs-public-profile-v2 .cs-public-sidebar__row small{color:var(--cs-profile-muted);font-size:.72rem;line-height:1.2}
.cs-public-profile-v2 .cs-public-sidebar__row strong{color:#fff;font-size:.85rem;line-height:1.25}
.cs-public-profile-v2 .cs-public-sidebar__dynamic{display:grid;gap:0}
.cs-public-profile-v2 .cs-social-stat--sidebar{padding:10px 0;border-top:1px solid rgba(255,255,255,.055);display:grid!important;grid-template-columns:1fr!important;gap:2px!important;background:none!important;border-radius:0!important}
.cs-public-profile-v2 .cs-social-stat--sidebar .cs-social-stat__value{font-size:.9rem;font-weight:800;color:#fff}
.cs-public-profile-v2 .cs-social-stat--sidebar .cs-social-stat__label{font-size:.7rem;color:var(--cs-profile-muted)}

/* Sidebar award spotlight */
.cs-public-profile-v2 .cs-public-sidebar__award-preview{border-color:rgba(228,185,34,.38);background:linear-gradient(145deg,rgba(228,185,34,.09),#101317 58%)}
.cs-public-profile-v2 .cs-public-award-preview-card__title{display:flex;align-items:center;gap:8px;padding:13px 14px 8px;color:#fff;text-transform:uppercase;font-size:.82rem;letter-spacing:.035em}
.cs-public-profile-v2 .cs-contest-award-card--preview{margin:0 10px 10px!important;padding:12px!important;min-height:0!important;border-width:1px!important;border-radius:10px!important;box-shadow:none!important}
.cs-public-profile-v2 .cs-contest-award-card--preview *{max-width:100%}
.cs-public-profile-v2 .cs-public-award-preview-card__more{width:100%;padding:11px 13px;border:0;border-top:1px solid rgba(228,185,34,.24);background:rgba(255,255,255,.018);color:#fff;text-align:left;font-size:.75rem;font-weight:700;cursor:pointer}
.cs-public-profile-v2 .cs-public-award-preview-card__more:hover{background:rgba(228,185,34,.06)}
.cs-public-profile-v2 .cs-public-sidebar__report{padding:10px;background:#0c1014}
.cs-public-profile-v2 .cs-public-report-button,.cs-public-profile-v2 .cs-public-sidebar__report button{width:100%;min-height:43px;border:1px solid var(--cs-profile-accent)!important;border-radius:9px!important;background:transparent!important;color:#fff!important;font-weight:700!important}

/* Content cards */
.cs-public-profile-v2 .cs-public-content{min-width:0}
.cs-public-profile-v2 .cs-public-panel{display:grid;gap:12px;min-width:0}
.cs-public-profile-v2 .cs-public-card,.cs-public-profile-v2 .cs-public-panel[data-cs-public-panel]:not([data-cs-public-panel="profile"]){padding:20px;border:var(--cs-profile-content-border-width) var(--cs-profile-content-border-style) var(--cs-profile-content-border-color);border-radius:var(--cs-profile-radius);background:linear-gradient(145deg,var(--cs-profile-surface),#0f1318);box-shadow:0 10px 30px rgba(0,0,0,.12)}
.cs-public-profile-v2 .cs-profile-section{margin:0;padding:20px;border-top:0}
.cs-public-profile-v2 .cs-profile-section__title{display:flex;align-items:center;gap:12px;margin:0 0 15px;color:#fff;font-size:1.15rem;font-weight:820;line-height:1.2;letter-spacing:-.01em;text-transform:none}
.cs-public-profile-v2 .cs-ui-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:20px;min-width:20px;height:20px;color:var(--cs-profile-accent);font-size:1.05rem;line-height:1}
.cs-public-profile-v2 .cs-ui-icon svg{display:block;width:1em;height:1em;fill:currentColor}
.cs-public-profile-v2 .cs-description{padding:0;color:#e4e7eb;font-size:.94rem;line-height:1.65}
.cs-public-profile-v2 .cs-description p{margin:0 0 .65em}.cs-public-profile-v2 .cs-description p:last-child{margin-bottom:0}
.cs-public-profile-v2 .cs-physical-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cs-public-profile-v2 .cs-physical-card{min-height:70px;padding:13px 14px;border:var(--cs-profile-inner-border-width) var(--cs-profile-inner-border-style) var(--cs-profile-inner-border-color);border-radius:9px;background:linear-gradient(145deg,#171c22,#12171d);display:grid;align-content:center;gap:4px;text-align:left}
.cs-public-profile-v2 .cs-physical-card__label{color:var(--cs-profile-muted);font-size:.7rem;text-transform:none;letter-spacing:0;opacity:1}
.cs-public-profile-v2 .cs-physical-card__value{color:#fff;font-size:.98rem;font-weight:800}

/* Chips, categories, red/white only */
.cs-public-profile-v2 .cs-profile-tags{display:flex;flex-wrap:wrap;gap:8px}
.cs-public-profile-v2 .cs-profile-tag{min-height:31px;padding:6px 11px;border:1px solid rgba(254,1,10,.76);border-radius:999px;background:rgba(255,255,255,.025);color:#f5f6f8;font-size:.78rem;font-weight:590;line-height:1.1;box-shadow:none}
.cs-public-profile-v2 .cs-preferences-section .cs-profile-tag,.cs-public-profile-v2 .cs-interests-section .cs-profile-tag,.cs-public-profile-v2 .cs-roles-section .cs-profile-tag,.cs-public-profile-v2 .cs-looking-for-section .cs-profile-tag{border-color:rgba(254,1,10,.76);background:rgba(255,255,255,.025)}
.cs-public-profile-v2 .cs-public-term-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cs-public-profile-v2 .cs-public-term-group{display:grid;align-content:start;gap:10px;padding:13px;border:var(--cs-profile-inner-border-width) var(--cs-profile-inner-border-style) var(--cs-profile-inner-border-color);border-radius:10px;background:rgba(255,255,255,.018)}
.cs-public-profile-v2 .cs-public-term-group__title{margin:0;color:#f1f3f5;font-size:.78rem;font-weight:800;text-transform:none;letter-spacing:0;opacity:1}
.cs-public-profile-v2 .cs-public-term-group__title::before{content:"•";margin-right:7px;color:var(--cs-profile-accent)}
.cs-public-profile-v2 .cs-looking-for-section .cs-public-term-groups{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Dedicated Kuvat / Palkinnot / Tilastot panels */
.cs-public-profile-v2 .cs-public-panel[data-cs-public-panel]:not([data-cs-public-panel="profile"]){padding:22px;min-height:360px}
.cs-public-profile-v2 .cs-public-tab-heading{display:flex;align-items:flex-start;gap:13px;padding-bottom:16px;margin-bottom:4px;border-bottom:1px solid rgba(255,255,255,.065)}
.cs-public-profile-v2 .cs-public-tab-heading .cs-ui-icon{margin-top:4px}
.cs-public-profile-v2 .cs-public-tab-heading h2{margin:0;color:#fff;font-size:1.45rem;font-weight:850;letter-spacing:-.02em}
.cs-public-profile-v2 .cs-public-tab-heading p{margin:4px 0 0;color:var(--cs-profile-muted);font-size:.84rem}
.cs-public-profile-v2 .cs-public-tab-slot{min-width:0}
.cs-public-profile-v2 .cs-public-empty,.cs-public-profile-v2 .cs-public-stats-placeholder{margin:22px 0;color:var(--cs-profile-muted)}

/* Gallery module adaptation */
.cs-public-profile-v2 .cs-gallery-profile{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.cs-public-profile-v2 .cs-gallery-profile .cs-gallery-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:18px!important}
.cs-public-profile-v2 .cs-gallery-profile .cs-gallery-item,.cs-public-profile-v2 .cs-gallery-profile .cs-gallery-card{border:var(--cs-profile-gallery-border-width) var(--cs-profile-gallery-border-style) var(--cs-profile-gallery-border-color)!important;border-radius:10px!important;overflow:hidden!important;background:#0d1115!important;box-shadow:none!important}
.cs-public-profile-v2 .cs-gallery-profile img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.cs-public-profile-v2 .cs-gallery-profile .cs-social-like{border-color:#3a424c!important;background:#11161c!important;color:#fff!important}
.cs-public-profile-v2 .cs-gallery-profile .cs-social-like.is-liked{border-color:var(--cs-profile-accent)!important;color:var(--cs-profile-accent)!important}

/* Awards and achievements adaptation */
.cs-public-profile-v2 .cs-contest-profile-awards,.cs-public-profile-v2 .cs-achievements{margin:18px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
.cs-public-profile-v2 .cs-contest-profile-awards__heading,.cs-public-profile-v2 .cs-achievements__title{color:#fff!important}
.cs-public-profile-v2 .cs-contest-award-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.cs-public-profile-v2 .cs-contest-award-card{border-radius:11px!important}

/* Social statistics module adaptation */
.cs-public-profile-v2 .cs-social-profile{margin:18px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
.cs-public-profile-v2 .cs-social-profile__stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.cs-public-profile-v2 .cs-social-profile__stats>.cs-social-like{display:none!important}
.cs-public-profile-v2 .cs-social-stat{min-height:92px;padding:16px;border:var(--cs-profile-inner-border-width) var(--cs-profile-inner-border-style) var(--cs-profile-inner-border-color);border-radius:10px;background:linear-gradient(145deg,#171c22,#11161b);display:grid;align-content:center;gap:6px}
.cs-public-profile-v2 .cs-social-stat__value{color:#fff;font-size:1.25rem;font-weight:850}
.cs-public-profile-v2 .cs-social-stat__label{color:var(--cs-profile-muted);font-size:.76rem}
.cs-public-profile-v2 .cs-social-upsell{margin:14px 0;padding:13px 15px;border:1px solid rgba(254,1,10,.24);border-radius:9px;background:rgba(254,1,10,.045)}
.cs-public-profile-v2 .cs-social-identity-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin-top:16px!important}
.cs-public-profile-v2 .cs-social-identities{padding:15px;border:var(--cs-profile-inner-border-width) var(--cs-profile-inner-border-style) var(--cs-profile-inner-border-color);border-radius:10px;background:#11161b}
.cs-public-profile-v2 .cs-social-identities h3{margin:0 0 10px;color:#fff;font-size:1rem}
.cs-public-profile-v2 .cs-social-identities ul{margin:0;padding:0;list-style:none}
.cs-public-profile-v2 .cs-social-identity-row{padding:9px 0;border-top:1px solid rgba(255,255,255,.055)}
.cs-public-profile-v2 .cs-social-identity-row a{color:#fff;text-decoration:none;font-weight:650}
.cs-public-profile-v2 .cs-social-identity-time{color:var(--cs-profile-muted)}

/* Remaining legacy integrations stay functional but inherit the modern card language. */
.cs-public-profile-v2 .cs-profile-integrations{display:grid;gap:12px;margin-top:0}
.cs-public-profile-v2 .cs-profile-integrations:empty{display:none}
.cs-public-profile-v2 .cs-profile-integrations>section,.cs-public-profile-v2 .cs-profile-integrations>div{border-radius:10px}

/* Responsive */
@media(max-width:1000px){
    .cs-public-profile-v2 .cs-public-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}
    .cs-public-profile-v2 .cs-public-hero__content{padding-left:174px}
    .cs-public-profile-v2 .cs-public-avatar-wrap{left:20px;width:136px;height:170px}
    .cs-public-profile-v2 .cs-public-term-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
    .cs-public-profile-v2 .cs-public-hero__banner{height:210px}
    .cs-public-profile-v2 .cs-public-hero__content{padding:84px 16px 18px;display:grid;gap:17px}
    .cs-public-profile-v2 .cs-public-avatar-wrap{left:16px;top:-74px;width:118px;height:148px}
    .cs-public-profile-v2 .cs-public-identity__text{padding-left:132px;min-height:60px}
    .cs-public-profile-v2 .cs-public-identity__text h1{font-size:2rem}
    .cs-public-profile-v2 .cs-public-hero__actions{max-width:none;justify-content:flex-start}
    .cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow{flex-wrap:wrap!important}
    .cs-public-profile-v2 .cs-public-layout{grid-template-columns:1fr;gap:14px}
    .cs-public-profile-v2 .cs-public-sidebar{position:static;display:grid;gap:10px}
    .cs-public-profile-v2 .cs-public-nav{display:grid;grid-template-columns:repeat(4,minmax(max-content,1fr));gap:5px;overflow-x:auto;padding:6px}
    .cs-public-profile-v2 .cs-public-nav__item{min-height:43px;padding:0 10px;justify-content:center;font-size:.78rem;white-space:nowrap}
    .cs-public-profile-v2 .cs-public-nav__item .cs-ui-icon{display:none}
    .cs-public-profile-v2 .cs-public-sidebar__info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
    .cs-public-profile-v2 .cs-public-sidebar__dynamic{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
    .cs-public-profile-v2 .cs-public-sidebar__award-preview{display:none}
    .cs-public-profile-v2 .cs-physical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .cs-public-profile-v2 .cs-public-term-groups,.cs-public-profile-v2 .cs-looking-for-section .cs-public-term-groups{grid-template-columns:1fr}
    .cs-public-profile-v2 .cs-gallery-profile .cs-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .cs-public-profile-v2 .cs-contest-award-grid,.cs-public-profile-v2 .cs-social-identity-columns{grid-template-columns:1fr!important}
}
@media(max-width:480px){
    .cs-public-profile-v2 .cs-public-hero__banner{height:175px}
    .cs-public-profile-v2 .cs-public-hero__content{padding-top:76px}
    .cs-public-profile-v2 .cs-public-avatar-wrap{width:104px;height:130px;top:-64px}
    .cs-public-profile-v2 .cs-public-identity__text{padding-left:116px}
    .cs-public-profile-v2 .cs-public-meta{gap:9px;font-size:.82rem}
    .cs-public-profile-v2 .cs-public-hero__actions .cs-button{flex:1 1 auto;min-width:0;padding:10px 12px;font-size:.78rem}
    .cs-public-profile-v2 .cs-public-nav{grid-template-columns:repeat(4,max-content);justify-content:start}
    .cs-public-profile-v2 .cs-public-card,.cs-public-profile-v2 .cs-public-panel[data-cs-public-panel]:not([data-cs-public-panel="profile"]){padding:15px}
    .cs-public-profile-v2 .cs-profile-section{padding:15px}
    .cs-public-profile-v2 .cs-physical-grid{grid-template-columns:1fr}
    .cs-public-profile-v2 .cs-social-profile__stats{grid-template-columns:1fr!important}
}

/* Profile-tab photo teaser sits directly below physical details; full gallery stays in Kuvat tab. */
.cs-public-profile-v2 .cs-public-photo-preview__heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.cs-public-profile-v2 .cs-public-photo-preview__heading .cs-profile-section__title{margin-bottom:0}
.cs-public-profile-v2 .cs-public-photo-preview__heading>button{appearance:none;border:0;background:transparent;color:#fff;font-size:.75rem;font-weight:750;cursor:pointer;padding:5px 0}
.cs-public-profile-v2 .cs-public-photo-preview__heading>button:hover{color:var(--cs-profile-accent)}
.cs-public-profile-v2 .cs-public-photo-preview__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cs-public-profile-v2 .cs-public-photo-preview__item{appearance:none;display:block;width:100%;padding:0;border:var(--cs-profile-gallery-border-width) var(--cs-profile-gallery-border-style) var(--cs-profile-gallery-border-color);border-radius:9px;overflow:hidden;background:#0b0f13;cursor:pointer}
.cs-public-profile-v2 .cs-public-photo-preview__item img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .18s ease,opacity .18s ease}
.cs-public-profile-v2 .cs-public-photo-preview__item:hover img{transform:scale(1.025);opacity:.92}
@media(max-width:600px){.cs-public-profile-v2 .cs-public-photo-preview__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v1.5.14: keep every hero action on one desktop row and support Connections markup variants */
.cs-public-profile-v2 .cs-public-hero__actions > *{flex:0 0 auto!important;margin-top:0!important;margin-bottom:0!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-button,
.cs-public-profile-v2 .cs-public-hero__actions button,
.cs-public-profile-v2 .cs-public-hero__actions a{width:auto!important;max-width:none!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow{display:inline-flex!important;align-items:center!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px!important;width:auto!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat{display:inline-grid!important;grid-template-columns:1fr!important;justify-items:center!important;align-content:center!important;min-width:54px!important;min-height:46px!important;padding:3px 7px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat *{margin:0!important;line-height:1.1!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat strong,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat b{font-size:.92rem!important;color:#fff!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat small,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat span{font-size:.68rem!important;color:var(--cs-profile-muted)!important}
@media (min-width: 861px){
  .cs-public-profile-v2 .cs-public-hero__content{padding-right:20px;gap:18px}
  .cs-public-profile-v2 .cs-public-identity{flex:0 1 390px}
  .cs-public-profile-v2 .cs-public-hero__actions{overflow:visible}
}
@media(max-width:780px){
  .cs-public-profile-v2 .cs-public-hero__actions{flex-wrap:wrap!important;justify-content:flex-start!important}
  .cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow{flex-wrap:wrap!important}
}


/* v1.5.15: compact hero actions, five-column physical row and unified sidebar info */
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button,
.cs-public-profile-v2 .cs-public-hero__actions .cs-video-call-button{
    width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
    padding:0!important;border:1px solid var(--cs-profile-accent)!important;border-radius:50%!important;
    background:var(--cs-profile-accent)!important;color:#fff!important;display:inline-flex!important;
    align-items:center!important;justify-content:center!important;box-shadow:none!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button:hover,
.cs-public-profile-v2 .cs-public-hero__actions .cs-video-call-button:hover{
    filter:brightness(1.12);background:var(--cs-profile-accent)!important;color:#fff!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button>span:last-child,
.cs-public-profile-v2 .cs-public-hero__actions .cs-video-call-label{display:none!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button .cs-ui-icon,
.cs-public-profile-v2 .cs-public-hero__actions .cs-video-call-icon{font-size:1rem!important;margin:0!important;line-height:1!important}
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button svg,
.cs-public-profile-v2 .cs-public-hero__actions .cs-video-call-button svg{width:1em!important;height:1em!important}

.cs-public-profile-v2 .cs-public-follow-button,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow .cs-public-follow-button{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    min-height:46px!important;padding:11px 18px!important;border:1px solid var(--cs-profile-accent)!important;
    border-radius:10px!important;background:var(--cs-profile-accent)!important;color:#fff!important;
    font-weight:800!important;box-shadow:none!important;white-space:nowrap!important;
}
.cs-public-profile-v2 .cs-public-follow-button:hover{filter:brightness(1.12);background:var(--cs-profile-accent)!important;color:#fff!important}
.cs-public-profile-v2 .cs-public-follow-button .cs-icon-follow{display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-size:.92rem!important}

/* Physical properties stay on one horizontal row. On very narrow phones the row scrolls instead of stacking. */
.cs-public-profile-v2 .cs-physical-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
@media(max-width:780px){
    .cs-public-profile-v2 .cs-physical-grid{grid-template-columns:repeat(5,minmax(92px,1fr))!important;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}
    .cs-public-profile-v2 .cs-physical-card{padding:11px 8px!important}
    .cs-public-profile-v2 .cs-physical-card__label{font-size:.62rem!important}
    .cs-public-profile-v2 .cs-physical-card__value{font-size:.9rem!important}
}
@media(max-width:480px){.cs-public-profile-v2 .cs-physical-grid{grid-template-columns:repeat(5,minmax(88px,1fr))!important}}

/* Likes and today's profile views use the exact same icon / label / value language as activity and join date. */
.cs-public-profile-v2 .cs-public-sidebar__dynamic{display:block!important}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__row{border-top:0!important;border-bottom:1px solid rgba(255,255,255,.055)!important}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__row:last-child{border-bottom:0!important}
.cs-public-profile-v2 .cs-public-sidebar__stat-row .cs-ui-icon{display:inline-flex;align-items:center;justify-content:flex-start;color:#fff!important;margin-top:2px}
.cs-public-profile-v2 .cs-public-sidebar__stat-row small{order:0}
.cs-public-profile-v2 .cs-public-sidebar__stat-row strong{order:1}

/* Predictable report action below the award spotlight; the original Moderation trigger stays hidden but live. */
.cs-public-profile-v2 .cs-public-sidebar__report{padding:7px!important;border:1px solid var(--cs-profile-border)!important;background:linear-gradient(160deg,#10151a,#0d1115)!important}
.cs-public-profile-v2 .cs-public-report-proxy{
    appearance:none;width:100%!important;min-height:44px!important;padding:0 13px!important;
    border:1px solid var(--cs-profile-accent)!important;border-radius:9px!important;background:transparent!important;
    color:#fff!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
    font:inherit;font-size:.82rem!important;font-weight:760!important;cursor:pointer!important;box-shadow:none!important;
}
.cs-public-profile-v2 .cs-public-report-proxy:hover{background:rgba(254,1,10,.10)!important}
.cs-public-profile-v2 .cs-public-report-proxy .cs-ui-icon{color:var(--cs-profile-accent)!important;display:inline-flex;align-items:center;justify-content:center}
.cs-public-profile-v2 .cs-public-original-report-trigger{display:none!important}


/* v1.5.16: Elementor-controlled hero actions, fluid physical cards and reliable report action */
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button .cs-ui-icon,
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button .cs-ui-icon i,
.cs-public-profile-v2 .cs-public-hero__actions .cs-private-message-button .cs-ui-icon svg{color:var(--cs-profile-message-icon,#050505)!important;fill:currentColor!important}
.cs-public-profile-v2 .cs-public-follow-button .cs-icon-follow,
.cs-public-profile-v2 .cs-public-follow-button .cs-icon-follow i,
.cs-public-profile-v2 .cs-public-follow-button .cs-icon-follow svg{color:var(--cs-profile-follow-icon,#050505)!important;fill:currentColor!important}
.cs-public-profile-v2 .cs-public-follow-button{background:var(--cs-profile-follow-bg,var(--cs-profile-accent))!important;border-color:var(--cs-profile-follow-border,var(--cs-profile-accent))!important;color:var(--cs-profile-follow-text,#fff)!important}
.cs-public-profile-v2 .cs-public-follow-button:hover{background:var(--cs-profile-follow-hover-bg,var(--cs-profile-accent))!important;border-color:var(--cs-profile-follow-hover-border,var(--cs-profile-accent))!important;color:var(--cs-profile-follow-hover-text,#fff)!important;filter:none}
.cs-public-profile-v2 .cs-physical-grid{grid-template-columns:repeat(var(--cs-physical-count,5),minmax(0,1fr))!important;width:100%!important}
@media(max-width:780px){.cs-public-profile-v2 .cs-physical-grid{grid-template-columns:repeat(var(--cs-physical-count,5),minmax(92px,1fr))!important}}
@media(max-width:480px){.cs-public-profile-v2 .cs-physical-grid{grid-template-columns:repeat(var(--cs-physical-count,5),minmax(88px,1fr))!important}}
.cs-public-profile-v2 .cs-public-sidebar__report[hidden]{display:none!important}
.cs-public-profile-v2 .cs-public-sidebar__report:not([hidden]){display:block!important}


/* v1.5.17: final public-profile alignment and sidebar polish */
.cs-public-profile-v2 .cs-public-avatar-wrap{
    border-color:var(--cs-profile-avatar-border-color)!important;
    border-width:var(--cs-profile-avatar-border-width)!important;
    border-style:var(--cs-profile-avatar-border-style)!important;
    top:-74px;
}
.cs-public-profile-v2 .cs-public-hero__content{
    align-items:flex-end!important;
}
.cs-public-profile-v2 .cs-public-identity{
    align-items:flex-end!important;
}
.cs-public-profile-v2 .cs-public-hero__actions{
    align-self:flex-end!important;
    align-items:center!important;
    gap:12px!important;
    padding-bottom:0!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow{
    gap:12px!important;
}
.cs-public-profile-v2 .cs-public-hero__actions > *,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow > *{
    margin-left:0!important;
    margin-right:0!important;
}

/* Make the follow icon impossible to collapse behind legacy Connections styles. */
.cs-public-profile-v2 .cs-public-follow-button .cs-icon-follow{
    display:inline-flex!important;
    flex:0 0 auto!important;
    width:18px!important;
    height:18px!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    visibility:visible!important;
    opacity:1!important;
}
.cs-public-profile-v2 .cs-public-follow-button .cs-icon-follow i,
.cs-public-profile-v2 .cs-public-follow-button .cs-icon-follow svg{
    display:block!important;
    width:16px!important;
    height:16px!important;
    font-size:16px!important;
}

/* Sidebar statistics use exactly the same icon + two-line text anatomy as activity rows. */
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row{
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:center!important;
    padding:11px 0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__stat-row>.cs-ui-icon{
    grid-column:1!important;
    grid-row:1!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    font-size:15px!important;
    color:#fff!important;
}
.cs-public-profile-v2 .cs-public-sidebar__stat-row>.cs-ui-icon i,
.cs-public-profile-v2 .cs-public-sidebar__stat-row>.cs-ui-icon svg{
    font-size:15px!important;
    width:15px!important;
    height:15px!important;
}
.cs-public-profile-v2 .cs-public-sidebar__stat-copy{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
    align-content:center!important;
}

/* More premium award spotlight, still compact enough for the sticky sidebar. */
.cs-public-profile-v2 .cs-public-sidebar__award-preview{
    position:relative!important;
    overflow:hidden!important;
    border:1px solid rgba(230,185,38,.62)!important;
    background:
        radial-gradient(circle at 22% 18%,rgba(255,220,95,.16),transparent 34%),
        linear-gradient(145deg,#17150d 0%,#121416 56%,#0d1115 100%)!important;
    box-shadow:0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,226,121,.08)!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
    background:linear-gradient(180deg,#ffe27a,#c79414,#ffe27a);
}
.cs-public-profile-v2 .cs-public-award-preview-card__title{
    padding:15px 15px 9px 17px!important;
    color:#ffe16a!important;
    font-size:.86rem!important;
    letter-spacing:.06em!important;
    font-weight:850!important;
}
.cs-public-profile-v2 .cs-public-award-preview-card__title>span{
    width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
    background:rgba(230,185,38,.13);border:1px solid rgba(230,185,38,.36);font-size:14px;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview .cs-contest-award-card--preview{
    margin:4px 12px 12px!important;
    border:1px solid rgba(230,185,38,.34)!important;
    border-radius:10px!important;
    background:linear-gradient(135deg,rgba(230,185,38,.09),rgba(255,255,255,.018))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.cs-public-profile-v2 .cs-public-award-preview-card__more{
    padding:12px 15px 12px 17px!important;
    color:#ffe16a!important;
    border-top:1px solid rgba(230,185,38,.22)!important;
    font-weight:800!important;
}
.cs-public-profile-v2 .cs-public-award-preview-card__more:hover{
    background:rgba(230,185,38,.09)!important;
    color:#fff1ad!important;
}

/* Style either the fallback proxy OR the real Moderation button moved here. */
.cs-public-profile-v2 .cs-public-sidebar__report .cs-public-report-live,
.cs-public-profile-v2 .cs-public-sidebar__report .cs-public-report-proxy{
    appearance:none!important;
    width:100%!important;
    min-height:44px!important;
    padding:0 13px!important;
    border:1px solid var(--cs-profile-accent)!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    font:inherit!important;
    font-size:.82rem!important;
    font-weight:760!important;
    cursor:pointer!important;
    box-shadow:none!important;
}
.cs-public-profile-v2 .cs-public-sidebar__report .cs-public-report-live:hover,
.cs-public-profile-v2 .cs-public-sidebar__report .cs-public-report-proxy:hover{
    background:rgba(254,1,10,.10)!important;
}

@media(max-width:780px){
    .cs-public-profile-v2 .cs-public-avatar-wrap{top:-68px}
    .cs-public-profile-v2 .cs-public-hero__content{align-items:stretch!important}
    .cs-public-profile-v2 .cs-public-hero__actions{align-self:auto!important;justify-content:flex-start!important}
}

/* v1.5.18: compact hero action menu and passive follow counters */
.cs-public-profile-v2 .cs-public-hero__actions{
    gap:10px!important;
    align-items:center!important;
}
.cs-public-profile-v2 .cs-public-more{
    position:relative;
    display:inline-flex;
    flex:0 0 auto;
    margin:0!important;
}
.cs-public-profile-v2 .cs-public-more__toggle{
    appearance:none;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid var(--cs-profile-accent)!important;
    border-radius:50%!important;
    background:var(--cs-profile-accent)!important;
    color:#050505!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer!important;
    box-shadow:none!important;
    transition:filter .16s ease, transform .16s ease!important;
}
.cs-public-profile-v2 .cs-public-more__toggle:hover,
.cs-public-profile-v2 .cs-public-more.is-open .cs-public-more__toggle{
    filter:brightness(1.12);
}
.cs-public-profile-v2 .cs-public-more__toggle .cs-ui-icon,
.cs-public-profile-v2 .cs-public-more__toggle i,
.cs-public-profile-v2 .cs-public-more__toggle svg{
    color:#050505!important;
    fill:currentColor!important;
    font-size:1rem!important;
    width:1em!important;
    height:1em!important;
}
.cs-public-profile-v2 .cs-public-more__menu{
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    z-index:80;
    width:250px;
    padding:7px;
    border:1px solid var(--cs-profile-border)!important;
    border-radius:12px;
    background:#11161c;
    box-shadow:0 18px 48px rgba(0,0,0,.42);
}
.cs-public-profile-v2 .cs-public-more__menu[hidden]{display:none!important}
.cs-public-profile-v2 .cs-public-more__actions{display:grid;gap:4px}
.cs-public-profile-v2 .cs-public-more__item,
.cs-public-profile-v2 .cs-public-more__actions .cs-button,
.cs-public-profile-v2 .cs-public-more__actions button,
.cs-public-profile-v2 .cs-public-more__actions a{
    appearance:none!important;
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:9px 11px!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    color:var(--cs-profile-text)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    text-align:left!important;
    font-size:.82rem!important;
    font-weight:700!important;
    line-height:1.2!important;
    box-shadow:none!important;
    cursor:pointer!important;
}
.cs-public-profile-v2 .cs-public-more__item:hover,
.cs-public-profile-v2 .cs-public-more__actions .cs-button:hover,
.cs-public-profile-v2 .cs-public-more__actions button:hover,
.cs-public-profile-v2 .cs-public-more__actions a:hover{
    background:rgba(255,255,255,.055)!important;
    color:#fff!important;
}
.cs-public-profile-v2 .cs-public-more__item .cs-ui-icon,
.cs-public-profile-v2 .cs-public-more__item .cs-video-call-icon,
.cs-public-profile-v2 .cs-public-more__actions .cs-ui-icon,
.cs-public-profile-v2 .cs-public-more__actions .cs-video-call-icon{
    width:20px!important;
    min-width:20px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    color:var(--cs-profile-accent)!important;
    font-size:.92rem!important;
}
.cs-public-profile-v2 .cs-public-more__item--danger{
    margin-top:5px!important;
    padding-top:11px!important;
    border-top:1px solid var(--cs-profile-border)!important;
    border-radius:0 0 8px 8px!important;
    color:#ff7378!important;
}
.cs-public-profile-v2 .cs-public-more__item--danger:hover{background:rgba(254,1,10,.08)!important;color:#ff8d91!important}

/* The contact/follow buttons no longer live directly in the hero. */
.cs-public-profile-v2 .cs-public-hero__actions > .cs-private-message-button,
.cs-public-profile-v2 .cs-public-hero__actions > .cs-video-call-button,
.cs-public-profile-v2 .cs-public-hero__actions > .cs-public-follow-button{display:none!important}

/* Seuraajat / Seurataan are passive counters: label first, value underneath. */
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow{
    gap:14px!important;
    display:inline-flex!important;
    align-items:center!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat{
    min-width:52px!important;
    min-height:46px!important;
    padding:2px 5px!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    display:flex!important;
    flex-direction:column-reverse!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    cursor:default!important;
    pointer-events:none!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat:hover{
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
    transform:none!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat strong,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat b{
    order:1!important;
    color:#fff!important;
    font-size:.92rem!important;
    line-height:1!important;
}
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat small,
.cs-public-profile-v2 .cs-public-hero__actions .cs-public-follow-stat span:not(.cs-ui-icon){
    order:2!important;
    color:var(--cs-profile-muted)!important;
    font-size:.67rem!important;
    line-height:1!important;
}

/* Keep the profile-like ball immediately before the action menu. */
.cs-public-profile-v2 .cs-public-hero-like.cs-social-like{margin:0!important}

/* Original Moderation trigger remains in its original DOM context, but is not visible. */
.cs-public-profile-v2 .cs-public-original-report-trigger{display:none!important}

/* The old sidebar report slot is retired. */
.cs-public-profile-v2 .cs-public-sidebar__report{display:none!important}

@media(max-width:780px){
    .cs-public-profile-v2 .cs-public-more__menu{right:auto;left:0;width:min(280px,calc(100vw - 32px))}
    .cs-public-profile-v2 .cs-public-hero__actions{gap:8px!important}
    .cs-public-profile-v2 .cs-public-hero__actions .cs-public-hero-follow{gap:8px!important}
}

/* v1.5.19: sidebar social rows match Viimeksi paikalla / Liittynyt anatomy exactly */
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    padding:11px 0!important;
    margin:0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row>.cs-ui-icon{
    grid-column:1!important;
    grid-row:1!important;
    width:24px!important;
    min-width:24px!important;
    height:24px!important;
    margin:2px 0 0!important;
    padding:0!important;
    display:inline-flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    color:#fff!important;
    line-height:1!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row>.cs-ui-icon i{
    display:block!important;
    font-size:18px!important;
    line-height:1!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row>.cs-ui-icon svg{
    display:block!important;
    width:18px!important;
    height:18px!important;
    margin:0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-copy{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
    align-content:start!important;
    padding:0!important;
    margin:0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-copy small{
    margin:0!important;
    color:var(--cs-profile-muted)!important;
    font-size:.72rem!important;
    line-height:1.2!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-copy strong{
    margin:0!important;
    color:#fff!important;
    font-size:.85rem!important;
    line-height:1.25!important;
}


/* v1.5.20: make dynamic social rows visually identical to activity rows. */
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    column-gap:10px!important;
    align-items:start!important;
    padding:11px 0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row>.cs-ui-icon{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    width:24px!important;
    min-width:24px!important;
    height:24px!important;
    margin:2px 0 0!important;
    padding:0!important;
    align-items:flex-start!important;
    justify-content:center!important;
    color:#fff!important;
    opacity:1!important;
    visibility:visible!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row>.cs-ui-icon i{
    display:block!important;
    font-size:18px!important;
    line-height:1!important;
    margin:0!important;
    color:inherit!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row>.cs-ui-icon svg{
    display:block!important;
    width:18px!important;
    height:18px!important;
    margin:0!important;
    fill:currentColor!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-copy{
    grid-column:2!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:2px!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-copy small,
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-copy strong{
    display:block!important;
    margin:0!important;
    padding:0!important;
}


/* v1.5.21: profile action picker is a viewport modal, never clipped by the hero. */
body.cs-profile-action-modal-open{overflow:hidden!important}
.cs-public-more-modal-overlay{
    position:fixed!important;inset:0!important;z-index:999999!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:24px!important;background:rgba(6,8,11,.72)!important;
    backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
}
.cs-public-more-modal-card{
    width:min(420px,calc(100vw - 32px))!important;
    max-height:min(720px,calc(100vh - 48px))!important;
    overflow:auto!important;padding:14px!important;
    border:1px solid rgba(255,255,255,.10)!important;border-radius:16px!important;
    background:rgba(24,28,34,.97)!important;
    box-shadow:0 30px 90px rgba(0,0,0,.62)!important;
}
.cs-public-more-modal-card .cs-public-more__menu{
    position:static!important;inset:auto!important;z-index:auto!important;width:100%!important;
    padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
.cs-public-more-modal-card .cs-public-more__menu[hidden]{display:none!important}
.cs-public-more-modal-card .cs-public-more__actions{display:grid!important;gap:6px!important}
.cs-public-more-modal-card .cs-public-more__item,
.cs-public-more-modal-card .cs-public-more__actions .cs-button,
.cs-public-more-modal-card .cs-public-more__actions button,
.cs-public-more-modal-card .cs-public-more__actions a,
.cs-public-more-modal-card .cs-public-more__close{
    appearance:none!important;width:100%!important;min-height:48px!important;margin:0!important;padding:11px 13px!important;
    border:1px solid rgba(255,255,255,.07)!important;border-radius:10px!important;background:#11161c!important;color:#f4f6f8!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;text-align:left!important;
    font-size:.88rem!important;font-weight:700!important;line-height:1.2!important;box-shadow:none!important;cursor:pointer!important;
    text-decoration:none!important;
}
.cs-public-more-modal-card .cs-public-more__item:hover,
.cs-public-more-modal-card .cs-public-more__actions .cs-button:hover,
.cs-public-more-modal-card .cs-public-more__actions button:hover,
.cs-public-more-modal-card .cs-public-more__actions a:hover,
.cs-public-more-modal-card .cs-public-more__close:hover{background:#1a2027!important;color:#fff!important}
.cs-public-more-modal-card .cs-public-more__item .cs-ui-icon,
.cs-public-more-modal-card .cs-public-more__item .cs-video-call-icon,
.cs-public-more-modal-card .cs-public-more__actions .cs-ui-icon,
.cs-public-more-modal-card .cs-public-more__actions .cs-video-call-icon,
.cs-public-more-modal-card .cs-public-more__close .cs-ui-icon{
    width:22px!important;min-width:22px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    color:#fe010a!important;font-size:1rem!important;
}
.cs-public-more-modal-card .cs-public-more__item--danger{
    margin-top:8px!important;padding-top:11px!important;border-color:rgba(254,1,10,.28)!important;color:#ff7a7f!important;
}
.cs-public-more-modal-card .cs-public-more__close{
    margin-top:10px!important;justify-content:center!important;background:rgba(255,255,255,.045)!important;color:#fff!important;
}
.cs-public-more-modal-card .cs-public-more__close .cs-ui-icon{color:#fff!important}

/* v1.5.21: dynamic social stats use an explicit icon cell so the icons cannot collapse/disappear. */
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row>.cs-public-sidebar__stat-icon{
    grid-column:1!important;grid-row:1!important;width:24px!important;min-width:24px!important;height:24px!important;
    margin:2px 0 0!important;padding:0!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;
    color:#fff!important;opacity:1!important;visibility:visible!important;overflow:visible!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon>.cs-ui-icon{
    width:24px!important;min-width:24px!important;height:24px!important;margin:0!important;padding:0!important;
    display:flex!important;align-items:flex-start!important;justify-content:center!important;color:#fff!important;opacity:1!important;visibility:visible!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon i{
    display:block!important;color:#fff!important;font-size:18px!important;line-height:1!important;margin:0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon svg{
    display:block!important;width:18px!important;height:18px!important;color:#fff!important;fill:currentColor!important;margin:0!important;
}
@media(max-width:780px){.cs-public-more-modal-overlay{padding:16px!important}.cs-public-more-modal-card{width:min(400px,calc(100vw - 24px))!important}}

/* v1.5.22: action modal proxies + fully configurable sidebar social icons */
.cs-public-profile-v2 .cs-profile-contact-actions--staging,
.cs-public-profile-v2 .cs-public-action-source,
.cs-public-profile-v2 .cs-public-action-sources{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    pointer-events:none!important;
    opacity:0!important;
}
.cs-public-more-modal-card .cs-public-more__item,
.cs-public-more-modal-card .cs-public-more__actions .cs-button,
.cs-public-more-modal-card .cs-public-more__actions button,
.cs-public-more-modal-card .cs-public-more__actions a,
.cs-public-more-modal-card .cs-public-more__close{
    justify-content:center!important;
    text-align:center!important;
}
.cs-public-more-modal-card .cs-public-more__item--danger{
    margin-top:0!important;
    padding-top:11px!important;
    border-color:rgba(255,255,255,.07)!important;
    color:#f4f6f8!important;
}
.cs-public-more-modal-card .cs-public-more__item .cs-ui-icon,
.cs-public-more-modal-card .cs-public-more__item .cs-video-call-icon,
.cs-public-more-modal-card .cs-public-more__actions .cs-ui-icon,
.cs-public-more-modal-card .cs-public-more__actions .cs-video-call-icon{
    color:#fe010a!important;
    fill:currentColor!important;
}
.cs-public-more-modal-card .cs-public-more__item .cs-ui-icon svg,
.cs-public-more-modal-card .cs-public-more__item .cs-video-call-icon svg,
.cs-public-more-modal-card .cs-public-more__actions .cs-ui-icon svg,
.cs-public-more-modal-card .cs-public-more__actions .cs-video-call-icon svg{
    color:inherit!important;
    fill:currentColor!important;
}
.cs-public-profile-v2 .cs-public-sidebar__stat-icon .cs-icon-likes,
.cs-public-profile-v2 .cs-public-sidebar__stat-icon .cs-icon-likes i,
.cs-public-profile-v2 .cs-public-sidebar__stat-icon .cs-icon-likes svg{
    color:var(--cs-profile-likes-icon,#fff)!important;
    fill:currentColor!important;
}
.cs-public-profile-v2 .cs-public-sidebar__stat-icon .cs-icon-views,
.cs-public-profile-v2 .cs-public-sidebar__stat-icon .cs-icon-views i,
.cs-public-profile-v2 .cs-public-sidebar__stat-icon .cs-icon-views svg{
    color:var(--cs-profile-views-icon,#fff)!important;
    fill:currentColor!important;
}


/* v1.5.24: visible Elementor sidebar icons + action feedback */
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row{
  grid-template-columns:24px minmax(0,1fr)!important; align-items:start!important; column-gap:10px!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon{
  display:flex!important; width:24px!important; min-width:24px!important; height:24px!important;
  align-items:center!important; justify-content:center!important; opacity:1!important; visibility:visible!important; color:#fff!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon .cs-ui-icon{
  display:inline-flex!important; width:100%!important; height:100%!important; align-items:center!important; justify-content:center!important;
  opacity:1!important; visibility:visible!important; line-height:1!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon .cs-icon-likes,
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon .cs-icon-likes *{color:var(--cs-profile-likes-icon,#fff)!important;}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon .cs-icon-views,
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon .cs-icon-views *{color:var(--cs-profile-views-icon,#fff)!important;}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-icon svg{fill:currentColor!important;}
.cs-public-more-modal-card .cs-public-more__item.is-loading{opacity:.82!important;cursor:progress!important;}
.cs-public-more-modal-card .cs-public-more__item.is-loading .cs-ui-icon,
.cs-public-more-modal-card .cs-public-more__item.is-loading .cs-video-call-icon{animation:csProfileActionPulse .7s ease-in-out infinite alternate;}
@keyframes csProfileActionPulse{from{opacity:.45}to{opacity:1}}

/* v1.5.25: live follow source stays functional but never leaks into the page layout. */
.cs-public-action-source,
.cs-public-follow-source{
    position:fixed!important;
    left:-99999px!important;
    top:-99999px!important;
    width:1px!important;
    height:1px!important;
    min-width:1px!important;
    min-height:1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    pointer-events:none!important;
    opacity:0!important;
    visibility:hidden!important;
}

body.cs-profile-report-modal-open{overflow:hidden!important}
.cs-profile-report-overlay{
    position:fixed!important;inset:0!important;z-index:2147483001!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:24px!important;background:rgba(3,5,8,.78)!important;
    backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.cs-profile-report-card{
    width:min(460px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;
    box-sizing:border-box;padding:22px;border:1px solid rgba(255,255,255,.10);border-radius:14px;
    background:#11161c;color:#f4f6f8;box-shadow:0 26px 80px rgba(0,0,0,.55);
}
.cs-profile-report-card__head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.cs-profile-report-card__head .cs-ui-icon{color:#fe010a!important;font-size:19px}
.cs-profile-report-card h2{margin:0!important;font-size:21px!important;line-height:1.2!important;color:#fff!important}
.cs-profile-report-card>p{margin:0 0 18px;color:#aeb6c0;font-size:13px;line-height:1.55}
.cs-profile-report-card form{display:grid;gap:14px}
.cs-profile-report-card label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#f4f6f8}
.cs-profile-report-card label>span{font-weight:400;color:#89929d}
.cs-profile-report-card select,.cs-profile-report-card textarea{
    width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.10);border-radius:9px;
    background:#0c1116;color:#f4f6f8;padding:11px 12px;font:inherit;outline:none;
}
.cs-profile-report-card select:focus,.cs-profile-report-card textarea:focus{border-color:#fe010a;box-shadow:0 0 0 2px rgba(254,1,10,.12)}
.cs-profile-report-submit,.cs-profile-report-close{
    min-height:42px;border-radius:9px;border:1px solid rgba(255,255,255,.08);font-weight:800;cursor:pointer;
    display:flex;align-items:center;justify-content:center;gap:8px;
}
.cs-profile-report-submit{background:#fe010a;color:#090a0c;border-color:#fe010a}
.cs-profile-report-submit .cs-ui-icon{color:#090a0c!important}
.cs-profile-report-submit:disabled{opacity:.55;cursor:wait}
.cs-profile-report-close{background:#1b2129;color:#fff}


/* v1.5.26: sidebar social stats are independent from the Tilastot panel. */
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row > .cs-public-sidebar__stat-icon.cs-ui-icon{
    grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;
    width:24px!important;min-width:24px!important;height:24px!important;margin:0!important;padding:0!important;
    opacity:1!important;visibility:visible!important;overflow:visible!important;line-height:1!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row > .cs-icon-likes{color:var(--cs-profile-likes-icon,#fff)!important;}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row > .cs-icon-views{color:var(--cs-profile-views-icon,#fff)!important;}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row > .cs-public-sidebar__stat-icon i{
    display:block!important;font-size:inherit!important;line-height:1!important;color:inherit!important;opacity:1!important;visibility:visible!important;
}
.cs-public-profile-v2 .cs-public-sidebar__dynamic .cs-public-sidebar__stat-row > .cs-public-sidebar__stat-icon svg{
    display:block!important;width:1em!important;height:1em!important;color:inherit!important;fill:currentColor!important;opacity:1!important;visibility:visible!important;
}


/* v1.5.27: social stats live only in Tilastot; hidden Connections source must never leak into layout. */
.cs-public-profile-v2 .cs-public-sidebar__dynamic{display:none!important;}
.cs-public-profile-v2 .cs-public-follow-source{
    position:absolute!important;
    left:-100000px!important;
    top:auto!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
}
.cs-public-profile-v2 [data-cs-profile-more-actions] [data-cs-action-proxy="follow"] .cs-ui-icon,
.cs-public-profile-v2 [data-cs-profile-more-actions] [data-cs-action-proxy="follow"] .cs-ui-icon *{
    color:#ff151f!important;fill:currentColor!important;
}


/* v1.5.28: mobile workspace layout + globally hidden live Connections source */
.cs-public-mobile-account-info{display:none;}
/* Connections can render its live follow button outside the Elementor/profile wrapper after refresh. */
.cs-public-follow-source{
    position:fixed!important;
    left:-100000px!important;
    top:-100000px!important;
    width:1px!important;
    height:1px!important;
    min-width:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:-1!important;
}
@media(max-width:780px){
    .cs-public-profile-v2 .cs-public-layout{
        display:block!important;
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
    }
    .cs-public-profile-v2 .cs-public-sidebar{
        display:block!important;
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
        margin:0 0 12px!important;
    }
    .cs-public-profile-v2 .cs-public-nav{
        display:flex!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        gap:6px!important;
        padding:6px!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        scroll-behavior:smooth;
        scrollbar-width:thin;
        scrollbar-color:#4a4f55 #181c21;
        -webkit-overflow-scrolling:touch;
    }
    .cs-public-profile-v2 .cs-public-nav::-webkit-scrollbar{height:7px;}
    .cs-public-profile-v2 .cs-public-nav::-webkit-scrollbar-track{background:#181c21;border-radius:999px;}
    .cs-public-profile-v2 .cs-public-nav::-webkit-scrollbar-thumb{background:#4a4f55;border-radius:999px;}
    .cs-public-profile-v2 .cs-public-nav__item{
        flex:0 0 auto!important;
        width:auto!important;
        min-width:max-content!important;
        padding:0 14px!important;
    }
    .cs-public-profile-v2 .cs-public-content{
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
        margin:0!important;
    }
    .cs-public-profile-v2 .cs-public-panel{
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
    }
    /* On mobile the account timing data belongs to Tilastot, not the default profile view. */
    .cs-public-profile-v2 .cs-public-sidebar__info{display:none!important;}
    .cs-public-profile-v2 .cs-public-mobile-account-info{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:0 14px;
        margin:0 0 16px;
        padding:0 14px;
        border:1px solid var(--cs-profile-border);
        border-radius:var(--cs-profile-radius);
        background:linear-gradient(160deg,#10151a,#0d1115);
    }
    .cs-public-profile-v2 .cs-public-mobile-account-info .cs-public-sidebar__row{border-bottom:0!important;}
    .cs-public-profile-v2 .cs-public-sidebar__award-preview{display:none!important;}
}
@media(max-width:420px){
    .cs-public-profile-v2 .cs-public-mobile-account-info{grid-template-columns:1fr;}
    .cs-public-profile-v2 .cs-public-mobile-account-info .cs-public-sidebar__row:first-child{border-bottom:1px solid rgba(255,255,255,.055)!important;}
}


/* v1.5.33: unified timing data + server-rendered hero follow + safe mobile width fix. */
.cs-public-profile-v2 .cs-public-sidebar__info{display:none!important;}
.cs-public-profile-v2 .cs-public-account-info{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;
    margin:0 0 16px;padding:0 14px;border:var(--cs-profile-stats-account-border-width) var(--cs-profile-stats-account-border-style) var(--cs-profile-stats-account-border-color);
    border-radius:var(--cs-profile-radius);background:linear-gradient(160deg,#10151a,#0d1115);
    box-sizing:border-box;width:100%;max-width:100%;min-width:0;
}
.cs-public-profile-v2 .cs-public-account-info .cs-public-sidebar__row{border-bottom:0!important;min-width:0;}
.cs-public-profile-v2 [data-cs-hero-follow-slot]{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:38px!important;}
.cs-public-profile-v2 .cs-public-follow-live-button{
    position:static!important;left:auto!important;top:auto!important;width:auto!important;height:auto!important;
    min-width:0!important;min-height:38px!important;margin:0!important;padding:9px 14px!important;
    overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:nowrap!important;
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:auto!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
    border:1px solid var(--cs-profile-follow-border,var(--cs-profile-accent))!important;border-radius:9px!important;
    background:var(--cs-profile-follow-bg,var(--cs-profile-accent))!important;color:var(--cs-profile-follow-text,#fff)!important;
    font-weight:800!important;line-height:1!important;cursor:pointer!important;
}
.cs-public-profile-v2 .cs-public-follow-live-button:hover{background:var(--cs-profile-follow-hover-bg,var(--cs-profile-accent))!important;border-color:var(--cs-profile-follow-hover-border,var(--cs-profile-accent))!important;color:var(--cs-profile-follow-hover-text,#fff)!important;}
.cs-public-profile-v2 .cs-public-follow-hero-proxy .cs-ui-icon,.cs-public-profile-v2 .cs-public-follow-hero-proxy .cs-ui-icon *{color:var(--cs-profile-follow-icon,#050505)!important;fill:currentColor!important;}
@media(max-width:780px){
    .cs-public-profile-v2,.cs-public-profile-v2 *{box-sizing:border-box;}
    .cs-public-profile-v2,.cs-public-profile-v2 .cs-public-layout,.cs-public-profile-v2 .cs-public-sidebar,.cs-public-profile-v2 .cs-public-content,.cs-public-profile-v2 .cs-public-panel,.cs-public-profile-v2 .cs-public-card,.cs-public-profile-v2 .cs-profile-section,.cs-public-profile-v2 .cs-public-tab-slot,.cs-public-profile-v2 .cs-profile-integrations{width:100%!important;max-width:100%!important;min-width:0!important;}
    .cs-public-profile-v2 .cs-public-layout{display:block!important;}
    .cs-public-profile-v2 .cs-public-sidebar{display:block!important;margin:0 0 12px!important;}
    .cs-public-profile-v2 .cs-public-content{margin:0!important;}
    /* Important: do not create a nested vertical scroll container here. The document remains the only Y scroller. */
    .cs-public-profile-v2 .cs-public-content,.cs-public-profile-v2 .cs-public-panel{height:auto!important;max-height:none!important;overflow-y:visible!important;}
    .cs-public-profile-v2 .cs-public-panel.is-active{display:block!important;}
    .cs-public-profile-v2 img,.cs-public-profile-v2 video,.cs-public-profile-v2 iframe{max-width:100%!important;height:auto;}
    .cs-public-profile-v2 .cs-description,.cs-public-profile-v2 .cs-public-tab-heading,.cs-public-profile-v2 .cs-profile-tag{overflow-wrap:anywhere;}
    .cs-public-profile-v2 .cs-public-nav{display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:6px!important;padding:6px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;scrollbar-color:#4a4f55 #181c21;-webkit-overflow-scrolling:touch;}
    .cs-public-profile-v2 .cs-public-nav__item{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;padding:0 14px!important;}
    .cs-public-profile-v2 .cs-public-account-info{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:420px){.cs-public-profile-v2 .cs-public-account-info{grid-template-columns:1fr;}.cs-public-profile-v2 .cs-public-account-info .cs-public-sidebar__row:first-child{border-bottom:1px solid rgba(255,255,255,.055)!important;}}
.cs-profile-debug-panel{position:fixed;left:12px;right:12px;bottom:12px;z-index:2147483646;max-height:46vh;overflow:auto;background:rgba(10,13,17,.97);border:1px solid #ef172c;border-radius:10px;padding:10px;color:#fff;box-shadow:0 12px 40px rgba(0,0,0,.55);font:12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;}
.cs-profile-debug-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;}
.cs-profile-debug-panel__head button{border:1px solid #ef172c;background:#ef172c;color:#fff;border-radius:7px;padding:6px 10px;font-weight:700;cursor:pointer;}
.cs-profile-debug-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#e8edf3;}


/* v1.5.34: Profiles action toasts always above modal blur; harden hero follow visibility. */
.cs-toast-region{position:fixed!important;z-index:2147483647!important;}
.cs-toast-region>*{position:relative;z-index:2147483647!important;}
.cs-public-profile-v2 [data-cs-hero-follow-slot],
.cs-public-profile-v2 [data-cs-hero-follow-slot] .cs-public-follow-hero-proxy{display:inline-flex!important;visibility:visible!important;opacity:1!important;}


/* v1.5.35: the visible hero follow proxy must never inherit hidden live-source rules. */
.cs-public-profile-v2 [data-cs-hero-follow-slot] .cs-public-follow-hero-proxy,
.cs-public-profile-v2 [data-cs-hero-follow-slot] .cs-public-follow-hero-proxy.cs-public-action-source,
.cs-public-profile-v2 [data-cs-hero-follow-slot] .cs-public-follow-hero-proxy.cs-public-follow-source{
    position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    width:auto!important;height:auto!important;min-width:0!important;min-height:38px!important;
    overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:nowrap!important;
}


/* v1.5.37: deterministic hero follow button + counters. */
.cs-public-profile-v2 .cs-public-hero-follow-fixed{
    display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;
    gap:12px!important;flex:0 0 auto!important;min-width:0!important;overflow:visible!important;
}
.cs-public-profile-v2 .cs-public-hero-follow-fixed [data-cs-hero-follow-slot]{
    display:inline-flex!important;visibility:visible!important;opacity:1!important;position:static!important;
}
.cs-public-profile-v2 .cs-public-hero-follow-fixed .cs-public-follow-hero-proxy{
    display:inline-flex!important;visibility:visible!important;opacity:1!important;position:static!important;
    transform:none!important;pointer-events:auto!important;
}
.cs-public-profile-v2 .cs-public-follow-stat--fixed{
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:3px!important;min-width:52px!important;min-height:46px!important;padding:2px 5px!important;
    border:0!important;background:transparent!important;box-shadow:none!important;pointer-events:none!important;
}
.cs-public-profile-v2 .cs-public-follow-stat--fixed span{
    order:1!important;color:var(--cs-profile-muted)!important;font-size:.67rem!important;line-height:1!important;
}
.cs-public-profile-v2 .cs-public-follow-stat--fixed strong{
    order:2!important;color:#fff!important;font-size:.92rem!important;line-height:1!important;
}
.cs-public-profile-v2 .cs-connections-profile{display:none!important;}
@media(max-width:780px){
    .cs-public-profile-v2 .cs-public-hero-follow-fixed{gap:8px!important;flex-wrap:nowrap!important;}
}

/* v1.5.38: follow-button icon + typography hardening.
   The visible hero button is .cs-public-follow-live-button/.cs-public-follow-hero-proxy,
   not the legacy .cs-public-follow-button, so size the Elementor icon on the actual live button. */
.cs-public-profile-v2 .cs-public-follow-hero-proxy .cs-icon-follow{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 var(--cs-profile-follow-icon-size,16px)!important;
    width:var(--cs-profile-follow-icon-size,16px)!important;
    min-width:var(--cs-profile-follow-icon-size,16px)!important;
    height:var(--cs-profile-follow-icon-size,16px)!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    color:var(--cs-profile-follow-icon,#050505)!important;
    font-size:var(--cs-profile-follow-icon-size,16px)!important;
    line-height:1!important;
}
.cs-public-profile-v2 .cs-public-follow-hero-proxy .cs-icon-follow i,
.cs-public-profile-v2 .cs-public-follow-hero-proxy .cs-icon-follow svg{
    display:block!important;
    width:1em!important;
    min-width:1em!important;
    height:1em!important;
    font-size:1em!important;
    line-height:1!important;
    color:inherit!important;
    fill:currentColor!important;
    visibility:visible!important;
    opacity:1!important;
}
.cs-public-profile-v2 .cs-public-follow-hero-proxy__label{
    display:inline-block!important;
    min-width:0!important;
    line-height:1.1!important;
}

.cs-public-profile-v2 .cs-public-follow-hero-proxy:hover .cs-icon-follow,
.cs-public-profile-v2 .cs-public-follow-hero-proxy:hover .cs-icon-follow *{color:var(--cs-profile-follow-hover-icon,var(--cs-profile-follow-icon,#050505))!important;fill:currentColor!important;}

/* v1.5.39: compact hero alignment + evenly distributed mobile tab navigation. */
/* Anchor the avatar to the identity block itself, not to the whole hero content.
   Its bottom edge therefore follows the same baseline as the age/location meta row. */
.cs-public-profile-v2 .cs-public-identity{
    position:relative;
}
.cs-public-profile-v2 .cs-public-avatar-wrap{
    top:auto!important;
    bottom:0!important;
    left:-170px!important;
}

@media(max-width:1180px) and (min-width:781px){
    .cs-public-profile-v2 .cs-public-avatar-wrap{
        left:-154px!important;
    }
}

@media(max-width:780px){
    .cs-public-profile-v2 .cs-public-avatar-wrap{
        top:auto!important;
        bottom:0!important;
        left:0!important;
    }
    /* The four public-profile tabs always share the available width equally. */
    .cs-public-profile-v2 .cs-public-nav{
        width:100%!important;
        max-width:100%!important;
        display:grid!important;
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        justify-content:stretch!important;
        gap:5px!important;
        overflow-x:hidden!important;
    }
    .cs-public-profile-v2 .cs-public-nav__item{
        width:100%!important;
        min-width:0!important;
        padding-left:6px!important;
        padding-right:6px!important;
        justify-content:center!important;
        text-align:center!important;
        white-space:nowrap!important;
    }
}

@media(max-width:480px){
    .cs-public-profile-v2 .cs-public-nav{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        justify-content:stretch!important;
        overflow-x:hidden!important;
    }
    .cs-public-profile-v2 .cs-public-nav__item{
        min-width:0!important;
        padding-left:4px!important;
        padding-right:4px!important;
        font-size:clamp(.66rem,3.05vw,.78rem)!important;
    }
}

/* v1.5.41: clean public banner + truly fluid mobile physical-properties row. */
/* Public hero contains only the banner image. Hide any third-party overlay/control
   injected as a direct child (for example a lightbox/expand badge) without
   touching the gradient pseudo-element. */
.cs-public-profile-v2 .cs-public-hero__banner > :not(.cs-banner){
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
}

@media(max-width:780px){
    /* Physical-property cards share exactly the available width. No nested
       horizontal scroller is created on phones. */
    .cs-public-profile-v2 .cs-physical-grid{
        display:grid!important;
        grid-template-columns:repeat(var(--cs-physical-count,1),minmax(0,1fr))!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        gap:6px!important;
        overflow-x:visible!important;
        overflow-y:visible!important;
        padding-bottom:0!important;
    }
    .cs-public-profile-v2 .cs-physical-card{
        min-width:0!important;
        width:100%!important;
        padding:9px 6px!important;
    }
    .cs-public-profile-v2 .cs-physical-card__label{
        font-size:clamp(.56rem,2.25vw,.68rem)!important;
        line-height:1.15!important;
        white-space:normal!important;
        overflow-wrap:anywhere!important;
    }
    .cs-public-profile-v2 .cs-physical-card__value{
        font-size:clamp(.78rem,3vw,.92rem)!important;
        line-height:1.1!important;
        white-space:nowrap!important;
    }
}
@media(max-width:420px){
    .cs-public-profile-v2 .cs-physical-grid{gap:4px!important;}
    .cs-public-profile-v2 .cs-physical-card{padding:8px 4px!important;}
}


/* v1.5.41: follow counts belong to Tilastot, and the public banner has no controls. */
.cs-public-profile-v2 .cs-public-follow-stat-row .cs-ui-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    min-width:24px!important;
    font-size:1.05rem!important;
    color:#fff!important;
}
.cs-public-profile-v2 .cs-public-follow-stat-row .cs-ui-icon i,
.cs-public-profile-v2 .cs-public-follow-stat-row .cs-ui-icon svg{
    color:inherit!important;
    fill:currentColor!important;
}
/* The public banner is display-only. No lightbox, zoom, expand or injected control is allowed. */
.cs-public-profile-v2 .cs-public-hero__banner button,
.cs-public-profile-v2 .cs-public-hero__banner a,
.cs-public-profile-v2 .cs-public-hero__banner [role="button"],
.cs-public-profile-v2 .cs-public-hero__banner [class*="lightbox"],
.cs-public-profile-v2 .cs-public-hero__banner [class*="zoom"],
.cs-public-profile-v2 .cs-public-hero__banner [class*="expand"],
.cs-public-profile-v2 .cs-public-hero__banner [class*="fullscreen"],
.cs-public-profile-v2 .cs-public-hero__banner [class*="magnif"],
.cs-public-profile-v2 .cs-public-hero__banner svg:not(.cs-banner),
.cs-public-profile-v2 .cs-public-hero__banner i{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}


/* v1.5.42: Gallery v1.2.2 integration in the public profile Kuvat tab.
 * Gallery's .cs-gallery-type-badge is intentionally useful in Gallery itself,
 * but when .cs-gallery-profile is moved into Profiles the absolute badge can
 * visually escape to the hero/banner. Scope the fix only to the embedded
 * profile gallery so the standalone Gallery module remains unchanged. */
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-tile,
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-tile__media{
    position:relative!important;
}
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-type-badge{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* v1.5.44: Palkinnot view heading cleanup */
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-profile-awards__heading{display:none!important;}
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-achievements__title{
    margin:0 0 12px!important;
    color:#fff!important;
    font-size:1.45rem!important;
    font-weight:850!important;
    line-height:1.2!important;
    letter-spacing:-.02em!important;
}


/* v1.5.45: Public profile Kuvat tab polish.
 * Keep Gallery itself as the source of the full gallery UI, but make the
 * embedded presentation match the standalone Gallery card language. */
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-tile,
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-item,
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-card,
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-tile__media{
    border-radius:12px!important;
    overflow:hidden!important;
}
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-tile__media img,
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-item img,
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-gallery-card img{
    border-radius:12px!important;
}
/* The gallery like control stays live, but is intentionally more discreet in
 * the public profile view: roughly half the previous footprint and centered
 * under its own image/card. */
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-social-like{
    width:auto!important;
    height:26px!important;
    min-width:38px!important;
    min-height:26px!important;
    padding:0 7px!important;
    margin:8px auto 0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    border-radius:999px!important;
    font-size:.68rem!important;
    line-height:1!important;
}
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-social-like i,
.cs-public-profile-v2 [data-cs-public-panel="photos"] .cs-gallery-profile--embedded .cs-social-like svg{
    width:11px!important;
    height:11px!important;
    font-size:11px!important;
    line-height:1!important;
}

/* v1.5.47: public-profile outer borders are controlled with Elementor CSS variables; hero border defaults to 0px. */

/* v1.5.48: avatar and Tilastot account-info borders are independently configurable in Elementor. */


/* v1.5.49: premium gradient award language (concept 5), CSS-only, shared by
 * the sticky sidebar preview and the full Palkinnot view. No image asset is
 * required; Elementor exposes the important visual variables. */
.cs-public-profile-v2{
    --cs-award-premium-bg:#101216;
    --cs-award-premium-surface:#22190b;
    --cs-award-premium-gold:#e7b928;
    --cs-award-premium-wave:rgba(255,218,105,.62);
    --cs-award-premium-border-start:rgba(255,213,73,.88);
    --cs-award-premium-border-end:rgba(104,76,16,.24);
    --cs-award-premium-border-width:1px;
    --cs-award-premium-image:linear-gradient(transparent,transparent);
    --cs-award-premium-image-opacity:42%;
    --cs-award-premium-radius:14px;
    --cs-award-premium-wave-opacity:56%;
    --cs-award-premium-glow-strength:24px;
}

/* Sidebar spotlight: one cohesive premium surface. */
.cs-public-profile-v2 .cs-public-sidebar__award-preview{
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    border:var(--cs-award-premium-border-width) solid transparent!important;
    border-radius:var(--cs-award-premium-radius)!important;
    background-image:
        radial-gradient(115% 145% at 112% 6%, color-mix(in srgb,var(--cs-award-premium-surface) 86%,transparent) 0 30%, transparent 62%),
        linear-gradient(145deg,var(--cs-award-premium-bg) 0%,#111318 46%,var(--cs-award-premium-surface) 145%),
        linear-gradient(135deg,var(--cs-award-premium-border-start) 0%,color-mix(in srgb,var(--cs-award-premium-border-start) 42%,var(--cs-award-premium-border-end)) 44%,var(--cs-award-premium-border-end) 100%)!important;
    background-origin:padding-box,padding-box,border-box!important;
    background-clip:padding-box,padding-box,border-box!important;
    box-shadow:
        0 12px 30px rgba(0,0,0,.30),
        0 0 var(--cs-award-premium-glow-strength) color-mix(in srgb,var(--cs-award-premium-gold) 24%,transparent),
        inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview::before,
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card::before{
    content:""!important;
    position:absolute!important;
    z-index:1!important;
    pointer-events:none!important;
    inset:-36% -30% auto 22%!important;
    width:122%!important;
    height:118%!important;
    border-radius:50%!important;
    background:
        radial-gradient(ellipse at center,
            transparent 0 45%,
            color-mix(in srgb,var(--cs-award-premium-wave) var(--cs-award-premium-wave-opacity),transparent) 46% 47.2%,
            transparent 48.2% 53%,
            color-mix(in srgb,var(--cs-award-premium-wave) var(--cs-award-premium-wave-opacity),transparent) 54% 54.8%,
            transparent 56% 100%)!important;
    transform:rotate(-10deg)!important;
    opacity:.9!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview::after,
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card::after{
    content:""!important;
    position:absolute!important;
    z-index:0!important;
    pointer-events:none!important;
    inset:0!important;
    width:auto!important;
    height:auto!important;
    border-radius:inherit!important;
    background-image:var(--cs-award-premium-image)!important;
    background-position:center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    opacity:var(--cs-award-premium-image-opacity)!important;
    filter:none!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview>*{
    position:relative!important;
    z-index:2!important;
}
.cs-public-profile-v2 .cs-public-award-preview-card__title{
    color:var(--cs-award-premium-gold)!important;
    text-shadow:0 0 16px color-mix(in srgb,var(--cs-award-premium-gold) 22%,transparent)!important;
}
.cs-public-profile-v2 .cs-public-award-preview-card__title>span{
    background:color-mix(in srgb,var(--cs-award-premium-gold) 12%,transparent)!important;
    border-color:color-mix(in srgb,var(--cs-award-premium-gold) 32%,transparent)!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview .cs-contest-award-card--preview{
    position:relative!important;
    z-index:2!important;
    border:0!important;
    border-radius:calc(var(--cs-award-premium-radius) - 3px)!important;
    background:linear-gradient(135deg,color-mix(in srgb,var(--cs-award-premium-gold) 9%,transparent),rgba(255,255,255,.018))!important;
    backdrop-filter:blur(2px)!important;
}
.cs-public-profile-v2 .cs-public-award-preview-card__more{
    position:relative!important;
    z-index:2!important;
    color:var(--cs-award-premium-gold)!important;
    border-top-color:color-mix(in srgb,var(--cs-award-premium-gold) 24%,transparent)!important;
}
.cs-public-profile-v2 .cs-public-award-preview-card__more:hover{
    background:color-mix(in srgb,var(--cs-award-premium-gold) 9%,transparent)!important;
    color:#fff6cb!important;
}

/* Full Palkinnot tab: same visual language, current award content preserved. */
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-grid{
    gap:14px!important;
}
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card{
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    border:var(--cs-award-premium-border-width) solid transparent!important;
    border-radius:var(--cs-award-premium-radius)!important;
    background-image:
        radial-gradient(105% 150% at 108% 0%,color-mix(in srgb,var(--cs-award-premium-surface) 88%,transparent) 0 28%,transparent 62%),
        linear-gradient(145deg,var(--cs-award-premium-bg) 0%,#121419 50%,var(--cs-award-premium-surface) 150%),
        linear-gradient(135deg,var(--cs-award-premium-border-start) 0%,color-mix(in srgb,var(--cs-award-premium-border-start) 42%,var(--cs-award-premium-border-end)) 44%,var(--cs-award-premium-border-end) 100%)!important;
    background-origin:padding-box,padding-box,border-box!important;
    background-clip:padding-box,padding-box,border-box!important;
    box-shadow:
        0 14px 34px rgba(0,0,0,.24),
        0 0 var(--cs-award-premium-glow-strength) color-mix(in srgb,var(--cs-award-premium-gold) 20%,transparent),
        inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card>*{
    position:relative!important;
    z-index:2!important;
}
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card__title,
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card [class*="place"],
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card [class*="rank"]{
    text-shadow:0 0 14px color-mix(in srgb,var(--cs-award-premium-gold) 16%,transparent)!important;
}
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card:hover{
    transform:translateY(-1px)!important;
    box-shadow:
        0 17px 38px rgba(0,0,0,.30),
        0 0 var(--cs-award-premium-glow-strength) color-mix(in srgb,var(--cs-award-premium-gold) 27%,transparent),
        inset 0 1px 0 rgba(255,255,255,.07)!important;
}
@media(max-width:780px){
    .cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card::before{
        inset:-28% -36% auto 16%!important;
    }
}


/* v1.5.50: award gradient-border + optional Elementor background image.
 * Border runs brightest from top-left toward a darker bottom-right.
 * The inner placement card in the sidebar intentionally has no 1px outline. */


/* v1.5.51: make Elementor premium award controls authoritative.
 * The controls write variables directly on .cs-public-profile-v2, because
 * variables inherited from the Elementor wrapper were previously shadowed
 * by the profile root defaults. The image is an explicit overlay layer above
 * the base gradients and below the decorative wave/content. */
.cs-public-profile-v2 .cs-public-sidebar__award-preview,
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card{
    border-width:var(--cs-award-premium-border-width)!important;
    border-style:solid!important;
    border-color:transparent!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview::after,
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card::after{
    inset:var(--cs-award-premium-border-width)!important;
    border-radius:max(0px,calc(var(--cs-award-premium-radius) - var(--cs-award-premium-border-width)))!important;
    background-image:var(--cs-award-premium-image)!important;
    background-position:center center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    opacity:var(--cs-award-premium-image-opacity)!important;
    z-index:0!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview::before,
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card::before{
    z-index:1!important;
}
.cs-public-profile-v2 .cs-public-sidebar__award-preview>* ,
.cs-public-profile-v2 [data-cs-public-panel="awards"] .cs-contest-award-card>*{
    position:relative!important;
    z-index:2!important;
}
/* Keep the placement content open so a custom image can actually be seen. */
.cs-public-profile-v2 .cs-public-sidebar__award-preview .cs-contest-award-card--preview{
    border:0!important;
    background:linear-gradient(135deg,rgba(10,12,15,.28),rgba(10,12,15,.08))!important;
}
