/*
|--------------------------------------------------------------------------
| THRIVEVIN DESIGN SYSTEM   
|--------------------------------------------------------------------------
*/

:root {

    /* Brand */
    --tv-primary: #F06B14;
    --tv-primary-rgb: 240,107,20;
    --tv-primary-dark: #D85E0D;
    --tv-primary-border: #E06712;

    /* Backgrounds */
    --tv-bg: #0B0F14;
    --tv-card: #111519;
    --tv-card-border: #15191D;

    /* Text */
    --tv-text: #ffffff;
    --tv-text-small: #626467;
    --tv-text-light: #FFFFFF;

    /* Radius */
    --tv-radius-sm: 8px;
    --tv-radius-md: 12px;
    --tv-radius-lg: 16px;

    /* Shadows */
    --tv-shadow:
        0 4px 12px rgba(0,0,0,.15);

    /* Animation */
    --tv-transition: .2s ease;
	

	
	
}

body {
    margin: 0;
    padding-bottom: 60px;

    font-family: system-ui, sans-serif;

    background: var(--tv-bg);
    color: var(--tv-text);

    overflow-x: hidden;
}

/* ----------   cards -------*/

.card {
    background: var(--tv-card);

    border: 1px solid var(--tv-card-border);
    border-radius: var(--tv-radius-md);

    padding: 15px;
    margin-bottom: 12px;

    box-shadow: var(--tv-shadow);
}

.card-feed {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 12px;
	
}

.card-feed button {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.card-feed-board {
    width: 500px;
    max-width: 100%;
    margin: 0 auto 12px auto;
    box-sizing: border-box;
}

.card-profile {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    border-radius: 15px;
}

.card-profile-bio {
    max-width: 700px;
    
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

   
}

.card-profile h2 {
    margin: 12px 0 4px;
    font-size: 28px;
    color: var(--tv-text-light);
}

.card-profile .follow-btn {
    margin: 12px 0 15px;
}

/* Bio */
.card-profile p {
    max-width: 500px;
    margin: 20px auto;

    line-height: 1.6;

    color: #d0d0d0;
}


.card-anaytic {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    text-align: left;

    border-radius: 15px;
}

.card-anaytic h2 {
    margin: 12px 0 4px;
    font-size: 28px;
    color: var(--tv-text-light);
}

.page-header {
    max-width: 600px;
    margin: 30px auto 20px;
}

.page-header h1 {
    font-size: 32px;
    color: var(--tv-text-light);
    margin: 0;
    font-weight: 700;
}

.page-header p {
    margin-top: 8px;
    color: var(--tv-text);
    font-size: 15px;
}

.analytics-title {
    max-width:600px;
    margin:30px 0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:15px;
}






 .analytics-icon { 
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    

    border: 1px solid rgba(var(--tv-primary-rgb), .35);

    
}

.analytics-icon img {
    width: 60px;
    height: 60px;
    display: block;
}


.analytics-title h1 {
    margin: 0;
    font-size: 32px;
}

.analytics-title p {
    margin: 5px 0 0;
    color: var(--tv-text);
}

.analytics-button {
    margin-top:12px;
}

.analytics-button a {
    text-decoration: none;
}

.dashboard-icon:hover .icon-tooltip {

    opacity:1;
    transform:translateY(-5px);

}






/* =========================
   DESKTOP CARDS
========================= */

.desktop-card {
   


       border: 1px solid var(--tv-text-small);
    border-radius: 12px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0px;
    padding: 6px;

    transition: 0.2s;
    text-align: center;
}

.desktop-card:hover {
    background: #12121a;
    transform: translateY(-1px);
}

.creator-grid .desktop-card{
    position: relative;
    overflow: hidden;
     
    min-height:430px;

    padding:22px;

    justify-content:flex-start;

    text-align:center;
}

.feed-row .desktop-card{
    flex: 1 1 170px;
    min-width: 160px;
    max-width: 180px;
}



.app-shell{
    padding-top: 5px;
}













/* =========================
   TOPBAR only section 
========================= */
.topbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;              /* I prefer this over width:100% */

    display: flex;
    justify-content: space-between;
    align-items: center;
	height: 40px;
    padding: 0 24px;

    background: rgba(15,15,20,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,.05);

    z-index: 1000;
}


.topbar-inner{
    width:100%;
    box-sizing:border-box;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:12px 24px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px; /* controls logo ↔ search spacing */
}

.topbar-search input {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
}



.nav {
    display: flex;
    align-items: center;
    gap: 18px; /* controls nav spacing */
}



.topbar a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    margin-left: 10px;
}

/* =========================
  topbar only section END
========================= */



/* =========================
  FOOTER only section 
========================= */


footer.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;

    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-top: 1px solid rgba(255,255,255,0.08);
}



/* makes whole footer clickable */
.footer-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* inner layout */
.footer-inner{
    max-width:95%;
    margin:0 auto;

    padding:4px 16px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    min-height:36px;
}

.footer-save-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:4px 10px;
    margin:0;

    line-height:1;

    font-size:13px;
}

/* =========================
  FOOTER only section END
========================= */

/* =========================
  button only section
========================= */

.btn-primary {
    background: var(--tv-primary);
    color: #fff;
    border: none;
    border-radius: var(--tv-radius-md);
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tv-transition);
}

.btn-primary:hover {
    background: var(--tv-primary-dark);
}

.btn-text {
    background: transparent;
    color: var(--tv-primary-dark);
    border: 1px solid var(--tv-primary-border);
    border-radius: var(--tv-radius-md);
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tv-transition);
}

