
:root{
  --v2-blue:#162434;
  --v2-soft:#0c1722;
}
body{min-height:100vh}
.v2-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;border:1px solid #26384a;background:#101b27;color:#dbe6f0;font-size:11px;font-weight:900}
.v2-badge.good{border-color:#245e3b;color:#72e89d;background:#10281a}
.v2-badge.bad{border-color:#6e2830;color:#ff7b84;background:#261216}
.v2-metric-note{font-size:11px;color:var(--muted);margin-top:4px}
.v2-empty{padding:24px;color:var(--muted);text-align:center}
.v2-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:15px 0}
.v2-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.v2-card{border:1px solid var(--line);background:linear-gradient(180deg,#101a24,#0b141d);border-radius:12px;padding:20px}
.v2-card h3{margin:0 0 10px}
.v2-card p{color:var(--muted);line-height:1.6}
.v2-form label{display:block;margin:14px 0 6px;font-weight:800;font-size:13px}
.v2-form input,.v2-form select,.v2-form textarea{
  width:100%;border:1px solid #26384a;background:#08121b;color:#fff;border-radius:9px;padding:11px 12px;
}
.v2-form textarea{min-height:180px;resize:vertical}
.v2-message{padding:13px 15px;border-radius:9px;margin:14px 0;border:1px solid #265b3b;background:#10261a;color:#72e89d}
.v2-message.error{border-color:#6e2830;background:#261216;color:#ff7b84}
.v2-pagination{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin:22px 0}
.v2-pagination a,.v2-pagination span{min-width:38px;height:38px;padding:0 11px;border:1px solid #26384a;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#101923}
.v2-pagination .active{background:var(--red);border-color:var(--red)}
.v2-table-note{font-size:11px;color:var(--muted);padding:12px 0}
.v2-odds{font-weight:900;background:#172536;padding:5px 8px;border-radius:6px;display:inline-block}
.v2-positive{color:var(--green);font-weight:900}
.v2-result-won{color:var(--green);font-weight:900}
.v2-result-lost{color:#ff5862;font-weight:900}
.v2-result-void{color:#9aa9b8;font-weight:900}
.v2-admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.v2-admin-nav a{padding:9px 12px;border:1px solid #26384a;border-radius:8px;background:#101923;font-weight:800;font-size:13px}
@media(max-width:900px){.v2-grid{grid-template-columns:1fr}}


/* NEXT-BET V2 · TEAM / LEAGUE LOGOS */
.v2-team-logo,
.v2-league-logo{
    display:inline-block;
    object-fit:contain;
    flex:0 0 auto;
    vertical-align:middle;
}

.v2-team-logo{
    width:24px;
    height:24px;
}

.v2-league-logo{
    width:22px;
    height:22px;
}

.v2-match-teams{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:220px;
}

.v2-team{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:700;
    white-space:nowrap;
}

.v2-vs{
    color:var(--muted);
    font-size:.78rem;
    font-weight:800;
    text-transform:uppercase;
}

.v2-league-label{
    display:inline-flex;
    align-items:center;
    gap:7px;
}

.v2-league-filter{
    display:inline-flex !important;
    align-items:center;
    gap:7px;
}

.v2-metric-note .v2-league-logo{
    width:17px;
    height:17px;
}

@media (max-width: 760px){
    .v2-match-teams{
        min-width:180px;
        gap:5px;
    }

    .v2-team-logo{
        width:21px;
        height:21px;
    }

    .v2-league-logo{
        width:19px;
        height:19px;
    }

    .v2-team{
        gap:4px;
    }
}


/* ==========================================================
   NEXT-BET EDITORIAL / ARTICLES REDESIGN
   ========================================================== */

.nb-mag-hero{
    margin:38px 0 22px;
    padding:42px 46px;
    border:1px solid #213244;
    border-radius:22px;
    background:
        radial-gradient(circle at 88% 20%,rgba(236,42,68,.16),transparent 26%),
        linear-gradient(135deg,#121d28 0%,#0b131d 66%,#090f16 100%);
    overflow:hidden;
    position:relative;
}

.nb-mag-hero:after{
    content:"NB";
    position:absolute;
    right:34px;
    bottom:-35px;
    font-size:180px;
    line-height:1;
    font-weight:1000;
    letter-spacing:-.09em;
    color:rgba(255,255,255,.025);
    pointer-events:none;
}

.nb-mag-hero h1{
    max-width:820px;
    margin:6px 0 12px;
    font-size:clamp(2.3rem,5vw,4.7rem);
    line-height:.98;
    letter-spacing:-.045em;
}

.nb-mag-hero h1 span{color:#ef334e}
.nb-mag-hero p{max-width:680px;color:#9eb1c3;font-size:1.08rem}

.nb-featured-leagues{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.nb-featured-league{
    min-height:120px;
    display:flex;
    align-items:center;
    gap:18px;
    padding:20px 24px;
    border:1px solid #243648;
    border-radius:18px;
    background:linear-gradient(145deg,#121e2a,#0c151f);
    text-decoration:none;
    color:#fff;
    transition:.2s ease;
}

.nb-featured-league:hover,
.nb-featured-league.active{
    transform:translateY(-2px);
    border-color:#ef334e;
    box-shadow:0 12px 28px rgba(0,0,0,.22);
}

.nb-featured-league-logo{
    width:70px;height:70px;
    border-radius:16px;
    display:grid;place-items:center;
    background:#071018;
    border:1px solid #26384a;
    flex:0 0 auto;
}

.nb-featured-logo{
    width:52px;height:52px;object-fit:contain;
}

.nb-featured-league small{
    display:block;
    font-size:.68rem;
    letter-spacing:.13em;
    color:#ef334e;
    font-weight:900;
    margin-bottom:5px;
}

.nb-featured-league strong{
    display:block;
    font-size:1.2rem;
    line-height:1.25;
}

.nb-featured-league span{
    display:block;
    margin-top:5px;
    color:#8297aa;
    font-size:.85rem;
}

.nb-league-strip{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.nb-league-pill{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 13px;
    border-radius:999px;
    border:1px solid #233547;
    background:#0e1822;
    color:#b9c7d4;
    text-decoration:none;
    font-size:.82rem;
    font-weight:800;
    transition:.18s ease;
}

.nb-league-pill:hover,
.nb-league-pill.active{
    color:#fff;
    border-color:#ef334e;
    background:#19202a;
}

.nb-league-pill.active{
    box-shadow:inset 0 -2px 0 #ef334e;
}

.nb-section-title{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:end;
    margin:36px 0 18px;
    padding-bottom:13px;
    border-bottom:1px solid #233446;
}

.nb-section-title small{
    color:#ef334e;
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.15em;
}

.nb-section-title h2{
    margin:3px 0 0;
    font-size:1.65rem;
}

.nb-section-title>span{
    color:#7f93a5;
    font-size:.82rem;
}

.nb-article-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.nb-article-card{
    overflow:hidden;
    border:1px solid #213244;
    border-radius:18px;
    background:#101a24;
    transition:.2s ease;
}

.nb-article-card:hover{
    transform:translateY(-4px);
    border-color:#31475c;
    box-shadow:0 20px 38px rgba(0,0,0,.24);
}

.nb-article-image{
    position:relative;
    display:block;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#081019;
}

.nb-article-image>img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.nb-article-card:hover .nb-article-image>img{
    transform:scale(1.035);
}

.nb-image-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(3,8,13,.78) 0%,rgba(3,8,13,0) 55%);
    pointer-events:none;
}

.nb-card-league{
    position:absolute;
    left:14px;
    bottom:13px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(5,11,17,.86);
    border:1px solid rgba(255,255,255,.14);
    backdrop-filter:blur(9px);
    color:#fff;
    font-size:.72rem;
    font-weight:900;
}

.nb-card-league.static{
    position:static;
    width:max-content;
    margin-bottom:18px;
    background:#101a24;
}

.nb-article-placeholder{
    width:100%;height:100%;
    display:grid;place-items:center;
    background:
        radial-gradient(circle at 50% 35%,rgba(239,51,78,.14),transparent 28%),
        linear-gradient(145deg,#131f2b,#0a121b);
}

.nb-placeholder-logo{
    width:82px;height:82px;
    object-fit:contain;
    opacity:.72;
}

.nb-article-body{
    padding:18px 19px 20px;
}

.nb-article-date{
    font-size:.72rem;
    color:#71869a;
    margin-bottom:8px;
}

.nb-article-body h3{
    font-size:1.18rem;
    line-height:1.25;
    margin:0 0 9px;
}

.nb-article-body h3 a{
    color:#fff;
    text-decoration:none;
}

.nb-article-body p{
    color:#93a6b7;
    line-height:1.6;
    font-size:.9rem;
    margin:0 0 15px;
}

.nb-read-more{
    color:#fff;
    text-decoration:none;
    font-size:.82rem;
    font-weight:900;
}

.nb-read-more span{color:#ef334e}

.nb-empty-editorial{
    min-height:280px;
    display:grid;
    place-items:center;
    align-content:center;
    text-align:center;
    border:1px dashed #2b3d4f;
    border-radius:18px;
    background:#0d1721;
    padding:35px;
}

.nb-empty-editorial h3{margin:10px 0 6px}
.nb-empty-editorial p{max-width:520px;color:#8296a8}
.nb-empty-icon{font-size:2rem;color:#ef334e}

/* Article detail */
.nb-article-page{max-width:1040px}
.nb-article-breadcrumb{
    display:flex;align-items:center;gap:8px;
    margin:32px 0 24px;
    color:#71869a;
    font-size:.8rem;
}
.nb-article-breadcrumb a{color:#a9b8c6;text-decoration:none}
.nb-article-header{max-width:880px;margin-bottom:26px}
.nb-article-header h1{
    font-size:clamp(2.2rem,5vw,4.4rem);
    line-height:1.02;
    letter-spacing:-.04em;
    margin:0 0 15px;
}
.nb-article-meta{color:#73879a;font-size:.82rem}
.nb-article-hero-image{
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:22px;
    border:1px solid #26384a;
    background:#081019;
    margin-bottom:30px;
}
.nb-article-hero-image img{
    width:100%;height:100%;object-fit:cover;display:block;
}
.nb-article-content{
    max-width:820px;
    margin:0 auto;
    padding:10px 0 34px;
    font-size:1.08rem;
    line-height:1.9;
    color:#d6dee6;
}
.nb-article-disclaimer{
    max-width:820px;
    margin:0 auto 40px;
    padding-top:18px;
    border-top:1px solid #233446;
    color:#748899;
    font-size:.78rem;
}

/* Admin image previews */
.nb-article-admin-preview{
    margin-top:8px;
    max-width:500px;
}
.nb-article-admin-preview img{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    border-radius:12px;
    border:1px solid #26384a;
    margin-bottom:8px;
}
.nb-admin-thumb{
    width:82px;
    height:46px;
    object-fit:cover;
    border-radius:7px;
    border:1px solid #26384a;
}

@media (max-width: 980px){
    .nb-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 720px){
    .nb-mag-hero{padding:30px 23px;border-radius:17px}
    .nb-mag-hero:after{font-size:110px}
    .nb-featured-leagues{grid-template-columns:1fr}
    .nb-featured-league{min-height:100px}
    .nb-article-grid{grid-template-columns:1fr}
    .nb-league-strip{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:8px;
        scrollbar-width:thin;
    }
    .nb-league-pill{white-space:nowrap}
    .nb-article-header h1{font-size:2.25rem}
}


/* ==========================================================
   NEXT-BET · PROFESSIONAL MATCHDAY ARTICLE
   ========================================================== */

.nb-matchday-article{
    max-width:900px;
}

.nb-matchday-article>p{
    margin:0 0 24px;
    color:#cfdae3;
    font-size:1.04rem;
    line-height:1.92;
}

.nb-matchday-date{
    margin:42px 0 16px;
    display:flex;
    align-items:center;
    gap:14px;
}

.nb-matchday-date:after{
    content:"";
    height:1px;
    flex:1;
    background:linear-gradient(90deg,#2d4154,transparent);
}

.nb-matchday-date span{
    color:#ef334e;
    font-size:.82rem;
    font-weight:1000;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.nb-matchday-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);
    align-items:center;
    gap:18px;
    min-height:150px;
    margin:16px 0 24px;
    padding:24px 28px;
    border:1px solid #2a3d50;
    border-radius:20px;
    background:
        radial-gradient(circle at 50% 0%,rgba(239,51,78,.08),transparent 35%),
        linear-gradient(145deg,#111d28,#0b141d);
    box-shadow:0 12px 30px rgba(0,0,0,.16);
}

.nb-match-team{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.nb-away-team{
    flex-direction:row-reverse;
    text-align:right;
}

.nb-match-team strong{
    font-size:1.12rem;
    line-height:1.25;
    color:#fff;
}

.nb-match-team-logo{
    width:66px;
    height:66px;
    object-fit:contain;
    flex:0 0 auto;
    filter:drop-shadow(0 6px 12px rgba(0,0,0,.22));
}

.nb-team-fallback{
    width:62px;
    height:62px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:1px solid #33495e;
    background:#071018;
    color:#e7eef5;
    font-weight:1000;
    font-size:1.35rem;
    flex:0 0 auto;
}

.nb-match-center{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:86px;
    padding:10px;
    border-left:1px solid #26394b;
    border-right:1px solid #26394b;
}

.nb-match-time{
    color:#fff;
    font-size:1.18rem;
    font-weight:1000;
}

.nb-match-vs{
    margin-top:6px;
    color:#ef334e;
    font-size:.7rem;
    letter-spacing:.16em;
    font-weight:1000;
}

.nb-editorial-heading{
    margin:42px 0 18px;
    padding-left:15px;
    border-left:3px solid #ef334e;
    font-size:1.55rem;
    line-height:1.2;
}

@media(max-width:720px){
    .nb-matchday-card{
        grid-template-columns:1fr 72px 1fr;
        padding:19px 14px;
        gap:9px;
        min-height:132px;
    }

    .nb-match-team{
        flex-direction:column;
        gap:7px;
        text-align:center;
    }

    .nb-away-team{
        flex-direction:column;
    }

    .nb-match-team-logo,
    .nb-team-fallback{
        width:48px;
        height:48px;
    }

    .nb-match-team strong{
        font-size:.84rem;
    }

    .nb-match-center{
        min-height:70px;
        padding:6px;
    }

    .nb-match-time{
        font-size:.95rem;
    }
}


/* ==========================================================
   NEXT-BET · TIPSTER PHOTOS
   ========================================================== */

.nb-tipster-row{
    display:inline-flex;
    align-items:center;
    gap:11px;
    text-decoration:none;
    color:#fff;
}

.nb-tipster-row>span:last-child{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.nb-tipster-row small{
    color:#8095a8;
    font-size:.72rem;
}

.nb-tipster-avatar,
.nb-tipster-avatar-fallback{
    width:42px;
    height:42px;
    border-radius:50%;
    flex:0 0 auto;
}

.nb-tipster-avatar{
    object-fit:cover;
    border:2px solid #26394b;
    background:#0b141d;
}

.nb-tipster-avatar-fallback{
    display:grid;
    place-items:center;
    background:#101d28;
    border:1px solid #30465a;
    color:#fff;
    font-weight:1000;
}

.nb-tipster-profile-head{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:28px;
    align-items:center;
    margin:38px 0 30px;
    padding:28px;
    border:1px solid #25384a;
    border-radius:22px;
    background:
        radial-gradient(circle at 15% 20%,rgba(239,51,78,.10),transparent 25%),
        linear-gradient(145deg,#111d28,#0b141d);
}

.nb-tipster-profile-head h1{
    margin:4px 0 8px;
    font-size:clamp(2.2rem,5vw,4rem);
    line-height:1;
}

.nb-tipster-profile-head h1 span{color:#ef334e}

.nb-tipster-profile-head p{
    max-width:720px;
    color:#99acbd;
    line-height:1.65;
    margin-top:12px;
}

.nb-tipster-country{
    color:#ef334e;
    font-size:.8rem;
    font-weight:900;
    letter-spacing:.06em;
}

.nb-tipster-profile-photo{
    width:132px;
    height:132px;
    border-radius:50%;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:#081019;
    border:3px solid #2b4053;
    box-shadow:0 12px 28px rgba(0,0,0,.25);
}

.nb-tipster-profile-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.nb-tipster-profile-photo span{
    font-size:3rem;
    font-weight:1000;
    color:#fff;
}

.nb-tipster-admin-photo{
    margin:10px 0 5px;
}

.nb-tipster-admin-photo img{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #2a3d50;
    display:block;
    margin-bottom:8px;
}

.nb-tipster-admin-thumb{
    width:44px;
    height:44px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid #2a3d50;
}

@media(max-width:720px){
    .nb-tipster-profile-head{
        grid-template-columns:1fr;
        text-align:center;
        justify-items:center;
        padding:24px 18px;
    }

    .nb-tipster-profile-head p{
        text-align:left;
    }
}

/* ==========================================================
   NEXT-BET V3 · NAV / EDITIONS / HOME / CHAT
   ========================================================== */
.nb3-nav{gap:14px}
.nb3-edition-switch{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #223548;background:#0b151f;border-radius:999px;white-space:nowrap}
.nb3-edition-switch a{padding:6px 10px;border-radius:999px;color:#8fa2b4;font-size:11px;font-weight:900}
.nb3-edition-switch a.active{background:#172433;color:#fff;box-shadow:inset 0 0 0 1px #2b4054}
.nb3-home-hero{min-height:455px;background:linear-gradient(90deg,rgba(6,13,20,.98),rgba(6,13,20,.88) 48%,rgba(6,13,20,.18)),radial-gradient(circle at 80% 35%,rgba(239,47,58,.34),transparent 23rem),radial-gradient(circle at 95% 78%,rgba(35,107,172,.25),transparent 19rem),linear-gradient(145deg,#0a1824,#08121b 60%,#180c11)}
.nb3-engine-strip{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:18px 20px;border:1px solid #223548;border-radius:14px;background:linear-gradient(90deg,#101b26,#0b141d)}
.nb3-engine-strip>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.nb3-engine-strip strong{font-size:14px}.nb3-engine-strip small{color:#8194a6}.nb3-engine-strip p{margin:0;color:#8ea2b5;font-size:12px;line-height:1.5;max-width:560px;text-align:right}
.nb3-dot{width:9px;height:9px;border-radius:50%;background:#49d17d;box-shadow:0 0 0 5px rgba(73,209,125,.08)}
.nb3-chat-shell{border:1px solid #24384b;border-radius:18px;overflow:hidden;background:#0b141d;box-shadow:0 18px 44px rgba(0,0,0,.24)}
.nb3-chat-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #203345;background:linear-gradient(180deg,#111e2a,#0d1721)}
.nb3-chat-head>div{display:flex;align-items:center;gap:10px}.nb3-chat-head strong{font-size:15px}.nb3-chat-head span#nb3-online{font-size:11px;color:#7adf9f}
.nb3-chat-messages{height:min(62vh,620px);min-height:420px;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px;background:radial-gradient(circle at 100% 0,rgba(239,47,58,.05),transparent 20rem),#09121b}
.nb3-chat-msg{max-width:76%;align-self:flex-start}.nb3-chat-msg.own{align-self:flex-end}.nb3-chat-meta{display:flex;align-items:center;gap:7px;margin:0 0 5px;color:#8194a8;font-size:10px}.nb3-chat-meta strong{color:#dbe6f0;font-size:11px}.nb3-chat-msg.admin .nb3-chat-meta strong{color:#ff7380}.nb3-chat-meta>span{padding:2px 5px;border-radius:4px;background:#3a1720;color:#ff7e89;font-size:8px;font-weight:1000}.nb3-chat-meta time{margin-left:auto}.nb3-chat-text{padding:10px 12px;border:1px solid #263a4d;border-radius:13px 13px 13px 4px;background:#101c27;color:#e8eef4;line-height:1.5;font-size:13px;word-break:break-word}.nb3-chat-msg.own .nb3-chat-text{border-color:#6c2630;background:#251318;border-radius:13px 13px 4px 13px}.nb3-chat-delete{border:0;background:transparent;color:#71869a;cursor:pointer;font-size:14px;padding:0 2px}.nb3-chat-delete:hover{color:#ff6672}.nb3-chat-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-top:1px solid #203345;background:#0d1721}.nb3-chat-form input{min-height:44px;border:1px solid #2a3d50;border-radius:10px;background:#071018;color:#fff;padding:0 13px;outline:none}.nb3-chat-form input:focus{border-color:#485f75}.nb3-chat-error{min-height:20px;padding:0 14px 10px;color:#ff7f88;font-size:11px;background:#0d1721}
@media(max-width:1100px){.nb3-nav{flex-wrap:wrap;padding:8px 0}.nb3-edition-switch{order:2}.nb3-nav .menu{order:3;width:100%;overflow:auto}.nb3-nav .actions-nav{margin-left:auto}}
@media(max-width:760px){.nb3-edition-switch{width:auto}.nb3-edition-switch a{padding:6px 8px}.nb3-engine-strip{align-items:flex-start;flex-direction:column}.nb3-engine-strip p{text-align:left}.nb3-chat-messages{min-height:360px;height:58vh}.nb3-chat-msg{max-width:88%}.nb3-chat-form{grid-template-columns:1fr}.nb3-chat-form button{width:100%}}


/* ==========================================================
   NEXT-BET V3.3 · NOTIFICATIONS
   ========================================================== */

.nb-notification-bell{
    position:relative;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:1px solid #26384a;
    border-radius:12px;
    background:#0e1822;
    color:#fff;
    text-decoration:none;
    font-size:1.05rem;
}

.nb-notification-bell:hover{
    border-color:#ef334e;
}

#nb-notification-count{
    position:absolute;
    top:-7px;
    right:-7px;
    min-width:21px;
    height:21px;
    padding:0 5px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#ef334e;
    border:2px solid #071018;
    color:#fff;
    font-size:.64rem;
    font-weight:1000;
}

.nb-notification-list{
    display:flex;
    flex-direction:column;
}

.nb-notification-item{
    position:relative;
    display:grid;
    grid-template-columns:44px minmax(0,1fr) 10px;
    gap:13px;
    align-items:center;
    min-height:84px;
    padding:15px 18px;
    border-bottom:1px solid #203244;
    color:#fff;
    text-decoration:none;
    background:#0c151e;
}

.nb-notification-item:last-child{
    border-bottom:0;
}

.nb-notification-item:hover{
    background:#111e29;
}

.nb-notification-item.unread{
    background:
        linear-gradient(90deg,rgba(239,51,78,.08),transparent 55%),
        #0e1822;
}

.nb-notification-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#071018;
    border:1px solid #26384a;
}

.nb-notification-copy{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
}

.nb-notification-copy strong{
    font-size:.92rem;
}

.nb-notification-copy span{
    color:#9eb0c0;
    font-size:.84rem;
    line-height:1.45;
}

.nb-notification-copy small{
    color:#667c8f;
    font-size:.68rem;
}

.nb-notification-item>i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#ef334e;
}

.nb-notification-toggle{
    display:flex !important;
    align-items:flex-start;
    gap:12px;
    padding:14px 0;
    border-bottom:1px solid #233548;
}

.nb-notification-toggle input{
    width:18px;
    height:18px;
    margin-top:3px;
}

.nb-notification-toggle span{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.nb-notification-toggle small{
    color:#8297aa;
    line-height:1.45;
}

.nb-notification-toast-wrap{
    position:fixed;
    right:18px;
    top:84px;
    z-index:9999;
    display:flex;
    flex-direction:column;
    gap:10px;
    width:min(380px,calc(100vw - 36px));
    pointer-events:none;
}

.nb-notification-toast{
    display:flex;
    flex-direction:column;
    gap:5px;
    padding:14px 16px;
    border:1px solid #31475c;
    border-left:3px solid #ef334e;
    border-radius:13px;
    background:rgba(10,18,27,.97);
    box-shadow:0 18px 38px rgba(0,0,0,.35);
    color:#fff;
    text-decoration:none;
    opacity:0;
    transform:translateY(-8px);
    transition:.22s ease;
    pointer-events:auto;
    backdrop-filter:blur(12px);
}

.nb-notification-toast.show{
    opacity:1;
    transform:translateY(0);
}

.nb-notification-toast strong{
    font-size:.88rem;
}

.nb-notification-toast span{
    color:#9fb1c1;
    font-size:.8rem;
    line-height:1.4;
}

@media(max-width:760px){
    .nb-notification-bell{
        width:38px;
        height:38px;
    }

    .nb-notification-toast-wrap{
        top:70px;
    }
}


/* NEXT-BET V3.4 · TIPSTER STAFF + CHAT IDENTITIES */
.nb3-chat-msg{
    display:flex;
    align-items:flex-start;
    gap:10px;
}
.nb3-chat-avatar-wrap{
    flex:0 0 auto;
}
.nb3-chat-avatar,
.nb3-chat-avatar-fallback{
    width:38px;
    height:38px;
    border-radius:50%;
}
.nb3-chat-avatar{
    display:block;
    object-fit:cover;
    border:2px solid #2c4256;
    background:#0a131c;
}
.nb3-chat-avatar-fallback{
    display:grid;
    place-items:center;
    background:#13202c;
    border:1px solid #30485d;
    color:#fff;
    font-weight:1000;
}
.nb3-chat-bubble{
    min-width:0;
    flex:1;
}
.nb3-chat-msg.tipster .nb3-chat-bubble{
    border-left:2px solid #ef334e;
    padding-left:10px;
}
.nb3-chat-tipster-badge{
    display:inline-flex;
    align-items:center;
    padding:2px 6px;
    border-radius:999px;
    background:rgba(239,51,78,.12);
    border:1px solid rgba(239,51,78,.45);
    color:#ff6b80;
    font-size:.62rem;
    font-weight:1000;
    letter-spacing:.08em;
}

/* NEXT-BET ADSENSE / EDITORIAL READINESS */
.nb-policy-page{max-width:1040px}
.nb-policy-content{max-width:900px;margin:0 auto;line-height:1.85;color:#d6dee6}
.nb-policy-content h2{margin:30px 0 10px;font-size:1.35rem;padding-left:12px;border-left:3px solid #ef334e}
.nb-policy-content p{margin:0 0 18px;color:#c5d0da}
.nb-policy-content a{color:#fff;text-decoration-color:#ef334e}
.nb-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.nb-guide-card{border:1px solid #25384a;border-radius:18px;padding:22px;background:linear-gradient(145deg,#111d28,#0b141d)}
.nb-guide-card h2,.nb-guide-card h3{margin:8px 0 10px;line-height:1.25}
.nb-guide-card p{color:#94a8b9;line-height:1.6;margin-bottom:16px}
.nb-guide-content p{margin:0 0 22px}
.nb-readable-list{padding-left:22px;color:#cbd6df;line-height:1.75}
.nb-readable-list li{margin-bottom:10px}
code{background:#071018;border:1px solid #26384a;padding:2px 6px;border-radius:6px;color:#fff}
@media(max-width:900px){.nb-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.nb-guide-grid{grid-template-columns:1fr}}


/* ==========================================================
   NEXT-BET · MOBILE-FIRST RESPONSIVE SYSTEM
   iPhone / Android / small tablets
   ========================================================== */

html,body{
    max-width:100%;
    overflow-x:hidden;
}

img,svg,video,canvas,iframe{
    max-width:100%;
}

input,select,textarea,button{
    max-width:100%;
}

.tablewrap{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
}

.tablewrap table{
    margin:0;
}

.nb-mobile-menu-toggle{
    display:none;
    width:44px;
    height:44px;
    padding:0;
    margin-left:auto;
    border:1px solid #26384a;
    border-radius:11px;
    background:#0d1721;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    color:#fff;
    -webkit-tap-highlight-color:transparent;
}

.nb-mobile-menu-toggle span{
    display:block;
    width:19px;
    height:2px;
    border-radius:2px;
    background:#fff;
    transition:transform .2s ease,opacity .2s ease;
}

.nb-mobile-open .nb-mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nb-mobile-open .nb-mobile-menu-toggle span:nth-child(2){opacity:0}
.nb-mobile-open .nb-mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:900px){
    :root{
        --nb-mobile-gutter:16px;
    }

    body{
        -webkit-text-size-adjust:100%;
        text-size-adjust:100%;
    }

    .container{
        width:auto !important;
        max-width:none !important;
        margin-left:var(--nb-mobile-gutter) !important;
        margin-right:var(--nb-mobile-gutter) !important;
    }

    .site-header{
        position:sticky;
        top:0;
        padding-top:env(safe-area-inset-top,0px);
    }

    .nb3-nav{
        min-height:62px;
        padding:8px 0 !important;
        gap:10px !important;
        flex-wrap:wrap;
        align-items:center;
    }

    .nb3-nav .logo{
        font-size:21px;
        line-height:1;
        flex:0 0 auto;
    }

    .nb3-nav .logo small{font-size:10px}

    .nb-mobile-menu-toggle{
        display:flex;
        order:2;
    }

    /* Override old mobile rule that permanently hid account/login actions. */
    .nb3-nav .menu,
    .nb3-nav .actions-nav{
        display:none !important;
    }

    .nb3-nav.nb-mobile-open .menu{
        order:3;
        width:100%;
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        padding:10px 0 4px;
        margin:0;
        overflow:visible;
        border-top:1px solid #1d2d3d;
    }

    .nb3-nav.nb-mobile-open .menu a{
        min-width:0;
        min-height:44px;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        padding:10px 12px !important;
        border:1px solid #213447 !important;
        border-radius:9px;
        background:#0b151f;
        white-space:normal;
        font-size:13px;
        line-height:1.2;
    }

    .nb3-nav.nb-mobile-open .menu a.active{
        border-color:#ef334e !important;
        background:rgba(239,51,78,.09);
    }

    .nb3-nav.nb-mobile-open .actions-nav{
        order:4;
        width:100%;
        display:grid !important;
        grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);
        gap:8px;
        padding:4px 0 8px;
    }

    .nb3-nav.nb-mobile-open .actions-nav .btn{
        width:100%;
        min-width:0;
        padding:0 10px;
    }

    .nb3-nav.nb-mobile-open .nb-notification-bell{
        width:44px;
        height:44px;
    }

    body.nb-mobile-nav-open{
        overflow:hidden;
    }

    .hero,.nb3-home-hero{
        min-height:auto !important;
    }

    .hero-copy{
        max-width:100%;
        padding:38px 0 42px !important;
    }

    h1,
    .page-intro h1,
    .nb-mag-hero h1,
    .nb-article-header h1,
    .nb-tipster-profile-head h1{
        font-size:clamp(2rem,10vw,3.15rem) !important;
        line-height:1.04 !important;
        letter-spacing:-.035em !important;
        overflow-wrap:anywhere;
    }

    .hero p,.page-intro p,.nb-mag-hero p{
        font-size:15px !important;
        line-height:1.6;
    }

    .hero-actions,
    .v2-toolbar{
        gap:8px;
    }

    .hero-actions .btn{
        flex:1 1 150px;
    }

    .section{padding:20px 0}
    .page-intro{padding:28px 0 12px}

    .stats{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px;
    }

    .stat{
        min-width:0;
        padding:14px;
    }

    .stat strong{
        font-size:clamp(20px,7vw,28px);
        overflow-wrap:anywhere;
    }

    .grid2,.grid3,.v2-grid{
        grid-template-columns:1fr !important;
        gap:12px !important;
    }

    .v2-card,.pricing,.paywall{
        padding:16px;
    }

    .panel{
        max-width:100%;
        min-width:0;
    }

    .panel-head{
        gap:10px;
        padding:13px 14px;
        flex-wrap:wrap;
    }

    table{
        min-width:620px;
    }

    th,td{
        padding:11px 12px;
    }

    .v2-match-teams{
        min-width:0 !important;
        width:max-content;
        max-width:260px;
    }

    .v2-team{
        white-space:normal !important;
        line-height:1.2;
    }

    .v2-form input,
    .v2-form select,
    .v2-form textarea,
    .nb3-chat-form input{
        font-size:16px !important; /* prevents iOS focus zoom */
        min-height:46px;
    }

    .v2-form textarea{min-height:150px}

    .btn,
    .v2-pagination a,
    .v2-pagination span{
        min-height:44px;
    }

    .v2-admin-nav{
        flex-wrap:nowrap !important;
        width:100%;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        padding-bottom:4px;
    }

    .v2-admin-nav::-webkit-scrollbar{display:none}

    .v2-admin-nav a{
        flex:0 0 auto;
        min-height:42px;
        display:flex;
        align-items:center;
        white-space:nowrap;
    }

    .nb-mag-hero{
        margin:22px 0 14px !important;
        padding:28px 20px !important;
        border-radius:16px !important;
    }

    .nb-mag-hero:after{
        font-size:88px !important;
        right:12px !important;
        bottom:-18px !important;
    }

    .nb-featured-leagues,
    .nb-article-grid,
    .nb-guide-grid{
        grid-template-columns:1fr !important;
        gap:14px !important;
    }

    .nb-featured-league{
        min-height:96px;
        padding:16px;
        gap:13px;
    }

    .nb-featured-league-logo{
        width:58px;
        height:58px;
    }

    .nb-featured-logo{width:43px;height:43px}

    .nb-league-strip{
        flex-wrap:nowrap !important;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        padding-bottom:6px;
    }
    .nb-league-strip::-webkit-scrollbar{display:none}
    .nb-league-pill{flex:0 0 auto;white-space:nowrap}

    .nb-section-title{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
        margin:26px 0 14px;
    }

    .nb-section-title .btn{width:100%}

    .nb-article-card{border-radius:15px}
    .nb-article-body{padding:16px}
    .nb-article-body h3{font-size:1.08rem}

    .nb-article-page{
        width:auto !important;
        max-width:none !important;
    }

    .nb-article-breadcrumb{
        overflow-x:auto;
        white-space:nowrap;
        margin:22px 0 16px;
    }

    .nb-article-hero-image{
        border-radius:15px;
        margin-bottom:20px;
    }

    .nb-article-content,
    .nb-guide-content,
    .nb-policy-content{
        width:100%;
        max-width:100%;
        font-size:1rem !important;
        line-height:1.78 !important;
    }

    .nb-matchday-card{
        grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr) !important;
        padding:16px 10px !important;
        gap:7px !important;
        border-radius:15px;
    }

    .nb-match-team{
        min-width:0;
        flex-direction:column !important;
        text-align:center !important;
        gap:7px !important;
    }

    .nb-match-team strong{
        width:100%;
        font-size:.8rem !important;
        overflow-wrap:anywhere;
    }

    .nb-match-team-logo,.nb-team-fallback{
        width:46px !important;
        height:46px !important;
    }

    .nb-match-center{
        min-height:66px !important;
        padding:5px !important;
    }

    .nb-tipster-profile-head{
        grid-template-columns:1fr !important;
        justify-items:center;
        text-align:center;
        padding:20px 16px !important;
        gap:16px !important;
    }

    .nb-tipster-profile-head p{text-align:left}

    .nb-tipster-profile-photo{
        width:108px !important;
        height:108px !important;
    }

    .nb-notification-item{
        grid-template-columns:38px minmax(0,1fr) 8px;
        gap:10px;
        padding:13px 12px;
    }

    .nb3-chat-shell{
        border-radius:14px;
    }

    .nb3-chat-messages{
        height:calc(100dvh - 285px) !important;
        min-height:300px !important;
        max-height:620px;
        padding:12px !important;
    }

    .nb3-chat-msg{
        max-width:94% !important;
    }

    .nb3-chat-form{
        grid-template-columns:1fr !important;
        padding:10px !important;
        padding-bottom:max(10px,env(safe-area-inset-bottom,0px)) !important;
    }

    .nb3-chat-form button{width:100%}

    footer{
        padding-bottom:max(32px,calc(20px + env(safe-area-inset-bottom,0px)));
    }

    .footer-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:20px 16px !important;
    }

    .footer-grid>div:first-child{
        grid-column:1/-1;
    }
}

@media (max-width:560px){
    :root{--nb-mobile-gutter:12px}

    .nb3-nav.nb-mobile-open .menu{
        grid-template-columns:1fr;
    }

    .nb3-nav.nb-mobile-open .actions-nav{
        grid-template-columns:44px 1fr;
    }

    .nb3-nav.nb-mobile-open .actions-nav .btn-primary{
        grid-column:1/-1;
    }

    .stats{
        grid-template-columns:1fr 1fr !important;
    }

    .stat small{font-size:9px}
    .stat strong{font-size:21px}

    .hero-actions .btn,
    .v2-toolbar .btn{
        width:100%;
        flex:1 1 100%;
    }

    .nb-featured-league strong{font-size:1rem}

    .footer-grid{
        grid-template-columns:1fr !important;
    }

    .footer-grid>div:first-child{grid-column:auto}

    .nb-matchday-card{
        grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr) !important;
    }

    .nb-match-team-logo,.nb-team-fallback{
        width:40px !important;
        height:40px !important;
    }

    .nb-match-time{font-size:.86rem !important}
    .nb-match-vs{font-size:.6rem !important}
}

@media (max-width:380px){
    :root{--nb-mobile-gutter:10px}

    .nb3-nav .logo{font-size:19px}
    .nb-mobile-menu-toggle{width:42px;height:42px}

    h1,
    .page-intro h1,
    .nb-mag-hero h1,
    .nb-article-header h1{
        font-size:1.95rem !important;
    }

    .stats{grid-template-columns:1fr !important}

    .nb-notification-item{
        grid-template-columns:34px minmax(0,1fr);
    }

    .nb-notification-item>div:last-child{
        display:none;
    }
}
