
/* --- 1. GAYA ASAS (ORANGE DEFAULT) --- */
body.theme-default { 
    background-color: #fff5e6 !important; 
    color: #5d4037 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 10px !important;
}



/* Gaya Kotak (Box) ala Facebook - Border Radius & Shadow */
.box {
    background: #ffffff !important;
    border: 1px solid #e0d8c3 !important; /* Border oren lembut */
    border-radius: 10px !important;
    padding: 15px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

/* Tajuk/Header dalam kotak */
.header-pink, .box b {
    display: block !important;
    margin-bottom: 8px !important;
    color: #8e5a26 !important; /* Warna oren lebih gelap untuk kontras */
    font-size: 15px !important;
    font-weight: 800 !important; /* Font lebih tebal */
    border-bottom: 1px solid #ffeacc !important;
    padding-bottom: 5px !important;
}

/* Butang & Menu (Facebook style buttons) */
a.btn-view-all, .menu-item, .box a {
    text-decoration: none !important;
    font-weight: 600 !important;
    color: #d35400 !important;
    transition: 0.2s !important;
}

a:hover {
    color: #e67e22 !important;
    text-decoration: underline !important;
}

/* Gaya Notifikasi */
.notif-box {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f9f0e0 !important;
    font-size: 14px !important;
}

.small-txt {
    color: #a08c7a !important;
    font-size: 12px !important;
}


/* --- 2. TEMA WARNA --- */
body.theme-red    { background-color: #ffebee !important; border: 2px solid #e57373; color: #b71c1c !important; }
body.theme-blue   { background-color: #e3f2fd !important; border: 2px solid; color: #0d47a1 !important; }
body.theme-purple { background-color: #f3e5f5 !important; color: #4a148c !important; }

/* --- WAP BOX --- */
.wap-box, .box { 
    background-color: #ffffff !important; 
    border: 2px solid #ffb74d !important; 
    margin: 5px; padding: 8px; border-radius: 5px; 
    color: #5d4037 !important;
}

/* Header & Link */
.header-pink { background-color: #f57c00 !important; color: #ffffff !important; padding: 5px; text-align: center; font-weight: bold; border-radius: 3px; margin: 5px; }
a { color: #f57c00 !important; font-weight: bold; text-decoration: none; }

/* --- TEMA UNTUK BOX & MENU --- */
body.theme-red .wap-box, body.theme-red .box { border: 2px solid #e57373 !important; }
body.theme-blue .wap-box, body.theme-blue .box { border: 2px solid #64b5f6 !important; }
body.theme-purple .wap-box, body.theme-purple .box { border: 2px solid #ba68c8 !important; }

.box b {
    display: block;
    background: #ffe0b2 !important;
    padding: 6px 10px;
    border-bottom: 1px solid #ffb74d;
    color: #5d4037 !important;
}



/* Gaya untuk Menu Tiga Titik */
.menu-container { position: relative; display: inline-block; }
.three-dots { cursor: pointer; font-size: 20px; color: #888; padding: 0 10px; }
.dropdown-menu { 
    display: none; position: absolute; right: 0; background: #fff; 
    border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 100; min-width: 80px;
}
.dropdown-menu a { display: block; padding: 8px 12px; text-decoration: none; color: #333; font-size: 0.9em; }
.dropdown-menu a:hover { background: #f0f0f0; }

/* --- SHOUTBOX --- */
.shoutbox { padding: 5px; background: #fff; }
.shout-item { display:flex; align-items:flex-start; padding: 8px; border-bottom: 1px solid #eee; width: 100%; box-sizing: border-box; }
.shout-item > div { width: 100%; word-wrap: break-word; overflow-wrap: break-word; word-break: break-word; white-space: normal; }
.shout-item:nth-child(even) { background: #f9f9f9; }

/* --- REACTION BOX --- */
.reaction-box {
    display: inline-block;
    float: right;
    background: #f1f8ff;
    border: 1px solid #cce6ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75em;
    margin-left: 10px;
}

.shoutbox a { text-decoration: none; color: #007bff; }
.btn-view-all { display:block; text-align:center; padding:8px; background:#f4f4f4; text-decoration:none; border-radius:0; font-weight:bold; color:#333; border-top: 1px solid #eee; }

.btn-like {
    display: inline-block;
    padding: 6px 16px;
    background-color: #e7f3ff;
    color: #1877f2;
    border: 1px solid #1877f2;
    border-radius: 1px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

/* Kesan apabila kursor di atas butang */
.btn-like:hover {
    background-color: #dbe7f2 !important;
    border-color: #166fe5;
}

/* Kesan apabila butang ditekan (Active) */
.btn-like:active {
    transform: scale(0.96);
}

.stats-box {
        text-align: center;
        padding: 10px;
        line-height: 1.5;
    }
    .stats-item {
        margin: 5px 0;
        font-size: 0.95em;
    }
    .highlight { font-weight: bold; color: #000; }

.btn-action {
    font-size: 11px !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.2s;
    border: none !important;
    cursor: pointer;
    /* Tambahan Shadow pada teks dan butang */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Container untuk kesan animated border */
.border-animation-wrapper {
    position: relative;
    width: 144px; /* Sedikit besar dari gambar */
    height: 144px;
    padding: 3px; /* Jarak antara border dan gambar */
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    /* Ini adalah 'enjin' animasi */
    background: conic-gradient(from 0deg, #ff69b4, #00ffff, #ff69b4);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Penutup untuk menutupi bahagian tengah yang tidak diperlukan */
.border-inner {
    width: 100%;
    height: 100%;
    background: transparent; /* Warna latar belakang profil anda */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- CSS untuk Sistem Neon Glow --- */

/* 1. Kelas Default (Jika tiada neon) */
.nama-biasa {
    color: inherit;
}

/* 2. Neon Pink (Standard) */
.nama-neon {
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px #ff00de, 0 0 10px #ff00de, 0 0 20px #ff00de, 0 0 40px #ff00de;
    animation: neon-pulse-pink 1.5s infinite alternate;
}

/* 3. Neon Biru */
.nama-neon-biru {
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px #00d4ff, 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff;
    animation: neon-pulse-blue 1.5s infinite alternate;
}

/* 4. Neon Hijau */
.nama-neon-hijau {
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14, 0 0 20px #39ff14, 0 0 40px #39ff14;
    animation: neon-pulse-green 1.5s infinite alternate;
}

/* Animasi Kelipan Lembut (Pulse) */
@keyframes neon-pulse-pink { from { opacity: 0.8; } to { opacity: 1; } }
@keyframes neon-pulse-blue { from { opacity: 0.8; } to { opacity: 1; } }
@keyframes neon-pulse-green { from { opacity: 0.8; } to { opacity: 1; } }

/* --- BOX & MENU --- */
.box { border: 1px solid #99ccee; background: #ffffff; margin-bottom: 4px; padding: 0; overflow: hidden; }
.box b { display: block; background: #e1f0fa; padding: 5px; border-bottom: 1px solid #99ccee; color: #333333; font-size: 0.95em; font-weight: bold; text-transform: capitalize; }
.menu-item { display: block; padding: 10px; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: #444; font-weight: 500; }
.menu-item:hover { background: #f7fbfe; }

/* --- DARK MODE (TAMBAHAN) --- */
.dark-mode, body.dark-mode { background-color: #121212 !important; color: #e0e0e0 !important; }
.dark-mode .wap-box, .dark-mode .box { background-color: #1e1e1e !important; border-color: #333 !important; color: #e0e0e0 !important; }
.dark-mode .box b { background: #333 !important; color: #fff !important; border-bottom: 1px solid #444; }
.dark-mode a { color: #81d4fa !important; }
.dark-mode .header-pink { background-color: #880e4f !important; color: #fff !important; }
.dark-mode .shout-item:nth-child(even), .dark-mode .menu-item:nth-child(even) { background: #252525 !important; }
.dark-mode .btn-like { background-color: #1e3a5f !important; color: #81d4fa !important; border: 1px solid #81d4fa; }
.dark-mode .menu-item { color: #bbb; border-bottom: 1px solid #333; }
.dark-mode .menu-item:hover { background: #2a2a2a; }
.dark-mode .reaction-box { background: #1e3a5f; border: 1px solid #81d4fa; }
.dark-mode .shoutbox { background: #1e1e1e !important; }

/* --- TEMA NEED FOR SPEED (Override Sahaja) --- */
.theme-nfs {
    background: #000 url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRxM3qhFjTMMMSpIBQYZtp2-5UuNnJjKbFmobU1jE36iQ&s=10') no-repeat center center fixed;
    background-size: cover !important;
}

.theme-nfs .box {
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid #00d4ff !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

.theme-nfs .header-gradient {
    background: linear-gradient(90deg, #00d4ff, #0055ff) !important;
    color: #fff !important;
    text-shadow: 1px 1px 2px #000;
    border-radius: 5px;
}

.theme-nfs .menu-item {
    color: #00d4ff !important;
    font-weight: bold;
}

/* Menggunakan Ikon Switch untuk pautan (Contoh: Butang Enter Shoutbox) */
.theme-nfs .btn-view-all {
    display: block;
    width: 150px;
    margin: 10px auto;
    padding: 10px;
    background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRt_DW-xOM07odyIpManqq3H0fRrCVR6-4Te6wMKUGG_w&s=10') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* --- TEMA NFS: SHOUTBOX RACING STYLE --- */
.theme-nfs .shoutbox {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid #00d4ff !important;
    border-radius: 5px;
    padding: 10px;
    box-shadow: inset 0 0 10px #00d4ff;
}

/* Gaya item mesej supaya nampak seperti log/data */
.theme-nfs .shout-item {
    border-bottom: 1px solid #333 !important;
    padding: 8px !important;
    font-family: 'Courier New', monospace; /* Font gaya digital/data */
    color: #00d4ff !important;
}

/* Gaya Reaction Box (Butang Reaksi) */
.theme-nfs .reaction-box {
    background: #1a1a1a;
    border: 1px solid #555;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 15px;
    font-size: 0.8em;
    margin-top: 5px;
}

/* Mengubah Butang Edit/Delete kepada butang Metal Switch */
.theme-nfs .btn-action {
    background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRt_DW-xOM07odyIpManqq3H0fRrCVR6-4Te6wMKUGG_w&s=10') no-repeat center center !important;
    background-size: contain !important;
    width: 60px;
    height: 20px;
    display: inline-block;
    text-indent: -9999px; /* Sembunyi teks asal */
    border: none !important;
}

/* --- TEMA RAINBOW --- */
.theme-rainbow {
    background-color: #000;
}
.theme-rainbow .box {

    background: #1a1a1a !important;
    border: 3px solid transparent !important;
    border-image: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) 1 !important;
    color: #fff !important;
    border-radius: 5px !important;
    margin-bottom: 10px !important;
}

/* Memastikan teks dalam box rainbow berwarna putih */
.theme-rainbow .box b, 
.theme-rainbow .wap-box {
    background: transparent !important;
    color: #fff !important;
    border-bottom: 1px solid #444 !important;
}

.theme-rainbow a {
    color: #00ffff !important;
}
/* --- UJIAN KHAS: SHOUTBOX RAINBOW --- */
/* Memaksa latar belakang kawasan shoutbox menjadi hitam */
.theme-rainbow .shoutbox {
    background-color: #000 !important; 
    padding: 10px !important;
    border-radius: 5px !important;
}

/* Menambah border pelangi bergerak pada shoutbox */
.theme-rainbow .shoutbox {
    border: 4px solid transparent !important;
    /* Ini adalah 'enjin' animasi border pelangi */
    border-image: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) 1 !important;
    animation: rainbow-border 3s linear infinite !important;
}

/* Animasi border bergerak */
@keyframes rainbow-border {
    100% { border-image-source: linear-gradient(450deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3); }
}
/* --- KESERAGAMAN SHOUT ITEM (TEMA RAINBOW) --- */
.theme-rainbow .shout-item {
    background-color: #252525 !important; /* Warna kelabu gelap sekata */
    border-bottom: 1px solid #444 !important;
    padding: 10px !important;
    margin-bottom: 5px !important;
    border-radius: 8px !important;
    color: #fff !important;
}
.theme-rainbow .header-gradient {
    /* Background pelangi */
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) !important;
    
    /* Saiz background untuk kesan animasi */
    background-size: 400% 400% !important;
    
    /* Animasi pergerakan pelangi */
    animation: rainbow-move 5s ease infinite;
    
    color: #fff !important;
    text-shadow: 1px 1px 2px #000;
    border-radius: 5px;
    padding: 10px; /* Tambahkan sedikit padding jika perlu */
}

/* Definisi animasi */
@keyframes rainbow-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Memastikan gambar profil dalam shoutbox seragam */
.theme-rainbow .shout-item img {
    border: 2px solid #00ffff !important;
}

/* Memastikan kotak like/reaction dalam shoutbox nampak kemas */
.theme-rainbow .reaction-box {
    background: #000 !important;
    border: 1px solid #555 !important;
    color: #fff !important;
}

/* Memastikan pautan (nama user) nampak jelas */
.theme-rainbow .shout-item a {
    color: #ff00de !important; /* Pink neon untuk nama user */
    text-decoration: none !important;
}

/* Memastikan mesej shoutbox putih */
.theme-rainbow .shout-item div {
    color: #e0e0e0 !important;
}

.theme-capybara {
    /* Guna URL gambar yang tetap (di sini saya letak contoh sahaja) */
    background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQzyBdbr2miObheR6kSOISAXQNMpO0TlUET5jXaZYG3tA&s=10') no-repeat center center fixed !important;
    background-size: cover !important;
    color: #4e342e !important;
}

/* Kotak-kotak tema Capybara dengan efek 'Soft Glassmorphism' */
.theme-capybara .wap-box, 
.theme-capybara .box, 
.theme-capybara .shout-item {
    background-color: rgba(255, 251, 240, 0.9) !important;
    border: 1px solid #d7ccc8 !important;
    box-shadow: 0 4px 6px rgba(121, 85, 72, 0.1) !important;
    color: #4e342e !important;
    border-radius: 12px !important;
    padding: 10px !important;
    margin-bottom: 8px !important;
}

/* Header yang lebih elegan */
.theme-capybara .header-pink {
    background: linear-gradient(to right, #d7ccc8, #bcaaa4) !important;
    color: #3e2723 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

/* Link dan butang dengan kesan interaktif */
.theme-capybara a {
    color: #8d6e63 !important; /* Coklat tanah yang menenangkan */
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.theme-capybara a:hover {
    color: #5d4037 !important;
    text-shadow: 0 0 5px rgba(141, 110, 99, 0.3);
}

.theme-capybara .btn-like {
    background: #8d6e63 !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 5px 15px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Memberikan border profil sedikit lebih unik */
.theme-capybara .profile-img {
    border: 4px solid #fff !important;
    box-shadow: 0 0 15px rgba(141, 110, 99, 0.4);
}

/* --- TETAPAN ASAS (GLOBAL) --- */
body { background: #f0f2f5; font-family: Helvetica, Arial, sans-serif; margin: 0; padding: 0; }

.gallery-wrapper { 
    max-width: 600px; 
    margin: 10px auto; 
    padding: 10px; 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
}

/* --- GRID & CARD --- */
.gallery-grid { display: flex; flex-direction: column; gap: 20px; }

.photo-card { 
    background: #fff; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    overflow: hidden; 
}

/* --- SAIZ GAMBAR (Dikecilkan sedikit) --- */
.gallery-img { 
    width: 90%;            /* Gambar tidak memenuhi skrin sepenuhnya */
    height: auto; 
    display: block; 
    margin: 15px auto;     /* Ruang di atas/bawah & center kiri/kanan */
    border-radius: 4px; 
}

/* --- ACTIONS & COMMENTS --- */
.photo-actions { padding: 10px 15px; border-bottom: 1px solid #eee; }
.comments-section { padding: 10px; font-size: 14px; }
.comments-list { max-height: 150px; overflow-y: auto; margin-bottom: 10px; }
.comment-form { display: flex; gap: 5px; margin-top: 10px; }
.comment-form input { 
    width: 100%; 
    padding: 8px; 
    border: 1px solid #ddd; 
    border-radius: 20px; 
    background: #f0f2f5; 
}

/* --- MOBILE VIEW --- */
@media (max-width: 280px) {
    .gallery-wrapper { 
        border-radius: 0; 
        margin: 0; 
        box-shadow: none; 
    }
    .photo-card { 
        border-radius: 0; 
        border-left: none; 
        border-right: none; 
    }


/* Layout untuk kotak komen dan butang */
.comment-form-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.comment-form-wrapper input[type="text"] {
    flex: 1; /* Kotak teks akan memenuhi ruang yang ada */
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #f0f2f5;
}

.comment-form-wrapper button {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background-color: #1877f2;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
/* --- HELPER CLASSES --- */
.gallery-filter { text-align: center; padding: 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.not-friend-msg { font-size: 12px; color: #888; text-align: center; }
.btn-back { display: inline-block; padding: 10px; color: #1877f2; text-decoration: none; font-weight: bold; }

<style>
    /* ... kod sedia ada anda ... */

    /* Warna Penjual: Dipaksa menjadi hitam/kelabu gelap */
    .seller-name {
        color: #333 !important; 
        font-weight: bold;
    }

    /* Style Butang My Items (Shopee Style) */
    .my-items-btn {
        display: inline-block;
        padding: 12px 30px;
        background: #ff5722 !important; /* Warna Oren Shopee */
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: bold;
        font-size: 1em;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        transition: 0.3s;
        border: none;
    }
    .my-items-btn:hover {
        background: #e64a19 !important;
    }



/* Frame Emas Premium untuk VIP */
.vip-frame-gold {
    border: 4px solid #FFD700; /* Warna Emas */
    padding: 3px;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFD700, inset 0 0 5px #FFD700;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Sedikit kesan hover supaya nampak hidup */
.vip-frame-gold:hover {
    box-shadow: 0 0 20px #FFD700, inset 0 0 10px #FFD700;
    transform: scale(1.05);
}

.vip-badge-label {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #000;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 5px;
    vertical-align: middle;
}

.member-badge-label {
    background: #e0e0e0;
    color: #555;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 5px;
    vertical-align: middle;
}

.nick-gold{

font-weight:bold;

color:#FFD700!important;

text-shadow:
0 0 5px gold,
0 0 10px gold,
0 0 15px gold;

}

.nick-neon{

font-weight:bold;

text-shadow:
0 0 5px cyan,
0 0 10px cyan,
0 0 20px cyan;

}

.nick-fire{

font-weight:bold;

animation:fireGlow 1s infinite alternate;

}

@keyframes fireGlow{

0%{

color:#ff3300;

text-shadow:0 0 5px red;

}

100%{

color:#ffcc00;

text-shadow:0 0 15px orange;

}

}

/* ROYAL VIP NICK */
.shout-item a.nick-gold,
.shout-item a.nick-fire,
.shout-item a.nick-ice,
.shout-item a.nick-neon,
.shout-item a.nick-diamond,
.shout-item a.nick-rainbow,
.shout-item a.nick-glow{
    color: inherit !important;
}



