/* ============================================================
   BEDEEL PUBLIC SOCIAL R4.1 POLISH
   Dark-first social discovery experience
============================================================ */

*,
*::before,
*::after{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    min-width:320px;
    min-height:100%;
}

body.np4-public{
    min-height:100vh;

    color:var(--np-text);

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(78,81,230,.13),
            transparent 30%
        ),
        var(--np-page);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* ============================================================
   HEADER
============================================================ */

.np4-header{
    height:56px;

    position:sticky;
    top:0;
    z-index:100;

    border-bottom:1px solid var(--np-border);

    background:
        color-mix(
            in srgb,
            var(--np-page) 93%,
            transparent
        );

    backdrop-filter:blur(22px);
}

.np4-header-inner{
    width:100%;
    max-width:1440px;
    height:100%;

    margin:0 auto;

    padding:0 18px;

    display:grid;

    grid-template-columns:
        185px
        minmax(320px,680px)
        minmax(170px,1fr);

    align-items:center;

    gap:18px;
}

.np4-brand{
    min-width:0;

    display:flex;
    align-items:center;

    gap:10px;

    color:var(--np-text);

    text-decoration:none;
}

.np4-brand-icon{
    width:34px;
    height:34px;

    flex:0 0 34px;

    display:grid;
    place-items:center;

    border-radius:12px;

    color:#fff;

    background:
        linear-gradient(
            145deg,
            #327eff,
            #7355ff
        );

    box-shadow:
        0 12px 28px rgba(58,83,255,.22);

    font-size:16px;
    font-weight:950;
}

.np4-brand>span:last-child{
    min-width:0;

    display:flex;
    flex-direction:column;
}

.np4-brand strong{
    font-size:14px;
    line-height:1;
}

.np4-brand small{
    margin-top:3px;

    overflow:hidden;

    color:var(--np-muted);

    font-size:7px;

    white-space:nowrap;
    text-overflow:ellipsis;
}

/* SEARCH */

.np4-search{
    height:37px;

    display:grid;

    grid-template-columns:
        34px
        minmax(0,1fr);

    align-items:center;

    overflow:hidden;

    border:1px solid var(--np-border);
    border-radius:12px;

    background:var(--np-surface);
}

.np4-search>span{
    display:grid;
    place-items:center;

    color:var(--np-muted);

    font-size:15px;
}

.np4-search input{
    width:100%;
    height:100%;

    padding:0 10px 0 0;

    border:0;
    outline:0;

    color:var(--np-text);

    background:transparent;

    font-size:10px;
}

.np4-search input::placeholder{
    color:var(--np-muted);
}

/* AUTH */

.np4-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:8px;
}

.np4-header-actions>a{
    text-decoration:none;

    font-size:9px;
    font-weight:850;
}

.np4-login{
    padding:9px 11px;

    color:var(--np-muted);
}

.np4-login:hover{
    color:var(--np-text);
}

.np4-register{
    padding:9px 14px;

    border-radius:10px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #2b7eff,
            #7054ff
        );

    box-shadow:
        0 9px 24px rgba(60,80,255,.18);
}

/* ============================================================
   THEME
============================================================ */

.np4-theme-control{
    position:fixed;

    right:18px;
    bottom:18px;

    z-index:120;
}

.np4-theme-control .np-theme-toggle{
    width:39px;
    height:39px;

    border-radius:50%;

    background:var(--np-surface);

    box-shadow:
        0 14px 38px rgba(0,0,0,.18);
}

.np4-theme-control>span{
    position:absolute;

    right:51px;
    top:50%;

    padding:6px 8px;

    transform:translateY(-50%) translateX(4px);

    border:1px solid var(--np-border);
    border-radius:8px;

    color:var(--np-text);

    background:var(--np-surface);

    font-size:7px;

    white-space:nowrap;

    opacity:0;
    visibility:hidden;

    transition:.15s ease;
}

.np4-theme-control:hover>span{
    opacity:1;
    visibility:visible;

    transform:translateY(-50%);
}

/* ============================================================
   SOCIAL GRID
============================================================ */