.btn-text:hover {
    background: rgba(var(--tv-primary-rgb), .25);
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:12px 20px;

    border:none;
    border-radius:var(--tv-radius-md);

    text-decoration:none;
    font-weight:600;

    cursor:pointer;

    transition:var(--tv-transition);
}

.btn-block{
    display:block;
    width:95%;
    margin-top:10px;
}

/* Buttons */
.btn-follow,
.btn-unfollow {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
	min-width: 110px;
}

.btn-follow,
.btn-unfollow {
    transition:
        background .2s ease,
        color .2s ease,
        transform .15s ease;
}



.btn-follow {
    background: var(--tv-primary);
    color: white;
}

.btn-unfollow {
    background: #444444;
    color: white;
}

.btn-large{
    display:inline-block;
    margin-top:35px;
    padding:18px 18px;
    font-size:19px;
    font-weight:600;
}

.btn-orange{

    background:linear-gradient(
        180deg,
        #F5842F 0%,
        var(--tv-primary) 100%
    );

    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:
        0 8px 25px rgba(var(--tv-primary-rgb), .25);
}

.btn-orange:hover{

    transform:translateY(-2px);
    background:linear-gradient(
        180deg,
        #FF9B4E 0%,
        #F06B14 100%
    );

    box-shadow:
        0 18px 40px rgba(var(--tv-primary-rgb), .25);
}

.btn-orange:active{

    transform:translateY(0);
}

.btn-large:hover{

    transform:translateY(-3px);
    box-shadow:
        0 18px 40px rgba(var(--tv-primary-rgb), .25);
}

.btn-secondary{
    background:rgba(255,255,255,.06);
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
    box-shadow:
        inset 0 1px rgba(255,255,255,.05);
}

.btn-secondary:hover{
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.25);
    transform:translateY(-2px);
}

/* =========================
  button only section END
========================= */

/* =========================
  Text only section END
========================= */

.text-main {
    color: var(--tv-text);
}

.text-small {
    color: var(--tv-text-small);
    font-size: .9rem;
}

.text-white {
    color: var(--tv-text-light);
}


input,
textarea,
select {
    background: var(--tv-card);
    border: 1px solid var(--tv-card-border);
    color: var(--tv-text-light);
    border-radius: var(--tv-radius-md);
    padding: 8px;
	border-color: var(--tv-primary);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--tv-primary);
}

.links1 {
    color: white;
    text-decoration: none;
    font-size: 13px;
    margin-left: 10px;
}


/* =========================
  LOGO only section 
========================= */

.logo {
    font-weight: 00;
    font-size: 32px;
    text-decoration: none;
    letter-spacing: 0.3px;
    display: inline-block;
    transition: 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-thrive {
    color: #FFFFFF;
}

.logo-vin {
    color: var(--tv-primary);
}

/* =========================
 LOGO only section END
========================= */








/* =========================
   TOPBAR only section END
========================= */


/* =========================
   LAYOUT SYSTEM
========================= */
.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
}


/* =========================
   PROFILE SYSTEM
========================= */
.left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    color: white;
}

img {
    width: 48px;
    height: 48px;

    object-fit: cover;
}

.name {
    font-weight: bold;
}

.bio {
    font-size: 12px;
    opacity: 0.6;
}



/* =========================
   LINKS SYSTEM
========================= */
.links {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.links a {
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
}

.link {
    display: block;
    width: calc(100% - 20px);
    max-width: 500px;
    margin: 14px auto;
    padding: 16px 20px;

    box-sizing: border-box;

    border-radius: 16px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,.18),
        rgba(var(--tv-primary-rgb), .20) 45%,
        rgba(var(--tv-primary-rgb), .10)
    );

    border: 1px solid rgba(var(--tv-primary-rgb), .35);

    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-align: center;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 5px 12px rgba(0,0,0,.35);

    backdrop-filter: blur(6px);

    transition: all .22s ease;
}

.link:hover {
    transform: translateY(-3px);

    border-color: var(--tv-primary);

    box-shadow:
        0 0 24px rgba(var(--tv-primary-rgb), .70),
        0 10px 24px rgba(0,0,0,.45);
}


/* =========================
   PROFILE DISABLED LINKS
========================= */
.disabled-link {
    cursor: default;
    opacity: 0.7;
    text-align: left;
    word-break: break-word;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
}

.disabled-link strong {
    display: block;
    margin-bottom: 4px;
}

/* =========================
   DASHBOARD STATS
========================= */
.dashboard-header {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.creator-row {
    display: flex;
    align-items: center;
    gap: 15px;
}


.avatar{
    width:90px;
    height:90px;
  
    object-fit:cover;
}


.stats-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
	 height:40px;
}

.stat-box {
    flex: 1;
    
    background: rgba(255,255,255,0.04);
    padding: 10px;
    border-radius: 10px;

	gap:10px;
      display:flex;
    align-items:center;

    padding:12px 16px;

    margin:30px 0 18px;

    border-radius:14px;

    background:linear-gradient(
        90deg,
        rgba(var(--tv-primary-rgb),.22),
        rgba(255,255,255,.04)
    );

 
    font-size:18px;
    font-weight:600;

    color:#fff;
}




.stat-number {
    font-size: 22px;
    font-weight: bold;
}

.small {
    font-size: 12px;
    opacity: 0.7;
}


/* =========================
   MOBILE
========================= */



.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

