/* ==========================================
   PART 1
   GLOBAL LAYOUT
========================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,Helvetica,sans-serif;
-webkit-tap-highlight-color:transparent;
}

html,body{
    width:100%;
    height:100%;
    background:#ffffff;
    color:#111111;
}

body{
position:relative;
}

.page{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#ffffff;
    color:#111111;
    display:none;
}

.page.active{
display:block;
}

.hidden{
display:none !important;
}

button{
    border:none;
    background:none;
    color:#111111;
    cursor:pointer;
}

input,
textarea{
outline:none;
border:none;
}

/* ==========================================
   NAVBAR
========================================== */
#bottomNav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:70px;
    background:#000;
    display:flex;
    justify-content:space-around;
    align-items:center;
    border-top:1px solid rgba(255,255,255,.1);
    z-index:9999;
}

#bottomNav button{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:4px;
color:#fff;
font-size:12px;
flex:1;
height:100%;
}

.nav-icon{
font-size:24px;
line-height:1;
display:block;
}

.nav-label{
font-size:11px;
font-weight:600;
}

/* ==========================================
   TIKUU UPLOAD BUTTON
========================================== */

.nav-upload{
    width:60px;
    height:42px;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* BUTTON IMWE GUSA */

.upload-center{
    width:48px;
    height:34px;
    border:none;
    border-radius:10px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:22px;
    font-weight:900;

    /* amabara atatu muri button imwe */

    background:linear-gradient(
        90deg,
        #00C853 0%,
        #00C853 10%,
        #FE2C55 10%,
        #FE2C55 90%,
        #25F4EE 90%,
        #25F4EE 100%
    );
}

.upload-center:active{
    transform:scale(.92);
}

/* ==========================================
   PART 3
   AUTH PAGES
========================================== */

#authPage,
#phoneLoginPage,
#emailLoginPage,
#otpPage,
#registerPage{
    background:#ffffff;
    color:#111111;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:25px;
    overflow-y:auto;
}

/* LOGO */

.auth-logo{
text-align:center;
margin-bottom:45px;
}

.auth-logo h1{
font-size:52px;
font-weight:900;
color:#FE2C55;
margin-bottom:10px;
}

.auth-logo h2{
font-size:24px;
margin-bottom:8px;
}

.auth-logo p{
color:#aaa;
font-size:15px;
}

/* BUTTONS */

.auth-options{
width:100%;
max-width:420px;
display:flex;
flex-direction:column;
gap:14px;
}

.auth-btn{
    width:100%;
    height:56px;
    background:#f5f5f5;
    border:1px solid #dddddd;
    border-radius:14px;
    color:#111111;
    font-size:16px;
    font-weight:700;
    transition:.25s;
}

.auth-btn:hover{
background:#1d1d1d;
}

.auth-btn:active{
transform:scale(.98);
}

/* TERMS */

.auth-terms{
margin-top:25px;
font-size:13px;
text-align:center;
color:#888;
line-height:1.6;
max-width:350px;
}

/* HEADER */

.auth-header{
width:100%;
display:flex;
align-items:center;
gap:15px;
padding:20px;
font-size:20px;
font-weight:bold;
}

.auth-header button{
    font-size:22px;
    color:#111111;
}

/* FORM */

.auth-form{
width:100%;
max-width:420px;
display:flex;
flex-direction:column;
gap:16px;
margin-top:30px;
}

.auth-form input{
    width:100%;
    height:56px;
    padding:0 18px;
    border-radius:14px;
    background:#f5f5f5;
    border:1px solid #dddddd;
    color:#111111;
    font-size:16px;
}

.auth-form input:focus{
border:1px solid #FE2C55;
}

.auth-form input::placeholder{
color:#888;
}

.auth-form button{
height:56px;
border-radius:14px;
background:#FE2C55;
color:#fff;
font-size:16px;
font-weight:bold;
transition:.2s;
}

.auth-form button:active{
transform:scale(.98);
}

#openRegisterBtn{
background:#222;
border:1px solid rgba(255,255,255,.15);
}

#openRegisterBtn:hover{
background:#333;
}

/* REGISTER */

#registerPage .auth-form{
padding-bottom:80px;
}

/* OTP */

#otpCode{
text-align:center;
font-size:24px;
letter-spacing:10px;
font-weight:bold;
}

/* PHONE */

#phoneNumber{
font-size:18px;
}

/* EMAIL */

#loginEmail,
#registerEmail{
text-transform:lowercase;
}

/* ==========================================
   UPLOAD PAGE - PART 1
========================================== */

#uploadPage{
    position:fixed;
    inset:0;
    width:100%;
    height:100vh;
    background:#000;
    overflow:hidden;
    z-index:99999;
}

/* CAMERA */

.cameraContainer{
    position:absolute;
    inset:0;
    background:#000;
}

#cameraPreview,
#previewVideo,
#previewImage{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* HEADER */

.uploadHeader{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:70px;
    padding:0 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:linear-gradient(rgba(0,0,0,.55),transparent);
    z-index:100;
}

.uploadHeader button{
    color:#fff;
    font-size:17px;
    font-weight:700;
}

.uploadHeader h2{
    font-size:20px;
    font-weight:700;
}

/* RIGHT TOOLS */

.cameraTools{
    position:absolute;
    right:10px;
    top:85px;
    display:flex;
    flex-direction:column;
    gap:18px;
    z-index:100;
}

.cameraTools button{
    width:58px;
    display:flex;
    flex-direction:column;
    align-items:center;
    color:#fff;
    font-size:23px;
}

.cameraTools button span{
    margin-top:4px;
    font-size:11px;
    color:#fff;
}

/* ZOOM */

.zoomControls{
    position:absolute;
    left:50%;
    bottom:170px;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    z-index:100;
}

.zoomBtn{
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    color:#fff;
    font-weight:bold;
}

.zoomBtn.active{
    background:#00C853;
}

/* RECORD TIMES */

.recordTimes{
    position:absolute;
    left:50%;
    bottom:118px;
    transform:translateX(-50%);
    display:flex;
    gap:18px;
    z-index:100;
}

.recordTimeBtn{
    padding:8px 18px;
    border-radius:20px;
    background:rgba(255,255,255,.18);
    color:#fff;
    font-size:14px;
}

.recordTimeBtn.active{
    background:#FE2C55;
}

/* BOTTOM */

.cameraBottom{
    position:absolute;
    left:0;
    bottom:18px;
    width:100%;
    display:flex;
    justify-content:space-around;
    align-items:center;
    z-index:110;
}

#galleryBtn span,
#switchCameraBtn span{
    margin-top:6px;
    font-size:11px;
}

/* ==========================================
   CAMERA RECORD BUTTON
========================================== */
.cameraBottom{

    position:absolute;

    left:0;

    right:0;

    bottom:30px;

    display:flex;

    justify-content:space-evenly;

    align-items:center;

    z-index:200;

}

#recordBtn{

    width:96px;

    height:96px;

    border:none;

    background:none;

}

.recordOuter{

    width:96px;

    height:96px;

    border-radius:50%;

    border:6px solid #fff;

    display:flex;

    justify-content:center;

    align-items:center;

}

.recordInner{

    width:72px;

    height:72px;

    background:#ff2f55;

    border-radius:50%;

    transition:.25s;

}

#recordBtn.recording .recordInner{

    width:34px;
    height:34px;
    border-radius:10px;
    background:#00e676;

}

/* ===========================
UPLOAD PROGRESS
=========================== */

.upload-progress{

margin:15px;

padding:15px;

border-radius:12px;

background:#1f1f1f;

}

.upload-progress.hidden{

display:none;

}

.upload-progress-header{

display:flex;

justify-content:space-between;

margin-bottom:10px;

color:#fff;

font-size:14px;

}

#uploadProgressBar{

width:100%;

height:8px;

}

.upload-progress-buttons{

display:flex;

gap:10px;

margin-top:12px;

}

.upload-progress-buttons button{

flex:1;

padding:10px;

border:none;

border-radius:8px;

cursor:pointer;

}

.category-section{

    margin:16px 0;

}

.category-title{

    color:#fff;

    font-size:15px;

    font-weight:700;

    margin-bottom:10px;

}

.category-list{

    display:flex;

    gap:10px;

    overflow-x:auto;

    padding-bottom:6px;

}

.category-list::-webkit-scrollbar{

    display:none;

}

.category-btn{

    border:none;

    border-radius:25px;

    padding:10px 16px;

    background:#222;

    color:#fff;

    white-space:nowrap;

    cursor:pointer;

    font-size:14px;

}

.category-btn.active{

    background:#ff0050;

}

/* ==========================================
   POST UPLOAD PAGE
========================================== */

#postUploadPage{
    position:fixed;
    inset:0;
    background:#000;
    color:#fff;
    overflow-y:auto;
    padding-bottom:110px;
}

.postUploadHeader{
    position:sticky;
    top:0;
    height:60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 16px;
    background:#000;
    z-index:100;
}

.postUploadHeader h2{
    font-size:22px;
    font-weight:700;
}

.postPreview{
    width:100%;
    height:260px;
    background:#111;
}

#postPreviewVideo,
#postPreviewImage{
    width:100%;
    height:100%;
    object-fit:cover;
}

.uploadField{
    padding:15px;
}

#captionInput{
    width:100%;
    min-height:100px;
    background:#111;
    color:#fff;
    border-radius:12px;
    padding:12px;
    resize:none;
}

.captionFooter{
    display:flex;
    justify-content:space-between;
    margin-top:10px;
}

.uploadOptions{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:15px;
}

.uploadOptions button{
    color:#fff;
    text-align:left;
    font-size:16px;
}

.uploadSettings{
    padding:15px;
}

.uploadSwitch{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
}

.postActions{
    position:fixed;
    left:0;
    right:0;
    bottom:82px;
    display:flex;
    gap:12px;
    padding:12px;
    background:#000;
}

.postActions button{
    flex:1;
    height:52px;
    border-radius:12px;
    font-size:18px;
    font-weight:bold;
}

#saveDraftBtn{
    background:#333;
    color:#fff;
}

#publishBtn{
    background:#FE2C55;
    color:#fff;
}

.play-overlay{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
font-size:70px;
color:white;
pointer-events:none;
opacity:.9;
transition:.2s;
}

.play-overlay.hidden{
display:none;
}

/* ==========================================
   PART 4A-1
   INBOX PAGE
========================================== */

#inboxPage{
position:absolute;
inset:0;
background:#000;
color:#fff;
overflow:hidden;
padding-bottom:82px;
}

/* HEADER */

.inboxHeader{
height:60px;
display:flex;
align-items:center;
justify-content:center;
gap:12px;
padding:0 15px;
border-bottom:1px solid rgba(255,255,255,.08);
background:#000;
}

.inboxTab{
flex:1;
height:42px;
border:none;
border-radius:25px;
background:#111;
color:#8d8d8d;
font-size:15px;
font-weight:700;
transition:.25s;
}

.inboxTab.active{
background:#FE2C55;
color:#fff;
}

/* CONTENT */

#inboxActivitySection,
#chatSection{
position:absolute;
top:60px;
left:0;
right:0;
bottom:82px;
overflow-y:auto;
-webkit-overflow-scrolling:touch;
padding:12px;
}

#inboxActivitySection::-webkit-scrollbar,
#chatSection::-webkit-scrollbar{
display:none;
}

/* NOTIFICATION */

.notificationCard{
background:#111;
border:1px solid rgba(255,255,255,.08);
border-radius:16px;
padding:16px;
margin-bottom:12px;
}

.notificationCard h4{
font-size:16px;
margin-bottom:6px;
color:#fff;
}

.notificationCard p{
font-size:14px;
line-height:1.5;
color:#bdbdbd;
}

/* CHAT HEADER */

.inboxChatListHeader{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.inboxChatListHeader h2{
font-size:22px;
font-weight:700;
}

#newInboxChatBtn{
width:42px;
height:42px;
border-radius:50%;
background:#FE2C55;
font-size:20px;
color:#fff;
}

/* SEARCH */

#searchChatInput{
width:100%;
height:48px;
padding:0 16px;
margin-bottom:15px;
border-radius:24px;
background:#111;
color:#fff;
font-size:15px;
}

#searchChatInput::placeholder{
color:#888;
}

/* CHAT LIST */

#inboxChatList{
display:flex;
flex-direction:column;
gap:10px;
padding-bottom:20px;
}

 /* ==========================================
   PART 4A-2
   INBOX CHAT LIST CARDS
========================================== */

.chatListItem{

    width:100%;

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px;

    background:#111;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.08);

    transition:.2s;

}

.chatListItem:active{

    transform:scale(.98);

    background:#1b1b1b;

}

/* PROFILE IMAGE */

.chatListAvatar{

    width:56px;

    height:56px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid rgba(255,255,255,.15);

}

/* USER INFO */

.chatListInfo{

    flex:1;

    min-width:0;

}

.chatListName{

    font-size:16px;

    font-weight:700;

    color:#fff;

    margin-bottom:5px;

}

.chatLastMessage{

    font-size:14px;

    color:#999;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

    max-width:220px;

}

/* RIGHT SIDE */

.chatListRight{

    display:flex;

    flex-direction:column;

    align-items:flex-end;

    gap:8px;

}

.chatTime{

    font-size:11px;

    color:#777;

}

/* UNREAD MESSAGE */

.chatUnreadBadge{

    min-width:22px;

    height:22px;

    padding:0 6px;

    border-radius:50%;

    background:#FE2C55;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:12px;

    font-weight:bold;

}

/* ONLINE DOT */

.chatOnlineDot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#00e676;

    border:2px solid #111;

    position:absolute;

}

/* EMPTY CHAT */

.emptyChat{

    width:100%;

    padding:40px 20px;

    text-align:center;

    color:#777;

    font-size:15px;

}

/* ==========================================
   PART 4B-1
   CHAT PAGE UI
========================================== */

#chatPage{

    position:absolute;

    inset:0;

    background:#000;

    color:#fff;

    overflow:hidden;

    display:flex;

    flex-direction:column;

}

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

.chatHeader{

    height:65px;

    width:100%;

    display:flex;

    align-items:center;

    gap:12px;

    padding:0 12px;

    background:#000;

    border-bottom:1px solid rgba(255,255,255,.1);

    z-index:20;

}

#backChatBtn{

    font-size:22px;

    width:35px;

}

/* USER IMAGE */

#chatUserImage{

    width:45px;

    height:45px;

    border-radius:50%;

    object-fit:cover;

}

/* USER INFO */

.chatUserInfo{

    flex:1;

    overflow:hidden;

}

.chatUserInfo h3{

    font-size:16px;

    font-weight:700;

    white-space:nowrap;

}

#chatUserStatus{

    font-size:12px;

    color:#00e676;

}

/* CALL BUTTONS */

#chatVoiceCallBtn,
#chatVideoCallBtn,
#chatMenuBtn{

    width:38px;

    height:38px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    background:#111;

}

.newFriendCard{

    display:flex;
    align-items:center;
    gap:15px;
    padding:12px;
    border-bottom:1px solid #ddd;
    cursor:pointer;

}

.newFriendCard img{

    width:50px;
    height:50px;
    border-radius:50%;

}

.newFriendCard h3{

    margin:0;

}

.newFriendCard p{

    margin:4px 0;
    color:#777;

}

/* =========================
   MESSAGE AREA
========================= */

#chatMessages{

    flex:1;

    overflow-y:auto;

    padding:15px;

    display:flex;

    flex-direction:column;

    gap:8px;

}

#chatMessages::-webkit-scrollbar{

    display:none;

}

/* =========================================================
   TIKUU CHAT DATE + MESSAGE TIME
========================================================= */

.chatDateSeparator{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:12px 0 8px;

    flex-shrink:0;

}

.chatDateSeparator span{

    display:inline-block;

    padding:7px 14px;

    background:#f1f1f1;

    color:#222;

    border-radius:14px;

    font-size:13px;

    font-weight:600;

    box-shadow:0 1px 2px rgba(0,0,0,.08);

}

.messageContent{

    display:block;

}

.messageMeta{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    margin-top:3px;

    min-height:14px;

}

/* =========================================================
   TIKUU MESSAGE CHECK MARKS
========================================================= */

.messageStatus{

    display:inline-block;

    margin-left:5px;

    color:#ff1744 !important;

    font-size:15px;

    font-weight:800;

    line-height:1;

    letter-spacing:-2px;

    vertical-align:-1px;

}

.messageBubble.mine .messageStatus{

    color:#ff1744 !important;

}

.messageBubble.other .messageStatus{

    display:none;

}

.messageTime{

    font-size:11px;

    line-height:1;

    white-space:nowrap;

    opacity:.70;

}

.messageBubble.mine .messageTime{

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

}

.messageBubble.other .messageTime{

    color:#666;

}

/* =========================================================
   CURRENT MESSAGE SIDE COLORS
========================================================= */

.messageBubble.mine{

    align-self:flex-end;

    background:#1689ff;

    color:#fff;

    border-bottom-right-radius:5px;

}

.messageBubble.other{

    align-self:flex-start;

    background:#fff;

    color:#111;

    border:1px solid #e5e5e5;

    border-bottom-left-radius:5px;

}

/* MESSAGE BUBBLES */

.messageBubble{

    max-width:75%;

    padding:10px 14px;

    border-radius:18px;

    font-size:15px;

    line-height:1.4;

    word-wrap:break-word;

}

.myMessage{

    align-self:flex-end;

    background:#FE2C55;

    color:#fff;

    border-bottom-right-radius:5px;

}

.otherMessage{

    align-self:flex-start;

    background:#222;

    color:#fff;

    border-bottom-left-radius:5px;

}

/* =========================
   CHAT INPUT AREA
========================= */

.chatInputArea{

    height:65px;

    width:100%;

    display:flex;

    align-items:center;

    gap:8px;

    padding:8px 10px;

    background:#000;

    border-top:1px solid rgba(255,255,255,.1);

}

.chatInputArea button{

    font-size:22px;

    width:38px;

    height:38px;

}

#messageInput{

    flex:1;

    height:45px;

    background:#1b1b1b;

    border-radius:25px;

    padding:0 18px;

    color:#fff;

    font-size:15px;

}

#messageInput::placeholder{

    color:#888;

}

/* SEND BUTTON */

#sendMessageBtn{

    background:#FE2C55;

    border-radius:50%;

    font-size:20px;

}

/* ==========================================
   PART 4B-2
   CHAT MEDIA PREVIEW
========================================== */

.chatMediaPreview{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.85);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:100;

}

.chatMediaPreviewContent{

    width:90%;

    max-width:420px;

    background:#111;

    border-radius:18px;

    padding:15px;

}

#chatPreviewImage,
#chatPreviewVideo{

    width:100%;

    max-height:400px;

    border-radius:14px;

    object-fit:cover;

}

/* MEDIA ACTIONS */

.chatPreviewActions{

    display:flex;

    gap:12px;

    margin-top:15px;

}

.chatPreviewActions button{

    flex:1;

    height:45px;

    border-radius:25px;

    font-size:15px;

    font-weight:bold;

}

#cancelMediaBtn{

    background:#333;

}

#sendMediaBtn,
#sendVoiceRecordBtn{

    background:#FE2C55;

}

/* ==========================================
   VOICE RECORDER MODAL
========================================== */

.voiceRecorderModal{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.75);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:200;

}

.voiceRecorderCard{

    width:85%;

    max-width:350px;

    background:#111;

    border-radius:20px;

    padding:25px;

    text-align:center;

    border:1px solid rgba(255,255,255,.1);

}

.voiceRecorderCard h3{

    font-size:20px;

    margin-bottom:15px;

}

#voiceRecorderTime{

    font-size:38px;

    font-weight:bold;

    color:#FE2C55;

    margin:20px 0;

}

/* VOICE BUTTONS */

.voiceRecorderButtons{

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;

}

.voiceRecorderButtons button{

    min-width:90px;

    height:45px;

    border-radius:25px;

    font-weight:bold;

    background:#222;

}

#startVoiceRecordBtn{

    background:#00c853;

}

#stopVoiceRecordBtn{

    background:#FE2C55;

}

#cancelVoiceRecordBtn{

    background:#333;

}

/* VOICE PREVIEW */

#voicePreviewArea{

    display:none;

    position:absolute;

    bottom:80px;

    left:50%;

    transform:translateX(-50%);

    width:90%;

    padding:15px;

    background:#111;

    border-radius:18px;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    gap:15px;

    z-index:100000;

}

/* AUDIO PLAYER */

#voicePreview{

    width:100%;

    height:45px;

    border-radius:10px;

}

/* DELETE BUTTON */

#deleteVoiceRecordBtn{

    width:120px;

    height:40px;

    border:none;

    border-radius:20px;

    background:#ff3040;

    color:white;

    font-size:15px;

    font-weight:bold;

    cursor:pointer;

}

/* SEND BUTTON WHEN READY */

#sendVoiceRecordBtn{

    transition:.2s;

}

#sendVoiceRecordBtn:disabled{

    opacity:.5;

    cursor:not-allowed;

}

/* ==========================================
   PART 4C-1
   VOICE CALL PAGE
========================================== */

#voiceCallPage{

    position:absolute;

    inset:0;

    background:#000;

    color:#fff;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    z-index:500;

}

/* CALLER IMAGE */

#voiceCallerImage{

    width:130px;

    height:130px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid rgba(255,255,255,.2);

    margin-bottom:25px;

}

/* CALLER NAME */

#voiceCallerName{

    font-size:26px;

    font-weight:700;

    margin-bottom:10px;

}

/* CALL STATUS */

#voiceCallStatus{

    color:#aaa;

    font-size:16px;

    margin-bottom:50px;

}

/* CONTROLS */

.callControls{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:25px;

}

.callControls button{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#222;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:25px;

}

/* MUTE */

#muteVoiceBtn{

    background:#333;

}

/* SPEAKER */

#speakerBtn{

    background:#333;

}

/* END CALL */

#endVoiceCallBtn{

    background:#FE2C55;

}

#endVoiceCallBtn:active{

    transform:scale(.9);

}

/* ==========================================
   PART 4C-2
   VIDEO CALL PAGE
========================================== */

#videoCallPage{

    position:absolute;

    inset:0;

    background:#000;

    overflow:hidden;

    z-index:500;

}

/* REMOTE VIDEO */

#videoCallRemoteVideo{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    background:#111;

}

/* LOCAL VIDEO (SMALL CAMERA WINDOW) */

#videoCallLocalVideo{

    position:absolute;

    top:20px;

    right:15px;

    width:120px;

    height:170px;

    border-radius:16px;

    object-fit:cover;

    border:2px solid rgba(255,255,255,.3);

    z-index:20;

}

/* VIDEO CONTROLS */

.videoControls{

    position:absolute;

    bottom:35px;

    left:0;

    right:0;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:25px;

    z-index:30;

}

/* BUTTONS */

.videoControls button{

    width:60px;

    height:60px;

    border-radius:50%;

    background:rgba(30,30,30,.8);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:25px;

}

/* MUTE */

#muteVideoBtn{

    background:#333;

}

/* SWITCH CAMERA */

#videoCallSwitchCameraBtn{

    background:#333;

}

/* END VIDEO CALL */

#videoCallEndBtn{

    background:#FE2C55;

}

#videoCallEndBtn:active{

    transform:scale(.9);

}

/* ==========================================
   PART 4D-1
   INCOMING / OUTGOING CALL OVERLAY
========================================== */

.callOverlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:1000;

}

/* CALL CARD */

.callCard{

    width:85%;

    max-width:360px;

    background:#111;

    border-radius:25px;

    padding:30px 20px;

    text-align:center;

    border:1px solid rgba(255,255,255,.1);

}

/* CALLER PHOTO */

.callCard img{

    width:110px;

    height:110px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:20px;

}

/* NAME */

.callCard h2{

    font-size:24px;

    margin-bottom:10px;

}

/* STATUS */

.callCard p{

    color:#aaa;

    font-size:15px;

    margin-bottom:35px;

}

/* BUTTONS */

.callActions{

    display:flex;

    justify-content:center;

    gap:35px;

}

.callActions button{

    width:65px;

    height:65px;

    border-radius:50%;

    font-size:28px;

}

/* ACCEPT */

.acceptCallBtn{

    background:#00c853;

}

/* DECLINE */

.declineCallBtn{

    background:#FE2C55;

}

/* RINGING ANIMATION */

.callRinging{

    animation:ringPulse 1.2s infinite;

}

@keyframes ringPulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.08);

    }

    100%{

        transform:scale(1);

    }

}

/* ==========================================
   PART 4D-2
   CALL COMMON ELEMENTS
========================================== */

/* CALL TIMER */

#callTimer{

    margin-top:20px;

    font-size:18px;

    font-weight:700;

    color:#fff;

    letter-spacing:2px;

}

/* CONNECTION STATUS */

.callConnecting{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:8px;

    color:#aaa;

    font-size:14px;

}

.callConnecting::after{

    content:"";

    width:8px;

    height:8px;

    border-radius:50%;

    background:#FE2C55;

    animation:callLoading 1s infinite;

}

@keyframes callLoading{

    0%{

        opacity:.3;

        transform:scale(.8);

    }

    50%{

        opacity:1;

        transform:scale(1.2);

    }

    100%{

        opacity:.3;

        transform:scale(.8);

    }

}

/* DISABLED BUTTON */