.np4-shell{
    width:100%;
    max-width:1440px;

    margin:0 auto;

    padding:14px 18px 42px;

    display:grid;

    grid-template-columns:
        190px
        minmax(0,1fr)
        258px;

    align-items:start;

    gap:12px;
}

/* ============================================================
   LEFT
============================================================ */

.np4-left{
    display:grid;

    gap:10px;

    position:sticky;
    top:70px;
}

.np4-left-nav{
    display:grid;

    gap:3px;

    padding:6px;
}

.np4-left-nav>a{
    min-height:47px;

    display:grid;

    grid-template-columns:
        34px
        minmax(0,1fr);

    align-items:center;

    gap:9px;

    padding:6px 8px;

    border-radius:11px;

    color:var(--np-muted);

    text-decoration:none;

    transition:.15s ease;
}

.np4-left-nav>a:hover,
.np4-left-nav>a.is-active{
    color:var(--np-text);

    background:var(--np-surface);
}

.np4-left-nav i{
    width:34px;
    height:34px;

    display:grid;
    place-items:center;

    border-radius:10px;

    color:#67a8ff;

    background:
        color-mix(
            in srgb,
            var(--np-surface-2) 85%,
            #1468ff
        );

    font-style:normal;
}

.np4-left-nav>a>span{
    min-width:0;

    display:grid;
}

.np4-left-nav strong{
    font-size:9px;
}

.np4-left-nav small{
    margin-top:2px;

    color:var(--np-muted);

    font-size:6px;
}

/* SECTORS */

.np4-sectors{
    padding:7px 10px 9px;

    border-top:1px solid var(--np-border);
}

.np4-section-label{
    display:block;

    padding:5px 0 7px;

    color:#68a7ff;

    font-size:6px;
    font-weight:950;

    letter-spacing:.11em;
}

.np4-sectors>a{
    min-height:28px;

    display:flex;
    align-items:center;

    gap:7px;

    color:var(--np-muted);

    text-decoration:none;

    font-size:7px;
}

.np4-sectors>a:hover{
    color:var(--np-text);
}

.np4-sectors>a>span{
    width:6px;
    height:6px;

    border-radius:50%;

    background:#317dff;
}

/* LEFT CTA */

.np4-left-cta{
    overflow:hidden;

    padding:12px;

    border:1px solid var(--np-border);
    border-radius:15px;

    background:var(--np-surface);
}

.np4-left-cta-art{
    height:72px;

    position:relative;

    margin:-12px -12px 11px;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(102,79,255,.30),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #102b58,
            #164d9b
        );
}

.np4-left-cta-art::before,
.np4-left-cta-art::after{
    content:"";

    position:absolute;

    left:50%;
    top:50%;

    border:1px solid rgba(255,255,255,.12);
    border-radius:50%;

    transform:translate(-50%,-50%);
}

.np4-left-cta-art::before{
    width:90px;
    height:90px;
}

.np4-left-cta-art::after{
    width:140px;
    height:140px;
}

.np4-left-cta-art>span{
    width:35px;
    height:35px;

    position:absolute;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    border-radius:11px;

    background:
        linear-gradient(
            145deg,
            #347fff,
            #7456ff
        );
}

.np4-left-cta-art>i,
.np4-left-cta-art>b{
    width:21px;
    height:21px;

    position:absolute;

    border-radius:7px;

    background:rgba(255,255,255,.12);
}

.np4-left-cta-art>i{
    left:25px;
    top:18px;
}

.np4-left-cta-art>b{
    right:25px;
    bottom:16px;
}

.np4-left-cta>strong{
    display:block;

    font-size:10px;
}

.np4-left-cta>p{
    margin:5px 0 0;

    color:var(--np-muted);

    font-size:7px;
    line-height:1.45;
}

.np4-left-cta>a{
    margin-top:9px;

    display:block;

    padding:8px;

    border-radius:9px;

    color:#fff;

    background:#1768ff;

    text-align:center;
    text-decoration:none;

    font-size:7px;
    font-weight:900;
}

/* ============================================================
   CENTER
============================================================ */

.np4-main{
    min-width:0;

    display:grid;

    gap:13px;
}