/* THIS is the key fix */
.follow-form {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.plan {
    padding: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 15px;
}


.price {
    font-size: 22px;
    font-weight: bold;
}


.monthly {
    background: linear-gradient(135deg,#6a11cb,#2575fc);
    color:#fff;
}

.yearly {
    background: linear-gradient(135deg,#ffb300,#ff6f00);
}

.badge {
    display:inline-block;
    padding:4px 10px;
    border-radius:20px;
    background:#333;
    font-size:12px;
    margin-bottom:10px;
}


/* DASHBOARD FORM INPUTS */

.card input,
.card textarea {
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:12px;
    margin:8px 0;
    border-radius:8px;
    border:none;
}
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

.card textarea {
    min-height:100px;
    resize:vertical;
}

.card-dashboard {
   max-width:600px;
    margin:40px auto;
    padding:20px;
    background:rgba(255,255,255,0.05);
    border-radius:15px;
}

.card input,
.card textarea {
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:10px;
    margin:8px 0;
    border-radius:5px;
    border: 1px solid var(--tv-primary);
}



.card-dashboard {
	    background: var(--tv-card);
    max-width:600px;
    margin:20px auto;
}

.leaderboard-link{
    display:block;
    color:inherit;
    text-decoration:none;
}




/* MOBILE section ------------------------------------------*/
/* ----------------------------------------------------------------*/

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .topbar {
        flex-wrap: wrap;
        gap: 0px;
    }

    .links a {
        font-size: 12px;
    }
	.app-shell{
    padding-top: 155px;
	}


    .creator-row {
        flex-wrap: wrap;
    }

    .upgrade-mobile {
        width: 100%;
        margin-top: 12px;
        text-align: center;
    }

    .upgrade-mobile .upgrade-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .feed-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-follow {
        width: 20%;
        margin-top: 10px;
    }
}





@media (max-width: 768px) {

    .row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ref-count {
        align-self: flex-end;
    }

    .rank {
        font-size: 12px;
        opacity: 0.7;
    }

    .social-icons {
        grid-template-columns: repeat(8, auto);
    }

    .topbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;              /* I prefer this over width:100% */

    display: flex;
    justify-content: space-between;
    align-items: center;
	height: 105px;
    padding:  3px;

    background: rgba(15,15,20,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,.05);

    z-index: 1000;
	} /* stack topbar sections vertically */
       .topbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    /* row 1: logo + search */
    .topbar-left {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .topbar-search {
        flex: 1; /* makes search take remaining space */
    }

    .topbar-search input {
        width: 100%;
    }

    /* row 2: nav becomes 4 buttons in a row */
    .nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        gap: 6px;
    }

    .nav a {
        text-align: center;
        padding: 8px 6px;
        font-size: 12px;
        background: rgba(255,255,255,0.05);
        border-radius: 6px;
    }
	.app-shell{
    padding-top: 55px;
	}
	
}


@media (min-width: 1200px) {

    .container,
    .card-feed,
    .card-profile,
    .card-dashboard {
        max-width: 800px;
    }
	
	.app-shell{
    padding-top: 55px;
	}
	
	

}


@media (min-width: 901px) {

    .desktop-grid {
        display: flex;
        align-items: flex-start;

        width: 99%;
        box-sizing: border-box;

        padding: 30px;
        gap: 30px;

        max-width: 100vw;
    }

    .main-feed{
    flex:1;
    min-width:0;
    max-width:calc(100% - 460px);
	}
	
	.app-shell{
    padding-top: 55px;
	}
	
	
}



@media (max-width: 900px) {


	.leaderboard-link{
        pointer-events:auto;
        cursor:pointer;
    }

    .leaderboard-card:active{
        transform:scale(.98);
    }


	.feed-row .desktop-card {
        max-width: 100%;
        min-width: 100%;
    }

	.explore-toolbar{
        display:flex;
        gap:18px;
        width:100%;
			padding-bottom: 100px;
    }

    .explore-tab{
        flex:1;
        text-align:center;

        padding:8px 4px;

        font-size:12px;
        white-space:nowrap;
    }

    .explore-toolbar .btn {
        padding: 3px 1px;
        font-size: 10px;
        min-width: 0;
	
    }
	
	


    .side-panel,
    .phone-preview-wrapper {
        display: none !important;
    }

    .desktop-grid {
        display: block;
    }

    .social-grid{

        grid-template-columns:1fr;
    }
	
	.app-shell{
    padding-top: 100px;
	}

}



/* MOBILE section ------------------------------------------*/
/* ----------------------------------------------------------------*/



.feed-row{
    display:flex;
    flex-wrap:nowrap;
    overflow:hidden;
    gap:12px;

    position:relative;
}


.feed-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    flex: 1;
}

.feed-avatar {
    width: 45px;
    height: 45px;
    
    object-fit: cover;
}

.feed-info .name {
    font-weight: bold;
}

.feed-info .bio {
    font-size: 12px;
    opacity: 0.7;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-info .stats {
    font-size: 11px;
    opacity: 0.6;
}



.login-wrap {
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:20px;
}


.password-help {
    text-align:center;
    opacity:0.6;
    font-size:12px;
    margin-top:10px;
}


.social-icons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin:20px 0;
}

.social-icons a{
    display:inline-block;
}

.social-icons img{
    display:block;
    width:42px;
    height:42px;
}

.social-icons img:hover{
    transform:scale(1.1);
}

.social-icons a{
    text-decoration:none;
    display:inline-block;
}








.name-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-icon {
    height: 1.2em;
    width: 1.2em;
    object-fit: contain;
}

.row {
    display: grid;
    grid-template-columns: 700px 1fr 220px;
    align-items: center;
    padding: 12px;
    gap: 10px;
}





.name-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.row {
    display: grid;
    grid-template-columns: 700px 1fr 220px;
    align-items: center;
    padding: 12px;
    gap: 10px;
}

.row-board {
    display: grid;
    grid-template-columns: 1fr 120px;
    align-items: center;
}







.ref-count2 {
    min-width: 120px;   /* adjust if needed */
    text-align: right;
    font-size: 14px;
    opacity: 0.8;
}


