body {
            font-family: "Roboto", sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--uw-white-1);
            color:var(--uw-text-1);
            position: relative;
        }

        .container {
            font-family: "Roboto", sans-serif;
            margin: auto; /* Center horizontally */
            max-width: 600px;
            width: 100%;
            padding: 0px;
            background-color: var(--uw-white-1);
            border-radius: 20px 20px 0 0;
            color:var(--uw-text-1);
            margin-top:60px;
            margin-bottom:10px;
            transition: 0.1s;
            box-sizing: border-box;
            margin-bottom:-20px;
        }
        .userinfo_container{
            display:flex;
            flex-direction: column;
            align-items: center;
            margin: 0;
            padding-top: 20px;
            margin-bottom: 45px;
            text-align: center;
            z-index: 5;
            border-radius: 20px 20px 0 0;
            border: none;
        }
        .userinfo_container.info{
            display:block;
            margin: 0;
            margin-top: 20px;
            width: 100%;
            overflow: hidden; /* Clip overflowing memory cards */
        }
        .banner-container {
            position: relative;
            z-index: 3;
        }

        .profile-picture-container {
            position: absolute;
            bottom: -60px;
            left: 0;
            z-index: 10;
        }

        .username-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            flex: 1;
            margin-top: 0px;
            margin-bottom: 20px;
        }

        .username-section.profile-has-avatar-deco {
            margin-top: 10px;
        }

        .profile-display-name-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .display-name-with-badges {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        .action-buttons-container {
            position: absolute;
            top: 190px;
            right: 0px;
            display: flex;
            align-items: center;
            z-index: 15;
        }
        .bio-section {
            margin-top: 16px;
            margin-bottom: 16px;
            text-align: left;
            width: 100%;
        }
        .bio-text {
            font-size: 15px;
            color: var(--uw-text-1);
            margin: 0;
            padding: 0;
            line-height: 1.4;
        }
        .bio-text.bio-empty {
            color: var(--uw-text-2);
            font-style: italic;
        }
        .userinfo_container.inforight{
            display:flex;
            margin: 0;
            margin-top: 20px;
            text-align: left;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            flex-wrap: nowrap;
        }
        .userinfo_container.inforight form{
            display: inline-block;
            margin: 0;
            flex-shrink: 0;
        }
        .userinfo_container.info p{
            margin:0px;
        }
        .userinfo_maininfo_container{
            display: flex;
            font-family: "Roboto", sans-serif;
            margin: auto;
            max-width: 1200px;
            width: 100%;
            padding: 0px 40px 40px 20px;
            background-color: transparent;
            border-radius: 20px;
            margin-bottom:-40px;
        }
        .userinfo_followers {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: transparent;
            border: none;
            border-radius: 0;
            color: var(--uw-text-2);
            font-size: 12px;
            transition: 0.1s;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            cursor: default;
            width: fit-content;
        }
        .userinfo_followers:hover {
            background: transparent;
            border-color: transparent;
        }
        .userinfo_followers.clickable-stats:hover {
            color: var(--uw-blurple-1);
            cursor: pointer;
        }
        .userinfo_followers .stats-icon {
            width: 12px;
            height: 12px;
            object-fit: contain;
        }
        .userinfo_followers b {
            display: inline-block;
            transition: transform 0.3s ease, color 0.3s ease;
            will-change: transform, color;
            color: var(--uw-text-1);
            font-size: 14px;
            font-weight: 600;
        }
        .userinfo_followers b.follower-count-update {
            animation: followerCountUpdate 1s ease forwards;
        }
        
        /* Stats separator dot */
        .stats-separator {
            color: var(--uw-white-4);
            font-weight: 100;
            opacity: 1;
            font-size: 12px;
        }
        
        @keyframes followerCountUpdate {
            0% {
                color: inherit;
                transform: scale(1);
            }
            50% {
                color: #0866ff;
                transform: scale(1.2);
            }
            100% {
                color: inherit;
                transform: scale(1);
            }
        }

        /* Followed by people you follow - overlapping avatars + text */
        .profile-followed-by-you-follow {
            margin-top: 10px; 
            display:flex;
            justify-content: flex-start;
        }
        .profile-followed-by-you-follow-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--uw-text-2);
            font-size: 13px;
            transition: 0.1s;
        }
        .profile-followed-by-you-follow-link:hover {
            color: var(--uw-blurple-1);
        }
        .profile-followed-by-you-follow-avatars {
            display: flex;
            align-items: center;
            overflow: visible;
        }
        .profile-followed-by-you-follow-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--uw-white-1);
            margin-left: -8px;
            box-sizing: content-box;
            flex-shrink: 0;
            /* Ensures un-decorated avatars sit in the same stacking layer as decorated wraps,
               so DOM order (later = on top) controls who overlaps whom */
            position: relative;
        }
        .profile-followed-by-you-follow-avatar:first-child {
            margin-left: 0;
        }
        /* When avatar_decorations.js wraps a mutual-follower avatar, transfer overlap margin to the wrap */
        .profile-followed-by-you-follow-avatars .uw-avatar-wrap {
            margin-left: -8px;
            flex-shrink: 0;
            overflow: visible;
            /* Contain the deco's z-index:9999 so it can't bleed onto sibling avatars */
            isolation: isolate;
        }
        .profile-followed-by-you-follow-avatars .uw-avatar-wrap:first-child {
            margin-left: 0;
        }
        .profile-followed-by-you-follow-avatars .uw-avatar-wrap > img.profile-followed-by-you-follow-avatar {
            margin-left: 0;
            width: 24px;
            height: 24px;
            position: static;
        }
        .profile-followed-by-you-follow-text {
            font-weight: 500;
        }

        .posts {
            max-width: 600px;
            width: 100%;
            margin: auto;
            padding: 0px;
            background-color: transparent;
            border-radius: 10px;
            margin-bottom: 20px;
            z-index: 5;
            box-sizing: border-box;
        }
        .post {
            margin-bottom: 20px;
            padding: 15px;
            background-color: #f9f9f9;
            border-radius: 10px;
        }
        .banner-container {
            position: relative;
            width: 100%;
            z-index: 3;
        }
        .profile-banner {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 20px;
            transition: 0.1s;
            display: block;
        }
        /* Banner actions: Follow, Message, View Public Profile (same row, top-right) */
        .profile-banner-actions {
            position: absolute;
            bottom: 10px;
            right: 10px;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .profile-banner-form {
            display: inline-flex;
        }
        .profile-banner-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            height: 30px;
            padding: 0 12px;
            border: none;
            border-radius: 50px;
            background: var(--uw-white-1);
            cursor: pointer;
            font-size: 12px;
            font-weight: 500;
            transition: 0.1s;
            text-decoration: none;
            color: inherit;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            font-family: Roboto, sans-serif;
            color: var(--uw-text-2);
        }
        .profile-banner-btn img {
            width: 16px;
            height: 16px;
            display: block;
        }
        .profile-banner-btn:hover {
            opacity: 0.8;
        }
        .profile-banner-slate-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background: var(--uw-white-1);
            border-radius: 50px;
            text-decoration: none;
            transition: 0.1s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        .profile-banner-slate-link img {
            width: 16px;
            height: 16px;
            display: block;
        }
        .profile-banner-slate-link:hover {
            opacity: 0.8;
        }
        button.profile-banner-slate-link,
        .profile-banner-menu-trigger {
            border: none;
            cursor: pointer;
            font: inherit;
        }
        .profile-info {
            font-family: "Roboto", sans-serif;
            margin-top: 0;
            position: relative;
            z-index: 2;
        }
        .profile-picture-container {
            position: absolute;
            bottom: -60px;
            left: 0px;
            z-index: 10;
        }
        .status-dot {
            position: absolute;
            bottom: 6px;
            right: 6px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 4px solid var(--uw-white-1);
            background-color: var(--uw-white-2);
            transition: background-color 0.3s ease;
        }
        .profile-profile-picture {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            border: 6px solid var(--uw-white-1);
            background:#fff;
            transition: 0.1s;
            object-fit: cover;
            display: block;
            z-index: 500;
        }
        .profile-posts {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 15px solid #fff;
            margin-bottom: 10px;
        }
        .profile-info h1 {
            margin: 10px 0;
        }
        /* Add a tooltip effect */
        .profile-info h1 img[alt="Verified Icon"]:hover::after,
        .profile-info h1 img[alt="Moderator Icon"]:hover::after {
            opacity: 1;
            visibility: visible;
        }
        .profile-container {
            display: flex;
            gap: 10px;
            margin-bottom: 5px;
        }
        .follow-button, .delete-button {
            display: inline-block;
            padding: 10px 20px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 500;
            transition:0.1s;
            margin-left: 10px;
        }
        .follow-button.following {
            background: var(--uw-background-11);
            border:none;
            outline: none;
            color: inherit;
            text-decoration: none;
        }
        .follow-button.not-following {
            background: var(--uw-blurple-1);
            color: #fff;
            text-decoration: none;
            border:none;
            outline: none;
        }
        .follow-button.dm {
            background: var(--uw-background-11);
            text-decoration: none;
            color: var(--uw-text-1);
            text-decoration: none;
            border:none;
            outline: none;
        }
        .follow-button.following:hover {
            background:var(--uw-white-2);
            border:none;
            outline: none;
        }
        .follow-button.not-following:hover {
            background:var(--uw-blurple-2);
            border:none;
            outline: none;
        }
        .follow-button.dm:hover {
            background:var(--uw-white-2);
            border:none;
            outline: none;
        }
        .delete-button {
            background-color: #ff3235;
            color: #fff;
        }
        .delete-button:hover {
            opacity: 0.9;
        }

        .useractions_container{
            display:flex;
            justify-content: center;
        }

        .userinfo_description{
            display:flex;
            justify-content: center;
            border-radius: 14px;
            font-size: 14px;
            margin:10px;
        }

        .follower-count{
            display: flex;
            padding:5px 15px;
            background-color: #f0f2f5;
            border-radius: 50px;
            color:#000 !important;
            font-size: 12px;
        }
        
        .post-link-btn{
            font-family: "Roboto", sans-serif;
            font-size: 12px;
            background:#0866ff;
            height: 24px;
            padding: 10px;
            color:white;
            border-radius: 50px;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 14px; /* Same font size */
            display: inline-flex;
            align-items: center;
        }

        .post-link-btn:hover{
            opacity: 0.8;
        }


        .privacy-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            border: 1px solid var(--uw-white-2);
            border-radius: 20px;
            background: var(--uw-white-1);
            transition: 0.1s;
            min-height: 48px;
            text-align: center;
            color:var(--uw-text-1) !important;
            cursor: default;
        }

        .privacy-option:hover {
            opacity: 1;
            background: var(--uw-white-2);
            border-color: var(--uw-blurple-1);
        }

        .privacy-emoji {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            flex-shrink: 0;
            font-size: 20px;
        }

        .privacy-emoji img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        .privacy-text {
            font-size: 14px;
            color: var(--uw-text-1) !important;
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: center;
        }

        .bio-option {
            grid-column: 1 / -1;
            background: var(--uw-white-2);
            border: 1px solid var(--uw-white-3);
            padding: 20px;
        }

        .bio-option .privacy-text {
            white-space: pre-wrap;
            word-wrap: break-word;
            overflow-wrap: break-word;
            max-width: 100%;
            text-align: left;
        }

        .bio-option:hover {
            background: var(--uw-white-3);
            border-color: var(--uw-white-4);
        }

        .social-links-container {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 10px;
        }

        .social-links-container .privacy-option {
            margin: 0;
        }

        .social-links-container .privacy-option a {
            color: var(--uw-blurple-1);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .social-links-container .privacy-option a:hover {
            color: var(--uw-blurple-2);
            text-decoration: underline;
        }


        .social-links {
            list-style: none;
            padding: 0;
            margin: 10px 0;
        }

        .social-links li {
            margin: 5px 0;
        }

        .social-links a {
            color: var(--uw-blurple-1);
            text-decoration: none;
            font-size: 14px;
        }

        .social-links a:hover {
            text-decoration: underline;
        }

        .achievements-display {
            max-width: 1100px;
            width: 100%;
            padding: 40px;
            color:var(--uw-text-1);
            background:var(--uw-white-1);
            border:none; 
            border-radius: 20px;
        }
        
        .achievements-container {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .achievement-item {
            position: relative;
            width: 80px; /* Make the achievement container a bit bigger */
            text-align: center; /* Center-align the text */
            padding:16px 10px;
            background-color: var(--uw-white-2);
            border:none;
            color:var(--uw-text-1);
            border-radius: 20px;
            cursor:pointer;
            transition:0.1s;
        }

        .achievement-item:hover{
            background:var(--uw-white-3);
        }
        
        .achievement-icon {
            width: 30px;
            object-fit: cover;
            transition: 0.1s ease;
            display: block;
            margin: 0 auto; /* Center the icon */
        }
        
        .achievement-name {
            font-family: "Roboto", sans-serif;
            margin-top: 10px;
            font-size: 10px;
            font-weight: bold;
            color: var(--uw-text-1);
        }
        
        .achievement-date {
            font-family: "Roboto", sans-serif;
            font-size: 8px;
            color: var(--uw-text-2);
            margin:0px;
        }
        
        /* Ensure proper hover effect */
        .achievement-item:hover .achievement-name,
        .achievement-item:hover .achievement-date {
            opacity: 1;
            transition: opacity 0.1s ease;
        }

        .close-achievement-modal {
            font-size: 24px;
            cursor: pointer;
        }
        

        .bi-briefcase, .bi-mortarboard, .bi-geo-alt, .bi-house-door, .bi-arrow-through-heart, .bi-globe{
            padding:10px 12px;
            background-color:#f0f2f5;
            color:#1d1f23;
            font-size: 14px;
            margin-right:10px;
            border-radius: 50px;
        }

        .bi-person-check-fill{
            padding:10px 12px;
            background: linear-gradient(145deg, rgba(84,149,255,1) 0%, rgba(8,102,255,1) 100%);
            color:#fff;
            font-size: 14px;
            margin-right:10px;
            border-radius: 50px;
        }

        .bi-hammer{
            padding:10px 12px;
            background: linear-gradient(145deg, rgba(255,14,14,1) 0%, rgba(255,111,111,1) 100%);
            color:#fff;
            font-size: 14px;
            margin-right:10px;
            border-radius: 50px;
        }

        .status-container {
            background-color: #f0f0f0;
            padding: 10px;
            border-radius: 5px;
            text-align: center;
            margin-top: 10px;
            cursor: pointer;
        }
        
        .status-container:hover {
            background-color: #e0e0e0;
        }
        
        #profile-status {
            font-size: 16px;
            color: #333;
        }

        /* Achievement Modal Styles */
        #achievement_modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
        }

        #achievement_modal .status-modal-content {
            background-color: var(--uw-white-1);
            margin: 5% auto;
            padding: 40px;
            border-radius: 20px;
            max-width: 400px;
            text-align: center;
            position: relative;
        }

        .achievement-modal-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .achievement-icon-container {
            margin-bottom: 20px;
        }

        .achievement-modal-icon {
            width: 90px;
            object-fit: cover;
        }

        .achievement-details h4 {
            font-size: 24px;
            margin: 0px;
            font-weight: bold;
        }

        .achievement-details p {
            font-size: 16px;
            margin-bottom: 5px;
        }

        .achievement-unlock-date {
            margin-top: 15px;
            font-size: 14px;
            color: var(--uw-text-2);
        }

        .rarity-bar-container {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
        }
        
        .rarity-bar {
            position: relative;
            width: 150px;
            height: 10px;
            background: linear-gradient(to right, #fff, var(--uw-blurple-1));
            border-radius: 10px;
        }
        
        .rarity-indicator {
            position: absolute;
            top: 50%; /* Align vertically in the middle */
            transform: translateY(-50%); /* Center the indicator */
            width: 10px;
            height: 10px;
            border:2px solid #fff;
            border-radius: 50%;
        }        
                
        /* Modal Styles for Status (Similar to Flair Modal) */
        .flair-modal, .status-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            align-items: center;
            justify-content: center;
        }

        .flair-modal-content, .status-modal-content {
            background-color: var(--uw-white-1); /* Semi-transparent background */
            padding: 40px;
            border-radius: 20px;
            max-width: 600px;
            text-align: center;
            position: relative;
            margin: 10% auto;
            align-items: center;
            justify-content: center;
        }

        .flair-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .status-modal-header{
            display: flex;
            justify-content: right;
            align-items: center;
        }

        .close-status-modal {
            font-size: 24px;
            cursor: pointer;
        }

        /* Tabs */
        .tab-container {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .tab-link {
            background: var(--uw-white-2);
            color:var(--uw-text-1);
            padding: 5px 20px;
            margin: 0 5px;
            cursor: pointer;
            font-size: 12px;
            transition: 0.1s;
            border-radius: 50px;
            border: 1px solid var(--uw-white-3);
        }

        .tab-link.prime{
            color: var(--uw-blurple-1);
        }

        .tab-link.business{
            color: #ff7708 !important;
        }

        .tab-link.active {
            color:var(--uw-blurple-1);
            border: 1px solid var(--uw-blurple-1);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .tab-link:hover {
            background:var(--uw-white-3);
            border: 1px solid var(--uw-blurple-1);
        }

        /* Flair/Status Items */
        .flair-items {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin: 20px 0;
            max-height:200px;
            overflow-y: auto; /* Enable vertical scrolling */
            overflow-x: hidden; /* Prevent horizontal scrolling */
        }

        .flair-item {
            background-color: var(--uw-white-2);
            border-radius: 50px;
            padding: 5px 20px;
            margin: 5px;
            cursor: pointer;
            transition: 0.1s;
            display: flex;
            align-items: center;
            font-size: 12px;
            border: 1px solid var(--uw-white-3);
        }

        .flair-item:hover {
            background: var(--uw-white-3);
            border: 1px solid var(--uw-white-4);
        }

        .badge-icon-default{
            background: #e4e6eb;
            color:#000;
        }

        h1{
            margin-top:0px;
        }

        .follow-button.loadmoreposts {
            margin-top:10px;
            background: var(--uw-white-1);
            border: none;
            color: var(--uw-text-1);
            text-decoration: none;
        }
        .follow-button.loadmoreposts:hover{
            background:var(--uw-white-3);
        }

        @media (max-width: 768px) {
            body {
                overflow-x: hidden;
                width: 100%;
            }

            /* Container with 5px margins but centered */
            .container {
                margin: 5px auto;
                width: calc(100% - 10px);
            }

            /* User sections with consistent margins */
            .userinfo_container {
                margin: 0;
                margin-bottom:30px;
            }

            /* Posts section aligned with container */
            .posts {
                margin: 0;
                width: 100%;
                max-width: none;
                padding: 5px;
                margin-top: 36px;
            }

            /* Ensure status dot maintains consistent size */
            .status-dot {
                width: 14px !important;
                height: 14px !important;
                border: 4px solid var(--uw-white-1) !important;
            }

            /* Preview status dot consistency */
            .preview-status-dot {
                width: 14px !important;
                height: 14px !important;
                border: 4px solid var(--uw-white-1) !important;
            }
        }
        
        /* Additional improvements for very small screens */
        @media (max-width: 480px) {
            .userinfo_container {
                padding: 12px 12px 0 12px;
            }

            .profile-profile-picture {
                width: 120px;
                height: 120px;
                margin-top: -40px;
                border-width: 6px;
            }

            /* Ensure status dot maintains consistent size on very small screens */
            .status-dot {
                width: 14px !important;
                height: 14px !important;
                border: 4px solid var(--uw-white-1) !important;
            }

            .preview-status-dot {
                width: 14px !important;
                height: 14px !important;
                border: 4px solid var(--uw-white-1) !important;
            }

            .userinfo_followers {
                padding: 4px 10px;
                font-size: 11px;
                min-width: 70px;
            }

            .userinfo_followers .stats-icon {
                width: 12px;
                height: 12px;
            }

            .userinfo_followers b {
                font-size: 11px;
            }

            .flair-box {
                padding: 3px 10px;
                font-size: 11px;
                max-width: 180px;
            }

            .privacy-option {
                padding: 10px;
                min-height: 44px;
            }

            .privacy-emoji {
                width: 28px;
                height: 28px;
            }

            .privacy-text {
                font-size: 11px;
            }

            .achievement-item {
                width: calc(50% - 8px);
                padding: 8px;
            }

            .achievement-icon {
                width: 28px;
                height: 28px;
            }
        }
        
        .profile-badge-profile {
            position: relative;
            display: inline-block;
            transition: all 0.2s ease;
            width: 16px;
            height: 16px;
            margin-left: 2px;
            vertical-align: middle;
        }

        .info-box {
            display: flex;
            align-items: center;
            gap: 8px;   
            padding: 40px;  
            border: none;   
            border-radius: 20px;    
            background: var(--uw-background-11);  
            cursor: pointer;    
            transition: all 0.2s ease;  
            min-height: 48px;
            width: 100%;
        }


        .info-box img {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .info-box p {
            margin: 0;
            font-size: 14px;
            color: var(--uw-text-1);
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .bio-box {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            background: #fff;
            cursor: pointer;
            transition: all 0.2s ease;
            min-height: 48px;
            width: 100%;
        }

        .bio-box:hover {
            opacity: 1;
            background: var(--uw-white-2);
            border-color: var(--uw-blurple-1);
        }

        .bio-box .userinfo_bio {
            margin: 0;
            font-size: 14px;
            color: #333;
            flex: 1;
            white-space: pre-wrap;
            line-height: 1.5;
        }

        /* Private Profile Styles */
        .private-profile-container {
            background: var(--uw-white-1);
            border: none;
            border-radius: 20px;
            margin: 20px;
            overflow: hidden;
            transition: 0.1s;
        }


        .private-profile-header {
            background: var(--uw-white-2);
            padding: 40px;
            text-align: center;
            border-bottom: none;
        }

        .private-profile-icon {
            margin-bottom: 20px;
        }

        .privacy-icon-img {
            width: 64px;
            height: 64px;
            opacity: 0.7;
        }

        .private-profile-title {
            color: var(--uw-text-1);
            font-size: 28px;
            font-weight: 700;
            margin: 0 0 10px 0;
        }

        .private-profile-subtitle {
            color: var(--uw-text-2);
            font-size: 16px;
            margin: 0;
            line-height: 1.5;
        }

        .private-profile-content {
            padding: 40px;
        }

        .private-profile-section {
            margin-bottom: 40px;
        }

        .private-profile-section:last-child {
            margin-bottom: 0;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .section-icon {
            width: 24px;
            height: 24px;
            opacity: 0.8;
        }

        .section-header h3 {
            color: var(--uw-text-1);
            font-size: 20px;
            font-weight: 600;
            margin: 0;
        }

        .hidden-items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 12px;
        }

        .hidden-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 20px;
            background: var(--uw-white-2);
            border: 1px solid var(--uw-white-3);
            border-radius: 15px;
            transition: 0.1s;
            color: var(--uw-text-2);
        }

        .hidden-item:hover {
            background: var(--uw-white-3);
            border-color: var(--uw-white-4);
        }

        .hidden-item-icon {
            width: 20px;
            height: 20px;
            opacity: 0.6;
        }

        .hidden-item span {
            font-size: 14px;
            font-weight: 500;
        }

        .view-instructions {
            background: var(--uw-white-2);
            border: 1px solid var(--uw-white-3);
            border-radius: 15px;
            padding: 24px;
        }

        .instruction-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
        }

        .instruction-icon {
            font-size: 24px;
            margin-top: 2px;
        }

        .instruction-content h4 {
            color: var(--uw-text-1);
            font-size: 16px;
            font-weight: 600;
            margin: 0 0 8px 0;
        }

        .instruction-content p {
            color: var(--uw-text-2);
            font-size: 14px;
            line-height: 1.5;
            margin: 0;
        }

        /* Responsive Design for Private Profile */
        @media (max-width: 768px) {
            .private-profile-container {
                margin: 10px;
            }

            .private-profile-header {
                padding: 30px 20px;
            }

            .private-profile-content {
                padding: 30px 20px;
            }

            .private-profile-title {
                font-size: 24px;
            }

            .hidden-items-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .hidden-item {
                padding: 14px 16px;
            }

            .section-header h3 {
                font-size: 18px;
            }
        }

        @media (max-width: 480px) {
            .private-profile-header {
                padding: 25px 15px;
            }

            .private-profile-content {
                padding: 25px 15px;
            }

            .private-profile-title {
                font-size: 22px;
            }

            .private-profile-subtitle {
                font-size: 14px;
            }

            .privacy-icon-img {
                width: 48px;
                height: 48px;
            }

            .section-icon {
                width: 20px;
                height: 20px;
            }

            .hidden-item-icon {
                width: 18px;
                height: 18px;
            }
        }

        /* Privacy Restriction Cards */
        .privacy-restriction-card {
            background: var(--uw-white-1);
            border: 1px solid var(--uw-white-3);
            border-radius: 15px;
            padding: 20px;
            margin: 10px 0;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: 0.1s;
            color: var(--uw-text-2);
            font-size: 14px;
            max-width: 320px;
            margin-left: 10px;
        }

        .privacy-restriction-card:hover {
            border: 1px solid var(--uw-white-4);
            background: var(--uw-white-2);
        }

        .privacy-restriction-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: var(--uw-white-2);
            border-radius: 12px;
            flex-shrink: 0;
        }

        .restriction-icon-img {
            width: 24px;
            height: 24px;
            opacity: 0.7;
        }

        .privacy-restriction-content {
            flex: 1;
            min-width: 0;
        }

        .restriction-title {
            color: var(--uw-text-1);
            margin: 0 0 6px 0;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.3;
        }

        .restriction-description {
            margin: 0;
            font-size: 14px;
            line-height: 1.4;
            color: var(--uw-text-2);
        }

        /* Legacy Follower Privacy Message (keeping for backward compatibility) */
        .follower-privacy-message {
            background: var(--uw-white-2);
            border-radius: 15px;
            padding: 15px 20px;
            margin: 10px 0;
            display: flex;
            align-items: center;
            gap: 15px;
            color: var(--uw-text-2);
            font-size: 14px;
        }

        .follower-privacy-message .privacy-icon {
            font-size: 24px;
            color: var(--uw-text-1);
        }

        .follower-privacy-message .message-content {
            flex: 1;
        }

        .follower-privacy-message .message-content h4 {
            color: var(--uw-text-1);
            margin: 0 0 5px 0;
            font-size: 16px;
            font-weight: 600;
        }

        .follower-privacy-message .message-content p {
            margin: 0;
            font-size: 14px;
            line-height: 1.4;
        }

        /* Responsive Design for Privacy Restriction Cards */
        @media (max-width: 768px) {
            .privacy-restriction-card {
                max-width: 100%;
                padding: 16px;
                gap: 12px;
            }

            .privacy-restriction-icon {
                width: 40px;
                height: 40px;
            }

            .restriction-icon-img {
                width: 20px;
                height: 20px;
            }

            .restriction-title {
                font-size: 15px;
            }

            .restriction-description {
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            .privacy-restriction-card {
                padding: 14px;
                gap: 10px;
            }

            .privacy-restriction-icon {
                width: 36px;
                height: 36px;
            }

            .restriction-icon-img {
                width: 18px;
                height: 18px;
            }

            .restriction-title {
                font-size: 14px;
            }

            .restriction-description {
                font-size: 12px;
            }
        }



        .privacy-option a {
            color: var(--uw-blurple-1);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .privacy-option a:hover {
            color: var(--uw-blurple-2);
            text-decoration: underline;
        }

        .set-status-btn-custom {
            /* Inherit userinfo_followers look */
            display: flex;
            align-items: center;
            background: var(--uw-blurple-1);
            border-radius: 50px;
            color: var(--uw-white-1);
            padding: 10px 20px;
            font-size: 12px;
            transition: 0.1s;
            user-select: none;
            cursor: pointer;
            width: fit-content;
            outline: none;
            border: none;
            gap:10px;
        }
        .set-status-btn-custom:hover {
            background: var(--uw-blurple-2);
        }

        /* Custom Status - Inline next to username (no bubble) */
        .custom-status-inline {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .status-icon-display-inline {
            width: 14px;
            height: 14px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .status-text-inline {
            color: var(--uw-text-2);
            font-size: 13px;
            font-weight: 400;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Activity status separator dot */
        .activity-status-separator {
            color: var(--uw-white-4);
            font-weight: 100;
            opacity: 1;
            margin: 0 4px;
        }
        
        /* Hide separator before live-status when live-status is empty */
        .live-status-separator {
            display: inline;
        }
        
        .activity-status-text:empty + .live-status-separator,
        .live-status-separator:has(+ .activity-status-text:empty) {
            display: none;
        }

        /* Activity status text - now inline next to username, no bubble */
        .activity-status-text {
            color: var(--uw-text-2);
            font-weight: 400;
            font-size: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .activity-status-text:empty {
            display: none;
        }

        /* New Status Modal Styles */
        .status-profile-preview {
            margin-bottom: 20px;
            border-radius: 20px;
            overflow: hidden;
            background: var(--uw-background-11);
            transition: 0.1s;
        }

        .status-profile-preview:hover {
            border-color: var(--uw-white-4);
        }

        .preview-profile-banner {
            height: 80px;
            overflow: hidden;
        }

        .preview-profile-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .preview-profile-info {
            padding: 15px;
        }

        .preview-userinfo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .preview-profile-picture-container {
            position: relative;
            flex-shrink: 0;
        }

        .preview-profile-picture-container img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--uw-background-11);
        }

        .preview-status-dot {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 3px solid var(--uw-background-11);
            background-color: var(--uw-blurple-1);
        }

        .preview-userinfo-info {
            flex: 1;
            min-width: 0;
        }

        .preview-username-section {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .preview-username-section h1 {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
            color: var(--uw-text-1);
        }

        .preview-custom-status-box {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            background: var(--uw-white-2);
            border-radius: 50px;
            color: var(--uw-text-2);
            font-size: 11px;
            transition: 0.1s;
            user-select: none;
            cursor: default;
        }

        .preview-custom-status-box:hover {
            background: var(--uw-white-2);
            border-color: var(--uw-white-3);
        }

        .preview-status-icon {
            width: 12px;
            height: 12px;
            object-fit: contain;
        }

        .status-input-section {
            margin-bottom: 20px;
        }

        .status-input-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .status-icon-picker {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            background: var(--uw-background-11);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: 0.1s;
            flex-shrink: 0;
        }

        .status-icon-picker:hover {
            background: var(--uw-white-2);
        }

        .selected-icon-preview {
            width: 16px;
            height: 16px;
            object-fit: contain;
        }

        .status-input-wrapper {
            position: relative;
            flex: 1;
        }

        .status-input {
            width: 100%;
            padding: 10px 20px;
            border: none;
            border-radius: 50px;
            font-size: 12px;
            background: var(--uw-background-11);
            color: var(--uw-text-1);
            transition: 0.1s;
            box-sizing: border-box;
        }

        .status-input:hover {
            border-color: var(--uw-blurple-1);
        }

        .status-input:focus {
            outline: none;
            border-color: var(--uw-blurple-1);
        }

        .char-counter {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            color: var(--uw-text-2);
        }

        /* Icon Picker Modal Styles */
        .icon-picker-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .icon-picker-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: var(--uw-white-1);
            border-radius: 20px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .icon-picker-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
        }

        .icon-picker-header h2 {
            margin: 0;
            color: var(--uw-text-1);
            font-size: 18px;
        }

        .close-icon-picker {
            font-size: 24px;
            cursor: pointer;
            color: var(--uw-text-2);
            transition: 0.1s;
        }

        .close-icon-picker:hover {
            color: var(--uw-text-1);
        }

        .icon-picker-search {
            margin-bottom: 20px;
            outline: none;
        }

        .icon-search-input {
            width: 100%;
            padding: 10px 20px;
            border: none;
            border-radius: 50px;
            font-size: 12px;
            background: var(--uw-background-11);
            color: var(--uw-text-1);
            transition: 0.1s;
            box-sizing: border-box;
            outline: none;
        }

        .icon-picker-tabs {
            display: flex;
            gap: 5px;
            margin-bottom: 20px;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .icon-picker-tab {
            padding: 8px 16px;
            background: var(--uw-background-11);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 12px;
            color: var(--uw-text-1);
            transition: 0.1s;
            white-space: nowrap;
        }

        .icon-picker-tab:hover {
            background: var(--uw-white-2);
        }

        .icon-picker-tab.active {
            background: var(--uw-white-2);
            color: var(--uw-blurple-1);
        }

        .icon-picker-grid {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 10px;
            overflow-y: auto;
            max-height: 300px;
            padding-right: 5px;
        }

        .icon-picker-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: 0.1s;
            background: var(--uw-background-11);
        }

        .icon-picker-item:hover {
            background: var(--uw-white-2);
        }

        .icon-picker-img {
            width: 16px;
            height: 16px;
            object-fit: contain;
        }

        .status-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .save-status-button {
            padding: 10px 20px;
            background: var(--uw-background-11);
            color: var(--uw-text-1);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 12px;
            transition: 0.1s;
        }

        .save-status-button:hover:not(:disabled) {
            background: var(--uw-white-2);
            color: var(--uw-blurple-1);
        }

        .save-status-button:disabled {
            background: var(--uw-white-3);
            color: var(--uw-text-2);
            cursor: not-allowed;
        }

        .clear-status-button {
            padding: 10px 20px;
            background: var(--uw-background-11);
            color: var(--uw-text-1);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 12px;
            transition: 0.1s;
        }

        .clear-status-button:hover {
            background: var(--uw-white-2);
            color: var(--uw-red-1);
        }

        /* Validation Message Styles */
        .validation-message {
            margin-top: 8px;
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: normal;
            min-height: 14px;
            background-color: var(--uw-background-11);
            color: var(--uw-text-1);
            border: none;
            transition: all 0.3s ease;
        }

        .validation-message.error {
            background-color: var(--uw-white-2);
            color: var(--uw-red-1);
        }

        .validation-message.success {
            background-color: var(--uw-white-2);
            color: var(--uw-blurple-1);
        }

        .validation-message.warning {
            background-color: var(--uw-white-2);
            color: var(--uw-text-1);
        }

        /* Social Connections - uses public-info-scroller-wrapper and public-info-card link-card */

        /* Profile Stats Bar Styles */
        .profile-stats-bar {
            display: flex;
            gap: 12px;
            margin-top: 12px;
            flex-wrap: wrap;
            align-items: center;
        }

        .profile-stat-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }


        .profile-stat-item .stat-icon {
            width: 12px;
            height: 12px;
            opacity: 1;
            object-fit: contain;
        }

        .profile-stat-item .stat-text {
            font-size: 10px;
            color: var(--uw-text-2);
        }

        /* Public Info Scroller Styles */
        .public-info-scroller-wrapper {
            position: relative;
            margin-top: 12px;
            display: flex;
            align-items: center;
        }

        .public-info-scroller {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
            scroll-behavior: smooth;
            flex: 1;
        }

        .public-info-scroller::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        .public-info-scroller {
            -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        }

        /* Scroller Arrow Buttons */
        .scroller-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--uw-white-1);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s;
            opacity: 0;
            pointer-events: none;
        }

        .public-info-scroller-wrapper:hover .scroller-arrow,
        .memories-scroller-wrapper:hover .scroller-arrow {
            opacity: 1;
            pointer-events: all;
        }

        .scroller-arrow:hover {
            background: var(--uw-white-2);
            border-color: var(--uw-white-4);
        }

        .scroller-arrow:active {
            transform: translateY(-50%) scale(0.95);
        }

        .scroller-arrow-left {
            left: 0;
        }

        .scroller-arrow-right {
            right: 0;
        }

        .scroller-arrow i {
            font-size: 12px;
            color: var(--uw-text-1);
        }

        .scroller-arrow.hidden {
            opacity: 0 !important;
            pointer-events: none !important;
        }

        /* Scroller Fade Gradients */
        .scroller-fade {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 60px;
            pointer-events: none;
            z-index: 5;
            transition: opacity 0.2s;
        }

        .scroller-fade-left {
            left: 0;
            background: linear-gradient(to right, var(--uw-white-1) 0%, var(--uw-white-1) 30%, transparent 100%);
        }

        .scroller-fade-right {
            right: 0;
            background: linear-gradient(to left, var(--uw-white-1) 0%, var(--uw-white-1) 30%, transparent 100%);
        }

        .scroller-fade.hidden {
            opacity: 0;
        }

        .public-info-card {
            display: flex;
            align-items: center;
            gap: 8px;
            border-radius: 20px;
            white-space: nowrap;
            flex-shrink: 0;
            transition: all 0.2s;
            cursor: default;
        }


        .public-info-icon {
            opacity: 1;
            flex-shrink: 0;
            width: 14px;
            height: 14px;
            object-fit: contain;
        }

        .public-info-text {
            font-size: 10px;
            color: var(--uw-text-2);
            font-weight: 400;
        }

        .public-info-card.link-card {
            text-decoration: none;
            cursor: pointer;
        }

        .public-info-card.link-card:hover {
            color: var(--uw-blurple-1) !important;
        }

        .public-info-card.link-card .public-info-text {
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }


/* View Story Button */
.view-story-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--uw-background-11);
    color: var(--uw-blurple-1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Roboto", sans-serif;
    margin-left: 6px;
    border: none;
    outline: none;
}

.view-story-button:hover {
        background: var(--uw-white-2);
}

.view-story-button:active {
    transform: translateY(0);
}

.view-story-button i {
    font-size: 16px;
}