/* ============================================================
   HERO
============================================================ */

.np4-hero{
    overflow:hidden;

    border-radius:16px;

    background:var(--np-surface);

    box-shadow:
        0 18px 60px rgba(0,0,0,.07);
}

.np4-hero-media{
    height:255px;

    position:relative;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #12325f,
            #1c4f8c
        );
}

.np4-hero-media>img{
    width:100%;
    height:100%;

    object-fit:cover;

    display:block;
}

.np4-hero-overlay{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(4,13,28,.90) 0%,
            rgba(4,13,28,.66) 42%,
            rgba(4,13,28,.18) 75%,
            rgba(4,13,28,.08) 100%
        );
}

.np4-hero-copy{
    max-width:520px;

    position:absolute;

    left:26px;
    top:50%;

    z-index:3;

    transform:translateY(-50%);
}

.np4-hero-copy>span{
    color:#80b6ff;

    font-size:7px;
    font-weight:950;

    letter-spacing:.12em;
}

.np4-hero-copy h1{
    margin:8px 0;

    color:#fff;

    font-size:32px;
    line-height:.98;

    letter-spacing:-.045em;
}

.np4-hero-copy h1 strong{
    color:#63d9b8;
}

.np4-hero-copy p{
    max-width:430px;

    margin:0;

    color:rgba(255,255,255,.72);

    font-size:9px;
    line-height:1.5;
}

.np4-hero-live{
    position:absolute;

    right:18px;
    top:18px;

    z-index:4;

    display:flex;
    align-items:center;

    gap:8px;

    padding:8px 10px;

    border:1px solid rgba(255,255,255,.17);
    border-radius:999px;

    background:rgba(3,15,31,.57);

    backdrop-filter:blur(12px);
}

.np4-live-dot{
    width:7px;
    height:7px;

    flex:0 0 7px;

    border-radius:50%;

    background:#3cdfae;

    box-shadow:
        0 0 12px rgba(60,223,174,.75);
}

.np4-hero-live>div{
    display:grid;
}

.np4-hero-live strong{
    color:#fff;

    font-size:7px;
}

.np4-hero-live small{
    color:rgba(255,255,255,.55);

    font-size:5px;
}

/* HERO ACTIONS */

.np4-hero-actions{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:1px;

    border-top:1px solid var(--np-border);
}

.np4-hero-actions>a{
    min-height:60px;

    display:grid;

    grid-template-columns:
        35px
        minmax(0,1fr);

    align-items:center;

    gap:8px;

    padding:9px 12px;

    color:var(--np-text);

    background:var(--np-surface);

    text-decoration:none;

    transition:.15s ease;
}

.np4-hero-actions>a:hover{
    background:var(--np-surface-2);
}

.np4-hero-actions i{
    width:35px;
    height:35px;

    display:grid;
    place-items:center;

    border-radius:10px;

    color:#6caaff;

    background:var(--np-surface-2);

    font-style:normal;
}

.np4-hero-actions>a>span{
    display:grid;
}

.np4-hero-actions strong{
    font-size:8px;
}

.np4-hero-actions small{
    margin-top:2px;

    color:var(--np-muted);

    font-size:6px;
}

/* ============================================================
   SEARCH PREVIEW
============================================================ */

.np4-search-preview{
    min-height:56px;

    display:grid;

    grid-template-columns:
        auto
        minmax(100px,1fr)
        auto;

    align-items:center;

    gap:16px;

    padding:10px 13px;

    border:1px solid rgba(59,128,255,.34);
    border-radius:13px;

    background:
        linear-gradient(
            135deg,
            rgba(38,112,255,.10),
            rgba(111,80,255,.05)
        );
}

.np4-search-preview>div:first-child{
    display:grid;
}

.np4-search-preview small{
    color:#69a7ff;

    font-size:6px;
    font-weight:950;
}

.np4-search-preview strong{
    margin-top:2px;

    font-size:10px;
}

.np4-search-mask{
    display:flex;

    gap:6px;
}

.np4-search-mask span{
    height:6px;

    border-radius:999px;

    background:var(--np-border);
}