.callDisabled{

    opacity:.5;

    pointer-events:none;

}

/* HIDE VIDEO WHEN CAMERA OFF */

.cameraOff{

    background:#111 !important;

    object-fit:contain !important;

}

/* MICROPHONE OFF ICON STATE */

.micMuted{

    background:#FE2C55 !important;

}

/* SPEAKER ACTIVE */

.speakerActive{

    background:#00c853 !important;

}

/* FULL SCREEN OVERLAY */

.fullOverlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.65);

    z-index:900;

}

/* SMOOTH TRANSITIONS */

.callControls button,
.videoControls button{

    transition:.2s;

}

.callControls button:active,
.videoControls button:active{

    transform:scale(.9);

}

.callHistoryItem{

display:flex;

align-items:center;

gap:12px;

padding:12px;

border-bottom:1px solid #2b2b2b;

}

.callHistoryIcon{

font-size:24px;

}

.callHistoryInfo{

flex:1;

}

.callHistoryStatus{

font-weight:600;

color:#fff;

}

.callHistoryTime{

font-size:12px;

color:#999;

margin-top:4px;

}

.like-btn.liked{

    color:#ff1744;

    transform:scale(1.15);

    transition:.2s;

}

.comments-modal{

    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: none;

    justify-content: flex-end;

    background: rgba(0,0,0,.55);

    z-index: 9999;

}

.comments-modal.show{

    display: flex;

}

.comments-box{

    width: 100%;

    height: 70vh;

    background: #111;

    border-radius: 20px 20px 0 0;

    animation: slideUp .25s ease;

}

@keyframes slideUp{

    from{
        transform: translateY(100%);
    }

    to{
        transform: translateY(0);
    }

}

.comment-actions{

    display:flex;

    gap:15px;

    margin-top:6px;

}

.comment-actions button{

    background:none;

    border:none;

    color:#999;

    font-size:13px;

}

.like-animation{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%) scale(.4);

    font-size:90px;

    pointer-events:none;

    animation:heartPop .8s forwards;

}

@keyframes heartPop{

    0%{

        opacity:0;

        transform:translate(-50%,-50%) scale(.4);

    }

    30%{

        opacity:1;

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

    }

    100%{

        opacity:0;

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

    }

}

/* ===========================================================
   HOME PAGE
===========================================================*/

#homePage .video-grid{
    position:absolute;
    top:60px;
    left:0;
    right:0;
    bottom:72px;
    display:grid;
}

/* ===========================================================
   TABS
===========================================================*/

.feed-tabs{
    display:flex;
    gap:18px;
    align-items:center;
}

.feed-tabs button{
    background:none;
    border:none;
    color:#bbb;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.feed-tabs button.active{
    color:#fff;
}

.feed-tabs button.active::after{
    content:"";
    display:block;
    width:100%;
    height:2px;
    background:#fff;
    margin-top:5px;
    border-radius:20px;
}

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

#searchBtn{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    color:#fff;
    font-size:20px;
    cursor:pointer;
}

#searchBox{
    position:fixed;
    top:60px;
    left:0;
    width:100%;
    padding:10px;
    background:#000;
    z-index:99;
    box-sizing:border-box;
}

#searchInput{
    width:100%;
    height:42px;
    border:none;
    border-radius:25px;
    padding:0 15px;
    background:#222;
    color:#fff;
    outline:none;
}

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

#feedContainer{
    position:absolute;
    top:60px;
    left:0;
    right:0;
    bottom:0;
    overflow-y:auto;
    padding:15px;
    box-sizing:border-box;
}

.video-info h3{
    margin:0 0 8px;
    font-size:15px;
}

.video-info p{
    margin:0;
    font-size:14px;
    color:#ddd;
}

   
/* ==========================================
   PROFILE PAGE
========================================== */

#profilePage{
    position:absolute;
    inset:0;
    background:#000;
    color:#fff;
    overflow-y:auto;
    padding-bottom:90px;
}

.profile-top{
position:sticky;
top:0;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px;
background:#000;
z-index:100;
border-bottom:1px solid rgba(255,255,255,.08);
}

.profile-top h2{
font-size:20px;
font-weight:700;
}

.profile-actions{
display:flex;
gap:10px;
}

.profile-actions button{
background:none;
border:none;
color:#fff;
font-size:22px;
cursor:pointer;
}

.profile-photo-box{
display:flex;
justify-content:center;
margin-top:20px;
}

#profileImage{
width:110px;
height:110px;
border-radius:50%;
object-fit:cover;
border:3px solid #00aaff;
}

#profileUsername{
text-align:center;
margin-top:12px;
font-size:20px;
font-weight:bold;
}

#profileBio{
text-align:center;
padding:0 20px;
margin-top:12px;
color:#bbb;
font-size:15px;
line-height:1.5;
}

#editBioBtn{
display:block;
margin:10px auto;
background:none;
border:none;
color:#00aaff;
font-size:15px;
}

.profile-buttons{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:10px;
padding:18px;
}

.profile-buttons button{
padding:10px 18px;
border:none;
border-radius:10px;
background:#1f1f1f;
color:#fff;
font-weight:bold;
cursor:pointer;
}

.profile-buttons button:hover{
background:#00aaff;
}

.profile-stats{
display:grid;
grid-template-columns:repeat(4,1fr);
text-align:center;
margin:20px 10px;
}

.profile-stats b{
display:block;
font-size:20px;
}

.profile-stats span{
font-size:13px;
color:#aaa;
}

.profile-marketplace-preview{
margin:15px;
padding:15px;
background:none;
}

.profile-marketplace-preview h3{
margin-bottom:10px;
}

.profile-marketplace-preview button{
width:100%;
margin-top:8px;
padding:10px;
border:none;
background:none;
color:#fff;
}

.profile-tabs{
display:grid;
grid-template-columns:repeat(3,1fr);
margin-top:20px;
border-top:1px solid rgba(255,255,255,.1);
border-bottom:1px solid rgba(255,255,255,.1);
}

.profile-tabs button{
padding:14px;
background:none;
border:none;
color:#888;
font-size:20px;
cursor:pointer;
}

.profile-tabs button.active{
color:#00aaff;
border-bottom:3px solid #00aaff;
}

#userPosts{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:2px;
padding:2px;
}

#userPosts video,
#userPosts img{
width:100%;
aspect-ratio:9/16;
object-fit:cover;
background:#222;
}

#settingsMenu{
position:fixed;
top:0;
right:-100%;
width:85%;
max-width:360px;
height:100%;
background:#111;
overflow-y:auto;
transition:.3s;
z-index:1000;
}

#settingsMenu.show{
right:0;
}

.settings-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:16px;
border-bottom:1px solid rgba(255,255,255,.08);
}

.settings-group{
padding:15px;
}

.settings-group h4{
margin-bottom:12px;
color:#00aaff;
}

.settings-group button{
width:100%;
padding:12px;
margin-bottom:8px;
background:#1a1a1a;
border:none;
border-radius:8px;
color:#fff;
text-align:left;
}

.logout-btn{
width:calc(100% - 30px);
margin:20px 15px;
padding:14px;
background:#ff2d55;
border:none;
border-radius:10px;
color:#fff;
font-weight:bold;
}

.hidden{
display:none;
}

/* ===========================
   DARK MODE
=========================== */

body.dark-mode{

    background:#000;
    color:#fff;

}

body.dark-mode .page{

    background:#000;
    color:#fff;

}

body.dark-mode .profile-content{

    background:#000;

}

body.dark-mode .marketplace-card{

    background:#181818;

}

body.dark-mode .profile-buttons button{

    background:#222;
    color:#fff;
    border:1px solid #333;

}

body.dark-mode .settings-group button{

    background:#111;
    color:#fff;

}

body.dark-mode #settingsMenu{

    background:#000;
    color:#fff;

}

body.dark-mode .profile-tabs button{

    color:#ddd;

}

body.dark-mode .profile-tabs .active{

    color:#fff;
    border-bottom:2px solid white;

}

/* ===========================================================
   PART 3A-3 SECTION 4
   SHARE LANDING PAGE STYLE
===========================================================*/

#sharedVideoContainer{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#000;

    padding:20px;

}

.shared-card{

    width:100%;

    max-width:420px;

    background:#111;

    border-radius:20px;

    box-shadow:0 10px 40px rgba(0,0,0,.5);

}

.shared-media{

    width:100%;

    height:520px;

    background:#000;

}

.shared-video-preview,

.shared-media img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.shared-user{

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px;

    color:white;

    font-size:16px;

    font-weight:600;

}

.shared-avatar{

    width:45px;

    height:45px;

    border-radius:50%;

    object-fit:cover;

}

.shared-caption{

    color:white;

    padding:0 15px 20px;

    font-size:15px;

    line-height:22px;

}

.open-tikuu-btn{

    width:calc(100% - 30px);

    margin:0 15px 20px;

    height:50px;

    border:none;

    border-radius:25px;

    background:#fe2c55;

    color:white;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

}

.open-tikuu-btn:active{

    transform:scale(.97);

}

.share-btn{

    position:relative;

    z-index:9999;

    pointer-events:auto;

}

.actions-row{

    position:relative;

    z-index:9998;

}

#profileUsername{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    color:#fff;
    text-align:center;
    margin-top:12px;
    font-size:20px;
    font-weight:bold;
}

.profile-photo-box{
    margin-top:10px;
}

.profile-buttons{
    padding:10px;
}

.profile-stats{
    margin:12px 10px;
}

.profile-marketplace-preview{
    margin:10px;
}

.feed-tabs{

display:flex;

overflow-x:auto;

scroll-behavior:smooth;

white-space:nowrap;

-webkit-overflow-scrolling:touch;

scrollbar-width:none;

}

.feed-tabs::-webkit-scrollbar{

display:none;

}

/* FIX PAGES BACKGROUND */

#marketplacePage,
#profilePage,
#inboxPage,
#chatPage,
#productDetailsPage,
#ordersPage,
#checkoutPage,
#productUploadPage,
#cartPage,
#sellerDashboardPage,
#searchPage{

    background:#ffffff;
    color:#111111;
    min-height:100vh;
}

/* Cards and sections */

.marketHeader,
.inboxHeader,
.profile-top,
.page-header,
.settings-group,
.profile-marketplace-preview,
.notificationCard,
.sellerCard,
.empty-card{

    background:#ffffff;
    color:#111111;
}

#profilePage,
#marketplacePage,
#inboxPage{
    background:#000;
    color:#fff;
    min-height:100vh;
}

.profile-top{
    background:#000;
}

.marketplace-actions{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:16px;
}

.marketplace-actions button{
    width:100%;
}

:root{
    --bg:#000;
    --card:#181818;
    --card2:#222;
    --text:#fff;
    --muted:#9e9e9e;
    --primary:#ff2d55;
    --radius:18px;
}

.card{
    background:var(--card);
    border-radius:var(--radius);
    padding:16px;
}

button{
    border:none;
    border-radius:16px;
    color:white;
    background:var(--card2);
    font-weight:bold;
}

button.primary{
    background:var(--primary);
}

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
    margin:20px 0;
}

.action-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.market-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.market-grid button{
    width:100%;
    padding:16px 10px;
}

/* REMOVE PROFILE PAGE SCROLL COMPLETELY */
#profilePage{
    height:100vh;
    max-height:100vh;
    overflow:hidden;
    position:fixed;
    top:0;
    left:0;
    width:100%;
}

/* ================= SETTINGS MENU DARK ================= */

#settingsMenu{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100vh;

    background:#000;

    color:white;

    z-index:99999;

    overflow-y:auto;

    overflow-x:hidden;

    padding:15px;

    box-sizing:border-box;

}

/* HIDE MENU */

#settingsMenu.hidden{

    display:none;

}

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

.settings-header{

    position:sticky;

    top:0;

    background:#000;

    height:65px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    border-bottom:1px solid #333;

    z-index:10;

}

.settings-header h2{

    margin:0;

    font-size:22px;

    font-weight:700;

}

#closeSettings{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#222;

    color:white;

    font-size:22px;

}

/* ================= GROUP ================= */

.settings-group{

    margin-top:25px;

}

.settings-group h4{

    color:#aaa;

    font-size:14px;

    margin-bottom:12px;

    text-transform:uppercase;

}

/* ================= BUTTONS ================= */

.settings-group button{

    width:100%;

    height:55px;

    margin-bottom:10px;

    border:none;

    border-radius:16px;

    background:#181818;

    color:white;

    font-size:16px;

    font-weight:500;

    text-align:left;

    padding-left:18px;

    display:flex;

    align-items:center;

    gap:12px;

    box-shadow:0 2px 8px rgba(255,255,255,.05);

}

.settings-group button:hover{

    background:#242424;

}

.settings-group button:active{

    transform:scale(.97);

    background:#333;

}

/* ================= LOGOUT ================= */

.logout-btn{

    width:100%;

    height:58px;

    margin:25px 0 30px;

    border:none;

    border-radius:18px;

    background:#ff3040;

    color:white;

    font-size:17px;

    font-weight:700;

}

/* ================= SCROLL DESIGN ================= */

#settingsMenu::-webkit-scrollbar{

    width:5px;

}

#settingsMenu::-webkit-scrollbar-thumb{

    background:#444;

    border-radius:20px;

}

/* ================= PROFILE CONTENT PROTECTION ================= */

#profilePage{

    overflow:hidden;

}

#editProfileModal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:100000;

}

#editProfileModal.hidden{

    display:none;

}

.edit-profile-box{

    width:92%;

    max-width:420px;

    background:#181818;

    color:white;

    border-radius:20px;

    padding:20px;

    box-sizing:border-box;

}

.edit-profile-box img{

    width:110px;

    height:110px;

    border-radius:50%;

    object-fit:cover;

    display:block;

    margin:0 auto 15px;

}

.edit-profile-box input,
.edit-profile-box textarea{

    width:100%;

    margin:10px 0;

    padding:12px;

    border:none;

    border-radius:12px;

    background:#2b2b2b;

    color:white;

    box-sizing:border-box;

}

.edit-profile-box textarea{

    min-height:90px;

    resize:none;

}

#saveProfileChanges{

    width:100%;

    height:50px;

    border:none;

    border-radius:12px;

    background:#fe2c55;

    color:white;

    font-weight:bold;

    margin-top:12px;

}

#cancelEditProfile{

    width:100%;

    height:48px;

    border:none;

    border-radius:12px;

    background:#333;

    color:white;

    margin-top:10px;

}

/* =====================================
   PROFILE IMAGE FULL SCREEN VIEWER
===================================== */

#profileImageViewer{

    position:fixed;

    inset:0;

    background:#000;

    z-index:200000;

    display:flex;

    align-items:center;

    justify-content:center;

}

#profileImageViewer.hidden{

    display:none;

}

#fullProfileImage{

    max-width:95%;

    max-height:90%;

    object-fit:contain;

    border-radius:12px;

}

#closeProfileImageViewer{

    position:absolute;

    top:25px;

    right:20px;

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#222;

    color:white;

    font-size:22px;

    z-index:5;

}

/* =====================================
   PROFILE UPLOAD PROGRESS
===================================== */

#profileUploadProgress{

    width:100%;

    height:8px;

    background:#333;

    border-radius:20px;

    overflow:hidden;

    margin-top:10px;

}

#profileUploadProgress.hidden{

    display:none;

}

#profileUploadBar{

    width:0%;

    height:100%;

    background:#fe2c55;

    transition:.3s;

}

/* =====================================
   FOLLOW LIST
===================================== */

#followListModal{

    position:fixed;

    inset:0;

    background:#000;

    color:#fff;

    z-index:999999;

    overflow-y:auto;

}

#followListModal.hidden{

    display:none;

}

.follow-list-header{

    position:sticky;

    top:0;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 15px;

    background:#000;

    border-bottom:1px solid #222;

}

#closeFollowList{

    width:40px;

    height:40px;

    border:none;

    border-radius:50%;

    background:#222;

    color:#fff;

}

.follow-user{

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px 15px;

    border-bottom:1px solid #1c1c1c;

}

.follow-user img{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

}

.follow-user-info{

    flex:1;

}

.follow-user-info h4{

    margin:0;

}

.follow-user-info p{

    margin:3px 0 0;

    color:#999;

    font-size:14px;

}

#notificationBadge{

    display:none;

    position:absolute;

    top:-5px;

    right:-5px;

    min-width:20px;

    height:20px;

    padding:0 5px;

    background:#fe2c55;

    color:white;

    border-radius:50px;

    align-items:center;

    justify-content:center;

    font-size:12px;

    font-weight:bold;

}

/* =====================================
   NOTIFICATION PAGE
===================================== */

#notificationPage{

    position:fixed;

    inset:0;

    background:#000;

    color:white;

    z-index:99999;

    overflow-y:auto;

}

.notification-header{

    height:60px;

    display:flex;

    align-items:center;

    gap:20px;

    padding:0 15px;

    border-bottom:1px solid #222;

}

.notification-header button{

    width:40px;

    height:40px;

    border:none;

    border-radius:50%;

    background:#222;

    color:white;

}

.notification-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px;

    border-bottom:1px solid #222;

}

.notification-item img{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

}

.notification-text{

    flex:1;

}

.notification-text b{

    color:white;

}

.notification-time{

    font-size:12px;

    color:#888;

}

/*====================================================

    position:relative;

    z-index:999999 !important;

    color:white !important;

}

/* ==========================================
   PART 1
   HOME PAGE (NEW UI)
========================================== */

/* HOME PAGE */

#homePage{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:#ffffff;
overflow:hidden;
}

/* HEADER */

.top-nav{
position:fixed;
top:0;
left:0;
right:0;
height:60px;
background:none;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 12px;
z-index:1000;
border-bottom:1px solid #ececec;
}

/* TABS */

.feed-tabs{
display:flex;
align-items:center;
gap:18px;
overflow-x:auto;
flex:1;
scrollbar-width:none;
}

.feed-tabs::-webkit-scrollbar{
display:none;
}

.feed-tabs button{
background:none;
border:none;
color:#666;
font-size:15px;
font-weight:600;
white-space:nowrap;
padding:0;
height:60px;
}

.feed-tabs button.active{
color:#000;
position:relative;
}

.feed-tabs button.active::after{
content:"";
position:absolute;
left:0;
bottom:10px;
width:100%;
height:3px;
background:#000;
border-radius:10px;
}

/* SEARCH */

#searchBtn{
width:42px;
height:42px;
border-radius:50%;
background:#f2f2f2;
color:#111;
font-size:20px;
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;
}

#searchBox{
position:fixed;
top:60px;
left:0;
right:0;
padding:10px;
background:#fff;
display:none;
z-index:999;
}

#searchInput{
width:100%;
height:42px;
border-radius:22px;
background:#f3f3f3;
padding:0 15px;
font-size:15px;
color:#111;
}

/* FEED */

#feedContainer{
position:absolute;
top:60px;
left:0;
right:0;
bottom:72px;
overflow-y:auto;
padding:10px;
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
background:#ffffff;
}

/* ==========================================
   PART 2
   HOME VIDEO CARD
========================================== */

/* CARD */

.video-card{
position:relative;
background:#fff;
border-radius:18px;
overflow:hidden;
transition:.25s;
cursor:pointer;
}

.video-card:active{
transform:scale(.98);
}

/* MEDIA */

.video-media{
position:relative;
width:100%;
aspect-ratio:3/4;
overflow:hidden;
background:#e5e5e5;
}

.video-media video,
.video-media img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

/* HIDE ACTIONS ON HOME */

.fixedActionsLayer{
display:none;
}

/* INFO */

.video-bottom{
padding:10px;
background:#fff;
}

.user-row{
display:flex;
flex-direction:column;
gap:8px;
}

.user-left{
display:flex;
align-items:flex-start;
gap:8px;
}

.username{
font-size:14px;
font-weight:700;
color:#111;
}

.caption{
font-size:13px;
color:#444;
line-height:1.4;
display:-webkit-box;
-webkit-line-clamp:2;
line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

.views-count{
font-size:12px;
color:#888;
margin-top:4px;
}

/* FOOTER */

.video-footer{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:8px;
}

.creator{
display:flex;
align-items:center;
gap:8px;
}

.creator-avatar{
width:24px;
height:24px;
border-radius:50%;
object-fit:cover;
}

.creator-name{
font-size:12px;
font-weight:600;
color:#555;
}

.likes{
display:flex;
align-items:center;
gap:4px;
font-size:13px;
color:#444;
}

.likes i{
font-size:15px;
}

/* BUTTONS */

.follow-btn{
display:none;
}

.more-btn{
position:absolute;
top:10px;
right:10px;
width:32px;
height:32px;
border-radius:50%;
background:rgba(0,0,0,.45);
color:#fff;
font-size:18px;
display:flex;
align-items:center;
justify-content:center;
}

/* IMAGE LOADING */

.video-media img,
.video-media video{
transition:.25s;
}

.video-card:hover .video-media img,
.video-card:hover .video-media video{
transform:scale(1.03);
}

/* ==========================================
   PART 3
/* RIGHT ACTIONS */

.fixedActionsLayer{
position:absolute;
right:10px;
bottom:95px;
display:flex;
flex-direction:column;
align-items:center;
gap:18px;
z-index:60;
}

.fixedActionsLayer .action{
width:52px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
background:none;
color:#fff;
}

.action-avatar{
width:50px;
height:50px;
border-radius:50%;
border:2px solid #fff;
object-fit:cover;
}

.fixedActionsLayer i{
font-size:30px;
margin-bottom:4px;
}

.fixedActionsLayer span{
font-size:12px;
font-weight:600;
color:#fff;
}

/* FOLLOW BUTTON */

.profile-action{
position:relative;
}

.profile-action::after{
content:"+";
position:absolute;
bottom:-5px;
left:50%;
transform:translateX(-50%);
width:22px;
height:22px;
border-radius:50%;
background:#FE2C55;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
font-weight:bold;
}

/* PLAY BUTTON */

.play-overlay{
font-size:70px;
color:#fff;
}

/* ==========================================
   PART 4
   PREMIUM HOME PAGE FINISH
========================================== */

/* Smooth scrolling */

#feedContainer{
scroll-behavior:smooth;
-webkit-overflow-scrolling:touch;
}

#feedContainer::-webkit-scrollbar{
display:none;
}

/* Card */

.video-card{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 4px 14px rgba(0,0,0,.08);
transition:transform .25s, box-shadow .25s;
}

.video-card:active{
transform:scale(.97);
}

.video-card:hover{
box-shadow:0 8px 24px rgba(0,0,0,.15);
}

/* Thumbnail */

.video-media{
background:#e8e8e8;
overflow:hidden;
}

.video-media img,
.video-media video{
transition:transform .35s ease;
}

.video-card:hover .video-media img,
.video-card:hover .video-media video{
transform:scale(1.05);
}

/* User */

.creator-avatar,
.action-avatar{
border:2px solid #fff;
box-shadow:0 2px 8px rgba(0,0,0,.25);
}

/* Caption */

.caption{
font-size:13px;
font-weight:500;
line-height:1.4;
color:#333;
margin-top:4px;
}

/* Username */

.username{
font-size:15px;
font-weight:700;
color:#111;
}

/* Views */

.views-count{
font-size:12px;
color:#777;
margin-top:6px;
}

/* Like */

.likes{
display:flex;
align-items:center;
gap:5px;
font-weight:600;
}

.likes i{
color:#ff2d55;
}

/* More */

.more-btn{
transition:.2s;
}

.more-btn:active{
transform:scale(.85);
}

/* Loading */

.video-media::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
90deg,
#efefef 25%,
#f8f8f8 50%,
#efefef 75%
);
background-size:200% 100%;
animation:loading 1.2s linear infinite;
z-index:-1;
}

@keyframes loading{

0%{
background-position:200% 0;
}

100%{
background-position:-200% 0;
}

}

/* Safe space for navbar */

#homePage{
padding-bottom:72px;
}

/* Animation */

.video-card{
animation:fadeUp .25s ease;
}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(20px);
}

to{
opacity:1;
transform:translateY(0);
}

}

width:100%;
height:100%;
object-fit:cover;
}

/* Navbar ibe hejuru ya video */

#bottomNav{
position:fixed;
left:0;
right:0;
bottom:0;
z-index:999999 !important;

}

#homePage .video-grid{
    position:absolute;
    top:60px;
    left:0;
    right:0;
    bottom:72px;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    grid-auto-rows:240px;

    gap:8px;
    padding:8px;

    overflow-y:auto;
    overflow-x:hidden;

    align-content:start;
} 

#homePage .video-card{
    width:100%;
    height:240px;
    overflow:hidden;
}

#homePage .video-media,
#homePage .video-media img,
#homePage .video-media video{
    width:100%;
    height:170px;
    object-fit:cover;
}

.profile-image-wrapper{
    position:relative;
    width:120px;
    height:120px;
    margin:12px auto;
    flex-shrink:0;
}

#profileImage{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    border:3px solid #fff;
}

.change-profile-photo-btn{
    position:absolute;
    right:2px;
    bottom:2px;
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:#00c853;
    color:#fff;
    font-size:24px;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:10;
    box-shadow:0 2px 8px rgba(0,0,0,.3);
}

#profileName{
    margin-top:16px;
    font-size:24px;
    font-weight:700;
}

#profileUsername{
    margin-top:4px;
    color:#888;
    font-size:16px;
}

#profileBio{
    margin-top:10px;
    max-width:320px;
}