.avatar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.avatar-wrap3 {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/*profile page */

.avatar-wrap2 {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
   
}

.avatar-lead2 {
    width: 100%;
    height: 100%;
    
    display: block;

    /* Orange glow */
    box-shadow:
        0 0 15px rgba(255, 140, 0, 0.6),
        0 0 35px rgba(255, 140, 0, 0.45),
        0 0 60px rgba(255, 140, 0, 0.25);
}

.avatar-lead {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.avatar-wrap2 {
    margin-bottom: 15px;
}




.social-icons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 12px;
}



.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/*profile page end -------------------   */


/* floating badge */
.badge-icon {
    position: absolute;
    top: -3px;
    right: -3px;

    width: 12px;
    height: 12px;

    object-fit: contain;
}

.left {
	position: absolute;
    max-width: 400px;
    align-items: center;
    gap: 10px;
	object-fit: contain;
}

.left-board {
    display: flex;
    align-items: center;
    gap: 12px;
}



.rank {
    width: 30px;
    text-align: center;
}







.leaderboard-btn {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
    color: inherit;
}













.side-panel{
    flex:0 0 420px;
}

    .phone-preview-wrapper{
    position:fixed;
    top:48px;
    right:40px;
}

    .phone-preview {
        width: 350px;
        aspect-ratio: 9 / 19.5;

        background: #111;
        border: 1px solid #222;
        border-radius: 40px;

        padding: 0px;
        overflow: hidden;

        box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    }
}


/* =========================
   FEED SECTIONS
========================= */

#feed-trending,
#feed-discover,
#feed-following,
#feed-recent {
    margin-bottom: 5px;
   
    
    
    padding: 0px;
}


/* =========================
   DESKTOP FEED GRID
========================= */

.desktop-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
    gap: 5px;
}



.d-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* 👈 this is your missing spacing */
    text-decoration: none;
    color: inherit;
}

.d-left {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 4px; /* 👈 this is your missing spacing */
    text-decoration: none;
    color: inherit;
}





/* =========================
   AVATARS
========================= */

.d-avatar {
    width: 80px;
    height: 80px;
    
	align-items: center;
}


/* =========================
   TEXT FIX (NO LINK LOOK)
========================= */

.d-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.d-stats {
    font-size: 11px;
    opacity: 0.7;
    color: #ddd;
}




/* force links to NOT look like links */
.d-left,
.d-left:link,
.d-left:visited,
.d-left:hover,
.d-left:active {
    color: white;
    text-decoration: none;
}


/* =========================
   SECTION HEADER
========================= */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	grid-column: 1 / -1;
    margin: 10px 0 12px;
    padding: 0 4px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}


/* =========================
   MOBILE CLEANUP
========================= */





.phone-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 30px;
}




.badge-icon-dash{
     position:absolute;

    top:1px;     /* more negative = higher */
    right:19px;   /* more negative = farther right */

    width:45px;
    height:45px;

    z-index:5;
    pointer-events:none;
} 


.badge-icon-level {
    width: 48px;
    height: 48px;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 6px;
}


/* =========================
   SINGLE ROW CLIPPED FEEDS
========================= */



/* HARD FIX: prevent shrink distortion */



/* ensure container cannot reflow */
.feed-section {
    overflow: hidden;
    width: auto;

    gap: 0px;

    border-radius: 8px;
     padding: 0px 0px;

    min-height: 20px; /* matches other cards visually */
}







/* header layout with view-all on right */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 40;
	background: transparent;
}

/* view all button sits on far right */
.view-all {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

.view-all:hover {
    background: rgba(255,255,255,0.12);
}

#feed-trending,
#feed-recent {
    display: flex;
    flex-wrap: nowrap;
}


#feed-trending,
#feed-recent,
#feed-following {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow: hidden;
    align-items: stretch;
}

#feed-trending .desktop-card,
#feed-recent .desktop-card,
#feed-following .desktop-card {
    flex: 0 0 180px;
    min-width: 180px;
}





#feed-following.feed-column {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}



.follow-minimal {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    border: 1px solid var(--tv-primary); /* orange border match */
    padding: 12px 14px;

    min-height: 80px; /* matches other cards visually */
}

.follow-minimal .avatar-wrap {
    width: 60px;
    height: 60px;
}

.follow-minimal .d-avatar {
    width: 60px;
    height: 60px;
}

.follow-minimal .feed-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.follow-minimal .name {
    font-size: 14px;
}

.follow-minimal .stats {
    font-size: 12px;
    opacity: 0.7;
}


/* ===================================
   PROFILE V2
=================================== */


/* avatar */
.avatar-wrap2 {
    width: 130px;
    height: 130px;
    margin-bottom: 10px;
}

.avatar-lead2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--tv-primary);

    object-fit: cover;
}

/* badge */
.badge-icon {
    width: 48px;
    height: 48px;

    top: 0;
    right: 0;

    transition: .25s ease;
}




/* followers */
.profile-followers {
    opacity: .75;
    margin-bottom: 16px;
}



/* follow button */
.follow-btn {
    min-width: 180px;
    padding: 12px 20px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;
}

/* social icons */
.social-icons {
    margin: 24px 0;
    gap: 18px;
}

.social-icons img {
    width: 46px;
    height: 46px;

    transition: .2s ease;
}

.social-icons img:hover {
    transform: translateY(-3px);
}

/* custom links */
.link {
    width: 100%;
    max-width: 500px;

    margin: 10px auto;
    padding: 14px;

    border: 1px solid rgba(255,255,255,.08);

    transition: .2s ease;
}

.link:hover {
    border-color: var(--tv-primary);
    transform: translateY(-2px);
}