.np4-search-mask span:nth-child(1){
    width:48%;
}

.np4-search-mask span:nth-child(2){
    width:30%;
}

.np4-search-mask span:nth-child(3){
    width:18%;
}

.np4-search-preview>a{
    color:#69b7ff;

    font-size:7px;
    font-weight:850;

    text-decoration:none;
}

/* ============================================================
   STORIES
============================================================ */

.np4-stories{
    padding:3px 0 2px;
}

.np4-stories>header{
    display:flex;
    align-items:end;
    justify-content:space-between;

    gap:12px;

    margin-bottom:8px;
}

.np4-stories>header>div{
    display:grid;
}

.np4-stories header small{
    color:#68a6ff;

    font-size:6px;
    font-weight:950;
}

.np4-stories h2{
    margin:2px 0 0;

    font-size:15px;
}

.np4-stories header>a{
    color:#68b5ff;

    font-size:7px;

    text-decoration:none;
}

.np4-story-row{
    display:grid;

    grid-template-columns:
        repeat(5,minmax(0,1fr));

    gap:9px;
}

.np4-story{
    min-width:0;

    color:var(--np-text);

    text-decoration:none;

    transition:.15s ease;
}

.np4-story:hover{
    transform:translateY(-2px);
}

.np4-story-image{
    height:102px;

    position:relative;

    overflow:hidden;

    border-radius:13px;

    background:
        linear-gradient(
            145deg,
            #153b6d,
            #275b9a
        );
}

.np4-story-image>img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:.25s ease;
}

.np4-story:hover .np4-story-image>img{
    transform:scale(1.04);
}

.np4-story-image>span{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(4,14,28,.82),
            transparent 65%
        );
}

.np4-story-avatar{
    width:31px;
    height:31px;

    position:absolute;

    left:8px;
    bottom:8px;

    display:grid;
    place-items:center;

    border:2px solid rgba(255,255,255,.85);
    border-radius:10px;

    color:#fff;

    background:#276fd1;

    font-size:9px;
    font-weight:950;
}

.np4-story>strong{
    display:block;

    margin-top:5px;

    overflow:hidden;

    font-size:7px;

    white-space:nowrap;
    text-overflow:ellipsis;
}

.np4-story>small{
    color:var(--np-muted);

    font-size:5.5px;
}

.np4-story.is-locked .np4-story-image{
    display:grid;
    place-items:center;

    background:
        linear-gradient(
            145deg,
            #122943,
            #243c63
        );
}

.np4-story-lock{
    font-size:18px;
}

/* ============================================================
   FEED
============================================================ */

.np4-feed-header{
    display:flex;

    align-items:end;
    justify-content:space-between;

    gap:12px;

    padding-top:2px;
}

.np4-feed-header>div{
    display:grid;
}

.np4-feed-header small{
    color:#68a6ff;

    font-size:6px;
    font-weight:950;
}

.np4-feed-header h2{
    margin:2px 0 0;

    font-size:18px;
}

.np4-feed-header>span{
    color:var(--np-muted);

    font-size:6px;
    letter-spacing:.08em;
}

.np4-feed{
    display:grid;

    gap:10px;
}

/* POST */

.np4-post{
    overflow:hidden;

    border:1px solid var(--np-border);
    border-radius:15px;

    background:var(--np-surface);

    box-shadow:
        0 15px 45px rgba(0,0,0,.05);
}

.np4-post-header{
    min-height:56px;

    display:grid;

    grid-template-columns:
        39px
        minmax(0,1fr)
        auto;

    align-items:center;

    gap:9px;

    padding:10px 12px;
}

.np4-post-avatar{
    width:39px;
    height:39px;

    display:grid;
    place-items:center;

    border-radius:50%;

    color:#fff;

    background:
        linear-gradient(
            145deg,
            #317cff,
            #7155ff
        );

    font-size:12px;
    font-weight:950;
}

.np4-post-author{
    min-width:0;

    display:grid;
}

.np4-post-author strong{
    overflow:hidden;

    font-size:9px;

    white-space:nowrap;
    text-overflow:ellipsis;
}