.call-page{

    position:fixed;
    inset:0;
    z-index:999999;

    display:flex;
    flex-direction:column;

    justify-content:space-between;

    background:#111;

    color:#fff;

}

.call-top{

    display:flex;

    justify-content:flex-end;

    padding:20px;

}

.call-center{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    flex:1;

}

.call-avatar{

    width:180px;

    height:180px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #fff;

}

#callUserName{

    margin-top:25px;

    font-size:32px;

    font-weight:700;

}

#callStatus{

    margin-top:10px;

    font-size:18px;

    opacity:.8;

}

#callTimer{

    margin-top:12px;

    font-size:20px;

    font-weight:bold;

}

.call-actions{

    display:flex;

    justify-content:space-evenly;

    align-items:center;

    padding:40px;

}

.call-btn{

    width:80px;

    height:80px;

    border:none;

    border-radius:50%;

    background:#2b2b2b;

    color:white;

    font-size:28px;

}

.call-btn span{

    display:block;

    margin-top:8px;

    font-size:12px;

}

.call-end{

    width:90px;

    height:90px;

    border:none;

    border-radius:50%;

    background:#ff2d55;

    color:white;

    font-size:38px;

}

/* ===========================================================
   CALL PAGE
===========================================================*/

#callPage{

    position:fixed;
    inset:0;

    width:100%;
    height:100%;

    background:#000;

    z-index:99999;

    display:none;
    overflow:hidden;

    flex-direction:column;
    justify-content:center;
    align-items:center;

}

/* TOP */

.call-top{

    position:absolute;

    top:15px;
    left:15px;
    right:15px;

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

    color:#fff;

    z-index:5;

}

.call-top button{

    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-size:20px;

}

/* REMOTE VIDEO */

#remoteVideo{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    background:#000;

}

/* LOCAL VIDEO */

#localVideo{

    position:absolute;

    width:110px;
    height:170px;

    top:80px;
    right:15px;

    object-fit:cover;

    border-radius:16px;

    border:2px solid #fff;

    background:#222;

    z-index:5;

}

/* AVATAR */

.call-avatar-container{

    width:170px;
    height:170px;

    border-radius:50%;

    overflow:hidden;

    margin-bottom:25px;

    border:4px solid rgba(255,255,255,.3);

}

.call-avatar-container img{

    width:100%;
    height:100%;

    object-fit:cover;

}

/* NAME */

#callName{

    color:#fff;

    font-size:28px;

    font-weight:700;

    margin:0;

}

/* STATUS */

#callStatus{

    color:#ddd;

    margin-top:12px;

    font-size:18px;

}

/* CONTROLS */

.call-controls{

    position:absolute;

    bottom:35px;
    left:0;
    right:0;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:16px;

    z-index:10;

}

.call-controls button{

    width:62px;
    height:62px;

    border:none;
    border-radius:50%;

    font-size:24px;

    background:rgba(255,255,255,.18);

    color:#fff;

}

.call-controls .end-call{

    background:#ff2d55;

}

/* ===========================
   CALL MODAL
=========================== */

.callModal{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    background:#000;
    z-index:99999;
}

.callContainer{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    position:relative;
    overflow:hidden;
    color:#fff;
}

/* Remote Video */

#remoteVideo{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#000;
    z-index:1;
}

/* Local Video */

#localVideo{
    position:absolute;
    top:20px;
    right:20px;
    width:110px;
    height:160px;
    border-radius:18px;
    object-fit:cover;
    background:#222;
    border:2px solid #fff;
    z-index:20;
}

/* Avatar */

.callAvatar{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #fff;
    margin-bottom:18px;
    z-index:10;
}

/* Username */

#callUsername{
    font-size:28px;
    font-weight:bold;
    margin:0;
    z-index:10;
}

/* Status */

#callStatus{
    margin-top:10px;
    font-size:18px;
    opacity:.9;
    z-index:10;
}

/* Timer */

.callTimer{
    margin-top:10px;
    font-size:22px;
    font-weight:bold;
    z-index:10;
}

/* Buttons */

.callButtons{
    position:absolute;
    left:0;
    right:0;
    bottom:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    padding:0 20px;
    z-index:50;
}

/* Button */

.callBtn{
    width:65px;
    height:65px;
    border:none;
    border-radius:50%;
    font-size:24px;
    cursor:pointer;
    background:rgba(255,255,255,.15);
    color:#fff;
    backdrop-filter:blur(10px);
}

/* Voice */

.voiceBtn{
    background:#1DB954;
}

/* Video */

.videoBtn{
    background:#2979ff;
}

/* End */

.endBtn{
    background:#ff3b30;
}

/* Hover */

.callBtn:hover{
    transform:scale(1.08);
}

/* Mobile */

@media(max-width:768px){

    .callAvatar{
        width:110px;
        height:110px;
    }

    #callUsername{
        font-size:24px;
    }

    #callStatus{
        font-size:16px;
    }

    .callBtn{
        width:58px;
        height:58px;
        font-size:22px;
    }

    #localVideo{
        width:95px;
        height:140px;
    }

}

#chatPage{

    display:none;
    flex-direction:column;

    width:100%;
    height:100vh;

    background:#ffffff !important;
    color:#000000 !important;

    overflow:hidden;

}

/* search people */

#chatPeopleSearchInput{

    width:90%;
    margin:10px auto;

    padding:12px;

    border-radius:20px;

    border:1px solid #ddd;

    background:white;

    color:black;

}

/* header */

.chatHeader{

    display:flex;

    align-items:center;

    gap:10px;

    padding:10px;

    background:white !important;

    color:black !important;

    border-bottom:1px solid #ddd;

}

.chatHeader img{

    width:45px;
    height:45px;

    border-radius:50%;

    object-fit:cover;

}

.chatUserInfo h3{

    margin:0;

    color:black;

}

.chatUserInfo span{

    color:green;

}

/* messages */

#chatMessages{

    flex:1;

    overflow-y:auto;

    padding:15px;

    background:#f5f5f5 !important;

}

#messageInput{

    flex:1;

    padding:12px;

    border-radius:20px;

    border:1px solid #ccc;

    color:black;

    background:white;

}

/* voice card */

.voiceRecorderCard{

    background:white !important;

    color:black !important;

    border-top:1px solid #ddd;

    padding:15px;

}

/* =========================================
   TIKUU SETTINGS PAGES
========================================= */

.settings-page {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    color: #111;
    overflow-y: auto;
    padding-bottom: 80px;
}

.settings-page.active {
    display: block;
}

.settings-page .page-header,
.settings-page .settings-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border-bottom: 1px solid #ddd;
}

.settings-page button {
    display: block;
    width: calc(100% - 30px);
    margin: 8px 15px;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #f2f2f2;
    color: #111;
    text-align: left;
    font-size: 16px;
}

.settings-page h2 {
    margin: 0;
}

.settings-page textarea,
.settings-page input {
    box-sizing: border-box;
    width: calc(100% - 30px);
    margin: 10px 15px;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

#settingsMenu {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: auto;
}

#settingsMenu button {
    position: relative;
    z-index: 100000;
    pointer-events: auto;
    cursor: pointer;
}

/* =========================================
   MANAGE ACCOUNT PAGE
========================================= */

#manageAccountPage {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: block;
    overflow-y: auto;

    background: #ffffff;
    color: #111111;

    padding-bottom: 100px;
}

#manageAccountPage .settings-header {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px;

    background: #ffffff;
    color: #111111;

    border-bottom: 1px solid #dddddd;
}

#manageAccountPage .settings-header button {
    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #eeeeee;
    color: #111111;

    font-size: 22px;
}

#manageAccountPage .settings-header h2 {
    margin: 0;
    color: #111111;
}

#manageAccountPage .settings-group {
    padding: 15px;
}

#manageAccountPage .settings-group button {
    display: block;

    width: 100%;

    margin: 8px 0;
    padding: 16px;

    border: none;
    border-radius: 12px;

    background: #f2f2f2;
    color: #111111;

    font-size: 16px;
    text-align: left;

    cursor: pointer;
}

#manageAccountPage .settings-group button:hover {
    background: #e5e5e5;
}

#manageAccountPage .danger-btn {
    background: #ffe5e5 !important;
    color: #d00000 !important;
}

/* =====================================================
   SUPPORT PAGES
===================================================== */

#helpCenterPage,
#reportProblemPage,
#aboutTikuuPage {

    position: fixed;
    inset: 0;

    z-index: 100000;

    display: block;

    overflow-y: auto;

    background: #ffffff !important;
    color: #111111 !important;

    padding-bottom: 100px;
}

/* HEADER */

#helpCenterPage .settings-header,
#reportProblemPage .settings-header,
#aboutTikuuPage .settings-header {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 16px;

    background: #ffffff !important;

    color: #111111 !important;

    border-bottom: 1px solid #dddddd;
}

#helpCenterPage .settings-header h2,
#reportProblemPage .settings-header h2,
#aboutTikuuPage .settings-header h2 {

    margin: 0;

    color: #111111 !important;

    font-size: 20px;
}

/* BACK BUTTON */

#helpCenterPage .settings-header button,
#reportProblemPage .settings-header button,
#aboutTikuuPage .settings-header button {

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: #eeeeee !important;

    color: #111111 !important;

    font-size: 22px;

    cursor: pointer;
}

/* SETTINGS GROUP */

#helpCenterPage .settings-group,
#reportProblemPage .settings-group,
#aboutTikuuPage .settings-group {

    padding: 16px;

}

/* HELP BUTTONS */

#helpCenterPage .settings-group button {

    display: block;

    width: 100%;

    margin: 10px 0;

    padding: 16px;

    border: none;

    border-radius: 12px;

    background: #f2f2f2 !important;

    color: #111111 !important;

    font-size: 16px;

    text-align: left;

    cursor: pointer;
}

/* REPORT TEXTAREA */

#reportProblemPage textarea {

    display: block;

    width: 100%;

    min-height: 180px;

    box-sizing: border-box;

    padding: 15px;

    border: 1px solid #cccccc;

    border-radius: 12px;

    background: #ffffff !important;

    color: #111111 !important;

    font-size: 16px;

    resize: vertical;
}

/* SEND REPORT */

#reportProblemPage #sendProblemBtn {

    width: 100%;

    margin-top: 15px;

    padding: 15px;

    border: none;

    border-radius: 12px;

    background: #111111 !important;

    color: #ffffff !important;

    font-size: 16px;

    cursor: pointer;
}

/* ABOUT */

#aboutTikuuPage .settings-group {

    line-height: 1.7;

}

#aboutTikuuPage .settings-group h3 {

    color: #111111 !important;

    font-size: 24px;

}

#aboutTikuuPage .settings-group p {

    color: #333333 !important;

    font-size: 16px;

}

/* =====================================================
   MANAGE ACCOUNT CHILD PAGES
===================================================== */

/* EDIT PROFILE */
#editProfilePage {

    position: fixed;
    inset: 0;
    z-index: 100001;

    overflow-y: auto;

    background: #ffffff !important;
    color: #111111 !important;

    padding-bottom: 100px;
}

/* EDIT PROFILE HEADER */
#editProfilePage .settings-header {

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px;

    background: #ffffff !important;

    border-bottom: 1px solid #dddddd;
}

/* BACK BUTTON */
#editProfilePage .settings-header button {

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #eeeeee !important;
    color: #111111 !important;

    font-size: 22px;

    cursor: pointer;
}

/* TITLE */
#editProfilePage .settings-header h2 {

    margin: 0;

    color: #111111 !important;
}

/* EDIT CONTENT */
#editProfilePage .edit-profile-content {

    padding: 20px;
}

/* PHOTO AREA */
#editProfilePage .edit-photo {

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    margin-bottom: 25px;
}

/* PROFILE PHOTO */
#editProfilePage #editProfilePhoto {

    width: 120px;
    height: 120px;

    border-radius: 50%;

    object-fit: cover;

    border: 3px solid #eeeeee;

    background: #f5f5f5;
}

/* CHANGE PHOTO */
#editProfilePage #changeEditPhotoBtn {

    padding: 10px 18px;

    border: none;
    border-radius: 20px;

    background: #eeeeee !important;
    color: #111111 !important;

    cursor: pointer;
}

/* INPUTS */
#editProfilePage input,
#editProfilePage textarea {

    display: block;

    width: 100%;

    box-sizing: border-box;

    margin-bottom: 15px;

    padding: 14px;

    border: 1px solid #dddddd;

    border-radius: 12px;

    background: #ffffff !important;

    color: #111111 !important;

    font-size: 16px;

    outline: none;
}

/* BIO */
#editProfilePage textarea {

    min-height: 130px;

    resize: vertical;
}

/* SAVE */
#editProfilePage #saveProfileChangesBtn {

    width: 100%;

    padding: 15px;

    margin-top: 5px;

    border: none;

    border-radius: 12px;

    background: #111111 !important;

    color: #ffffff !important;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;
}

/* =====================================================
   SECURITY PAGE
===================================================== */

#securityPage {

    position: fixed;
    inset: 0;
    z-index: 100001;

    overflow-y: auto;

    background: #ffffff !important;
    color: #111111 !important;

    padding-bottom: 100px;
}

#securityPage .page-header {

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px;

    background: #ffffff !important;

    border-bottom: 1px solid #dddddd;
}

#securityPage .page-header button {

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #eeeeee !important;
    color: #111111 !important;

    font-size: 22px;
}

#securityPage .page-header h2 {

    margin: 0;
    color: #111111 !important;
}

#securityPage .settings-list {

    padding: 16px;
}

#securityPage .settings-list button {

    display: block;

    width: 100%;

    padding: 16px;

    margin-bottom: 10px;

    border: none;
    border-radius: 12px;

    background: #f2f2f2 !important;
    color: #111111 !important;

    text-align: left;

    font-size: 16px;
}

/* =====================================================
   PRIVACY PAGE
===================================================== */

#privacyPage {

    position: fixed;
    inset: 0;
    z-index: 100001;

    overflow-y: auto;

    background: #ffffff !important;
    color: #111111 !important;
}

#privacyPage .page-header {

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px;

    background: #ffffff !important;

    border-bottom: 1px solid #ddd;
}

#privacyPage .page-header button {

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #eeeeee !important;
    color: #111111 !important;

    font-size: 22px;
}

#privacyPage .settings-list {

    padding: 16px;
}

#privacyPage .settings-list button {

    width: 100%;

    padding: 16px;

    margin-bottom: 10px;

    border: none;
    border-radius: 12px;

    background: #f2f2f2 !important;
    color: #111111 !important;

    text-align: left;

    font-size: 16px;
}

/* =====================================================
   SAVED VIDEOS
===================================================== */

#savedVideosPage {

    position: fixed;
    inset: 0;
    z-index: 100001;

    overflow-y: auto;

    background: #ffffff !important;
    color: #111111 !important;
}

#savedVideosPage .page-header {

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px;

    background: #ffffff !important;

    border-bottom: 1px solid #ddd;
}

#savedVideosPage .page-header button {

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #eeeeee !important;
    color: #111111 !important;

    font-size: 22px;
}

#savedVideosPage .page-header h2 {

    margin: 0;
    color: #111111 !important;
}

/* ================================
   LANGUAGE PAGE
================================ */

#languagePage {

    position: fixed;
    inset: 0;

    z-index: 100001;

    overflow-y: auto;

    background: #ffffff !important;
    color: #111111 !important;

    padding-bottom: 100px;
}

#languagePage .settings-header {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 16px;

    background: #ffffff !important;

    border-bottom: 1px solid #dddddd;
}

#languagePage .settings-header button {

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #eeeeee !important;
    color: #111111 !important;

    font-size: 22px;

    cursor: pointer;
}

#languagePage .settings-header h2 {

    margin: 0;

    color: #111111 !important;
}

#languagePage .settings-group {

    padding: 16px;
}

#languagePage .language-option {

    display: block;

    width: 100%;

    margin-bottom: 10px;

    padding: 15px;

    border: none;

    border-radius: 12px;

    background: #f2f2f2 !important;
    color: #111111 !important;

    font-size: 16px;

    text-align: left;

    cursor: pointer;
}

#languagePage .language-option:hover {

    background: #e5e5e5 !important;
}

#languagePage .language-option.active {

    background: #111111 !important;
    color: #ffffff !important;
}

/* =========================================================
   TIKUU - FIRST LAUNCH LANGUAGE PAGE
   ========================================================= */

#languageStartPage {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 30px 18px;
    box-sizing: border-box;

    background: #ffffff;
    color: #111111;

    overflow-y: auto;
    overflow-x: hidden;

    z-index: 99999;
}

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

#languageStartPage .auth-logo {
    width: 100%;
    max-width: 600px;

    text-align: center;

    margin-top: 10px;
    margin-bottom: 25px;
}

#languageStartPage .auth-logo h1 {
    margin: 0 0 8px;

    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;

    color: #000000;
}

#languageStartPage .auth-logo h2 {
    margin: 0 0 8px;

    font-size: 23px;
    font-weight: 700;

    color: #111111;
}

#languageStartPage .auth-logo p {
    margin: 0;

    font-size: 15px;
    line-height: 1.5;

    color: #666666;
}

/* =========================
   LANGUAGE LIST
   ========================= */

#languageStartPage .language-start-list {
    width: 100%;
    max-width: 600px;

    display: grid;

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

    gap: 10px;

    padding: 5px 0 30px;

    box-sizing: border-box;
}

/* =========================
   LANGUAGE BUTTONS
   ========================= */

#languageStartPage .language-start-list button {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;

    padding: 12px 14px;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    background: #f8f8f8;
    color: #111111;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

/* Hover */

#languageStartPage .language-start-list button:hover {
    background: #f0f0f0;

    border-color: #d2d2d2;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

    transform: translateY(-1px);
}

/* Click */

#languageStartPage .language-start-list button:active {
    transform: scale(0.97);

    background: #e9e9e9;
}

/* Keyboard focus */

#languageStartPage .language-start-list button:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.25);

    border-color: #007aff;
}

/* =========================
   SELECTED LANGUAGE
   ========================= */

#languageStartPage .language-start-list button.selected,
#languageStartPage .language-start-list button.active {
    background: #000000;
    color: #ffffff;

    border-color: #000000;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* =========================
   RTL LANGUAGES
   ========================= */

#languageStartPage .language-start-list button[data-start-language="ar"],
#languageStartPage .language-start-list button[data-start-language="fa"],
#languageStartPage .language-start-list button[data-start-language="ur"] {
    direction: rtl;
    text-align: right;
}

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

@media (max-width: 600px) {

    #languageStartPage {
        padding: 24px 14px;
    }

    #languageStartPage .auth-logo {
        margin-top: 5px;
        margin-bottom: 20px;
    }

    #languageStartPage .auth-logo h1 {
        font-size: 36px;
    }

    #languageStartPage .auth-logo h2 {
        font-size: 20px;
    }

    #languageStartPage .auth-logo p {
        font-size: 14px;
    }

    #languageStartPage .language-start-list {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    #languageStartPage .language-start-list button {
        min-height: 52px;

        padding: 10px 11px;

        border-radius: 12px;

        font-size: 14px;
    }
}

/* =========================
   VERY SMALL PHONES
   ========================= */

@media (max-width: 380px) {

    #languageStartPage {
        padding-left: 10px;
        padding-right: 10px;
    }

    #languageStartPage .language-start-list {
        gap: 7px;
    }

    #languageStartPage .language-start-list button {
        min-height: 48px;

        padding: 9px 8px;

        font-size: 13px;

        border-radius: 10px;
    }

    #languageStartPage .auth-logo h1 {
        font-size: 32px;
    }

    #languageStartPage .auth-logo h2 {
        font-size: 18px;
    }
}

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

@media (min-width: 768px) {

    #languageStartPage {
        padding-top: 45px;
    }

    #languageStartPage .language-start-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 12px;

        max-width: 760px;
    }

    #languageStartPage .language-start-list button {
        min-height: 56px;

        font-size: 15px;
    }
}

/* =========================
   DARK MODE
   ========================= */

body.dark-mode #languageStartPage {
    background: #000000;
    color: #ffffff;
}

body.dark-mode #languageStartPage .auth-logo h1,
body.dark-mode #languageStartPage .auth-logo h2 {
    color: #ffffff;
}

body.dark-mode #languageStartPage .auth-logo p {
    color: #aaaaaa;
}

body.dark-mode #languageStartPage .language-start-list button {
    background: #171717;
    color: #ffffff;

    border-color: #2b2b2b;
}

body.dark-mode #languageStartPage .language-start-list button:hover {
    background: #222222;
    border-color: #3a3a3a;
}

body.dark-mode #languageStartPage .language-start-list button:active {
    background: #292929;
}

body.dark-mode #languageStartPage .language-start-list button.selected,
body.dark-mode #languageStartPage .language-start-list button.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

#uploadPage,
#postUploadPage,
#watchPage,
#chatPage,
#cartPage,
#checkoutPage,
#productUploadPage,
#productDetailsPage,
#ordersPage,
#sellerDashboardPage {
    display: none;
}

#uploadPage.active,
#postUploadPage.active,
#watchPage.active,
#chatPage.active,
#cartPage.active,
#checkoutPage.active,
#productUploadPage.active,
#productDetailsPage.active,
#ordersPage.active,
#sellerDashboardPage.active {
    display: block;
}

/* =========================================
        left: 15px;
        right: 75px;
        bottom: 105px;
    }

}

/* =========================================================
        width: 54px !important;
        height: 54px !important;
    }
}

/* =========================================
   HOME SEARCH BOX
========================================= */

#searchBox {
    width: 100%;
    padding: 8px 12px;

    box-sizing: border-box;

    background: #fff;

    position: relative;

    z-index: 100;
}

#searchInput {
    width: 100%;

    height: 44px;

    padding: 0 15px;

    box-sizing: border-box;

    border: 1px solid #ddd;

    border-radius: 22px;

    outline: none;

    font-size: 16px;

    background: #f5f5f5;

    color: #111;
}

#searchInput:focus {
    border-color: #888;

    background: #fff;
}

/* =========================================
   EMPTY SEARCH
========================================= */

.search-empty {

    width: 100%;

    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 30px;

    box-sizing: border-box;
}

.search-empty-icon {

    font-size: 55px;

    margin-bottom: 15px;
}

.search-empty-text {

    font-size: 17px;

    font-weight: 600;

    color: #777;
}

/* =========================================================
   TIKUU SEARCH
========================================================= */

#searchBox {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
}

/* SEARCH HEADER */

.search-header {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

#searchInput {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: none;
    outline: none;
    border-radius: 22px;
    box-sizing: border-box;
}

/* CLOSE BUTTON */

#closeSearchBtn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

/* =========================================================
   SEARCH TABS
========================================================= */

.search-tabs {

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 22px;

    width: 100%;

    overflow-x: auto;

    overflow-y: hidden;

    white-space: nowrap;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    padding: 10px 4px 6px;

}

.search-tabs::-webkit-scrollbar {
    display: none;
}

.search-tab {

    flex: 0 0 auto;

    border: none;

    background: transparent;

    padding: 7px 2px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    position: relative;

    white-space: nowrap;

}

/* ACTIVE SEARCH TAB */

.search-tab.active {
    font-weight: 700;
}

.search-tab.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: -2px;

    height: 2px;

    border-radius: 2px;

    background: currentColor;

}

/* =========================================================
   SEARCH RESULTS
========================================================= */

.search-result-section {

    width: 100%;

    box-sizing: border-box;

    margin-bottom: 20px;

}

.search-section-title {

    font-size: 18px;

    font-weight: 700;

    padding: 12px 14px;

}

.search-section-content {

    width: 100%;

}

/* =========================================================
   PEOPLE
========================================================= */

.search-person {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 14px;

    cursor: pointer;

}

.search-person-avatar {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    object-fit: cover;

}

.search-person-info {

    display: flex;

    flex-direction: column;

    gap: 4px;

}

.search-person-info strong {

    font-size: 15px;

}

.search-person-info small {

    opacity: .65;

}

/* =========================================================
   GROUPS
========================================================= */

.search-group {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 14px;

    cursor: pointer;

}

.search-group-image {

    width: 52px;

    height: 52px;

    border-radius: 12px;

    object-fit: cover;

}

.search-group div {

    display: flex;

    flex-direction: column;

    gap: 4px;

}

.search-group small {

    opacity: .65;

}

/* =========================================================
   TRENDS
========================================================= */

.search-trend {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    cursor: pointer;

}

.trend-icon {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    font-weight: 700;

}

.search-trend div:last-child {

    display: flex;

    flex-direction: column;

    gap: 4px;

}

.search-trend small {

    opacity: .65;

}

/* =========================================================
   EMPTY SEARCH
========================================================= */

.search-empty {

    width: 100%;

    padding: 60px 20px;

    text-align: center;

    box-sizing: border-box;

}

.search-empty-icon {

    font-size: 42px;

    margin-bottom: 12px;

}

.search-empty-text {

    font-size: 15px;

    opacity: .7;
}


/* ===========================================================
   FIX INBOX CHAT CARDS
   Matches renderInboxChatCards() HTML
=========================================================== */

#chatSection{
    box-sizing:border-box;
    overflow-y:auto;
    overflow-x:hidden;
}

#inboxChatList{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:0 0 20px 0;
    box-sizing:border-box;
}