/*-------------------social icon section---------------------*/

.social-icons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 14px;
    margin: 24px 0 30px;
}

@media (min-width: 768px) {
    .social-icons {
        grid-template-columns: repeat(8, auto);
    }
}

.social-icons a {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    /* Glass effect */
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.18) 0%,
        rgba(var(--tv-primary-rgb), .35) 45%,
        rgba(var(--tv-primary-rgb), .18) 100%
    );

    border: 1px solid rgba(var(--tv-primary-rgb), .35);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 5px 12px rgba(0,0,0,.35);

    backdrop-filter: blur(6px);

    transition: all .22s ease;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.05);

    /* Same glass, stronger border and glow */
    border-color: var(--tv-primary);

    box-shadow:
        0 0 24px rgba(var(--tv-primary-rgb), .70),
        0 10px 24px rgba(0,0,0,.45);
}

.social-icons img {
    width: 36px;
    height: 36px;
    object-fit: contain;

    transition: transform .22s ease;
}

.social-icons a:hover img {
    transform: scale(1.08);
}



/*-------------------dashboard social icon section---------------------*/

.container-dash {
    max-width:900px;
    margin:20px auto;
    padding:15px;
}


.social-card{

    display:flex;
    align-items:center;

    gap:14px;

    width:100%;

    box-sizing:border-box;

    padding:14px;

    border-radius:18px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);
}

.social-icon-tile{

   width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    /* Glass effect */
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.18) 0%,
        rgba(var(--tv-primary-rgb), .35) 45%,
        rgba(var(--tv-primary-rgb), .18) 100%
    );

    border: 1px solid rgba(var(--tv-primary-rgb), .35);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 5px 12px rgba(0,0,0,.35);

    backdrop-filter: blur(6px);

    transition: all .22s ease;
}

.social-icon-tile img{

    width:28px;
    height:28px;
}


.section-heading{
	gap:0px;
      display:flex;
    align-items:center;

    padding:1px 1px;

    margin:30px 0 18px;

    border-radius:14px;

    background:linear-gradient(
        90deg,
        rgba(var(--tv-primary-rgb),.22),
        rgba(255,255,255,.04)
    );

    border-left:0px solid #F06B14;

    font-size:12px;
    font-weight:600;

    color:#fff;
}

.section-heading img{

    width:15px;
    height:15px;
}





.social-card input{
	transition:.2s ease;
    flex:1;
    min-width:0;
}



.social-category{

    display:flex;
    align-items:center;

    padding:12px 16px;

    margin:30px 0 18px;

    border-radius:14px;

    background:linear-gradient(
        90deg,
        rgba(var(--tv-primary-rgb),.22),
        rgba(255,255,255,.04)
    );

    border-left:4px solid #F06B14;

    font-size:18px;
    font-weight:700;

    color:#fff;
}

.social-grid{

    display:grid;

    grid-template-columns:repeat(2, minmax(0,1fr));

    gap:16px;

    margin-bottom:28px;
}

/* Mobile */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}


.social-card:hover{

    transform:translateY(-2px);

    border-color:rgba(var(--tv-primary-rgb), .35);

    background:rgba(255,255,255,.06);
}

.social-card input:disabled{

    opacity:.25;

    cursor:not-allowed;
}

.social-card input:disabled{

    opacity:.25;

    cursor:not-allowed;
}






/*movable custom links*/


.custom-link-card{

    display:flex;
    flex-direction:column;

    gap:12px;

    padding:18px;

    border-radius:18px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    margin-bottom:16px;

    transition:.2s;
}

.custom-link-card:hover{

    border-color:rgba(var(--tv-primary-rgb),.4);
}

.drag-handle{

    cursor:grab;

    font-size:22px;

    opacity:.55;

    user-select:none;

    align-self:flex-start;
}


.drag-handle{

    cursor:grab;

    opacity:.55;

    user-select:none;
}

.drag-handle:active{

    cursor:grabbing;
}

.dragging{

    opacity:.45;
}













.hero-card{
    text-align:center;
    max-width:900px;
    margin:40px auto 60px;
    padding:60px 50px;

    border-radius:24px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.02)
        );

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 25px 70px rgba(0,0,0,.45),
        inset 0 1px rgba(255,255,255,.08);
}

.hero-card h1{

    font-size:clamp(38px,6vw,62px);

    line-height:1.1;

    margin-bottom:20px;

    font-weight:800;

    color:#fff;

}

.orange{

    color:var(--tv-primary);

}


.hero-text{

    max-width:700px;

    margin:auto;

    font-size:20px;

    color:#bbb;

    line-height:1.8;

}

.trust-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:24px;

    margin:70px 0;

}



.trust-card{

    padding:30px;

    text-align:center;

    border-radius:18px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.06);

    transition:.35s;

}


.trust-card:hover{

    transform:translateY(-8px);

    border-color:rgba(var(--tv-primary-rgb), .25);

    box-shadow:0 20px 40px rgba(var(--tv-primary-rgb),.12);

}

.pricing-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:35px;

    margin:80px auto;

}

.pricing-card{

    padding:45px;

    border-radius:24px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

}

.featured{

    position:relative;

    transform:scale(1.05);

    border:2px solid var(--tv-primary);

    box-shadow:

        0 0 40px rgba(var(--tv-primary-rgb),.18);

}


.popular{

    position:absolute;

    top:-16px;

    right:25px;

    background:var(--tv-primary);

    color:#fff;

    padding:8px 18px;

    border-radius:999px;

    font-weight:700;

    font-size:13px;

}


.price{

    font-size:58px;

    font-weight:800;

    margin:25px 0;

    color:#fff;

}