.np4-post-author span{
    margin-top:2px;

    color:var(--np-muted);

    font-size:6px;
}

.np4-post-type{
    padding:5px 7px;

    border-radius:999px;

    font-size:6px;
    font-weight:950;
}

.np4-post-type.is-buy{
    color:#ffb45e;

    background:rgba(245,166,66,.10);
}

.np4-post-type.is-sell{
    color:#42d1a1;

    background:rgba(50,204,150,.10);
}

.np4-post-type.is-connect{
    color:#9186ff;

    background:rgba(115,93,255,.12);
}

/* IMAGE */

.np4-post-image{
    height:225px;

    position:relative;

    display:block;

    overflow:hidden;

    color:#fff;

    text-decoration:none;

    background:
        linear-gradient(
            135deg,
            #143862,
            #265c9c
        );
}

.np4-post-image>img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:.28s ease;
}

.np4-post:hover .np4-post-image>img{
    transform:scale(1.015);
}

.np4-post-gradient{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(3,12,24,.90),
            rgba(3,12,24,.08) 65%,
            rgba(3,12,24,.03)
        );
}

.np4-post-image-copy{
    max-width:600px;

    position:absolute;

    left:16px;
    right:16px;
    bottom:14px;

    z-index:3;

    display:grid;
}

.np4-post-image-copy>span{
    color:#84bbff;

    font-size:6px;
    font-weight:950;

    letter-spacing:.12em;
}

.np4-post-image-copy>strong{
    margin-top:4px;

    color:#fff;

    font-size:18px;
    line-height:1.12;
}

/* BODY */

.np4-post-body{
    padding:10px 12px 4px;
}

.np4-post-body p{
    margin:0;

    color:var(--np-muted);

    font-size:8px;
    line-height:1.5;
}

.np4-post-tags{
    margin-top:8px;

    display:flex;
    flex-wrap:wrap;

    gap:5px;
}

.np4-post-tags span{
    padding:4px 7px;

    border:1px solid var(--np-border);
    border-radius:999px;

    color:var(--np-muted);

    font-size:6px;
}

/* ACTIONS */

.np4-post-actions{
    min-height:41px;

    display:flex;
    align-items:center;

    gap:18px;

    padding:8px 12px;

    border-top:1px solid var(--np-border);
}

.np4-post-actions>a{
    display:flex;
    align-items:center;

    gap:5px;

    color:var(--np-muted);

    font-size:7px;
    font-weight:800;

    text-decoration:none;
}

.np4-post-actions>a:hover{
    color:#69aaff;
}

.np4-post-open{
    margin-left:auto;
}

/* ============================================================
   LOCKED FEED
============================================================ */

.np4-locked-feed{
    padding:14px;

    overflow:hidden;

    border:1px solid rgba(78,113,213,.35);
    border-radius:16px;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(115,78,255,.11),
            transparent 36%
        ),
        var(--np-surface);
}

.np4-locked-title{
    display:grid;

    grid-template-columns:
        38px
        minmax(0,1fr);

    align-items:center;

    gap:9px;
}

.np4-locked-title>span{
    width:38px;
    height:38px;

    display:grid;
    place-items:center;

    border-radius:12px;

    background:var(--np-surface-2);
}

.np4-locked-title>div{
    display:grid;
}

.np4-locked-title small{
    color:#68a6ff;

    font-size:6px;
    font-weight:950;
}

.np4-locked-title strong{
    margin-top:2px;

    font-size:11px;
}

.np4-blurred-posts{
    margin-top:11px;

    display:grid;

    gap:6px;

    filter:blur(2px);

    opacity:.42;
}

.np4-blurred-posts>div{
    min-height:43px;

    display:grid;

    grid-template-columns:
        31px
        minmax(0,1fr)
        85px;

    align-items:center;

    gap:8px;

    padding:6px;

    border:1px solid var(--np-border);
    border-radius:9px;

    background:var(--np-surface-2);
}

.np4-blurred-posts>div>span{
    width:31px;
    height:31px;

    border-radius:50%;

    background:#1c4770;
}