.inboxChatCard{
    width:100%;
    min-height:72px;
    box-sizing:border-box;

    display:flex;
    align-items:center;
    gap:12px;

    padding:10px 12px;

    background:#111;
    color:#fff;

    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;

    cursor:pointer;
    flex-shrink:0;
    overflow:hidden;

    visibility:visible;
    opacity:1;
}

.inboxChatCard:active{
    transform:scale(.98);
    background:#1b1b1b;
}

.inboxChatCard img{
    width:52px;
    height:52px;
    min-width:52px;
    min-height:52px;

    border-radius:50%;
    object-fit:cover;

    display:block;
    visibility:visible;
    opacity:1;

    border:2px solid rgba(255,255,255,.15);
}

.inboxChatCard .chatCardInfo{
    flex:1;
    min-width:0;
    overflow:hidden;
    color:#fff;
}

.inboxChatCard .chatCardInfo h3{
    margin:0 0 5px 0;

    font-size:16px;
    line-height:20px;
    font-weight:700;

    color:#fff;

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

.inboxChatCard .chatCardInfo p{
    margin:0;

    font-size:14px;
    line-height:18px;

    color:#aaa;

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

.inboxChatCard > span{
    flex-shrink:0;
    min-width:12px;
    text-align:center;
    color:#aaa;
}

/* ===========================================================
   TIKUU FINAL UI OVERRIDES
=========================================================== */

#chatPage{
    position:fixed !important;
    inset:0 !important;
    z-index:9000 !important;
    width:100% !important;
    height:100vh !important;
    background:#000 !important;
    color:#fff !important;
    overflow:hidden !important;
    display:none;
    flex-direction:column;
}

#chatPage.active{display:flex !important;}

#chatPage .chatTopBar{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    background:#000 !important;
    color:#fff !important;
    border-bottom:1px solid #222;
}

#chatPage #chatPeopleSearchInput{
    flex:1;
    width:auto;
    margin:0;
    background:#181818 !important;
    color:#fff !important;
    border:1px solid #333 !important;
}

#chatPage #openNewChatFromChatBtn{
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:#222 !important;
    color:#fff !important;
    cursor:pointer;
}

#chatPage #chatPeopleList,
#chatPage #newChatFriendList{
    flex:1;
    overflow-y:auto;
    background:#000 !important;
    color:#fff !important;
    padding:8px 0 90px;
}

#chatPage .newFriendCard,
#chatPage .inboxChatCard{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    box-sizing:border-box;
    padding:12px 15px;
    margin:0;
    background:#111 !important;
    color:#fff !important;
    border-bottom:1px solid #222;
    cursor:pointer;
}

#chatPage .newFriendCard:hover,
#chatPage .inboxChatCard:hover{background:#181818 !important;}

#chatPage .newFriendCard img,
#chatPage .inboxChatCard img{
    width:52px !important;
    height:52px !important;
    flex:0 0 52px;
    border-radius:50%;
    object-fit:cover;
}

#chatPage .newFriendCard h3,
#chatPage .newFriendCard p,
#chatPage .inboxChatCard h3,
#chatPage .inboxChatCard p{
    margin:0;
    color:#fff !important;
}

#chatPage .newFriendCard p,
#chatPage .inboxChatCard p{color:#999 !important; margin-top:4px;}

#chatPage #chatHeader{
    flex:0 0 65px;
    background:#000 !important;
    color:#fff !important;
    border-bottom:1px solid #222 !important;
}

#chatPage #chatHeader button{
    background:#171717 !important;
    color:#fff !important;
    border:0;
}

#chatPage #chatMessages{
    flex:1;
    background:#050505 !important;
    color:#fff !important;
    overflow-y:auto;
}

#chatPage .chatInputArea{
    background:#000 !important;
    color:#fff !important;
    border-top:1px solid #222 !important;
}

#chatPage #messageInput{
    background:#181818 !important;
    color:#fff !important;
    border-color:#333 !important;
}

/* Settings pages must sit above the old settings overlay and remain clickable. */
.settings-page.active,
.page.settings-page.active{
    display:block !important;
    pointer-events:auto !important;
    z-index:100001 !important;
}

.settings-page.active button,
.settings-page.active input,
.settings-page.active textarea,
.settings-page.active select{
    pointer-events:auto !important;
}

/* Profile action buttons */
.profile-buttons button,
.marketplace-actions button{
    pointer-events:auto !important;
    position:relative;
    z-index:5;
    cursor:pointer;
}

/* Marketplace */
#marketplaceProducts{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    padding:12px;
    width:100%;
    box-sizing:border-box;
}

#marketplaceProducts .product-card{
    display:block;
    background:#111;
    color:#fff;
    border:1px solid #222;
    border-radius:12px;
    overflow:hidden;
    cursor:pointer;
}

#marketplaceProducts .product-card img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
}

#marketplaceProducts .product-card h3,
#marketplaceProducts .product-card p{padding:0 10px;}

@media(max-width:480px){
    #marketplaceProducts{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* ===========================================================
   TIKUU CHAT FINAL LAYOUT FIX
   Chat input must stay above the bottom navbar.
   Navbar must never cover chat controls.
=========================================================== */

#chatPage.active {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding-bottom: 70px !important;
}

#chatPage #chatHeader {
    flex: 0 0 65px !important;
    min-height: 65px !important;
    height: 65px !important;
    box-sizing: border-box !important;
}

#chatPage #chatMessages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}

#chatPage .chatInputArea {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex: 0 0 65px !important;
    min-height: 65px !important;
    height: 65px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    z-index: 2 !important;
}

#chatPage #messageInput {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

#bottomNav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 70px !important;
    z-index: 999999 !important;
}

#chatPage .chatInputArea button {
    flex: 0 0 38px !important;
}

/* Incoming call card must never occupy the screen until JS opens it. */
#incomingCallCard {
    display: none !important;
}

/* The actual call page is independent from normal chat. */
#callPage {
    z-index: 1000000 !important;
}

/* ===========================================================
   TIKUU VOICE MESSAGE FINAL UI
=========================================================== */

#voiceRecorderModal{
    position:fixed !important;
    inset:0 !important;
    width:100% !important;
    height:100dvh !important;
    display:none;
    align-items:center !important;
    justify-content:center !important;
    background:rgba(0,0,0,.78) !important;
    z-index:999998 !important;
    box-sizing:border-box !important;
    padding:20px !important;
}

#voiceRecorderModal .voiceRecorderCard{
    position:relative !important;
    width:min(90%,360px) !important;
    max-width:360px !important;
    box-sizing:border-box !important;
    padding:24px 18px !important;
    background:#151515 !important;
    color:#fff !important;
    border:1px solid #333 !important;
    border-radius:22px !important;
    text-align:center !important;
    box-shadow:0 12px 40px rgba(0,0,0,.6) !important;
}

#voiceRecorderModal h3{
    margin:0 0 12px !important;
    font-size:20px !important;
    color:#fff !important;
}

#voiceRecorderModal #voiceRecorderTime{
    margin:15px 0 22px !important;
    font-size:38px !important;
    line-height:1 !important;
    font-weight:700 !important;
}

#voiceRecorderModal .voiceRecorderButtons{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
}

#voiceRecorderModal .voiceRecorderButtons button{
    min-width:90px !important;
    min-height:44px !important;
    padding:8px 14px !important;
    border:0 !important;
    border-radius:22px !important;
    color:#fff !important;
    font-size:14px !important;
}

#voiceRecorderModal #voicePreviewArea{
    position:relative !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:100% !important;
    box-sizing:border-box !important;
    margin-top:18px !important;
    padding:14px !important;
    background:#202020 !important;
    border-radius:16px !important;
    display:none;
    flex-direction:column !important;
    align-items:center !important;
    gap:12px !important;
    z-index:auto !important;
}

#voiceRecorderModal #voicePreview{
    width:100% !important;
    height:45px !important;
    display:block !important;
}

#voiceRecorderModal #sendVoiceRecordBtn,
#voiceRecorderModal #deleteVoiceRecordBtn{
    width:100% !important;
    min-height:42px !important;
    border:0 !important;
    border-radius:21px !important;
}

#chatPage #voiceMessageBtn{
    flex:0 0 38px !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:22px !important;
}

#chatPage #attachmentBtn{
    flex:0 0 38px !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:22px !important;
}

#chatMediaPreview{
    box-sizing:border-box !important;
    max-width:95% !important;
}

#chatPreviewImage,
#chatPreviewVideo{
    max-width:100% !important;
    max-height:55vh !important;
    object-fit:contain !important;
    border-radius:12px !important;
}

/* ===========================================================
   TIKUU FINAL VOICE UI
=========================================================== */

#voiceRecorderModal{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:65px !important;
    top:auto !important;

    width:100% !important;

    min-height:180px;

    box-sizing:border-box !important;

    display:none;

    flex-direction:column;

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

    padding:12px;

    background:#090909 !important;

    border-top:1px solid #292929;

    border-radius:18px 18px 0 0;

    z-index:50 !important;

    color:#fff !important;

    box-shadow:0 -8px 25px rgba(0,0,0,.45);

}

#voiceRecorderModal h3{

    margin:2px 0 4px !important;

    font-size:16px !important;

    font-weight:600;

}

#voiceRecorderTime{

    margin:4px 0 10px !important;

    font-size:28px !important;

    line-height:1 !important;

    font-weight:700;

}

#voiceRecorderModal .voiceRecorderButtons{

    width:100%;

    display:flex !important;

    align-items:center;

    justify-content:center;

    gap:8px;

    flex-wrap:nowrap !important;

}

#voiceRecorderModal .voiceRecorderButtons button{

    min-width:78px !important;

    height:40px !important;

    padding:0 12px !important;

    border:none !important;

    border-radius:20px !important;

    color:#fff !important;

    background:#222 !important;

    font-size:13px !important;

}

#startVoiceRecordBtn{
    background:#00a83b !important;
}

#stopVoiceRecordBtn{
    background:#e52b45 !important;
}

#cancelVoiceRecordBtn{
    background:#333 !important;
}

#voicePreviewArea{

    width:100% !important;

    box-sizing:border-box !important;

    display:none;

    align-items:center;

    gap:8px;

    margin-top:10px !important;

    padding:8px 10px !important;

    background:#151515 !important;

    border-radius:14px !important;

}

#voicePreview{

    flex:1;

    width:100% !important;

    min-width:0;

    height:42px !important;

    display:block;

}

#sendVoiceRecordBtn,
#deleteVoiceRecordBtn{

    height:38px !important;

    border:none !important;

    border-radius:19px !important;

    padding:0 13px !important;

    color:#fff !important;

}

#sendVoiceRecordBtn{
    background:#FE2C55 !important;
}

#deleteVoiceRecordBtn{
    background:#333 !important;
}

#voiceRecorderModal button:disabled{

    opacity:.45 !important;

}

/* Keep normal chat composer visible while voice panel is open. */

#chatPage .chatInputArea{

    position:relative !important;

    z-index:60 !important;

}

#chatPage #chatMessages{

    position:relative !important;

    z-index:1 !important;

}

/* ===========================================================
   TIKUU VOICE MODAL - HISTORY ONLY
=========================================================== */

#chatPage #voiceRecorderModal{
    position:absolute !important;
    top:65px !important;
    left:0 !important;
    right:0 !important;
    bottom:135px !important;

    width:auto !important;
    height:auto !important;

    min-height:0 !important;

    background:rgba(0,0,0,.78) !important;

    display:none;
    align-items:center !important;
    justify-content:center !important;

    z-index:500 !important;

    box-sizing:border-box !important;

    padding:20px !important;
}

/* Keep chat header above voice overlay */
#chatPage #chatHeader{
    position:relative !important;
    z-index:1000 !important;
}

/* Keep message input + attachment/voice/send buttons visible */
#chatPage .chatInputArea{
    position:relative !important;
    z-index:1000 !important;
}

/* Voice card stays centered inside message history */
#chatPage #voiceRecorderModal .voiceRecorderCard{
    position:relative !important;

    width:min(90%,360px) !important;
    max-width:360px !important;

    max-height:90% !important;
    overflow-y:auto !important;

    margin:0 !important;

    box-sizing:border-box !important;
}

/* Make voice buttons clearly visible */
#chatPage #voiceRecorderModal
.voiceRecorderButtons{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
}

#chatPage #voiceRecorderModal
.voiceRecorderButtons button{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-width:90px !important;
    min-height:45px !important;

    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
}

/* Preview/play/delete controls */
#chatPage #voicePreviewArea{
    z-index:1100 !important;
}

/* Never allow the bottom navbar to be hidden */
#bottomNav{
    z-index:999999 !important;
}

/* ===========================================================
   TIKUU VOICE PREVIEW / PLAYBACK
=========================================================== */

/*
 * The old voice SEND button is intentionally hidden.
 */
#sendVoiceRecordBtn{
    display:none !important;
}

/*
 * Voice preview stays inside the chat history area.
 */
#chatPage #voicePreviewArea{

    position:absolute !important;

    left:50% !important;
    bottom:80px !important;

    transform:translateX(-50%) !important;

    width:min(90%,380px) !important;

    display:none;

    flex-direction:column !important;

    align-items:center !important;
    justify-content:center !important;

    gap:12px !important;

    padding:14px !important;

    background:#111 !important;

    border:1px solid #292929 !important;

    border-radius:18px !important;

    z-index:900 !important;

    box-sizing:border-box !important;
}

/*
 * Audio player = PLAY button + timeline + volume.
 */
#chatPage #voicePreview{

    width:100% !important;

    height:45px !important;

    display:block;

    border-radius:10px !important;

}

/*
 * Normal SEND button remains visible.
 */
#chatPage #sendMessageBtn{

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    pointer-events:auto !important;

    opacity:1 !important;

}

/*
 * Voice recorder buttons.
 */
#chatPage #startVoiceRecordBtn,
#chatPage #stopVoiceRecordBtn,
#chatPage #cancelVoiceRecordBtn{

    pointer-events:auto !important;

    opacity:1 !important;

    visibility:visible !important;
}

/* ============================================================
   TIKUU VOICE PREVIEW FINAL FIX
============================================================ */

#chatPage #voicePreviewArea{

    position:absolute !important;

    left:10px !important;
    right:10px !important;
    bottom:70px !important;

    transform:none !important;

    width:auto !important;
    max-width:none !important;

    box-sizing:border-box !important;

    display:none;

    flex-direction:row !important;
    align-items:center !important;

    gap:10px !important;

    padding:10px 12px !important;

    background:#151515 !important;

    border:1px solid #333 !important;
    border-radius:16px !important;

    z-index:5000 !important;

    box-shadow:0 8px 30px rgba(0,0,0,.55) !important;
}

#chatPage #voicePreviewArea:not(.hidden){

    display:flex !important;
}

#chatPage #voicePreview{

    display:block;

    flex:1 1 auto !important;

    min-width:0 !important;

    width:auto !important;

    height:42px !important;

    margin:0 !important;

    border-radius:10px !important;
}

#chatPage #deleteVoiceRecordBtn{

    display:inline-flex !important;

    align-items:center !important;
    justify-content:center !important;

    flex:0 0 42px !important;

    width:42px !important;
    height:42px !important;

    min-width:42px !important;

    border:0 !important;
    border-radius:50% !important;

    background:#333 !important;
    color:#fff !important;

    font-size:20px !important;
}

#chatPage #deleteVoiceRecordBtn:hover{

    background:#444 !important;
}

/*
   Recorder modal stays centered without hiding the chat header.
*/
#chatPage #voiceRecorderModal{

    position:absolute !important;

    top:65px !important;
    left:0 !important;
    right:0 !important;
    bottom:65px !important;

    width:auto !important;
    height:auto !important;

    background:rgba(0,0,0,.72) !important;

    display:none;

    align-items:center !important;
    justify-content:center !important;

    z-index:4000 !important;
}

/*
   Hide Send from the recorder preview.
   Normal chat send button is used instead.
*/
#chatPage #sendVoiceRecordBtn{

    display:none !important;
}

/*
   Keep Start / Stop / Cancel usable.
*/
#chatPage #startVoiceRecordBtn,
#chatPage #stopVoiceRecordBtn,
#chatPage #cancelVoiceRecordBtn{

    position:relative !important;

    z-index:5001 !important;

    pointer-events:auto !important;
}

/*
   Chat header must always remain visible.
*/
#chatPage #chatHeader{

    position:relative !important;

    z-index:6000 !important;
}

/*
   Chat messages remain behind preview.
*/
#chatPage #chatMessages{

    position:relative !important;

    z-index:1 !important;
}

/*
   Normal message input remains visible and clickable.
*/
#chatPage .chatInputArea{

    position:relative !important;

    z-index:6001 !important;
}

/* ===========================================================
   SAVED VIDEOS PAGE - VISUAL FIX
=========================================================== */

#savedVideosPage {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background: #ffffff;
    color: #111111;
    padding-bottom: 90px;
}

#savedVideosPage .page-header {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    box-sizing: border-box;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 20;
}

#savedVideosPage .page-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111111;
}

#savedVideosPage .page-header button {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SAVED VIDEO GRID */

#savedVideosGrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    box-sizing: border-box;
}

/* VIDEO CARD */

#savedVideosGrid .video-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

/* VIDEO AREA */

#savedVideosGrid .video-media {
    width: 100%;
    aspect-ratio: 9 / 16;
    position: relative;
    overflow: hidden;
    background: #111111;
    border-radius: 10px;
}

/* ACTUAL VIDEO */

#savedVideosGrid .video-media video.feed-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111111;
}

/* IMAGE FALLBACK */

#savedVideosGrid .video-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* VIDEO INFORMATION */

#savedVideosGrid .video-info {
    padding: 7px 5px 10px;
    box-sizing: border-box;
}

#savedVideosGrid .caption {
    font-size: 13px;
    line-height: 18px;
    color: #222222;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#savedVideosGrid .video-footer {
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

#savedVideosGrid .creator {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

#savedVideosGrid .creator-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #eeeeee;
}

#savedVideosGrid .creator-name {
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#savedVideosGrid .likes {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    white-space: nowrap;
}

/* EMPTY STATE */

#savedVideosGrid .empty-state {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    color: #777777;
}

/* ===========================================================
   PROFILE AVATAR FIX
=========================================================== */

#profilePage .profile-avatar,
#profilePage .profile-photo,
#profilePage #profileImage,
#profilePage #profileAvatar,
#profilePage .avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
    min-height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #eeeeee;
    overflow: hidden;
}

/* PROFILE HEADER IMAGES */

#profilePage img {
    max-width: 100%;
}

#profilePage img[src*="via.placeholder.com"] {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===========================================================
   DARK MODE - SAVED VIDEOS
=========================================================== */

body.dark-mode #savedVideosPage {
    background: #000000;
    color: #ffffff;
}

body.dark-mode #savedVideosPage .page-header {
    background: #000000;
    border-bottom-color: #222222;
}

body.dark-mode #savedVideosPage .page-header h2 {
    color: #ffffff;
}

body.dark-mode #savedVideosGrid .video-card {
    background: #000000;
}

body.dark-mode #savedVideosGrid .caption {
    color: #eeeeee;
}

body.dark-mode #savedVideosGrid .creator-name {
    color: #ffffff;
}

body.dark-mode #savedVideosGrid .empty-state {
    color: #aaaaaa;
}

/* ===========================================================
   TIKUU CHAT MEDIA RENDERER
=========================================================== */

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

.chatMediaButton{
    display:block;
    border:0;
    padding:0;
    margin:0;
    background:transparent;
    max-width:100%;
    cursor:pointer;
}

.chatImage{
    display:block;
    width:auto;
    max-width:240px;
    max-height:280px;
    height:auto;
    object-fit:cover;
    border-radius:12px;
}

.chatImageButton:active{
    transform:scale(.98);
}

.chatVideoWrap{
    width:min(280px,100%);
    max-width:100%;
    overflow:hidden;
    border-radius:12px;
}

.chatVideo{
    display:block;
    width:100%;
    max-width:280px;
    max-height:280px;
    height:auto;
    object-fit:contain;
    border-radius:12px;
    background:#000;
}

.chatVoiceMessage,
.chatAudioMessage{
    width:min(280px,100%);
    max-width:100%;
    box-sizing:border-box;
    padding:9px;
    border-radius:12px;
}

.chatVoice{
    display:block;
    width:100%;
    max-width:260px;
}

.chatAudio{
    display:block;
    width:100%;
    max-width:260px;
}

.chatVoiceMeta,
.chatAudioMeta{
    margin-top:5px;
    font-size:12px;
    opacity:.75;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.chatAudioTitle{
    font-size:13px;
    font-weight:600;
    margin-bottom:6px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.chatFileMessage,
.chatLocationCard,
.chatContactCard,
.chatEventCard{
    display:flex;
    align-items:center;
    gap:10px;
    width:min(280px,100%);
    max-width:100%;
    box-sizing:border-box;
    padding:11px;
    border-radius:13px;
    text-decoration:none;
    color:inherit;
    border:1px solid rgba(128,128,128,.22);
    background:rgba(128,128,128,.08);
}

.chatFileMessage{
    cursor:pointer;
}

.chatFileIcon,
.chatLocationIcon,
.chatContactAvatar,
.chatEventIcon{
    width:40px;
    height:40px;
    min-width:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    font-size:22px;
    background:rgba(128,128,128,.14);
}

.chatFileInfo,
.chatLocationInfo,
.chatContactInfo,
.chatEventInfo{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.chatFileInfo strong,
.chatLocationInfo strong,
.chatContactInfo strong,
.chatEventInfo strong{
    font-size:14px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.chatFileInfo small,
.chatLocationInfo small,
.chatContactInfo small,
.chatEventInfo small{
    font-size:11px;
    opacity:.7;
}

.chatLocationInfo span,
.chatContactInfo span,
.chatEventInfo span{
    font-size:12px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.chatContactCard,
.chatEventCard{
    cursor:pointer;
    text-align:left;
    font-family:inherit;
}

.chatContactCard:active,
.chatEventCard:active,
.chatLocationCard:active,
.chatFileMessage:active{
    transform:scale(.98);
}

.chatLocationUnavailable{
    cursor:default;
}

.chatMediaButton:focus-visible,
.chatContactCard:focus-visible,
.chatEventCard:focus-visible,
.chatFileMessage:focus-visible,
.chatLocationCard:focus-visible{
    outline:2px solid #2196f3;
    outline-offset:2px;
}

/* Prevent media from making the entire message bubble wider */
.messageBubble{
    max-width:85%;
    overflow:hidden;
}

.messageBubble .messageContent img,
.messageBubble .messageContent video,
.messageBubble .messageContent audio{
    max-width:100%;
}

/* ===========================================================
   IMAGE FULLSCREEN PREVIEW
=========================================================== */

#tikuuChatImagePreview{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    box-sizing:border-box;
    background:rgba(0,0,0,.92);
}

#tikuuChatImagePreview img{
    display:block;
    max-width:95vw;
    max-height:90vh;
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:8px;
}

#tikuuChatImagePreviewClose{
    position:absolute;
    top:15px;
    right:15px;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-size:25px;
    cursor:pointer;
}

/* ===========================================================
   TIKUU MARKETPLACE FINAL UI
=========================================================== */
.marketplace-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0;padding:0 15px}.marketplace-detail-actions button{min-height:48px;border-radius:12px;background:#222;color:#fff;font-weight:700}.marketplace-detail-actions #buyProductBtn{background:#FE2C55}.product-card{overflow:hidden}.product-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.product-card-body{padding:10px}.cart-item,.seller-product-row,.order-card{display:flex;align-items:center;gap:12px;padding:12px;margin:10px 0;background:#111;border:1px solid rgba(255,255,255,.08);border-radius:14px}.cart-item img,.seller-product-row img{width:64px;height:64px;object-fit:cover;border-radius:10px}.cart-item>div,.seller-product-row>div{flex:1}.cart-item button,.seller-product-row button,.order-card button{padding:8px 10px;border-radius:9px;background:#222;color:#fff}.seller-product-row button[data-seller-delete]{background:#40151d}.checkout-section#checkoutBreakdown>div{display:flex;justify-content:space-between;padding:7px 0}.checkout-section#checkoutBreakdown hr{border:0;border-top:1px solid rgba(255,255,255,.12)}

/* TIKUU PREMIUM SELLER DASHBOARD v3 START */

#sellerDashboardPage{
    padding-bottom:120px !important;
}

#sellerDashboardPage .page-header{
    position:sticky !important;
    top:0 !important;
    z-index:30 !important;
    backdrop-filter:blur(18px) !important;
}