.price small{

    font-size:18px;

    color:#999;

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

    margin-top:40px;

}

.feature-grid div{

    padding:22px;

    border-radius:16px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

    font-size:17px;

}

.social-section{

    display:grid;

    grid-template-columns:repeat(auto-fit, minmax(110px,1fr));

    gap:55px;

}

.social-pill{

    display:flex;

    align-items:center;

    margin:11px;

    padding:5px 5px;

    border-radius:999px;

    font-size:18px;

}

.free{

    background:rgba(255,255,255,.06);

}

.pro{

    background:rgba(var(--tv-primary-rgb),.12);

    border:1px solid rgba(var(--tv-primary-rgb),.35);

    color:#ffb36b;

}

.compare table{

    width:100%;

    border-collapse:collapse;

    margin-top:35px;

}

.compare th{

    color:#fff;

    font-size:18px;

    padding:22px;

}

.compare td{

    padding:20px;

    border-top:1px solid rgba(255,255,255,.05);

}

.compare tr:nth-child(even){

    background:rgba(255,255,255,.02);

}


.final-cta{

    text-align:center;

    padding:80px 50px;

    margin:100px auto;

    border-radius:28px;

    background:

    radial-gradient(circle at top,
    rgba(var(--tv-primary-rgb),.18),
    transparent 70%),

    rgba(255,255,255,.03);

    border:1px solid rgba(var(--tv-primary-rgb),.25);

}




section{

    margin:90px 0;

}

/* ==========================================
   PRICING - Mobile
========================================== */



@media (max-width: 768px) {

    .pricing-grid {

        display: flex;
        flex-direction: column;
        gap: 20px;

    }

}







/*explore page specific  */

.creator-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));

    margin-top:10px;
    padding-top:30px;

    gap:24px;
}





.creator-grid .avatar-wrap{
    width:140px;
    height:140px;

    margin:-105px auto 20px;

    position:relative;
    z-index:5;
}

.creator-grid .d-avatar{
    width:130px;
    height:130px;
    border-radius:50%;
    border:4px solid var(--tv-card);
}





.creator-grid .d-name{
	margin-top:5px;
    font-size:20px;
    font-weight:700;

    margin-bottom:12px;
}

.creator-grid .d-stats{

    margin-bottom:14px;

}




@media (min-width:1400px){
    .creator-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:1399px){
    .creator-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media (max-width:1000px){
    .creator-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:700px){
    .creator-grid{
        grid-template-columns:1fr;
    }
}



/*explore section*/



.explore-bio{
    margin:10px 0 14px;

    color:var(--tv-text);

    font-size:14px;
    line-height:1.5;

    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
	margin-bottom:12px;
    overflow:hidden;
}

.explore-bio{

    min-height:84px;

    line-height:1.4;

    margin:12px 0;

    overflow:hidden;
}




.creator-grid button{

    margin-top:auto;
}




.explore-info{
    padding:0 20px;
}

.card-footer{
    margin-top:auto;
    padding:0 20px 20px;
}
.profile-card{
    position:relative;
    overflow:hidden;
    padding:0;
}







.profile-card .explore-banner {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.profile-card .explore-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.profile-card .avatar-wrap2{
    width:160px;
    height:160px;

    margin:-140px auto 20px;

    position:relative;
    z-index:0;
}

.profile-card .avatar-lead2{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;

    border:5px solid var(--tv-card);
}

}





.explore-toolbar{

    display:flex;
    gap:12px;
 	padding-bottom: 100px;
    margin:20px 0 24px;

    align-items:center;
}

.explore-tab{

    padding:10px 18px;

    border-radius:999px;

    text-decoration:none;

    color:var(--tv-text-light);

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    transition:.25s;

    font-weight:600;
}

.explore-tab:hover{

    border-color:rgba(var(--tv-primary-rgb),.45);

    background:rgba(var(--tv-primary-rgb),.10);

    transform:translateY(-2px);
}

.explore-tab.active{

    background:var(--tv-primary);

    color:#fff;

    border-color:var(--tv-primary);

    box-shadow:0 0 18px rgba(var(--tv-primary-rgb),.35);

}

.d-category{
	
    padding:5px 18px;

    border-radius:999px;

    text-decoration:none;

   color:#d6d6d6;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    transition:.25s;
	gap:12px;
    font-weight:600;
}


.website-btn{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    width:45%;

    padding:12px;

    margin-top:14px;

    border-radius:12px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    color:#fff;

    text-decoration:none;

    transition:.25s;
}

.website-btn:hover{

    transform:translateY(-2px);

    background:rgba(var(--tv-primary-rgb),.15);

    border-color:rgba(var(--tv-primary-rgb),.45);

}

.bio-fade {
    position: relative;
    line-height: 1.5;
    max-height: calc(1.5em * 4); /* 3 lines */
    overflow: hidden;
}

.bio-fade::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:24px;

    background:linear-gradient(
        transparent,
        var(--tv-card)
    );

    pointer-events:none;

}

.founder-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    margin-bottom:12px;
    padding:7px 18px;
    width:fit-content;

    border-radius:999px;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.18) 0%,
        rgba(var(--tv-primary-rgb), .40) 45%,
        rgba(var(--tv-primary-rgb), .22) 100%
    );

    border:1px solid rgba(var(--tv-primary-rgb), .45);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 0 18px rgba(var(--tv-primary-rgb), .18),
        0 8px 18px rgba(0,0,0,.35);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    color:#fff;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;

    transition:all .25s ease;
}

.founder-badge:hover{
    border-color:rgba(var(--tv-primary-rgb), .70);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        0 0 24px rgba(var(--tv-primary-rgb), .28),
        0 10px 22px rgba(0,0,0,.45);

    transform:translateY(-1px);
}