.np4-blurred-posts section{
    display:grid;

    gap:4px;
}

.np4-blurred-posts b{
    width:55%;
    height:6px;

    border-radius:999px;

    background:var(--np-border);
}

.np4-blurred-posts i{
    width:35%;
    height:5px;

    border-radius:999px;

    background:var(--np-border);
}

.np4-blurred-posts em{
    height:7px;

    border-radius:999px;

    background:var(--np-border);
}

.np4-locked-feed>a{
    margin-top:10px;

    min-height:36px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    border-radius:9px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #2b7eff,
            #6d54ff
        );

    text-decoration:none;

    font-size:8px;
    font-weight:900;
}

/* ============================================================
   RIGHT
============================================================ */

.np4-right{
    display:grid;

    gap:10px;

    position:sticky;
    top:70px;
}

.np4-right-discover{
    padding:12px;

    border:1px solid var(--np-border);
    border-radius:15px;

    background:var(--np-surface);
}

.np4-right-discover>header{
    display:flex;
    justify-content:space-between;

    margin-bottom:6px;
}

.np4-right-discover header small{
    color:#68a6ff;

    font-size:6px;
    font-weight:950;
}

.np4-right-discover h3{
    margin:2px 0 0;

    font-size:13px;
}

.np4-right-discover>header>.np4-live-dot{
    margin-top:5px;
}

.np4-right-discover>a:not(.np4-see-more){
    min-height:48px;

    display:grid;

    grid-template-columns:
        34px
        minmax(0,1fr)
        auto;

    align-items:center;

    gap:8px;

    padding:6px 0;

    border-top:1px solid var(--np-border);

    color:var(--np-text);

    text-decoration:none;
}

.np4-right-avatar{
    width:34px;
    height:34px;

    display:grid;
    place-items:center;

    border-radius:50%;

    color:#fff;

    background:
        linear-gradient(
            145deg,
            #2f7cff,
            #6f56ff
        );

    font-size:9px;
    font-weight:950;
}

.np4-right-discover>a>span:nth-child(2){
    min-width:0;

    display:grid;
}

.np4-right-discover>a strong{
    overflow:hidden;

    font-size:7px;

    white-space:nowrap;
    text-overflow:ellipsis;
}

.np4-right-discover>a small{
    color:var(--np-muted);

    font-size:5.5px;
}

.np4-right-discover>a>b{
    color:#68a9ff;
}

.np4-see-more{
    margin-top:5px;

    min-height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:8px;

    color:#68b5ff;

    background:var(--np-surface-2);

    text-decoration:none;

    font-size:7px;
    font-weight:850;
}

/* RIGHT PHOTO */

.np4-right-photo{
    height:215px;

    position:relative;

    overflow:hidden;

    border-radius:16px;

    background:
        linear-gradient(
            145deg,
            #143765,
            #235996
        );
}

.np4-right-photo>img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;
}

.np4-right-photo-overlay{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(3,12,26,.94),
            rgba(3,12,26,.12) 68%
        );
}

.np4-right-photo>div{
    position:absolute;

    left:13px;
    right:13px;
    bottom:13px;

    z-index:3;

    display:grid;
}

.np4-right-photo small{
    color:#84b9ff;

    font-size:6px;
    font-weight:950;
}

.np4-right-photo strong{
    margin-top:4px;

    color:#fff;

    font-size:12px;
    line-height:1.25;
}

.np4-right-photo a{
    margin-top:9px;

    color:#fff;

    font-size:7px;
    font-weight:850;

    text-decoration:none;
}

/* LOCKED */

.np4-right-locked{
    display:grid;

    grid-template-columns:
        35px
        minmax(0,1fr);

    gap:9px;

    padding:11px;

    border:1px solid var(--np-border);
    border-radius:13px;

    background:var(--np-surface);
}

.np4-right-locked>span{
    width:35px;
    height:35px;

    display:grid;
    place-items:center;

    border-radius:11px;

    background:var(--np-surface-2);
}

.np4-right-locked>div{
    display:grid;
}

.np4-right-locked strong{
    font-size:8px;
}