.tikuu-seller-hero{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    margin:14px !important;
    padding:20px !important;
    border-radius:24px !important;
    background:linear-gradient(135deg,#171717,#2a2a2a) !important;
    color:#fff !important;
    box-shadow:0 12px 35px rgba(0,0,0,.22) !important;
}

.tikuu-seller-hero-icon{
    width:58px !important;
    height:58px !important;
    border-radius:18px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#ff2d55 !important;
    font-size:29px !important;
    flex:0 0 58px !important;
}

.tikuu-seller-hero-text{
    min-width:0 !important;
}

.tikuu-seller-hero-text h2{
    margin:0 !important;
    font-size:22px !important;
    font-weight:900 !important;
}

.tikuu-seller-hero-text p{
    margin:5px 0 0 !important;
    opacity:.72 !important;
    font-size:13px !important;
}

.tikuu-seller-finance{
    margin:14px !important;
    padding:16px !important;
    border-radius:24px !important;
    background:var(--card-bg,#fff) !important;
    border:1px solid rgba(127,127,127,.15) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08) !important;
}

.tikuu-finance-title{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:10px !important;
    margin-bottom:14px !important;
}

.tikuu-finance-title span{
    font-size:17px !important;
    font-weight:900 !important;
}

.tikuu-finance-title small{
    font-size:11px !important;
    font-weight:800 !important;
    opacity:.6 !important;
}

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

.tikuu-finance-card{
    padding:14px !important;
    border-radius:18px !important;
    background:rgba(127,127,127,.08) !important;
}

.tikuu-finance-card span{
    display:block !important;
    font-size:11px !important;
    font-weight:700 !important;
    opacity:.65 !important;
    margin-bottom:7px !important;
}

.tikuu-finance-card strong{
    display:block !important;
    font-size:17px !important;
    font-weight:900 !important;
}

.tikuu-payout-settings{
    margin:14px !important;
    padding:17px !important;
    border-radius:24px !important;
    background:var(--card-bg,#fff) !important;
    border:1px solid rgba(127,127,127,.15) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.07) !important;
}

.tikuu-section-heading{
    margin-bottom:14px !important;
}

.tikuu-section-heading b{
    display:block !important;
    font-size:17px !important;
    font-weight:900 !important;
}

.tikuu-section-heading small{
    display:block !important;
    margin-top:4px !important;
    opacity:.6 !important;
    font-size:12px !important;
}

.tikuu-payout-form{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
}

.tikuu-payout-form label{
    font-size:12px !important;
    font-weight:800 !important;
    margin-top:5px !important;
}

.tikuu-payout-form input,
.tikuu-payout-form select{
    width:100% !important;
    min-height:46px !important;
    box-sizing:border-box !important;
    border-radius:14px !important;
    border:1px solid rgba(127,127,127,.22) !important;
    padding:0 13px !important;
    background:transparent !important;
    color:inherit !important;
    outline:none !important;
}

.tikuu-save-payout-btn{
    width:100% !important;
    min-height:48px !important;
    margin-top:8px !important;
    border:0 !important;
    border-radius:15px !important;
    background:#ff2d55 !important;
    color:#fff !important;
    font-weight:900 !important;
    font-size:14px !important;
}

.tikuu-payout-status{
    min-height:18px !important;
    margin-top:5px !important;
    font-size:12px !important;
    font-weight:800 !important;
}

.tikuu-seller-product-row{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    padding:12px !important;
    margin:9px 0 !important;
    border-radius:18px !important;
    background:var(--card-bg,#fff) !important;
    border:1px solid rgba(127,127,127,.12) !important;
}

.tikuu-seller-product-row img{
    width:62px !important;
    height:62px !important;
    object-fit:cover !important;
    border-radius:14px !important;
    flex:0 0 62px !important;
}

.seller-product-main{
    min-width:0 !important;
    flex:1 !important;
}

.seller-product-main b{
    display:block !important;
    font-size:14px !important;
    font-weight:900 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}

.seller-product-main span{
    display:block !important;
    margin-top:4px !important;
    font-weight:900 !important;
}

.seller-product-main small{
    display:block !important;
    margin-top:3px !important;
    opacity:.6 !important;
}

.tikuu-seller-product-row button{
    border:0 !important;
    border-radius:11px !important;
    padding:8px 9px !important;
    font-size:11px !important;
    font-weight:900 !important;
}

.tikuu-seller-order-card{
    margin:10px 0 !important;
    padding:15px !important;
    border-radius:19px !important;
    border:1px solid rgba(127,127,127,.13) !important;
    background:var(--card-bg,#fff) !important;
}

.tikuu-order-head{
    display:flex !important;
    justify-content:space-between !important;
    gap:10px !important;
    align-items:center !important;
}

.tikuu-order-status{
    padding:5px 8px !important;
    border-radius:9px !important;
    font-size:10px !important;
    font-weight:900 !important;
    background:rgba(255,45,85,.10) !important;
}

.tikuu-order-money{
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    margin:12px 0 !important;
    font-size:12px !important;
}

.tikuu-order-money strong{
    font-size:14px !important;
    font-weight:900 !important;
}

.tikuu-seller-order-card button{
    width:100% !important;
    min-height:43px !important;
    border:0 !important;
    border-radius:13px !important;
    background:#ff2d55 !important;
    color:#fff !important;
    font-weight:900 !important;
}

@media(min-width:700px){
    .tikuu-finance-grid{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }

    .tikuu-seller-hero,
    .tikuu-seller-finance,
    .tikuu-payout-settings{
        max-width:900px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
}

/* TIKUU PREMIUM SELLER DASHBOARD v3 END */

/* TIKUU PREMIUM ADD PRODUCT CSS v1 */

/* ============================================================
   TIKUU ADD PRODUCT PREMIUM BUTTON
============================================================ */

#sellerDashboardPage #addProductBtn,
#addProductBtn.tikuuAddProductButton,
.tikuuAddProductButton,
button[data-tikuu-add-product]{

    width:100% !important;
    min-height:58px !important;

    margin:18px 0 20px !important;
    padding:0 22px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;

    border:0 !important;
    border-radius:18px !important;

    background:
        linear-gradient(
            135deg,
            #ff2d55 0%,
            #ff1744 50%,
            #e91e63 100%
        ) !important;

    color:#ffffff !important;

    font-size:17px !important;
    font-weight:900 !important;
    letter-spacing:.1px !important;

    box-shadow:
        0 12px 28px rgba(255,45,85,.25),
        inset 0 1px 0 rgba(255,255,255,.20) !important;

    cursor:pointer !important;

    position:relative !important;
    overflow:hidden !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease !important;

    -webkit-tap-highlight-color:transparent !important;
}

#sellerDashboardPage #addProductBtn::before{

    content:"+" !important;

    width:30px !important;
    height:30px !important;

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

    border-radius:50% !important;

    background:rgba(255,255,255,.18) !important;

    color:#fff !important;

    font-size:25px !important;
    font-weight:700 !important;

    line-height:1 !important;
}

#sellerDashboardPage #addProductBtn::after{

    content:"" !important;

    position:absolute !important;

    top:0 !important;
    left:-120% !important;

    width:70% !important;
    height:100% !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.18),
            transparent
        ) !important;

    transform:skewX(-20deg) !important;

    transition:left .55s ease !important;
}

#sellerDashboardPage #addProductBtn:hover{

    transform:translateY(-2px) !important;

    box-shadow:
        0 16px 34px rgba(255,45,85,.34),
        inset 0 1px 0 rgba(255,255,255,.22) !important;

    filter:brightness(1.04) !important;
}

#sellerDashboardPage #addProductBtn:hover::after{

    left:140% !important;
}

#sellerDashboardPage #addProductBtn:active{

    transform:scale(.97) !important;

    box-shadow:
        0 7px 16px rgba(255,45,85,.25) !important;
}

#sellerDashboardPage #addProductBtn:focus-visible{

    outline:3px solid rgba(255,45,85,.25) !important;
    outline-offset:3px !important;
}

/* ============================================================
   PRODUCT UPLOAD PAGE
============================================================ */

#productUploadPage.tikuuProductUploadPremium{

    padding-bottom:110px !important;
}

#productUploadPage .page-header{

    display:flex !important;
    align-items:center !important;
    gap:12px !important;

    min-height:64px !important;

    position:relative !important;
}

#productUploadPage .page-header h2{

    flex:1 !important;

    margin:0 !important;

    font-size:20px !important;
    font-weight:900 !important;
}

/* ============================================================
   BACK TO SELLER DASHBOARD
============================================================ */

#backFromProductUploadBtn,
.tikuuProductBackButton{

    min-height:44px !important;

    padding:0 14px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;

    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:14px !important;

    background:rgba(255,255,255,.07) !important;

    color:inherit !important;

    font-size:13px !important;
    font-weight:800 !important;

    cursor:pointer !important;

    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease !important;
}

#backFromProductUploadBtn:hover,
.tikuuProductBackButton:hover{

    background:rgba(255,45,85,.12) !important;
    border-color:rgba(255,45,85,.35) !important;
}

#backFromProductUploadBtn:active,
.tikuuProductBackButton:active{

    transform:scale(.95) !important;
}

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

@media(max-width:600px){

    #sellerDashboardPage #addProductBtn{

        min-height:60px !important;

        border-radius:19px !important;

        font-size:17px !important;

        margin-top:16px !important;
    }

    #backFromProductUploadBtn,
    .tikuuProductBackButton{

        min-width:44px !important;
        width:44px !important;
        padding:0 !important;

        border-radius:14px !important;
    }

    #backFromProductUploadBtn span:last-child,
    .tikuuProductBackButton span:last-child{

        display:none !important;
    }

}

/* TIKUU PREMIUM PRODUCT UPLOAD vFINAL */

#productUploadPage{
  background:#f7f7f8;
  min-height:100vh;
  padding-bottom:40px;
}

#productUploadPage .tikuu-product-header{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(0,0,0,.08);
}

#productUploadPage .tikuu-product-header h2{
  flex:1;
  margin:0;
  text-align:center;
  font-size:19px;
  font-weight:900;
}

#productUploadPage .tikuu-product-header button{
  min-width:44px;
  min-height:44px;
  border:0;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
}

#productUploadPage #saveProductBtn{
  padding:0 15px;
  background:#111;
  color:#fff;
}

#productUploadPage .tikuu-product-form{
  width:100%;
  max-width:680px;
  margin:0 auto;
  padding:18px 16px 40px;
  box-sizing:border-box;
}

#productUploadPage .tikuu-product-media-box{
  background:#fff;
  border-radius:22px;
  padding:16px;
  margin-bottom:20px;
  box-shadow:0 8px 30px rgba(0,0,0,.07);
}

#productUploadPage .tikuu-product-media-title{
  font-size:16px;
  font-weight:900;
  margin-bottom:12px;
}

#productUploadPage .tikuu-product-media-preview{
  min-height:190px;
  border:2px dashed #d8d8dd;
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#fafafa;
}

#productUploadPage .tikuu-product-media-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#777;
  font-weight:700;
  text-align:center;
  padding:25px;
}

#productUploadPage .tikuu-upload-preview-image,
#productUploadPage .tikuu-upload-preview-video{
  width:100%;
  max-height:330px;
  object-fit:contain;
  display:block;
  background:#000;
}

#productUploadPage .tikuu-upload-file-name{
  width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  font-size:13px;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#productUploadPage .tikuu-product-media-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}

#productUploadPage .tikuu-media-btn{
  min-height:50px;
  border:0;
  border-radius:15px;
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:900;
}

#productUploadPage .tikuu-product-label{
  display:block;
  margin:15px 2px 7px;
  font-size:13px;
  font-weight:900;
}

#productUploadPage .tikuu-product-form input,
#productUploadPage .tikuu-product-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #dddde2;
  border-radius:15px;
  background:#fff;
  padding:14px;
  font-size:15px;
  outline:none;
}

#productUploadPage .tikuu-product-form input:focus,
#productUploadPage .tikuu-product-form textarea:focus{
  border-color:#111;
}

#productUploadPage .tikuu-product-form textarea{
  resize:vertical;
  min-height:120px;
}

#productUploadPage .tikuu-delivery-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:17px;
  padding:15px;
  border-radius:15px;
  background:#fff;
  border:1px solid #e5e5e8;
  font-size:14px;
  font-weight:800;
}

#productUploadPage .tikuu-delivery-toggle input{
  width:20px;
  height:20px;
  margin:0;
}

#productUploadPage .tikuu-product-cancel{
  width:100%;
  min-height:50px;
  margin-top:14px;
  border:1px solid #ddd;
  border-radius:15px;
  background:#fff;
  color:#222;
  font-weight:900;
}

@media(max-width:420px){
  #productUploadPage .tikuu-product-form{
    padding-left:12px;
    padding-right:12px;
  }
}

/* =========================================================
   TIKUU PRODUCT UPLOAD SCOPED SAFE V4
   ========================================================= */

#productUploadPage.tikuu-product-upload-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background: #f7f8fa;
  color: #111827;
  overflow-x: hidden;
}

#productUploadPage .tikuu-product-upload-shell {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 14px 40px;
  box-sizing: border-box;
}

#productUploadPage .tikuu-product-upload-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 0;
  background: rgba(247,248,250,.96);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

#productUploadPage .tikuu-product-back-btn,
#productUploadPage .tikuu-product-cancel-btn {
  border: 0;
  cursor: pointer;
  background: transparent;
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  font-size: 22px;
}

#productUploadPage .tikuu-product-cancel-btn {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
}

#productUploadPage .tikuu-product-upload-title-wrap {
  flex: 1;
  min-width: 0;
}

#productUploadPage .tikuu-product-upload-title-wrap h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

#productUploadPage .tikuu-product-upload-title-wrap p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: .65;
}

#productUploadPage .tikuu-product-media-card,
#productUploadPage .tikuu-product-form-card {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  margin-top: 12px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

#productUploadPage .tikuu-product-media-title,
#productUploadPage .tikuu-product-section-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

#productUploadPage .tikuu-product-media-preview {
  width: 100%;
  min-height: 190px;
  border-radius: 15px;
  overflow: hidden;
  background: #f0f2f5;
  border: 1px dashed rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#productUploadPage .tikuu-product-media-empty {
  min-height: 190px;
  width: 100%;
  padding: 25px 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

#productUploadPage .tikuu-product-media-empty-icon {
  font-size: 42px;
  margin-bottom: 5px;
}

#productUploadPage .tikuu-product-media-empty strong {
  font-size: 14px;
}

#productUploadPage .tikuu-product-media-empty span {
  font-size: 12px;
  opacity: .58;
}

#productUploadPage .tikuu-product-preview-image,
#productUploadPage .tikuu-product-preview-video {
  width: 100%;
  max-height: 390px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

#productUploadPage .tikuu-product-preview-video {
  background: #000;
}

#productUploadPage .tikuu-product-media-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

#productUploadPage .tikuu-media-action-btn {
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#productUploadPage .tikuu-photo-btn {
  background: #f1f3f5;
  color: #111827;
}

#productUploadPage .tikuu-video-btn {
  background: #111827;
  color: #fff;
}

#productUploadPage .tikuu-product-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 15px 0 7px;
}

#productUploadPage .tikuu-product-input,
#productUploadPage .tikuu-product-textarea,
#productUploadPage .tikuu-product-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dfe3e8;
  background: #fff;
  color: #111827;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  padding: 13px 14px;
}

#productUploadPage .tikuu-product-input {
  min-height: 47px;
}

#productUploadPage .tikuu-product-textarea {
  min-height: 115px;
  resize: vertical;
  line-height: 1.5;
}

#productUploadPage .tikuu-product-input:focus,
#productUploadPage .tikuu-product-textarea:focus,
#productUploadPage .tikuu-product-select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17,24,39,.08);
}

#productUploadPage .tikuu-price-input-wrap {
  position: relative;
  width: 100%;
}

#productUploadPage .tikuu-price-input {
  padding-right: 62px;
}

#productUploadPage .tikuu-price-suffix {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 800;
  opacity: .58;
  pointer-events: none;
}

#productUploadPage .tikuu-delivery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  padding: 13px;
  background: #f7f8fa;
  border-radius: 14px;
}

#productUploadPage .tikuu-delivery-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#productUploadPage .tikuu-delivery-text strong {
  font-size: 13px;
}

#productUploadPage .tikuu-delivery-text span {
  font-size: 11px;
  opacity: .58;
}

#productUploadPage .tikuu-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}

#productUploadPage .tikuu-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#productUploadPage .tikuu-switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: #d1d5db;
  cursor: pointer;
  transition: .2s ease;
}

#productUploadPage .tikuu-switch-slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
  transition: .2s ease;
}

#productUploadPage .tikuu-switch input:checked + .tikuu-switch-slider {
  background: #111827;
}

#productUploadPage .tikuu-switch input:checked + .tikuu-switch-slider::before {
  transform: translateX(20px);
}

#productUploadPage .tikuu-product-security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  padding: 13px;
  border-radius: 13px;
  background: #f7f8fa;
}

#productUploadPage .tikuu-security-icon {
  font-size: 19px;
}

#productUploadPage .tikuu-product-security-note strong {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

#productUploadPage .tikuu-product-security-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  opacity: .58;
}

#productUploadPage .tikuu-publish-product-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(0,0,0,.14);
}

#productUploadPage .tikuu-publish-product-btn:active,
#productUploadPage .tikuu-media-action-btn:active,
#productUploadPage .tikuu-product-back-btn:active,
#productUploadPage .tikuu-product-cancel-btn:active {
  transform: scale(.98);
}

@media (max-width: 480px) {

  #productUploadPage .tikuu-product-upload-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  #productUploadPage .tikuu-product-media-card,
  #productUploadPage .tikuu-product-form-card {
    border-radius: 15px;
    padding: 13px;
  }

  #productUploadPage .tikuu-product-media-preview {
    min-height: 165px;
  }

  #productUploadPage .tikuu-product-media-empty {
    min-height: 165px;
  }

}

/* ==========================================================
   TIKUU FINAL LIGHT MODE SAFETY FIX
   Default application appearance is LIGHT.
   Dark Mode remains controlled by body.dark-mode.
   ========================================================== */

html,
body{
    background:#ffffff;
    color:#111111;
}

.page{
    background:#ffffff;
    color:#111111;
}

#authPage,
#phoneLoginPage,
#emailLoginPage,
#otpPage,
#registerPage{
    background:#ffffff !important;
    color:#111111 !important;
}

#authPage *,
#phoneLoginPage *,
#emailLoginPage *,
#otpPage *,
#registerPage *{
    color:inherit;
}

.auth-form input{
    background:#f5f5f5 !important;
    color:#111111 !important;
    border-color:#dddddd !important;
}

.auth-form input::placeholder{
    color:#888 !important;
}

/* ==========================================================
   DARK MODE — ONLY WHEN USER ENABLES IT
   ========================================================== */

body.dark-mode{
    background:#000 !important;
    color:#fff !important;
}

body.dark-mode .page{
    background:#000 !important;
    color:#fff !important;
}

body.dark-mode #authPage,
body.dark-mode #phoneLoginPage,
body.dark-mode #emailLoginPage,
body.dark-mode #otpPage,
body.dark-mode #registerPage{
    background:#000 !important;
    color:#fff !important;
}

body.dark-mode .auth-form input{
    background:#181818 !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.1) !important;
}

body.dark-mode .auth-btn{
    background:#111 !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.12) !important;
}

body.dark-mode .auth-header button{
    color:#fff !important;
}

/* ============================================================
   TIKUU FINAL LIGHT MODE SAFETY LAYER
   ============================================================ */

html,
body{
    background:#ffffff !important;
    color:#111111 !important;
}

body{
    min-height:100%;
}

.page{
    background:#ffffff !important;
    color:#111111 !important;
}

/* ------------------------------------------------------------
   ALL MAIN TIKUU PAGES - LIGHT MODE
   ------------------------------------------------------------ */

#authPage,
#phoneLoginPage,
#emailLoginPage,
#otpPage,
#registerPage,
#languageStartPage,
#homePage,
#watchPage,
#uploadPage,
#postUploadPage,
#chatPage,
#inboxPage,
#profilePage,
#marketplacePage,
#productUploadPage,
#productDetailsPage,
#cartPage,
#checkoutPage,
#ordersPage,
#sellerDashboardPage{
    background:#ffffff !important;
    color:#111111 !important;
}

/* ------------------------------------------------------------
   DARK MODE ONLY WHEN BODY HAS .dark-mode
   ------------------------------------------------------------ */

body.dark-mode{
    background:#000000 !important;
    color:#ffffff !important;
}

body.dark-mode .page{
    background:#000000 !important;
    color:#ffffff !important;
}

body.dark-mode #authPage,
body.dark-mode #phoneLoginPage,
body.dark-mode #emailLoginPage,
body.dark-mode #otpPage,
body.dark-mode #registerPage,
body.dark-mode #languageStartPage,
body.dark-mode #homePage,
body.dark-mode #watchPage,
body.dark-mode #uploadPage,
body.dark-mode #postUploadPage,
body.dark-mode #chatPage,
body.dark-mode #inboxPage,
body.dark-mode #profilePage,
body.dark-mode #marketplacePage,
body.dark-mode #productUploadPage,
body.dark-mode #productDetailsPage,
body.dark-mode #cartPage,
body.dark-mode #checkoutPage,
body.dark-mode #ordersPage,
body.dark-mode #sellerDashboardPage{
    background:#000000 !important;
    color:#ffffff !important;
}

/* ------------------------------------------------------------
   INPUTS / SELECTS / TEXTAREAS - LIGHT MODE
   ------------------------------------------------------------ */

html:not(.dark-mode) input,
html:not(.dark-mode) textarea,
html:not(.dark-mode) select{
    background:#ffffff !important;
    color:#111111 !important;
}

/* ------------------------------------------------------------
   DARK MODE INPUTS
   ------------------------------------------------------------ */

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select{
    background:#111111 !important;
    color:#ffffff !important;
}

/* ============================================================
   TIKUU PREMIUM ADD PRODUCT PAGE
   LARGE • CLEAN • MOBILE • PROFESSIONAL
   ============================================================ */

#productUploadPage{
    width:100%;
    min-height:100vh;
    box-sizing:border-box;
    padding:0 16px 40px !important;
    background:#ffffff !important;
    color:#111111 !important;
    overflow-x:hidden;
}

#productUploadPage *{
    box-sizing:border-box;
}

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */

#productUploadPage .page-header{
    width:100%;
    min-height:72px;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px;
    padding:12px 0 16px !important;
    margin:0 auto 18px !important;
    background:#ffffff !important;
    color:#111111 !important;
    border-bottom:1px solid #e5e5e5;
}

#productUploadPage .page-header h2{
    flex:1;
    margin:0 !important;
    padding:0 4px;
    font-size:24px !important;
    line-height:1.2;
    font-weight:800 !important;
    text-align:center;
    color:#111111 !important;
}

#productUploadPage .page-header button{
    min-width:48px;
    min-height:48px;
    padding:10px 14px;
    border:0;
    border-radius:14px;
    background:#f3f3f3;
    color:#111111;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}

#productUploadPage #saveProductBtn{
    min-width:76px;
    background:#111111 !important;
    color:#ffffff !important;
}

/* ------------------------------------------------------------
   MAIN FORM
   ------------------------------------------------------------ */

#productUploadPage .upload-form{
    width:100%;
    max-width:680px;
    margin:0 auto;
    padding:4px 0;
    background:#ffffff !important;
    color:#111111 !important;
}

#productUploadPage .upload-form input:not([type="file"]),
#productUploadPage .upload-form textarea,
#productUploadPage .upload-form select,
#productUploadPage .tikuu-product-input{
    width:100%;
    min-height:58px;
    margin:0 0 14px !important;
    padding:15px 17px !important;
    border:1.5px solid #d9d9d9 !important;
    border-radius:16px !important;
    outline:none;
    background:#ffffff !important;
    color:#111111 !important;
    font-size:17px !important;
    font-weight:500;
    box-shadow:none !important;
}

#productUploadPage .upload-form textarea{
    min-height:130px;
    resize:vertical;
    line-height:1.5;
}

#productUploadPage .upload-form input:focus,
#productUploadPage .upload-form textarea:focus,
#productUploadPage .tikuu-product-input:focus{
    border-color:#111111 !important;
    box-shadow:0 0 0 3px rgba(0,0,0,.07) !important;
}

/* ------------------------------------------------------------
   FILE INPUT
   ------------------------------------------------------------ */

#productUploadPage #productImageInput{
    width:100%;
    min-height:58px;
    margin:0 0 18px;
    padding:12px;
    border:1.5px dashed #bdbdbd;
    border-radius:16px;
    background:#fafafa !important;
    color:#111111 !important;
    font-size:15px;
}

/* ------------------------------------------------------------
   PHOTO + VIDEO BUTTONS
   ------------------------------------------------------------ */

#productUploadPage .tikuu-media-action-btn{
    width:calc(50% - 7px) !important;
    min-height:62px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    margin:0 0 14px !important;
    padding:14px 12px !important;
    border:1.5px solid #d7d7d7 !important;
    border-radius:17px !important;
    background:#f8f8f8 !important;
    color:#111111 !important;
    font-size:17px !important;
    font-weight:800 !important;
    cursor:pointer;
    vertical-align:top;
}

#productUploadPage .tikuu-photo-btn{
    margin-right:10px !important;
}

#productUploadPage .tikuu-video-btn{
    margin-right:0 !important;
}

#productUploadPage .tikuu-media-action-btn:active{
    transform:scale(.98);
}

#productUploadPage .tikuu-media-action-btn span{
    font-size:16px;
    font-weight:800;
}

/* ------------------------------------------------------------
   MEDIA PREVIEW
   ------------------------------------------------------------ */

#productUploadPage .tikuu-product-media-preview{
    width:100%;
    min-height:180px;
    margin:4px 0 18px;
    padding:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1.5px dashed #cfcfcf;
    border-radius:20px;
    background:#fafafa !important;
    overflow:hidden;
}

#productUploadPage .tikuu-product-media-preview:empty::before{
    content:"Product Photo / Video Preview";
    color:#999999;
    font-size:15px;
    font-weight:600;
}