/* =========================
  dashboard header section only section 
========================= */

.creator-header{
    background:var(--tv-card);
    border-radius:20px;
    overflow:hidden;
    border:1px solid var(--tv-card-border);
	
	
}

.header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;
}  

.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 0;
}


.banner-wrap{

    position:relative;

    height:190px;

}

#banner-preview{
    width:100%;
    height:100%;
    object-fit:cover;
}

.header-bottom{
    margin-top:-90px;
}

.header-bottom{
    display:flex;
    align-items:center;
    gap:24px;

    padding:20px 30px;

    position:relative;
}

.banner-wrap{

    position:relative;

}



.creator-meta{

    flex:1;

    padding-top:40px;

}

.upgrade-mobile{

    margin-left:auto;

    
}

.banner-overlay{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.45);

    opacity:0;

    transition:.25s;

}

.banner-wrap:hover .banner-overlay{

    opacity:1;

}




.avatar-wrapdash {
    position:absolute;
    left:20px;
    top:-100px;
    width:120px;
    z-index:10;
}
.founder-slot{
    min-height:24px;   /* reserve space */
    display:flex;
    align-items:center;
}

.creator-status{
    font-size:13px;
    color:var(--tv-text);
    font-weight:500;
    margin:4px 0;
}
/* =========================
  dashboard header section only section END
========================= */

.referral-link-card{
    margin:34px 0;

    padding:20px;

    border-radius:16px;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.04),
        rgba(var(--tv-primary-rgb), .06)
    );

    border:1px solid rgba(var(--tv-primary-rgb), .18);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 8px 24px rgba(0,0,0,.30);
}

.referral-link-card h3{
    margin:0 0 14px;
    color:#fff;
    font-size:1rem;
}

.referral-link-card input{
    width:100%;
    box-sizing:border-box;

    padding:12px 16px;

    margin-bottom:14px;

    border-radius:12px;

    border:1px solid rgba(var(--tv-primary-rgb), .20);

    background:rgba(255,255,255,.05);

    color:#fff;

    font-size:.95rem;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}


.leaderboard-card{
    cursor:pointer;
}

.leaderboard-icon{
    width:64px;
    height:64px;
	margin-top:65px;
    margin-left:62px;
    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    font-size:rem;
	
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.12),
        rgba(var(--tv-primary-rgb),.30)
    );

    border:1px solid rgba(var(--tv-primary-rgb),.35);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 8px 20px rgba(0,0,0,.35);
}

.leaderboard-card {
background: #;
       border: 1px solid var(--tv-text-small);
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0px;
    padding: 6px;

    transition: 0.2s;
    text-align: center;
	font-size:0.95rem;
    font-weight:500;
	
}


.badge-wrap{
    position:absolute;
	top: -13px;
    right: 33px;
}







.badge-tooltip {
    position: absolute;

    top: 10px;
    left: 110%;
    transform: translateX(-75%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: .2s ease;

    z-index: 9999;

    width: 180px;
    padding: 16px 8px 18px;

    border-radius: 16px;

    background: #0B0F14 !important;

    border: 1px solid rgba(var(--tv-primary-rgb), .35);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .55);
}




.badge-wrap:hover .badge-tooltip{

    opacity:1;
    visibility:visible;

}



.badge-tooltip h4{
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.badge-item{

    display:flex;
    align-items:center;
    gap:6px;

    margin:8px 0;

}

.badge-item img{

    width:18px;
    height:18px;

}

.badge-item span{

    flex:1;
    color:#fff;

}

.badge-item strong{

    color:var(--tv-primary);

}

.social-icons a {
    position: relative;
}

.social-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(17, 21, 25, 0.95);
    border: 1px solid var(--tv-primary);
    color: #fff;

    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .2s ease, transform .2s ease;
}

.social-icons a:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}


.social-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    border-width: 6px;
    border-style: solid;
    border-color: var(--tv-primary) transparent transparent transparent;
}


.icon-tooltip {
    position: absolute;

    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);

    background: var(--tv-card);
    color: var(--tv-text-light);

    padding: 8px 12px;

    border-radius: 8px;

    font-size: 13px;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition: all .2s ease;

    border: 1px solid var(--tv-card-border);

    box-shadow:
        0 5px 15px rgba(0,0,0,.35);

    z-index: 50;
}


/* little arrow */
.icon-tooltip::before {

    content: "";

    position: absolute;

    top: -6px;
    left: 50%;

    transform: translateX(-50%) rotate(45deg);

    width: 10px;
    height: 10px;

    background: var(--tv-card);

    border-left: 1px solid var(--tv-card-border);
    border-top: 1px solid var(--tv-card-border);

}


/* show tooltip */
.analytics-icon:hover .icon-tooltip {

    opacity: 1;
    visibility: visible;

    bottom: -48px;

}

.small-icons  {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    /* Glass effect */
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.18) 0%,
        rgba(var(--tv-primary-rgb), .35) 45%,
        rgba(var(--tv-primary-rgb), .18) 100%
    );

    border: 1px solid rgba(var(--tv-primary-rgb), .35);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 5px 12px rgba(0,0,0,.35);

    backdrop-filter: blur(6px);

    transition: all .22s ease;
}

.analytics-title {
    display:flex;
    align-items:center;
    gap:12px;
}

.analytics-title h2 {
    margin:0;
}

.small-icons img {
    width:40px;
    height:40px;
}

.analytics-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 65%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
} 


.analytics-row:last-child {
    border-bottom: none;
}


/* =========================
   AGE VERIFICATION MODAL
========================= */

.age-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.age-modal.show {
    display: flex;
}