.np4-right-locked p{
    margin:3px 0 0;

    color:var(--np-muted);

    font-size:6px;
    line-height:1.4;
}


/* ============================================================
   R4.1 SOCIAL MICROINTERACTIONS
============================================================ */

.np4-post,
.np4-story,
.np4-right-discover,
.np4-left-cta,
.np4-hero{
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.np4-post:hover{
    transform:translateY(-1px);

    border-color:
        color-mix(
            in srgb,
            #438cff 28%,
            var(--np-border)
        );

    box-shadow:
        0 18px 48px rgba(0,0,0,.085);
}

.np4-post-image::after{
    content:"";

    position:absolute;
    inset:0;

    z-index:2;

    background:
        linear-gradient(
            120deg,
            transparent 15%,
            rgba(255,255,255,.035) 50%,
            transparent 78%
        );

    opacity:0;

    transition:opacity .2s ease;

    pointer-events:none;
}

.np4-post:hover .np4-post-image::after{
    opacity:1;
}

.np4-post-actions>a{
    padding:5px 7px;

    margin-left:-7px;

    border-radius:7px;

    transition:
        color .15s ease,
        background .15s ease;
}

.np4-post-actions>a:hover{
    color:#71afff;

    background:
        color-mix(
            in srgb,
            var(--np-surface-2) 80%,
            transparent
        );
}

.np4-story-image{
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.035);
}

.np4-story:hover .np4-story-image{
    box-shadow:
        0 10px 24px rgba(0,0,0,.13),
        inset 0 0 0 1px rgba(255,255,255,.05);
}

.np4-right-photo>img{
    transition:transform .35s ease;
}

.np4-right-photo:hover>img{
    transform:scale(1.025);
}

.np4-hero-media>img{
    transition:transform .6s ease;
}

.np4-hero:hover .np4-hero-media>img{
    transform:scale(1.008);
}

/* ============================================================
   LIGHT
============================================================ */

:root[data-theme="light"] body.np4-public{
    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(76,91,255,.075),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #edf3f9 0%,
            #eaf1f7 100%
        );
}

:root[data-theme="light"] .np4-post,
:root[data-theme="light"] .np4-right-discover,
:root[data-theme="light"] .np4-right-locked,
:root[data-theme="light"] .np4-left-cta{
    box-shadow:
        0 14px 40px rgba(35,58,83,.05);
}


:root[data-theme="light"] .np4-header{
    background:
        rgba(247,250,253,.94);

    border-bottom-color:#d5e0ea;
}

:root[data-theme="light"] .np4-search{
    border-color:#cfdae5;

    background:#ffffff;

    box-shadow:
        0 5px 18px rgba(39,62,87,.035);
}

:root[data-theme="light"] .np4-post,
:root[data-theme="light"] .np4-right-discover,
:root[data-theme="light"] .np4-right-locked,
:root[data-theme="light"] .np4-left-cta,
:root[data-theme="light"] .np4-hero{
    border-color:#d4dfe9;

    background:#ffffff;

    box-shadow:
        0 13px 34px rgba(37,57,78,.055);
}

:root[data-theme="light"] .np4-left-nav>a.is-active{
    background:#ffffff;

    box-shadow:
        0 7px 18px rgba(40,64,90,.045);
}

:root[data-theme="light"] .np4-hero-actions>a{
    background:#ffffff;
}

:root[data-theme="light"] .np4-hero-actions>a:hover{
    background:#f5f8fb;
}

:root[data-theme="light"] .np4-post-actions{
    border-top-color:#d9e2eb;
}

:root[data-theme="light"] .np4-post-tags span{
    background:#f7f9fb;

    border-color:#d4dfe8;
}

:root[data-theme="light"] .np4-locked-feed{
    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(115,78,255,.075),
            transparent 36%
        ),
        #ffffff;
}

/* ============================================================
   1366 / SMALL LAPTOP
============================================================ */