#productUploadPage .tikuu-product-preview-image,
#productUploadPage .tikuu-product-media-preview img{
    width:100%;
    max-height:330px;
    object-fit:cover;
    display:block;
    border-radius:15px;
}

#productUploadPage .tikuu-product-preview-video,
#productUploadPage .tikuu-product-media-preview video{
    width:100%;
    max-height:330px;
    display:block;
    border-radius:15px;
    background:#000000;
}

/* ------------------------------------------------------------
   QUANTITY / LOCATION / DELIVERY
   ------------------------------------------------------------ */

#productUploadPage #productQuantity,
#productUploadPage #productLocation,
#productUploadPage #productDeliveryFee{
    width:100% !important;
    min-height:58px !important;
    margin:0 0 14px !important;
}

#productUploadPage label{
    width:100%;
    min-height:58px;
    display:flex;
    align-items:center;
    gap:13px;
    margin:2px 0 18px;
    padding:15px 17px;
    border:1.5px solid #dedede;
    border-radius:16px;
    background:#fafafa;
    color:#111111;
    font-size:16px;
    font-weight:700;
}

#productUploadPage #productDeliveryAvailable{
    width:23px;
    height:23px;
    flex:0 0 23px;
    margin:0;
    accent-color:#111111;
}

/* ------------------------------------------------------------
   CANCEL BUTTON
   ------------------------------------------------------------ */

#productUploadPage #cancelProductBtn{
    width:100%;
    min-height:58px;
    margin:2px 0 12px;
    padding:14px 18px;
    border:1.5px solid #d7d7d7;
    border-radius:16px;
    background:#ffffff;
    color:#333333;
    font-size:17px;
    font-weight:800;
}

/* ------------------------------------------------------------
   BACK BUTTON GENERATED BY SCRIPT
   ------------------------------------------------------------ */

#productUploadPage .tikuuProductBackButton{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:7px;
}

/* ------------------------------------------------------------
   HIDDEN ELEMENTS
   ------------------------------------------------------------ */

#productUploadPage
#tikuuProductImageInputHidden,
#productUploadPage
#tikuuProductVideoInputHidden{
    display:none !important;
}

#productUploadPage .hidden{
    display:none !important;
}

/* ------------------------------------------------------------
   DARK MODE
   ------------------------------------------------------------ */

body.dark-mode #productUploadPage{
    background:#000000 !important;
    color:#ffffff !important;
}

body.dark-mode #productUploadPage .page-header,
body.dark-mode #productUploadPage .upload-form{
    background:#000000 !important;
    color:#ffffff !important;
}

body.dark-mode #productUploadPage .page-header{
    border-color:#292929;
}

body.dark-mode #productUploadPage .page-header h2{
    color:#ffffff !important;
}

body.dark-mode #productUploadPage .page-header button{
    background:#202020 !important;
    color:#ffffff !important;
}

body.dark-mode #productUploadPage #saveProductBtn{
    background:#ffffff !important;
    color:#000000 !important;
}

body.dark-mode #productUploadPage
.upload-form input:not([type="file"]),
body.dark-mode #productUploadPage
.upload-form textarea,
body.dark-mode #productUploadPage
.tikuu-product-input{
    background:#111111 !important;
    color:#ffffff !important;
    border-color:#333333 !important;
}

body.dark-mode #productUploadPage
.tikuu-media-action-btn{
    background:#151515 !important;
    color:#ffffff !important;
    border-color:#333333 !important;
}

body.dark-mode #productUploadPage
.tikuu-product-media-preview{
    background:#111111 !important;
    border-color:#333333 !important;
}

body.dark-mode #productUploadPage label{
    background:#111111 !important;
    color:#ffffff !important;
    border-color:#333333 !important;
}

body.dark-mode #productUploadPage
#productImageInput{
    background:#111111 !important;
    color:#ffffff !important;
    border-color:#444444 !important;
}

body.dark-mode #productUploadPage
#cancelProductBtn{
    background:#111111 !important;
    color:#ffffff !important;
    border-color:#333333 !important;
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width:480px){

    #productUploadPage{
        padding-left:13px !important;
        padding-right:13px !important;
        padding-bottom:30px !important;
    }

    #productUploadPage .page-header{
        min-height:66px;
        gap:8px;
    }

    #productUploadPage .page-header h2{
        font-size:21px !important;
    }

    #productUploadPage .page-header button{
        min-width:45px;
        min-height:45px;
        padding:9px 11px;
        font-size:14px;
        border-radius:13px;
    }

    #productUploadPage #saveProductBtn{
        min-width:70px;
    }

    #productUploadPage .upload-form input:not([type="file"]),
    #productUploadPage .upload-form textarea,
    #productUploadPage .tikuu-product-input{
        min-height:60px;
        font-size:16px !important;
        border-radius:15px !important;
    }

    #productUploadPage .tikuu-media-action-btn{
        min-height:64px !important;
        font-size:16px !important;
        border-radius:16px !important;
    }

    #productUploadPage .tikuu-product-media-preview{
        min-height:190px;
    }

}

/* ------------------------------------------------------------
   TABLET / LARGE SCREEN
   ------------------------------------------------------------ */

@media (min-width:481px){

    #productUploadPage{
        padding-left:24px !important;
        padding-right:24px !important;
    }

    #productUploadPage .upload-form{
        max-width:720px;
    }

    #productUploadPage .tikuu-media-action-btn{
        min-height:68px !important;
    }

}

/* ============================================================
   END TIKUU PREMIUM ADD PRODUCT PAGE
   ============================================================

/* TIKUU MARKETPLACE FINAL SAFE CSS START */

/* ============================================================
   TIKUU MARKETPLACE FINAL SAFE CSS
   ============================================================ */

#marketplaceProducts{

    width:100%;
    max-width:1200px;

    margin:0 auto;

    padding:
        14px
        14px
        40px;

    box-sizing:border-box;

}

.tikuu-marketplace-products-grid{

    width:100%;

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                155px,
                1fr
            )
        );

    gap:14px;

}

.tikuu-marketplace-product-card{

    display:flex;

    flex-direction:column;

    overflow:hidden;

    min-width:0;

    border-radius:18px;

    background:#ffffff;

    color:#111111;

    border:1px solid
        rgba(0,0,0,.08);

    box-shadow:
        0 5px 18px
        rgba(0,0,0,.08);

    cursor:pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease;

}

.tikuu-marketplace-product-card:hover{

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.13);

}

.tikuu-product-card-media{

    width:100%;

    aspect-ratio:1 / 1;

    overflow:hidden;

    background:#f1f1f1;

}

.tikuu-product-card-image{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

}

.tikuu-product-card-placeholder{

    width:100%;
    height:100%;

    display:flex;

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

    font-size:42px;

    background:#f1f1f1;

}

.tikuu-product-card-body{

    padding:13px;

    display:flex;

    flex-direction:column;

    gap:7px;

}

.tikuu-product-card-category{

    font-size:10px;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:.7px;

    opacity:.6;

}

.tikuu-product-card-title{

    margin:0;

    font-size:16px;

    line-height:1.25;

    font-weight:900;

    overflow:hidden;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

}

.tikuu-product-card-price{

    font-size:18px;

    font-weight:900;

}

.tikuu-product-card-description{

    margin:0;

    font-size:12px;

    line-height:1.45;

    opacity:.65;

    overflow:hidden;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

}

.tikuu-view-product-btn{

    width:100%;

    min-height:42px;

    border:0;

    border-radius:12px;

    padding:
        9px
        12px;

    background:#111111;

    color:#ffffff;

    font-size:13px;

    font-weight:900;

    cursor:pointer;

}

/* ============================================================
   SELLER DASHBOARD
   ============================================================ */

#sellerProducts{

    width:100%;

    max-width:1200px;

    margin:0 auto;

    padding:
        14px
        14px
        40px;

    box-sizing:border-box;

}

.tikuu-seller-products-grid{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                170px,
                1fr
            )
        );

    gap:14px;

}

.tikuu-seller-product-card{

    display:flex;

    flex-direction:column;

    overflow:hidden;

    border-radius:18px;

    background:#ffffff;

    color:#111111;

    border:1px solid
        rgba(0,0,0,.08);

    box-shadow:
        0 5px 18px
        rgba(0,0,0,.08);

}

.tikuu-seller-product-media{

    width:100%;

    aspect-ratio:1 / 1;

    overflow:hidden;

    background:#f1f1f1;

}

.tikuu-seller-product-image{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

}

.tikuu-seller-product-placeholder{

    width:100%;
    height:100%;

    display:flex;

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

    font-size:42px;

}

.tikuu-seller-product-info{

    padding:13px;

}

.tikuu-seller-product-status{

    display:inline-flex;

    padding:
        4px
        8px;

    border-radius:999px;

    background:#eeeeee;

    font-size:10px;

    font-weight:900;

    text-transform:uppercase;

}

.tikuu-seller-product-info h3{

    margin:
        8px
        0
        4px;

    font-size:16px;

    font-weight:900;

}

.tikuu-seller-product-category{

    font-size:12px;

    opacity:.6;

}

.tikuu-seller-product-price{

    margin-top:7px;

    font-size:18px;

    font-weight:900;

}

.tikuu-seller-product-stock{

    margin-top:5px;

    font-size:12px;

    opacity:.65;

}

.tikuu-seller-product-actions{

    display:grid;

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

    gap:6px;

    margin-top:12px;

}

.tikuu-seller-product-actions button{

    min-height:36px;

    padding:
        6px
        4px;

    border:0;

    border-radius:10px;

    background:#eeeeee;

    color:#111111;

    font-size:11px;

    font-weight:900;

    cursor:pointer;

}

.tikuu-seller-delete-btn{

    background:#ffe5e5 !important;

    color:#c00000 !important;

}

/* ============================================================
   EMPTY / ERROR / LOADING
   ============================================================ */

.tikuu-marketplace-loading,
.tikuu-marketplace-empty,
.tikuu-marketplace-error{

    width:100%;

    min-height:220px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    box-sizing:border-box;

    padding:30px 20px;

}

.tikuu-marketplace-loading p,
.tikuu-marketplace-empty p,
.tikuu-marketplace-error p{

    margin:
        7px
        0
        0;

    font-size:13px;

    opacity:.65;

}

.tikuu-empty-icon,
.tikuu-marketplace-error-icon{

    font-size:48px;

    margin-bottom:8px;

}

.tikuu-marketplace-empty h3,
.tikuu-marketplace-error h3{

    margin:0;

    font-size:18px;

}

.tikuu-marketplace-error button{

    margin-top:15px;

    min-height:42px;

    padding:
        9px
        22px;

    border:0;

    border-radius:12px;

    background:#111111;

    color:#ffffff;

    font-weight:900;

}

.tikuu-marketplace-spinner{

    width:34px;
    height:34px;

    border-radius:50%;

    border:
        3px solid
        rgba(0,0,0,.12);

    border-top-color:#111111;

    animation:
        tikuuMarketplaceSpin
        .8s linear infinite;

    margin-bottom:12px;

}

@keyframes tikuuMarketplaceSpin{

    to{

        transform:
            rotate(360deg);

    }

}

/* ============================================================
   DARK MODE
   ============================================================ */

body.dark-mode
.tikuu-marketplace-product-card,
body.dark-mode
.tikuu-seller-product-card{

    background:#000000;

    color:#ffffff;

    border-color:
        rgba(255,255,255,.13);

    box-shadow:
        0 5px 22px
        rgba(0,0,0,.55);

}

body.dark-mode
.tikuu-product-card-media,
body.dark-mode
.tikuu-product-card-placeholder,
body.dark-mode
.tikuu-seller-product-media,
body.dark-mode
.tikuu-seller-product-placeholder{

    background:#111111;

}

body.dark-mode
.tikuu-view-product-btn{

    background:#ffffff;

    color:#000000;

}

body.dark-mode
.tikuu-seller-product-actions button{

    background:#1b1b1b;

    color:#ffffff;

}

body.dark-mode
.tikuu-seller-delete-btn{

    background:#351111 !important;

    color:#ff9090 !important;

}

body.dark-mode
.tikuu-seller-product-status{

    background:#1d1d1d;

    color:#ffffff;

}

body.dark-mode
.tikuu-marketplace-spinner{

    border-color:
        rgba(255,255,255,.18);

    border-top-color:#ffffff;

}

body.dark-mode
.tikuu-marketplace-error button{

    background:#ffffff;

    color:#000000;

}

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

@media(max-width:520px){

    #marketplaceProducts,
    #sellerProducts{

        padding:
            10px
            10px
            30px;

    }

    .tikuu-marketplace-products-grid,
    .tikuu-seller-products-grid{

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

        gap:10px;

    }

    .tikuu-product-card-body,
    .tikuu-seller-product-info{

        padding:10px;

    }

    .tikuu-product-card-title,
    .tikuu-seller-product-info h3{

        font-size:14px;

    }

    .tikuu-product-card-price,
    .tikuu-seller-product-price{

        font-size:16px;

    }

    .tikuu-seller-product-actions{

        gap:4px;

    }

    .tikuu-seller-product-actions button{

        min-height:34px;

        font-size:10px;

    }

}

/* ============================================================
   DESKTOP
   ============================================================ */

@media(min-width:900px){

    .tikuu-marketplace-products-grid,
    .tikuu-seller-products-grid{

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

    }

}

/* TIKUU MARKETPLACE FINAL SAFE CSS END */

/* ============================================================
   TIKUU_INBOX_STATUS_CSS_V1
============================================================ */

#inboxPage .inboxHeader{
    display:flex;
    align-items:center;
    gap:6px;
    width:100%;
    overflow-x:auto;
    padding:10px 12px;
    box-sizing:border-box;
}

#inboxPage .inboxHeader .inboxTab{
    flex:1 1 0;
    min-width:90px;
    border:0;
    border-radius:14px;
    padding:11px 10px;
    background:rgba(128,128,128,.10);
    color:inherit;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}

#inboxPage .inboxHeader .inboxTab.active{
    background:#111;
    color:#fff;
    transform:translateY(-1px);
}

#inboxStatusSection{
    width:100%;
    box-sizing:border-box;
    padding:12px;
}

.tikuuStatusHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px;
    border-radius:18px;
    background:rgba(128,128,128,.10);
    margin-bottom:12px;
}

.tikuuStatusHeader h3{
    margin:0 0 4px;
    font-size:19px;
}

.tikuuStatusHeader p{
    margin:0;
    opacity:.65;
    font-size:13px;
}

#inboxStatusSection
#createTikuuStatusBtn{
    border:0;
    border-radius:14px;
    padding:10px 14px;
    background:#111;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.tikuuStatusComposer{
    padding:12px;
    border-radius:18px;
    background:rgba(128,128,128,.10);
    margin-bottom:14px;
}

#tikuuStatusText{
    width:100%;
    min-height:110px;
    resize:vertical;
    box-sizing:border-box;
    border:1px solid rgba(128,128,128,.25);
    border-radius:15px;
    padding:13px;
    background:transparent;
    color:inherit;
    outline:none;
    font:inherit;
}

.tikuuStatusComposerActions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    margin-top:10px;
}

.tikuuStatusComposerActions button{
    border:0;
    border-radius:12px;
    padding:10px 14px;
    font-weight:700;
    cursor:pointer;
}

#publishTikuuStatusBtn{
    background:#111;
    color:#fff;
}

.tikuuStatusList{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.tikuuStatusCard{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:14px;
    border-radius:18px;
    background:rgba(128,128,128,.09);
    border:1px solid rgba(128,128,128,.12);
}

.tikuuStatusAvatar{
    width:48px;
    height:48px;
    min-width:48px;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(128,128,128,.18);
}

.tikuuStatusAvatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.tikuuStatusAvatarFallback{
    font-size:23px;
}

.tikuuStatusContent{
    min-width:0;
    flex:1;
}

.tikuuStatusName{
    font-weight:800;
    font-size:15px;
}

.tikuuStatusTime{
    margin-top:2px;
    font-size:11px;
    opacity:.55;
}

.tikuuStatusText{
    margin-top:8px;
    line-height:1.45;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

.tikuuStatusEmpty{
    min-height:220px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:7px;
    padding:25px;
    opacity:.75;
}

.tikuuStatusEmptyIcon{
    font-size:38px;
    margin-bottom:5px;
}

@media (max-width:600px){

    #inboxPage .inboxHeader{
        gap:5px;
        padding:8px;
    }

    #inboxPage .inboxHeader .inboxTab{
        min-width:0;
        padding:10px 6px;
        font-size:13px;
    }

    #inboxStatusSection{
        padding:9px;
    }

}

/* ============================================================
   TIKUU SPLASH + SAVED ACCOUNTS
============================================================ */

#tikuuSplashScreen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
    opacity: 1;
    visibility: visible;
    transition:
        opacity .35s ease,
        visibility .35s ease;
    overflow: hidden;
}

#tikuuSplashScreen.tikuu-splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tikuu-splash-inner {
    width: min(92vw, 430px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tikuu-splash-title {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: clamp(46px, 15vw, 78px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: .04em;
    margin-bottom: 18px;
    user-select: none;
}

.tikuu-letter-blue {
    color: #1877f2;
}

.tikuu-letter-red {
    color: #e53935;
}

.tikuu-letter-green {
    color: #16a34a;
}

#tikuuSplashLogo {
    width: 94px;
    height: 94px;
    object-fit: contain;
    border-radius: 22px;
    margin-bottom: 28px;
}

.tikuu-splash-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 24px;
    margin-top: 2px;
}

.tikuu-splash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1877f2;
    opacity: .28;
    animation: tikuuSplashDot 1.1s infinite ease-in-out;
}

.tikuu-splash-dots span:nth-child(1) {
    animation-delay: 0s;
}

.tikuu-splash-dots span:nth-child(2) {
    animation-delay: .12s;
}

.tikuu-splash-dots span:nth-child(3) {
    animation-delay: .24s;
}

.tikuu-splash-dots span:nth-child(4) {
    animation-delay: .36s;
}

.tikuu-splash-dots span:nth-child(5) {
    animation-delay: .48s;
}

@keyframes tikuuSplashDot {
    0%,
    100% {
        opacity: .25;
        transform: translateY(0) scale(.82);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.08);
    }
}

.tikuu-splash-from {
    margin-top: 25px;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #777;
    text-transform: lowercase;
}

.tikuu-saved-accounts {
    width: calc(100% - 32px);
    max-width: 520px;
    margin: 0 auto 18px;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 18px;
    background: rgba(245, 247, 250, .96);
    border: 1px solid rgba(0, 0, 0, .07);
}

.tikuu-saved-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
}

.tikuu-saved-account {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px;
    margin: 7px 0;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    text-align: left;
}

.tikuu-saved-account:active {
    transform: scale(.99);
}

.tikuu-saved-avatar {
    width: 43px;
    height: 43px;
    min-width: 43px;
    border-radius: 50%;
    object-fit: cover;
    background: #e9eef5;
}

.tikuu-saved-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 800;
    color: #1877f2;
}

.tikuu-saved-info {
    min-width: 0;
    flex: 1;
}