.age-card {
    width: 320px;
    padding: 30px;
    text-align: center;
    background: rgba(17,21,25,.95);
    border: 1px solid rgba(240,107,20,.4);
    border-radius: 20px;
    box-shadow: 0 0 35px rgba(240,107,20,.35);
}

.age-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F06B14;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.age-card h2 {
    color: white;
    margin-bottom: 15px;
}

.age-card p {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.5;
}

.age-card button {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
}

#ageConfirm {
    background: #F06B14;
    color: white;
}

#ageCancel {
    background: #333;
    color: white;
}

#forbiddenOk {
    background: #F06B14;
    color: white;
}

.social-settings-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.social-settings-header select {
    flex: 1;
}

.social-notice {
    flex: 2;
    background: rgba(17,21,25,.75);
    border: 1px solid rgba(240,107,20,.25);
    border-radius: 14px;
    padding: 12px 16px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    box-shadow: 0 0 20px rgba(240,107,20,.08);
}

@media (max-width: 700px) {

    .social-settings-header {
        flex-direction: column;
        align-items: stretch;
    }

}

/* =========================
   PRO MEMBER ACTION TILES
========================= */

.pro-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
        gap:10px;
    padding-top:40px;
    transform:translateY(15px);
}


.member-status {
    text-align: center;
}

.member-status h3 {
    margin:0 0 2px;
}


.member-status p {
    margin:0;
}


/* Billing + Analytics action buttons */

.dashboard-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top:4px;
    gap: 20px;
}


.dashboard-actions > a {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.analytics-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}


.analytics-icon img {
    width: 58px;
    height: 58px;
}





@media (max-width:700px){

    .header-bottom{
        flex-direction:column;
        align-items:center;
        gap:15px;
        padding:20px;
        margin-top:-40px;
    }


    .profile-info{
        flex-direction:column;
        text-align:center;
        gap:10px;
    }


    .avatar-wrapdash{
        position:relative;
        left:auto;
        top:auto;
        margin-top:-70px;
    }


    .creator-meta{
        padding-top:0;
    }


    .analytics-button{
        width:100%;
        display:flex;
        justify-content:center;
    }


    .pro-actions{
        width:100%;
        padding-top:10px;
    }


    .member-status h3{
        margin-bottom:5px;
    }


    .dashboard-actions{
        gap:15px;
    }


    .dashboard-actions > a,
    .analytics-icon{
        width:54px;
        height:54px;
    }


    .analytics-icon img{
        width:30px;
        height:30px;
    }

}


@media (max-width:390px){

    .header-bottom{
        padding:15px 10px;
        gap:10px;
    }

    .avatar-wrapdash{
        margin-top:-50px;
    }

    .avatar-circle{
        width:110px;
        height:110px;
    }

    .creator-meta h2{
        font-size:1.25rem;
    }

    .pro-actions{
        gap:8px;
        padding-top:5px;
    }

    .dashboard-actions{
        gap:12px;
    }

    .dashboard-actions > a,
    .analytics-icon{
        width:50px;
        height:50px;
    }

    .analytics-icon img{
        width:26px;
        height:26px;
    }

}

/* =========================
   MOBILE DASHBOARD HEADER FIX
========================= */

@media (max-width:700px){

    .creator-header{
        overflow: visible;
    }

    .header-bottom{
        margin-top:-40px;
        padding:20px 15px;
        flex-direction:column;
        align-items:center;
    }

    .profile-info{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:10px;
        width:100%;
    }

    .avatar-wrapdash{
        position:relative;
        top:auto;
        left:auto;
        width:120px;
        margin-top:-15px;
    }

    .avatar-circle{
        width:110px;
        height:110px;
    }

    .creator-meta{
        width:100%;
        text-align:center;
        padding:0;
    }
 .founder-slot{
        justify-content:center;
    }

    .creator-status{
        text-align:center;
    }

    .small{
        text-align:center;
    }
    .analytics-button{
        width:100%;
        padding-top:10px;
    }

    .pro-actions{
        width:100%;
    }

    .dashboard-actions{
        margin-top:10px;
    }

}




/* =========================
   SAVE TOAST NOTIFICATION
========================= */

.save-toast {

    position: fixed;

    top: 90px;
    left: 46%;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,.12),
        rgba(var(--tv-primary-rgb),.35)
    );

    border:1px solid rgba(var(--tv-primary-rgb),.5);

    color:white;

    padding:14px 22px;

    border-radius:14px;

    font-size:15px;
    font-weight:600;

    backdrop-filter:blur(10px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.35),
        0 0 20px rgba(var(--tv-primary-rgb),.25);

    z-index:9999;

    animation: toastIn .35s ease;
}


.save-toast.hide {

    animation: toastOut .5s ease forwards;

}


@keyframes toastIn {

    from {
        opacity:0;
        transform:translateY(-20px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }

}


@keyframes toastOut {

    from {
        opacity:1;
        transform:translateY(0);
    }

    to {
        opacity:0;
        transform:translateY(-20px);
    }

}




@media (max-width:700px){

    .save-toast {

        top:140px;
        left:50%;

        width:max-content;
        max-width:90%;

        text-align:center;

        padding:14px 22px;
        font-size:14px;
    }


    @keyframes toastIn {

        from {
            opacity:0;
            transform:translate(-50%, -20px);
        }

        to {
            opacity:1;
            transform:translate(-50%, 0);
        }

    }


    @keyframes toastOut {

        from {
            opacity:1;
            transform:translate(-50%, 0);
        }

        to {
            opacity:0;
            transform:translate(-50%, -20px);
        }

    }

.badge-level {
    display: flex;
    align-items: center;
    gap: 6px;
}