@media(max-width:1240px){

    .np4-header-inner{
        grid-template-columns:
            165px
            minmax(260px,1fr)
            auto;

        gap:12px;

        padding-left:12px;
        padding-right:12px;
    }

    .np4-shell{
        grid-template-columns:
            170px
            minmax(0,1fr)
            225px;

        gap:9px;

        padding-left:10px;
        padding-right:10px;
    }

    .np4-hero-media{
        height:225px;
    }

    .np4-hero-copy h1{
        font-size:28px;
    }

    .np4-story-image{
        height:92px;
    }

    .np4-post-image{
        height:205px;
    }

}

/* ============================================================
   TABLET
============================================================ */

@media(max-width:980px){

    .np4-brand small{
        display:none;
    }

    .np4-shell{
        grid-template-columns:
            minmax(0,1fr)
            230px;

        max-width:900px;
    }

    .np4-left{
        display:none;
    }

    .np4-story-row{
        grid-template-columns:
            repeat(4,minmax(0,1fr));
    }

    .np4-story:last-child{
        display:none;
    }

}

/* ============================================================
   MOBILE
============================================================ */

@media(max-width:720px){

    .np4-header{
        height:auto;
    }

    .np4-header-inner{
        grid-template-columns:
            minmax(0,1fr)
            auto;

        gap:8px;

        padding:8px 10px;
    }

    .np4-search{
        grid-column:1/-1;
        grid-row:2;

        height:40px;
    }

    .np4-login{
        display:none;
    }

    .np4-register{
        padding:8px 10px;
    }

    .np4-shell{
        display:block;

        padding:9px 9px 30px;
    }

    .np4-right{
        position:static;

        margin-top:12px;
    }

    .np4-right-discover{
        display:none;
    }

    .np4-hero-media{
        height:315px;
    }

    .np4-hero-copy{
        left:18px;
        right:18px;
        bottom:22px;
        top:auto;

        transform:none;
    }

    .np4-hero-copy h1{
        font-size:29px;
    }

    .np4-hero-live{
        right:11px;
        top:11px;
    }

    .np4-hero-actions{
        grid-template-columns:1fr;
    }

    .np4-hero-actions>a{
        min-height:54px;
    }

    .np4-story-row{
        display:flex;

        overflow-x:auto;

        scroll-snap-type:x mandatory;

        padding-bottom:5px;
    }

    .np4-story{
        min-width:122px;

        scroll-snap-align:start;
    }

    .np4-post-image{
        height:220px;
    }

    .np4-post-open{
        display:none !important;
    }

    .np4-theme-control{
        right:12px;
        bottom:12px;
    }

}

/* ============================================================
   END R4
============================================================ */

/* ============================================================
   BEDEEL UI R2 / PUBLIC IDENTITY START
============================================================ */

.np4-brand-icon{
    background:
        linear-gradient(
            145deg,
            color-mix(in srgb,var(--np-blue) 92%,#ffffff 8%),
            #6b5cff
        ) !important;
    border:1px solid rgba(255,255,255,.16) !important;
    color:#fff !important;
    box-shadow:
        0 8px 24px rgba(23,104,255,.22),
        inset 0 1px 0 rgba(255,255,255,.18);
    font-weight:950 !important;
    letter-spacing:-.04em;
}

.np4-brand strong{
    letter-spacing:-.025em;
}

.np4-hero{
    border-color:
        color-mix(
            in srgb,
            var(--np-border) 82%,
            var(--np-blue) 18%
        );
}

.np4-hero-copy>span{
    color:#a8c5ff;
    letter-spacing:.12em;
}

.np4-hero-copy h1{
    letter-spacing:-.035em;
}

.np4-hero-copy h1 strong{
    color:#9ec1ff;
}

.np4-register{
    background:
        linear-gradient(
            135deg,
            var(--np-blue),
            #675cff
        ) !important;
    box-shadow:0 8px 20px rgba(23,104,255,.18);
}

.np4-left-cta{
    border-color:
        color-mix(
            in srgb,
            var(--np-border) 82%,
            var(--np-blue) 18%
        );
}

html[data-theme="light"] .np4-hero-copy>span,
html[data-theme="light"] .np4-hero-copy h1 strong{
    color:#145fd6;
}

/* BEDEEL UI R2 / PUBLIC IDENTITY END */