.tikuu-saved-name {
    font-size: 14px;
    font-weight: 800;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tikuu-saved-email {
    margin-top: 2px;
    font-size: 12px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tikuu-saved-provider {
    font-size: 11px;
    font-weight: 700;
    color: #1877f2;
    white-space: nowrap;
}

.tikuu-saved-remove {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #888;
    font-size: 18px;
    cursor: pointer;
}

.tikuu-saved-remove:hover {
    background: #f0f0f0;
    color: #d00;
}

@media (prefers-reduced-motion: reduce) {
    .tikuu-splash-dots span {
        animation: none;
        opacity: .7;
    }

    #tikuuSplashScreen {
        transition: none;
    }
}

/* ============================================================
   TIKUU FINAL SPLASH + STATUS UX 2026-09-10
============================================================ */
#tikuuSplashScreen{background:#000!important;}
.tikuu-splash-inner{width:min(92vw,430px)!important;min-height:100%;padding:24px 18px;justify-content:center;}
.tikuu-splash-title{display:block!important;color:#fff!important;}
.tikuu-splash-welcome{display:block!important;visibility:visible!important;opacity:1!important;margin-bottom:24px;color:#fff!important;font-family:Arial,Helvetica,sans-serif;font-size:clamp(28px,7vw,38px);line-height:1.15;font-weight:800;text-align:center;}
#tikuuSplashLogo{display:block!important;visibility:visible!important;opacity:1!important;width:132px!important;height:132px!important;max-width:42vw!important;max-height:42vw!important;margin:0 0 26px!important;object-fit:contain!important;border-radius:22px;}
.tikuu-splash-dots{height:22px!important;gap:9px!important;margin:0!important;}
.tikuu-splash-dots span{width:10px!important;height:10px!important;}
.tikuu-splash-from{margin-top:24px!important;color:#777!important;font-size:15px!important;font-weight:600!important;letter-spacing:.04em!important;text-transform:none!important;}
@media(max-width:600px){.tikuu-splash-welcome{font-size:29px;}#tikuuSplashLogo{width:126px!important;height:126px!important;}}

#inboxStatusSection{background:#fff;color:#111;min-height:calc(100vh - 70px);overflow-y:auto;padding:0 0 90px!important;}
.tikuu-wa-status-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 12px;}
.tikuu-wa-status-top h2{margin:0;font-size:26px;line-height:1.1;font-weight:800;}
.tikuu-wa-status-top p{margin:5px 0 0;color:#737373;font-size:13px;}
.tikuu-wa-status-top-actions{display:flex;align-items:center;gap:5px;}
.tikuu-wa-status-top-actions button{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:25px;color:#111;background:transparent;}
.tikuu-wa-my-status{display:flex;align-items:center;gap:14px;padding:12px 18px 18px;border-bottom:1px solid #eee;}
.tikuu-wa-avatar-wrap{position:relative;width:62px;height:62px;min-width:62px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#00c853,#19d36b,#00a651);}
.tikuu-wa-avatar-wrap img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;background:#eee;border:2px solid #fff;}
.tikuu-wa-avatar-wrap.my{background:#e5e5e5;}
.tikuu-wa-plus{position:absolute;right:-2px;bottom:-2px;width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#00c853;color:#fff;border:2px solid #fff;font-size:21px;font-weight:700;line-height:1;}
.tikuu-wa-status-main-btn{display:flex;flex-direction:column;align-items:flex-start;flex:1;text-align:left;gap:4px;padding:5px 0;}
.tikuu-wa-status-main-btn strong{font-size:17px;font-weight:800;color:#111;}
.tikuu-wa-status-main-btn span{font-size:13px;color:#737373;}
.tikuu-wa-section-title{padding:18px 18px 10px;color:#777;font-size:14px;font-weight:700;}
#tikuuStatusList{display:flex!important;flex-direction:column!important;gap:0!important;padding:0 8px 20px;}
.tikuu-wa-status-card{width:100%;display:flex;align-items:center;gap:13px;padding:11px 10px;border-radius:12px;background:#fff;color:#111;border:0;text-align:left;cursor:pointer;}
.tikuu-wa-status-card:active{background:#f2f2f2;}
.tikuu-wa-avatar-ring{width:58px;height:58px;min-width:58px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#00c853,#00d66b,#20b85a);}
.tikuu-wa-avatar-ring img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;background:#eee;border:2px solid #fff;}
.tikuu-wa-status-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;}
.tikuu-wa-status-name{font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tikuu-wa-status-time{font-size:13px;color:#777;}
.tikuu-wa-status-preview{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#eee;flex:none;}
.tikuu-wa-status-preview-text{width:48px;height:48px;border-radius:8px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;text-align:center;padding:4px;overflow:hidden;}
.tikuuStatusEmpty{min-height:190px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:7px!important;padding:30px!important;color:#777!important;background:#fff!important;}
.tikuuStatusComposer{margin:0 14px 12px!important;padding:14px!important;background:#f7f7f7!important;border:1px solid #e7e7e7;border-radius:16px!important;}
#tikuuStatusText{background:#fff!important;color:#111!important;border:1px solid #ddd!important;}
#cancelTikuuStatusBtn{background:#e7e7e7!important;color:#111!important;}
#publishTikuuStatusBtn{background:#00c853!important;color:#fff!important;}

#tikuuWhatsAppStatusViewer{position:fixed;inset:0;z-index:2147483647;display:none;background:#000;color:#fff;touch-action:none;}
#tikuuWhatsAppStatusViewer.show{display:block;}
.tikuu-wa-view-top{position:absolute;left:12px;right:12px;top:10px;z-index:5;}
.tikuu-wa-view-progress{display:flex;gap:4px;width:100%;height:3px;}
.tikuu-wa-view-progress i{flex:1;height:100%;background:rgba(255,255,255,.35);border-radius:3px;overflow:hidden;position:relative;}
.tikuu-wa-view-progress i b{position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left;}
.tikuu-wa-view-head{display:flex;align-items:center;gap:9px;margin-top:11px;}
.tikuu-wa-view-head img{width:40px;height:40px;border-radius:50%;object-fit:cover;}
.tikuu-wa-view-name{font-weight:800;font-size:15px;}
.tikuu-wa-view-time{font-size:11px;opacity:.7;margin-top:2px;}
.tikuu-wa-view-close{margin-left:auto;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:26px;}
#tikuuWhatsAppStatusContent{position:absolute;inset:70px 0 0;display:flex;align-items:center;justify-content:center;padding:20px;z-index:3;}
#tikuuWhatsAppStatusContent img,#tikuuWhatsAppStatusContent video{max-width:100%;max-height:88%;object-fit:contain;border-radius:14px;}
.tikuu-wa-view-text{max-width:90%;font-size:28px;line-height:1.35;text-align:center;white-space:pre-wrap;word-break:break-word;}
.tikuu-wa-view-audio{width:min(88vw,520px);}
.tikuu-wa-view-side{position:absolute;top:0;bottom:0;width:35%;z-index:4;border:0;background:transparent;}
#tikuuWhatsAppStatusPrev{left:0;}#tikuuWhatsAppStatusNext{right:0;}

/* ============================================================
   TIKUU FINAL APP PAGE DARK BACKGROUND FIX
   Added after all existing CSS so late white rules cannot
   override the active application pages.
============================================================ */

/* Main application pages */
#homePage.active,
#watchPage.active,
#uploadPage.active,
#postUploadPage.active,
#marketplacePage.active,
#productDetailsPage.active,
#productUploadPage.active,
#ordersPage.active,
#checkoutPage.active,
#cartPage.active,
#sellerDashboardPage.active,
#searchPage.active,
#profilePage.active,
#inboxPage.active,
#chatPage.active,
#callPage.active,
#tikuuLivePage.active,
#notificationPage.active,
#savedVideosPage.active,
#soundsPage.active,
#effectsPage.active {
    background:#000 !important;
    color:#fff !important;
}

/* Pages whose own layouts need a full viewport */
#watchPage.active,
#uploadPage.active,
#postUploadPage.active,
#marketplacePage.active,
#productDetailsPage.active,
#productUploadPage.active,
#ordersPage.active,
#checkoutPage.active,
#cartPage.active,
#sellerDashboardPage.active,
#searchPage.active,
#profilePage.active,
#inboxPage.active,
#chatPage.active,
#callPage.active,
#tikuuLivePage.active,
#notificationPage.active,
#savedVideosPage.active,
#soundsPage.active,
#effectsPage.active {
    min-height:100vh !important;
}

/* Force the page layer itself above generic .page white rules */
.page.active#homePage,
.page.active#watchPage,
.page.active#uploadPage,
.page.active#postUploadPage,
.page.active#marketplacePage,
.page.active#productDetailsPage,
.page.active#productUploadPage,
.page.active#ordersPage,
.page.active#checkoutPage,
.page.active#cartPage,
.page.active#sellerDashboardPage,
.page.active#searchPage,
.page.active#profilePage,
.page.active#inboxPage,
.page.active#chatPage,
.page.active#callPage,
.page.active#tikuuLivePage,
.page.active#notificationPage,
.page.active#savedVideosPage,
.page.active#soundsPage,
.page.active#effectsPage {
    background:#000 !important;
    color:#fff !important;
}

/* Keep the bottom navigation dark */
#bottomNav {
    background:#000 !important;
    color:#fff !important;
}

/* Prevent generic button rule from turning app-page buttons black */
#homePage.active button,
#watchPage.active button,
#uploadPage.active button,
#postUploadPage.active button,
#marketplacePage.active button,
#productDetailsPage.active button,
#productUploadPage.active button,
#ordersPage.active button,
#checkoutPage.active button,
#cartPage.active button,
#sellerDashboardPage.active button,
#searchPage.active button,
#profilePage.active button,
#inboxPage.active button,
#chatPage.active button,
#callPage.active button,
#tikuuLivePage.active button,
#notificationPage.active button,
#savedVideosPage.active button,
#soundsPage.active button,
#effectsPage.active button {
    color:#fff;
}

/* ============================================================
   TIKUU FINAL SETTINGS / LOGOUT VISIBILITY FIX
   ============================================================ */

#settingsMenu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 82vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99999 !important;
}

#settingsMenu.show .settings-group {
    display: block !important;
    visibility: visible !important;
}

#settingsMenu.show .settings-group button,
#settingsMenu.show .logout-btn,
#settingsMenu.show #logoutBtnMenu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#settingsMenu.show #logoutBtnMenu {
    width: 100% !important;
    min-height: 44px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 100000 !important;
}

/* ============================================================
   TIKUU LANGUAGE FIRST — SINGLE COLUMN DESIGN
   ============================================================ */

.tikuu-language-single-column {
    width: min(92vw, 430px) !important;
    max-width: 430px !important;

    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;

    gap: 10px !important;

    max-height: 62vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    margin: 16px auto !important;
    padding: 6px 8px 14px !important;

    box-sizing: border-box !important;

    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
}

.tikuu-language-single-column > * {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    flex: 0 0 auto !important;
    box-sizing: border-box !important;
}

.tikuu-language-single-column button,
.tikuu-language-single-column .language-btn,
.tikuu-language-single-column [data-lang],
.tikuu-language-single-column [data-language] {
    width: 100% !important;
    min-height: 48px !important;

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

    flex: 0 0 auto !important;

    padding: 12px 16px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    border-radius: 12px !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    cursor: pointer !important;

    font-size: 15px !important;
    line-height: 1.2 !important;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease !important;
}

.tikuu-language-single-column button:active,
.tikuu-language-single-column .language-btn:active {
    transform: scale(.98) !important;
}

.tikuu-language-single-column::-webkit-scrollbar {
    width: 5px !important;
}

.tikuu-language-single-column::-webkit-scrollbar-thumb {
    border-radius: 10px !important;
}

@media (max-width: 480px) {

    .tikuu-language-single-column {
        width: 92vw !important;
        max-height: 60vh !important;
        gap: 8px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .tikuu-language-single-column button,
    .tikuu-language-single-column .language-btn,
    .tikuu-language-single-column [data-lang],
    .tikuu-language-single-column [data-language] {
        min-height: 50px !important;
        padding: 13px 14px !important;
        font-size: 15px !important;
    }
}

/* ============================================================
   TIKUU ADVERTISING PAGE
   ============================================================ */

#advertisingPage.page.active,
.page.active#advertisingPage {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
  background: #fff !important;
  color: #111 !important;
  z-index: 10 !important;
}

.tikuu-advertising-page {
  box-sizing: border-box;
  padding: 16px;
  padding-bottom: 100px;
}

.tikuu-advertising-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tikuu-advertising-header h2 {
  margin: 0;
  font-size: 22px;
}

.tikuu-advertising-header p {
  margin: 4px 0 0;
  opacity: .7;
  font-size: 13px;
}

.tikuu-page-back-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #111;
  font-size: 22px;
  cursor: pointer;
}

.tikuu-advertising-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
}

.tikuu-advertising-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.tikuu-advertising-card label {
  display: block;
  margin: 13px 0 6px;
  font-weight: 600;
  font-size: 14px;
}

.tikuu-advertising-card input,
.tikuu-advertising-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  background: #fff;
  color: #111;
}

.tikuu-advertising-card textarea {
  resize: vertical;
}

.tikuu-advertising-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.advertisement-plan {
  border: 2px solid #ddd;
  border-radius: 13px;
  padding: 15px 10px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  color: #111;
}

.advertisement-plan strong,
.advertisement-plan span {
  display: block;
}

.advertisement-plan span {
  margin-top: 5px;
  font-size: 17px;
  font-weight: 700;
}

.advertisement-plan.selected {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}

.tikuu-advertising-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  padding: 14px;
  border-radius: 12px;
  background: #f5f5f5;
}

.tikuu-advertising-total strong {
  font-size: 21px;
}

.tikuu-advertising-publish-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.tikuu-advertising-payment-note {
  font-size: 12px;
  opacity: .65;
  line-height: 1.5;
  margin: 10px 0 0;
}

.tikuu-advertising-media-preview {
  margin-top: 10px;
  min-height: 10px;
}

.tikuu-advertising-media-preview img,
.tikuu-advertising-media-preview video {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
}

.tikuu-advertising-list {
  display: grid;
  gap: 10px;
}

.tikuu-ad-item {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
}

.tikuu-ad-item-title {
  font-weight: 700;
  margin-bottom: 5px;
}

.tikuu-ad-item-meta {
  font-size: 12px;
  opacity: .7;
}

.tikuu-ad-status {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 9px;
  border-radius: 20px;
  background: #eee;
  font-size: 12px;
  font-weight: 700;
}

.tikuu-advertising-profile-btn {
  border: 1px solid #ddd !important;
}

@media (max-width: 480px) {
  .tikuu-advertising-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tikuu-advertising-plans {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   TIKUU FINAL SETTINGS / HELP / REPORT CHILD PAGES
============================================================ */
.tikuu-detail-page{
    position:fixed !important;
    inset:0 !important;
    z-index:12000 !important;
    background:#fff !important;
    color:#111 !important;
    overflow-y:auto !important;
}
.tikuu-detail-header{
    position:sticky;
    top:0;
    z-index:2;
    height:64px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 16px;
    background:#fff;
    border-bottom:1px solid #e8e8e8;
}
.tikuu-detail-header button{
    width:42px;
    height:42px;
    border-radius:12px;
    background:#f2f2f2;
    color:#111;
    font-size:24px;
}
.tikuu-detail-header h2{
    margin:0;
    font-size:20px;
    font-weight:800;
}
.tikuu-detail-body{
    padding:18px 16px 40px;
    max-width:700px;
    margin:0 auto;
}
.tikuu-detail-intro{
    color:#666;
    line-height:1.55;
    margin:0 0 16px;
}
.tikuu-detail-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.tikuu-detail-list button{
    width:100%;
    min-height:56px;
    padding:13px 15px;
    text-align:left;
    border:1px solid #e3e3e3;
    border-radius:14px;
    background:#fafafa;
    color:#111;
    font-size:16px;
    font-weight:700;
}
.tikuu-detail-list button:active{transform:scale(.99);background:#f0f0f0}
.tikuu-detail-textarea{
    width:100%;
    min-height:180px;
    padding:14px;
    resize:vertical;
    border:1px solid #ddd !important;
    border-radius:14px;
    background:#fafafa;
    color:#111;
    font-size:16px;
    line-height:1.5;
}
.tikuu-detail-primary{
    width:100%;
    min-height:52px;
    margin-top:12px;
    border-radius:14px;
    background:#FE2C55;
    color:#fff;
    font-weight:800;
    font-size:16px;
}
.tikuu-detail-result{
    margin-top:14px;
    padding:12px;
    border-radius:12px;
    display:none;
    background:#eef8ee;
    color:#176b22;
}
.tikuu-help-article h3,
.tikuu-help-article h4{margin:0 0 10px}
.tikuu-help-article p{line-height:1.6;color:#333;margin:0 0 12px}
.tikuu-help-article ul{padding-left:22px;line-height:1.7}
.tikuu-help-article .tikuu-help-box{
    padding:14px;
    border-radius:14px;
    background:#f6f6f6;
    border:1px solid #e5e5e5;
    margin:12px 0;
}


/* ============================================================
   TIKUU FINAL CORE REPAIR 20260913
   CHAT / AUTH / ADVERTISING / CALL LIGHT UI
   ============================================================ */

/* ---------------- CHAT LIST ---------------- */

#inboxPage.tikuu-core-light-chat,
#inboxPage.tikuu-core-light-chat #inboxChatList,
#inboxPage.tikuu-core-light-chat-list {
    background: #ffffff !important;
    color: #111111 !important;
}

#inboxChatList.tikuu-core-light-chat-list {
    color: #111111 !important;
}

#inboxChatList .inboxChatCard.tikuu-core-light-chat-card {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 72px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #111111 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#inboxChatList
.inboxChatCard.tikuu-core-light-chat-card
.chatCardInfo.tikuu-core-light-chat-info {
    color: #111111 !important;
    background: transparent !important;
}

#inboxChatList
.inboxChatCard.tikuu-core-light-chat-card
.chatCardInfo h3 {
    color: #111111 !important;
}

#inboxChatList
.inboxChatCard.tikuu-core-light-chat-card
.chatCardInfo p {
    color: #666666 !important;
}

#inboxChatList
.inboxChatCard.tikuu-core-light-chat-card
img {
    background: #f2f2f2 !important;
}

/* ---------------- AUTH ---------------- */

#authPage,
#emailLoginPage,
#phoneLoginPage,
#registerPage {
    color: #111111 !important;
}

#authPage button,
#emailLoginPage button,
#phoneLoginPage button,
#registerPage button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* ---------------- ADVERTISING ---------------- */

#advertisingPage,
#advertisingPage * {
    box-sizing: border-box;
}

#advertisingPage {
    background: #ffffff !important;
    color: #111111 !important;
    pointer-events: auto !important;
}

#advertisingPage button,
#advertisingPage input,
#advertisingPage textarea,
#advertisingPage select,
#advertisingPage label {
    pointer-events: auto !important;
}

#advertisingPage button {
    cursor: pointer !important;
}

#advertisingPage .advertisement-plan {
    background: #ffffff !important;
    color: #111111 !important;
}

#advertisingPage input,
#advertisingPage textarea,
#advertisingPage select {
    background: #ffffff !important;
    color: #111111 !important;
}

/* ---------------- CALL UI ---------------- */

#callPage,
#callPage * {
    pointer-events: auto;
}

#localVideo,
#remoteVideo {
    max-width: 100%;
    background: #000000;
}

#chatVoiceCallBtn,
#chatVideoCallBtn,
#acceptCallBtn,
#acceptIncomingCallBtn,
#declineCallBtn,
#declineIncomingCallBtn,
#endCallBtn {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* ---------------- KEYBOARD / TEXT INPUTS ---------------- */

input,
textarea,
[contenteditable="true"],
[contenteditable=""] {
    -webkit-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
    pointer-events: auto !important;
}


/* ============================================================
   TIKUU_SAFE_CORE_REPAIR_20260913
   LIGHT CHAT + CLICK SAFETY
   ============================================================ */

#inboxPage.tikuu-safe-light-inbox,
#inboxPage.tikuu-safe-light-inbox #chatSection,
#inboxPage.tikuu-safe-light-inbox #inboxChatList,
#inboxPage.tikuu-safe-light-inbox .inboxChatCard,
#inboxPage.tikuu-safe-light-inbox .chatCardInfo,
#inboxChatList.tikuu-safe-light-inbox,
.inboxChatCard.tikuu-safe-light-chat-card,
.tikuu-safe-light-chat {
    background: #ffffff !important;
    color: #111111 !important;
}

#inboxPage.tikuu-safe-light-inbox .inboxChatCard,
#inboxChatList.tikuu-safe-light-inbox .inboxChatCard {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-color: #e5e5e5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
}

#inboxPage.tikuu-safe-light-inbox
.inboxChatCard
*,
#inboxChatList.tikuu-safe-light-inbox
.inboxChatCard
* {
    color: #111111 !important;
}

#loginBtn,
#registerBtn,
#continuePhoneBtn,
#continueEmailBtn,
#googleLoginBtn,
#facebookLoginBtn,
#openRegisterBtn,
#chatVoiceCallBtn,
#chatVideoCallBtn,
#advertisingBtn,
#backAdvertisingBtn,
#createAdvertisementBtn {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

input,
textarea,
select,
[contenteditable="true"] {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -webkit-touch-callout: default !important;
}

#localVideo,
#remoteVideo {
    background: #000000 !important;
}


/* ============================================================
   TIKUU FINAL SAVED ACCOUNT MENU
============================================================ */

.tikuu-saved-account {
    position: relative !important;
    overflow: visible !important;
}

.tikuu-saved-menu-wrap {
    position: relative !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
}

.tikuu-saved-menu {
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    border-radius: 50% !important;
    font-size: 25px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.tikuu-saved-menu:active {
    transform: scale(.94);
}

.tikuu-saved-menu-popover {
    position: absolute !important;
    right: 0 !important;
    top: 42px !important;
    min-width: 210px !important;
    max-width: 280px !important;
    z-index: 999999 !important;
    padding: 6px !important;
    border-radius: 12px !important;
    background: var(--card-bg, #ffffff) !important;
    color: var(--text-color, #111111) !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.18) !important;
}

.tikuu-saved-menu-item {
    width: 100% !important;
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: inherit !important;
    text-align: left !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

.tikuu-saved-menu-item:active {
    transform: scale(.98);
}

.tikuu-saved-menu-danger {
    color: #d32f2f !important;
}


/* ===========================================================
   HOME VIDEO CARD META
   Likes + post age + views
=========================================================== */

#homePage .video-info{
    padding:8px;
    background:#fff;
    overflow:hidden;
}

#homePage .video-info > .creator{
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
    margin-bottom:4px;
}

#homePage .video-info .creator-avatar{
    width:24px;
    height:24px;
    flex:0 0 24px;
    border-radius:50%;
    object-fit:cover;
}

#homePage .video-info .creator-name{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12px;
    font-weight:700;
}

#homePage .video-info .caption{
    margin-top:2px;
    margin-bottom:5px;
    min-height:18px;
    font-size:12px;
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:2;
    line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

#homePage .video-footer{
    display:block;
    margin-top:3px;
}

#homePage .video-meta{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
    white-space:nowrap;
    overflow:hidden;
}

#homePage .video-meta .likes,
#homePage .video-meta .post-age,
#homePage .video-meta .views-count{
    display:flex;
    align-items:center;
    gap:3px;
    min-width:0;
    margin:0;
    font-size:10px;
    line-height:1.2;
    color:#666;
}

#homePage .video-meta .likes{
    color:#ff2d55;
    font-weight:600;
}

#homePage .video-meta .post-age{
    color:#777;
}

#homePage .video-meta .views-count{
    color:#777;
    overflow:hidden;
    text-overflow:ellipsis;
}

#homePage .video-meta i{
    font-size:10px;
    flex:0 0 auto;
}


/* ============================================================
   TIKUU PROFILE - TIKTOK STYLE STICKY HEADER + SCROLLING POSTS
   ============================================================ */

#profilePage{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    padding-bottom:90px;
    box-sizing:border-box;
}

/* Keep profile header visible while posts/grid scroll underneath */
#profilePage .profile-header,
#profilePage #profileHeader,
#profilePage .profile-top,
#profilePage .profileTop,
#profilePage .profile-info,
#profilePage .profileInfo{
    position:sticky !important;
    top:0 !important;
    z-index:100 !important;
    background:#000;
}

/* Profile content/posts remain inside the page scroll */
#profilePage .profile-posts,
#profilePage .profile-grid,
#profilePage .posts-grid,
#profilePage #profilePosts,
#profilePage #profileGrid{
    position:relative;
    z-index:1;
}

/* Prevent inner containers from creating a second scroll */
#profilePage .profile-content,
#profilePage .profile-body,
#profilePage .profile-main{
    overflow:visible !important;
}

/* Smooth mobile scrolling */
#profilePage{
    scrollbar-width:none;
}

#profilePage::-webkit-scrollbar{
    width:0;
    height:0;
}


/* TIKUU_SPONSORED_FRONTEND_V1_START */

.tikuu-sponsored-page {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  flex-direction: column;
  background: var(--tikuu-sponsored-bg, #ffffff);
  color: var(--tikuu-sponsored-text, #111111);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tikuu-sponsored-page.tikuu-sponsored-visible {
  display: flex;
}

.tikuu-sponsored-header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: inherit;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.tikuu-sponsored-back {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  color: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.tikuu-sponsored-title-wrap {
  min-width: 0;
}

.tikuu-sponsored-title-wrap h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.tikuu-sponsored-title-wrap p {
  margin: 3px 0 0;
  font-size: 12px;
  opacity: .65;
}

.tikuu-sponsored-content {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 18px 16px 40px;
  box-sizing: border-box;
}

.tikuu-sponsored-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tikuu-sponsored-type-card {
  min-height: 150px;
  padding: 18px 14px;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 18px;
  background: rgba(0,0,0,.025);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.tikuu-sponsored-type-card:active {
  transform: scale(.98);
}

.tikuu-sponsored-type-card.tikuu-sponsored-selected {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}

.tikuu-sponsored-type-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.tikuu-sponsored-type-card strong {
  display: block;
  font-size: 16px;
}

.tikuu-sponsored-type-card span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
  opacity: .65;
}

.tikuu-sponsored-composer {
  margin-top: 18px;
}

.tikuu-sponsored-section {
  margin-top: 16px;
}

.tikuu-sponsored-section label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.tikuu-sponsored-section input,
.tikuu-sponsored-section select {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 0 13px;
  background: inherit;
  color: inherit;
  font-size: 15px;
  outline: none;
}

.tikuu-sponsored-section input:focus,
.tikuu-sponsored-section select:focus {
  border-color: #111;
}

.tikuu-sponsored-money {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  overflow: hidden;
}

.tikuu-sponsored-money span {
  padding: 0 12px;
  font-weight: 800;
  opacity: .7;
}

.tikuu-sponsored-money input {
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 0 !important;
  flex: 1;
}

.tikuu-sponsored-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 15px;
  background: rgba(0,0,0,.045);
}

.tikuu-sponsored-preview-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0,0,0,.07);
  font-size: 22px;
}

.tikuu-sponsored-preview strong {
  display: block;
  font-size: 14px;
}

.tikuu-sponsored-preview p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: .65;
}

.tikuu-sponsored-summary {
  margin-top: 20px;
  padding: 14px;
  border-radius: 15px;
  background: rgba(0,0,0,.045);
}

.tikuu-sponsored-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 0;
}

.tikuu-sponsored-summary span {
  font-size: 13px;
  opacity: .65;
}

.tikuu-sponsored-summary strong {
  font-size: 13px;
  text-align: right;
}

.tikuu-sponsored-pay-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 15px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.tikuu-sponsored-pay-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.tikuu-sponsored-payment-message {
  min-height: 20px;
  margin: 10px 2px 0;
  font-size: 12px;
  text-align: center;
  opacity: .7;
}

@media (max-width: 520px) {
  .tikuu-sponsored-type-grid {
    grid-template-columns: 1fr;
  }

  .tikuu-sponsored-type-card {
    min-height: 125px;
  }
}

/* TIKUU_SPONSORED_FRONTEND_V1_END */


/* ============================================================
   TIKUU CREATOR TIPS + SUBSCRIPTION UI
   ============================================================ */

.tikuu-creator-support-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.tikuu-creator-support-modal.is-open {
  display: flex;
}

.tikuu-creator-support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(3px);
}

.tikuu-creator-support-sheet {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  max-height: 92vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: var(--background, #ffffff);
  color: var(--text-color, #111111);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.tikuu-support-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(127, 127, 127, 0.12);
  color: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.tikuu-support-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.tikuu-support-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #eeeeee;
}

#tikuuCreatorSupportTitle {
  margin: 14px 0 4px;
  font-size: 22px;
  font-weight: 800;
}

.tikuu-support-creator-name {
  margin: 0 0 18px;
  opacity: 0.68;
}

.tikuu-support-mode-tabs {
  display: flex;
  gap: 8px;
  padding: 5px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(127, 127, 127, 0.10);
}

.tikuu-support-mode {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tikuu-support-mode.active {
  background: var(--primary-color, #111111);
  color: #ffffff;
}

.tikuu-support-panel {
  display: block;
}

.tikuu-support-panel[hidden] {
  display: none;
}

.tikuu-support-description {
  margin: 0 0 15px;
  opacity: 0.72;
  font-size: 14px;
}

.tikuu-tip-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.tikuu-tip-amounts button,
.tikuu-subscription-option {
  min-height: 52px;
  border: 1px solid rgba(127, 127, 127, 0.25);
  border-radius: 14px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}

.tikuu-tip-amounts button:active,
.tikuu-subscription-option:active {
  transform: scale(0.98);
}

.tikuu-support-input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 0 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(127, 127, 127, 0.25);
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font-size: 16px;
  outline: none;
}

.tikuu-subscription-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.tikuu-subscription-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  text-align: left;
}

.tikuu-subscription-option span {
  opacity: 0.65;
  font-size: 13px;
}

.tikuu-subscription-option.active {
  border-color: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}

.tikuu-support-primary {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  background: var(--primary-color, #111111);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.tikuu-support-primary:disabled {
  opacity: 0.55;
  cursor: wait;
}

.tikuu-support-message {
  min-height: 20px;
  margin-top: 13px;
  font-size: 13px;
  opacity: 0.78;
}

@media (min-width: 700px) {
  .tikuu-creator-support-modal {
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }

  .tikuu-creator-support-sheet {
    border-radius: 26px;
  }
}


/* TIKUU GLOBAL CUSTOMER CURRENCY V2 */

.tikuu-support-currency-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 4px 0 8px;
  font-size: 12px;
  opacity: .8;
}

[data-tikuu-currency-label] {
  font-weight: 700;
}


/* ============================================================
 */
#watchPage > #watchContainer > .top-nav{
    display:flex !important;
}

/* ============================================================
   SETTINGS / PROFILE / GENERAL PAGE BOTTOM SAFETY
   ============================================================ */

/*
 * If a page itself scrolls, its final content must remain reachable.
 */
#app > .page{
    scrollbar-gutter:stable;
}

/*
 * Settings/logout safety.
 */
#settingsPage,
#profilePage,
#manageAccountPage,
#securityPage,
#languagePage,
#helpPage,
#helpCenterPage,
#reportProblemPage,
#aboutTikuuPage,
#privacyPage{
    padding-bottom:12px !important;
}

/*
 * Forms and long pages should never finish underneath the navbar.
 */
#app > .page form{
    padding-bottom:12px;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */

/*
 * Bottom navigation is hidden on authentication screens.
 * Therefore auth screens are allowed to use the full viewport.
 */
#authPage,
#phoneLoginPage,
#otpPage,
#emailLoginPage,
#registerPage,
#languageStartPage{
    bottom:0 !important;
}

/* ============================================================
   END GLOBAL PAGE VIEWPORT ARCHITECTURE
   ============================================================ */


/* TIKUU NAVBAR OVERLAY FIX V2 START */

/*
   IMPORTANT:
   - Does NOT change Home feed columns.
   - Does NOT change page widths.
   - Does NOT change page heights.
   - Does NOT change navbar colors.
   - Only reserves vertical space for the fixed bottom navbar.
*/

:root{
    --tikuu-bottom-nav-height:72px;
    --tikuu-bottom-nav-safe:calc(
        var(--tikuu-bottom-nav-height) +
        env(safe-area-inset-bottom, 0px)
    );
}

/*
   Every application page gets scroll protection.
   Padding is applied only at the bottom, so existing
   Home layout/grid remains untouched.
*/
#app > .page,
#app > [id$="Page"].page,
#app > .settings-page,
#app > [id$="Page"].settings-page{
    scroll-padding-bottom:var(--tikuu-bottom-nav-safe);
}

/*
   The actual visible page gets enough bottom space.
   This prevents the last button/text/card from hiding
   underneath #bottomNav.
*/
#app > .page.active,
#app > [id$="Page"].active,
#app > .settings-page.active,
#app > [id$="Page"].settings-page.active{
    padding-bottom:max(
        var(--tikuu-bottom-nav-safe),
        env(safe-area-inset-bottom, 0px)
    );
    box-sizing:border-box;
}

/*
   Inner scroll containers are protected too, but only
   when they already exist. No width/height changes.
*/
#app > .page.active [class*="scroll"],
#app > .page.active [class*="content"],
#app > .page.active [class*="list"],
#app > .page.active [class*="container"],
#app > .page.active [class*="body"]{
    scroll-padding-bottom:var(--tikuu-bottom-nav-safe);
}

/*
   Fixed navbar must remain above page content.
*/
#bottomNav{
    z-index:99999;
}

/*
   Keep clickable content above the navbar's occupied area.
*/
#app > .page.active{
    overflow-x:hidden;
}

/* TIKUU NAVBAR OVERLAY FIX V2 END */

/* ============================================================
   TIKUU WATCH PAGE — CLEAN SINGLE CSS SYSTEM
   Replaces the duplicated Watch CSS.
   ============================================================ */

#watchPage {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  z-index: 900 !important;
  box-sizing: border-box !important;
  background: #000 !important;
}

#watchPage *,
#watchPage *::before,
#watchPage *::after {
  box-sizing: border-box !important;
}

/* ------------------------------------------------------------
   TOP LIVE / STATUS
   ------------------------------------------------------------ */

#watchPage > #tikuuLiveStatusActions {
  position: absolute !important;
  top: max(8px, env(safe-area-inset-top)) !important;
  left: 10px !important;
  right: 10px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 960 !important;
  pointer-events: auto !important;
}



#watchPage > #tikuuLiveStatusActions button {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 44px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 44px !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
  background: transparent !important;
}


/* WATCH: Status belongs to Inbox, never Watch */
#watchPage #tikuuWatchStatusBtn {
  display: none !important;
}

/* ------------------------------------------------------------
   WATCH CONTAINER
   ------------------------------------------------------------ */

#watchPage > #watchContainer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  z-index: 910 !important;
}

/* ------------------------------------------------------------
   VIDEO / IMAGE
   ------------------------------------------------------------ */

#watchPage > #watchContainer > #activeVideo,
#watchPage > #watchContainer > #activeImage,
#watchPage #watchVideo,
#watchPage #watchImage {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  transform: translate(-50%, -50%) !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  border: 0 !important;
  z-index: 1 !important;
}

/* ------------------------------------------------------------
   TOP CONTENT / CREATOR INFORMATION
   ------------------------------------------------------------ */

#watchPage > #watchContainer > #watchInfo {
  position: absolute !important;
  top: auto !important;
  left: 12px !important;
  right: 82px !important;
  bottom: calc(154px + env(safe-area-inset-bottom)) !important;
  width: auto !important;
  max-width: calc(100% - 94px) !important;
  margin: 0 !important;
  padding: 0 4px !important;
  z-index: 955 !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  pointer-events: auto !important;
}

#watchPage > #watchContainer > #watchInfo h3,
#watchPage > #watchContainer > #watchInfo p,
#watchPage > #watchContainer > #watchInfo div {
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
}

#watchPage > #watchContainer > #watchInfo #videoUser {
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 21px !important;
  margin-bottom: 4px !important;
}

#watchPage > #watchContainer > #watchInfo #videoCaption {
  font-size: 14px !important;
  line-height: 19px !important;
  font-weight: 600 !important;
  max-height: 57px !important;
  overflow: hidden !important;
  margin-bottom: 4px !important;
}

#watchPage > #watchContainer > #watchInfo #videoMusic {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 3px !important;
}

#watchPage > #watchContainer > #watchInfo #videoViews {
  font-size: 12px !important;
  line-height: 17px !important;
  opacity: .9 !important;
  margin-bottom: 0 !important;
}

/* ------------------------------------------------------------
   RIGHT / LOWER ACTION AREA
   ------------------------------------------------------------ */

#watchPage > #watchContainer > #watchActions {
  position: absolute !important;
  right: 8px !important;
  left: auto !important;
  top: auto !important;
  bottom: calc(82px + env(safe-area-inset-bottom)) !important;
  width: 66px !important;
  max-width: 66px !important;
  height: auto !important;
  max-height: calc(100dvh - 180px) !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  overflow: visible !important;
  z-index: 970 !important;
  background: transparent !important;
  border: 0 !important;
}

/* Creator profile */
#watchPage #watchActions .profile-box {
  width: 54px !important;
  min-width: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
}

#watchPage #watchActions #watchAvatar {
  display: block !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  background: #222 !important;
}

#watchPage #watchActions #watchFollowBtn {
  display: block !important;
  min-width: 50px !important;
  max-width: 58px !important;
  min-height: 24px !important;
  margin: 4px 0 0 !important;
  padding: 3px 6px !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 16px !important;
}

/* Like / Comment / Save / Share / Download */
#watchPage #watchActions .action {
  width: 58px !important;
  min-width: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
}

#watchPage #watchActions .action-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(0,0,0,.48) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
  cursor: pointer !important;
}

#watchPage #watchActions .action-btn i {
  display: block !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

#watchPage #watchActions .action > span {
  display: block !important;
  max-width: 58px !important;
  margin-top: 1px !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 15px !important;
  text-align: center !important;
  text-shadow: 0 1px 4px #000 !important;
}




/* Keep active states visible */
#watchPage #watchLikeBtn.liked,
#watchPage #watchSaveBtn.saved,
#watchPage #watchDownloadBtn.downloaded {
  background: rgba(255,255,255,.20) !important;
}

/* Music disc */
#watchPage #watchActions .musicDisc {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid rgba(255,255,255,.9) !important;
  background: #222 !important;
}

#watchPage #watchActions .musicDisc #musicCover,
#watchPage #watchActions .musicDisc img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* ------------------------------------------------------------
   TIPS / SUBSCRIPTION / SPONSORED ACTIONS
   ------------------------------------------------------------ */


/* TIKUU WATCH MONETIZATION VISIBILITY FIX 2026-10-01 */

#watchPage #tikuuWatchMonetizationActions {
  position: fixed !important;
  left: 8px !important;
  right: 64px !important;
  bottom: calc(78px + env(safe-area-inset-bottom)) !important;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: auto !important;
  max-width: calc(100% - 72px) !important;
  min-height: 36px !important;

  margin: 0 !important;
  padding: 0 !important;

  box-sizing: border-box !important;
  overflow: visible !important;

  z-index: 1190 !important;
  pointer-events: auto !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-row {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;

  align-items: center !important;
  justify-content: flex-start !important;

  gap: 6px !important;
  width: 100% !important;
  min-height: 36px !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow-x: auto !important;
  overflow-y: visible !important;

  box-sizing: border-box !important;
  scrollbar-width: none !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-row::-webkit-scrollbar {
  display: none !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-btn {
  position: relative !important;

  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;

  flex: 0 0 auto !important;

  align-items: center !important;
  justify-content: center !important;

  min-width: max-content !important;
  min-height: 34px !important;

  margin: 0 !important;
  padding: 7px 10px !important;

  box-sizing: border-box !important;

  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 10px !important;

  background: rgba(0,0,0,.78) !important;
  color: #fff !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 18px !important;

  white-space: nowrap !important;
  text-align: center !important;

  z-index: 1191 !important;
  pointer-events: auto !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-btn:hover,
#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-btn:active {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 600px) {
  #watchPage #tikuuWatchMonetizationActions {
    position: fixed !important;
    left: 8px !important;
    right: 64px !important;
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;

    width: auto !important;
    max-width: calc(100% - 72px) !important;

    z-index: 1190 !important;
  }

  #watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-row {
    width: 100% !important;
    min-height: 36px !important;

    gap: 5px !important;

    overflow-x: auto !important;
    overflow-y: visible !important;
  }

  #watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-btn {
    min-height: 34px !important;
    padding: 6px 9px !important;

    font-size: 11px !important;
    line-height: 18px !important;
  }
}

/* TIKUU WATCH MONETIZATION VISIBILITY FIX END */



#watchPage #tikuuWatchMonetizationActions {
    left: 8px !important;
    right: 64px !important;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    max-width: calc(100% - 72px) !important;
  }

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-title {
  display: none !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  width: 100% !important;
  min-height: 36px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-row::-webkit-scrollbar {
  display: none !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 6px 9px !important;
  border: 0 !important;
  border-radius: 9px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-icon {
  margin-right: 3px !important;
}

#watchPage #tikuuWatchMonetizationActions .tikuu-watch-money-label {
  font-weight: 800 !important;
}

/* ------------------------------------------------------------
   PLAY / HEART OVERLAYS
   ------------------------------------------------------------ */

#watchPage #watchPlayOverlay,
#watchPage #watchHeartOverlay {
  z-index: 940 !important;
}

/* ------------------------------------------------------------
   PREVENT OLD NAV / CONTROLS FROM COVERING CONTENT
   ------------------------------------------------------------ */

#watchPage .top-nav {
  z-index: 965 !important;
}

#watchPage .bottom-nav,
#watchPage ~ .bottom-nav,
body > .bottom-nav {
  z-index: 1200 !important;
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {
#watchPage > #watchContainer > #watchActions {
    right: 5px !important;
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    width: 60px !important;
    max-width: 60px !important;
    gap: 7px !important;
  }

  #watchPage #watchActions .action {
    width: 54px !important;
    min-width: 54px !important;
  }

  #watchPage #watchActions .action-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  

/* Very small screens */
@media (max-width: 360px) {
  

/* ============================================================
   END TIKUU WATCH PAGE — CLEAN SINGLE CSS SYSTEM
   ============================================================ */


/* TIKUU_AUTH_LAYOUT_BRAND_V1_START */

/* =========================================================
   TIKUU AUTH BRAND
   BLUE + RED + GREEN
   Scoped ONLY to #authPage
========================================================= */

#authPage .auth-logo h1{
    background:linear-gradient(
        90deg,
        #1877F2 0%,
        #1877F2 33%,
        #FE2C55 33%,
        #FE2C55 66%,
        #16A34A 66%,
        #16A34A 100%
    );
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
}

/* =========================================================
   AUTH VERTICAL ORDER
   TITLE
   LOGIN / REGISTER
   SAVED ACCOUNT
   TERMS
========================================================= */

#authPage .auth-logo{
    order:1;
}

#authPage .auth-options{
    order:2;
}

#authPage #tikuuSavedAccounts{
    order:3 !important;
}

#authPage .auth-terms{
    order:4;
}

/* =========================================================
   SAVED ACCOUNT MUST NOT BE POSITIONED ABOVE AUTH OPTIONS
========================================================= */

#authPage #tikuuSavedAccounts{
    position:static !important;
    inset:auto !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    transform:none !important;
    float:none !important;
}

/* TIKUU_AUTH_LAYOUT_BRAND_V1_END */







/* TIKUU CALL SCREEN DESIGN V1 */

/* TIKUU CALL SCREEN DESIGN V1 */
#callPage.tikuu-voice-mode,
#callPage.tikuu-video-mode {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    background: #080d12 !important;
    z-index: 1000000 !important;
    isolation: isolate;
}

#callPage.tikuu-voice-mode #remoteVideo,
#callPage.tikuu-voice-mode #localVideo {
    display: none !important;
}

#callPage.tikuu-voice-mode #callAvatarContainer {
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    top: 42% !important;
    transform: translate(-50%, -50%) !important;
    width: min(48vw, 190px) !important;
    height: min(48vw, 190px) !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 3 !important;
}

#callPage.tikuu-voice-mode #callPhoto {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

#callPage.tikuu-voice-mode #callName {
    position: absolute !important;
    top: calc(42% + min(25vw, 105px)) !important;
    left: 12px !important;
    right: 12px !important;
    margin: 0 !important;
    text-align: center !important;
    color: #fff !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    z-index: 4 !important;
    text-shadow: 0 2px 5px #000 !important;
}

#callPage.tikuu-voice-mode #callStatus {
    position: absolute !important;
    top: calc(42% + min(25vw, 105px) + 38px) !important;
    left: 12px !important;
    right: 12px !important;
    margin: 0 !important;
    text-align: center !important;
    color: #d4dce4 !important;
    font-size: 16px !important;
    z-index: 4 !important;
}

#callPage.tikuu-voice-mode #callTimer {
    position: absolute !important;
    top: calc(42% + min(25vw, 105px) + 66px) !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    color: #fff !important;
    z-index: 4 !important;
}

#callPage.tikuu-video-mode #callAvatarContainer {
    display: none !important;
}

#callPage.tikuu-video-mode #localVideo,
#callPage.tikuu-video-mode #remoteVideo {
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    background: #080d12 !important;
    border: 0 !important;
}

#callPage.tikuu-video-mode:not(.tikuu-remote-active) #remoteVideo {
    display: none !important;
}

#callPage.tikuu-video-mode:not(.tikuu-remote-active) #localVideo {
    display: block !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    z-index: 1 !important;
}

#callPage.tikuu-video-mode.tikuu-remote-active #remoteVideo {
    display: block !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    z-index: 1 !important;
}

#callPage.tikuu-video-mode.tikuu-remote-active #localVideo {
    display: block !important;
    top: max(24px, env(safe-area-inset-top)) !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    width: clamp(88px, 27vw, 125px) !important;
    height: clamp(125px, 38vw, 180px) !important;
    border-radius: 15px !important;
    border: 2px solid rgba(255,255,255,.85) !important;
    z-index: 5 !important;
    box-shadow: 0 3px 14px rgba(0,0,0,.45) !important;
}

#callPage.tikuu-video-mode #callTypeLabel {
    position: absolute !important;
    top: max(12px, env(safe-area-inset-top)) !important;
    left: 12px !important;
    z-index: 7 !important;
    color: #fff !important;
    text-shadow: 0 2px 5px #000 !important;
}

#callPage.tikuu-video-mode #callName,
#callPage.tikuu-video-mode #callStatus {
    position: absolute !important;
    top: auto !important;
    left: 12px !important;
    right: 145px !important;
    bottom: calc(105px + env(safe-area-inset-bottom)) !important;
    z-index: 7 !important;
    color: #fff !important;
    text-shadow: 0 2px 5px #000 !important;
}

#callPage.tikuu-video-mode #callStatus {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
}

#callPage .call-top {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 8 !important;
    pointer-events: none;
}

#callPage .call-top button {
    pointer-events: auto;
}

#callPage .call-controls {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: max(22px, env(safe-area-inset-bottom)) !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(9px, 3vw, 20px) !important;
    padding: 12px !important;
}

#callPage .call-controls button {
    flex-shrink: 0 !important;
    touch-action: manipulation;
}

@media (orientation: landscape) {
    #callPage.tikuu-voice-mode #callAvatarContainer {
        top: 38% !important;
        width: min(35vh, 160px) !important;
        height: min(35vh, 160px) !important;
    }

    #callPage.tikuu-voice-mode #callName {
        top: calc(38% + min(18vh, 85px)) !important;
    }

    #callPage.tikuu-voice-mode #callStatus {
        top: calc(38% + min(18vh, 85px) + 35px) !important;
    }
}



/* TIKUU_CALL_UI_CLEANUP_POLISH_V1 */
#callPage {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    z-index: 2147483000 !important;
}

#callPage img {
    max-width: 100%;
}

#callPage img.tikuu-call-avatar-failed {
    display: none !important;
}

#callPage .tikuu-call-avatar-placeholder {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    border-radius: 50% !important;
    background: #292929 !important;
    color: white !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    overflow: hidden !important;
}

#callPage .tikuu-call-controls-fixed {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: max(22px, env(safe-area-inset-bottom)) !important;
    z-index: 2147483647 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
}

#callPage .tikuu-call-controls-fixed button {
    flex: 0 0 auto !important;
    min-width: 76px !important;
    min-height: 76px !important;
    max-width: 112px !important;
    max-height: 112px !important;
    border-radius: 50% !important;
    visibility: visible !important;
    opacity: 1 !important;
}



/* TIKUU CROSS-DEVICE CALL CONTROLS */
#callPage,
#callPage * {
    box-sizing: border-box;
}

#callPage .call-controls,
#callPage .tikuu-call-controls-fixed {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: clamp(8px, 2vw, 16px) !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px max(12px, env(safe-area-inset-right))
             max(18px, env(safe-area-inset-bottom))
             max(12px, env(safe-area-inset-left)) !important;
}

#callPage .call-controls button,
#callPage .tikuu-call-controls-fixed button {
    flex: 0 1 auto !important;
    width: clamp(48px, 6vw, 68px) !important;
    min-width: 48px !important;
    max-width: 68px !important;
    height: clamp(48px, 6vw, 68px) !important;
    min-height: 48px !important;
    max-height: 68px !important;
    padding: 0 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

#callPage video {
    max-width: 100%;
}

#callPage #remoteVideo {
    object-fit: cover !important;
}

#callPage #localVideo {
    object-fit: cover !important;
}

@media (max-width: 520px) {
    #callPage .call-controls,
    #callPage .tikuu-call-controls-fixed {
        gap: 8px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #callPage .call-controls button,
    #callPage .tikuu-call-controls-fixed button {
        width: 50px !important;
        min-width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
    }
}

@media (max-width: 360px) {
    #callPage .call-controls,
    #callPage .tikuu-call-controls-fixed {
        gap: 5px !important;
    }

    #callPage .call-controls button,
    #callPage .tikuu-call-controls-fixed button {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
    }
}

@media (min-width: 700px) {
    #callPage .call-controls,
    #callPage .tikuu-call-controls-fixed {
        gap: 18px !important;
    }

    #callPage .call-controls button,
    #callPage .tikuu-call-controls-fixed button {
        width: 60px !important;
        min-width: 60px !important;
        height: 60px !important;
        min-height: 60px !important;
    }
}


/* TIKUU_SPLASH_NO_PARTIAL_PAINT_V12 */


#tikuuSplashScreen.tikuu-splash-ready:not(.tikuu-splash-hidden) {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#tikuuSplashScreen.tikuu-splash-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* TIKUU_FIRST_LANGUAGE_WAIT_FOR_STARTUP_V6 */
/* First Language stays hidden until finishStartup authorizes it. */
body:not(.tikuu-first-launch-ready) #languageStartPage {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.tikuu-first-launch-ready #languageStartPage {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}


/* TIKUU_SINGLE_STARTUP_AUTH_FLASH_V9 */
/* Prevent Login/Register from flashing before the existing
   finishStartup() has restored Firebase Auth and selected a page. */
body:not(.tikuu-startup-ui-ready) #authPage {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


/* Keep the startup background black while the complete splash
   waits for its logo/readiness signal. */
html:has(body:not(.tikuu-startup-ui-ready)),
body:not(.tikuu-startup-ui-ready) {
    background-color: #000 !important;
}

/* The splash itself must also have a black background. */
#tikuuSplashScreen {
    background-color: #000 !important;
}


/* TIKUU_HOME_VIDEO_GESTURES_V2 */

/* One video per vertical feed screen */
#homePage #feedContainer {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-snap-type: y mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: contain !important;
  padding: 8px !important;
  touch-action: pan-y !important;
}

#homePage #feedContainer > .video-card {
  position: relative !important;
  display: flex !important;
  flex: 0 0 calc(100dvh - 158px) !important;
  flex-direction: column !important;
  width: 100% !important;
  height: calc(100dvh - 158px) !important;
  min-height: 250px !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
  border-radius: 12px !important;
}

#homePage #feedContainer .video-media {
  position: relative !important;
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #000 !important;
}

/* Preserve the original video dimensions and proportions */
#homePage #feedContainer .video-media video,
#homePage #feedContainer .video-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* Keep creator and caption information visible below the media */
#homePage #feedContainer .video-info {
  position: relative !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-height: 105px !important;
  overflow: hidden !important;
  padding: 8px 10px !important;
  background: #fff !important;
}

#homePage #feedContainer .caption {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#homePage #feedContainer .video-card:active {
  transform: none !important;
}



/* ===========================================================
   TIKUU_HOME_WATCH_SINGLE_PAGE_V1
   Home header + embedded Watch interface + existing navbar.
   =========================================================== */

/* Keep Home as the single visible page. */
#homePage{
  position: relative !important;
}

/* Embedded Watch area begins below Home tabs/search header. */
#homePage > #watchPage{
  position: fixed !important;
  top: 112px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  z-index: 900 !important;
  background: #000 !important;
}



/* Keep the Watch video stage inside the available Home area. */
#homePage > #watchPage > #watchContainer{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Preserve intrinsic video size; never crop or stretch it. */
#homePage > #watchPage > #watchContainer > #activeVideo,
#homePage > #watchPage > #watchContainer > #activeImage{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  transform: translate(-50%, -50%) !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Information at the lower-left of the video. */
#homePage > #watchPage > #watchContainer > #watchInfo{
  bottom: 8px !important;
  left: 10px !important;
  right: 76px !important;
  max-width: calc(100% - 90px) !important;
}

/* Action rail at the lower-right, above the existing navbar. */
#homePage > #watchPage > #watchContainer > #watchActions{
  right: 5px !important;
  bottom: 5px !important;
  max-height: calc(100% - 10px) !important;
  gap: 5px !important;
}

/* Keep Home's existing bottom navigation above the video layer. */
#homePage .bottom-nav,
body > .bottom-nav{
  z-index: 1200 !important;
}

/* Hide normal Home cards only while the embedded Watch page is active. */
#homePage:has(> #watchPage.active) > #feedContainer{
  display: none !important;
}


/* TIKUU_TRUE_SINGLE_HOME_WATCH_V3 */
#homePage {
    position: relative;
}

#homePage #watchPage.watch-stage {
    display: block;
    position: relative;
    width: 100%;
    min-height: 55vh;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: #000;
}



#homePage #watchPage #activeVideo,
#homePage #watchPage #activeImage {
    max-width: 100%;
    max-height: calc(100dvh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
}

#homePage #watchPage #watchContainer {
    width: 100%;
    min-height: 55vh;
}

#bottomNav {
    z-index: 1000;
}


/* TIKUU LIVE BUTTON VISIBILITY FIX */
#homePage #watchPage #tikuuLiveStatusActions {
  display: flex !important;
  position: absolute !important;
  z-index: 10020 !important;
  top: max(10px, env(safe-area-inset-top)) !important;
  left: 10px !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

#homePage #watchPage #tikuuLiveStatusActions #tikuuLiveBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: #e6002d !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 3px 14px rgba(0,0,0,.35) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}


/* TIKUU_HOME_SEARCH_DISPLAY_V2 */
#searchBox .search-header {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
#searchBox #searchInput {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
}
#searchBox #closeSearchBtn {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}
#searchBox .search-tabs {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0 8px;
    padding: 6px 2px 10px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
#searchBox .search-tabs .search-tab {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer;
}
#searchBox .search-tabs .search-tab.active {
    font-weight: 700;
}
#searchBox #homeSearchResults {
    width: 100%;
    box-sizing: border-box;
    clear: both;
    max-height: 65vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
#searchBox[hidden] {
    display: none !important;
}




/* TIKUU_HOME_SEARCH_FIX_V3 */
#homePage.active #searchBox {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block;
    background: #fff !important;
    color: #111 !important;
    z-index: 10010 !important;
}

#homePage.active #searchBox .search-header {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#homePage.active #searchBox .search-tabs {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 44px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
}

#homePage.active #searchBox .search-tabs .search-tab {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 7px 12px !important;
    color: #222 !important;
    background: #f1f1f1 !important;
    border: 0 !important;
    border-radius: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#homePage.active #searchBox .search-tabs .search-tab.active {
    color: #fff !important;
    background: #111 !important;
}

#homePage.active #searchBox #homeSearchResults {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    background: #fff !important;
    color: #111 !important;
    padding: 10px 0 !important;
}

#homePage.active #searchBox #homeSearchResults .video-card {
    min-width: 0 !important;
    color: #111 !important;
}

#homePage.active #searchBox[hidden] {
    display: none !important;
}
