@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

:root {
    --apple-blue: #007AFF;
    --apple-tntt: #007AFF;
    --apple-green: #34C759;
    --bg-light: #ebebff;
	--series-color: #d99739;
	--memory-theme-color: #d00000;
	--links-theme-color: #000ad8; 
}

body {
    margin: 0;
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(225deg, #ffd2fd4a, #b6c9ffde);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

.profile-username,
.profile-desc-short,
.profile-desc-long {
    font-family: initial !important;
}

html, body { min-height: 100%; }
html[dir="ltr"] .sidebar { right: auto !important; left: -280px !important; }
html[dir="ltr"] .sidebar.open { left: 0 !important; right: auto !important; }
html[dir="rtl"] .sidebar { left: auto !important; right: -280px !important; }
html[dir="rtl"] .sidebar.open { right: 0 !important; left: auto !important; }
html[dir="ltr"] .top-bar { flex-direction: row-reverse; }
html[dir="rtl"] .top-bar { flex-direction: row-reverse; }
html[dir="ltr"] .onde_2 { flex-direction: row-reverse; }
html[dir="rtl"] .onde_2 { flex-direction: row-reverse; }

#anonModal ::-webkit-scrollbar, 
#anonMessagesList::-webkit-scrollbar { display: none;}
#anonMessagesList { -ms-overflow-style: none; scrollbar-width: none; }

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fbe7ff;
    border: 1px solid #0000ff;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.2s;
}

.dropdown-toggle .dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-toggle .dropdown-title span {
    font-weight: 600;
    font-size: 12.5px;
    color: #3a3a3c;
}

#drop-arrow {
    transition: 0.3s;
    transform: rotate(0deg);
    font-size: 10px;
    color: #aeaeb2;
}

.edit-options {
    display: none;
    margin-top: 5px;
    padding: 8px;
    background: #fbfbfd;
    border-radius: 10px;
    border: 1px solid #f2f2f7;
}

.edit-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.edit-buttons button {
    border: 1px solid #efeff4;
    border-radius: 6px;
    font-size: 12px;
    background: #fff;
    color: #3a3a3c;
    font-weight: 700;
    padding: 5px;
}

.input-section {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #efeff4;
}

.edit-field-group {
    display: none;
}

.field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-wrapper input {
    width: 100%;
    padding: 8px;
    border: 1px solid #efeff4;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.field-wrapper button {
    width: 100%;
    padding: 8px;
    background: #34C759;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.link-menu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffe5e5;
    border: 1px solid #ff0000;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.2s;
}

.link-menu-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-menu-title span {
    font-weight: 600;
    font-size: 12.5px;
    color: #3a3a3c;
}

#link-menu-arrow {
    transition: 0.3s;
    transform: rotate(0deg);
    font-size: 10px;
    color: #aeaeb2;
}

.link-options-wrapper {
    display: none;
    margin-top: 5px;
    padding: 8px;
    background: #fbfbfd;
    border-radius: 10px;
    border: 1px solid #f2f2f7;
}

.link-input-group {
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
}

.link-input-group input {
    flex: 1;
    min-width: 0;
    padding: 7px;
    border: 1px solid #efeff4;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    background: #fff;
    box-sizing: border-box;
}

#btnSaveLink, #btnCopyLink {
    height: 32px;
    width: 35px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

#btnSaveLink {
    background: #34C759;
    color: #fff;
}

#btnCopyLink {
    background: #FF3B30;
    color: #fff;
}

#copy-ok {
    visibility: hidden;
    position: absolute;
    font-size: 10px;
    top: -15px;
    color: #FF3B30;
}

#link_error_msg {
    display: none;
    font-size: 11px;
    color: #ff3b30;
    margin-top: 6px;
    font-weight: 600;
}

.account-container {
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.account-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.account-text {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.register-btn {
    display: inline-block;
    width: 200px;
    padding: 12px 0;
    margin-top: 20px;
    background: #007aff;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    font-family: inherit;
}

.login-wrapper {
    margin-top: 15px;
}

.login-btn {
    width: 200px;
    padding: 12px 0;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    font-family: inherit;
}

.legal-link-container {
    padding: 30px 10px 20px 10px;
    text-align: center;
}

.legal-link {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.legal-link:hover {
    color: #888;
}

.profile-avatar {
    position: relative;
    width: 75px;
    height: 75px;
    flex-shrink: 0;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    background: #007bff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-username {
    margin: 0;
    font-size: 25px;
    font-weight: 700;

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

.music-note {
    font-size: 30px;
	display: inline-block;
    color: #0095f6;         
    animation: musicFloat 1.2s ease-in-out infinite alternate;
}

.music-note:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.music-note:active {
    transform: scale(0.9);
    opacity: 0.6;
}

.music-note.playing {
    color: #AF52DE;
    transform: scale(1.15);
}

.profile-views {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(31, 5, 0, 0.45);
    padding: 1px 12px;
    border-radius: 20px;
    width: fit-content;
    margin: 0 auto;
}

.profile-views-icon {
    width: 14px;
    height: 14px;
}

.profile-views-count {
    font-weight: 800;
    color: #f0f0f0;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.profile-views-text {
    color: rgba(0, 0, 0, 0.5);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.profile-desc-container {
    padding: 5px 35px 10px 25px;
}

.profile-desc-short {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}

.profile-desc-long {
    color: #000000;
    margin: 2px 0 0 0;
    font-size: 14px;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

#btn_read_more {
    display: none;
    background: none;
    border: none;
    color: #0000ff;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    margin-top: 2px;
}


.profile-relations-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 10px;
    flex-wrap: wrap;
}

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

.profile-relations-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.profile-relations-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    position: relative;
}

.profile-relations-item .relation-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 8px;
    background: #fff;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.profile-relations-item span.relation-name {
    font-size: 11px;
    color: #444;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
}

.profile-relations-item span.delete-btn {
    color: #ff3b30;
    font-size: 12px;
    margin-right: 2px;
}

.profile-relations-item span.add-btn {
    font-size: 11px;
    color: #000000;
    border: 1px dashed #ddd;
    border-radius: 12px;
    padding: 2px 10px;
    font-family: 'Tajawal', sans-serif;
}

.profile-relations-divider {
    width: 1px;
    height: 12px;
    background: #eee;
}

.profile-relations-input-wrapper {
    padding: 0 15px;
    direction: rtl;
}

.profile-relations-input-box {
    display: none;
    margin-bottom: 8px;
}

.profile-relations-input-box .input-group {
    display: flex;
    gap: 5px;
    align-items: center;
    direction: ltr;
}

.profile-relations-input-box input {
    font-size: 10px;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 4px 8px;
    width: 130px;
    outline: none;
}

.profile-relations-input-box span.send-btn {
    font-size: 14px;
    color: #4cd964;
}


#btnAddDesc {
    width: 100%;
    height: 25px;
    background: #efefef;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.anon-btn-wrapper {
    padding: 10px 10px;
    margin-top: -15px;
}

#btnAnon {
    width: 100%;
    height: 25px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.2);
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
}


#birthBox {
    display: none;
    margin-bottom: 10px;
}

.btn-action {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-pink {
    background-color: #ff5e7a;
    color: #fff;
    border: none;
}

.btn-pink:hover {
    background-color: #ff3b30;
}

.btn-gray {
    background-color: #efefef;
    color: #333;
    border: none;
}

.btn-gray:hover {
    background-color: #ddd;
}

.birth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.badge-base.birth-badge {
    margin: 0;
    padding: 4px 10px;
    font-size: 12px;
    background-color: #f2f2f2;
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.badge-base.birth-badge:hover {
    background-color: #e0e0e0;
}


.profile-card { direction: <?= $cur_dir ?>; padding: 10px; }
.profile-row { display: flex; align-items: center; width: 100%; }
.profile-item { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 5px; }
.item-label { font-size: 12px; font-weight: bold; color: #666; white-space: nowrap; display: flex; align-items: center; gap: 3px; }
.divider { width: 1px; height: 20px; background: #eee; margin: 0 5px; }
.badge-base { margin-left: 5px; padding: 4px 8px; font-size: 11px; white-space: nowrap; border-radius: 8px; }
.status-badge { background: #fff; color: #3498db; border: 1px solid #3498db; }
.zodiac-badge { background: #fff; color: #9b59b6; border: 1px solid #9b59b6; }
.input-box { display: none; margin-top: 10px; position: relative; }

.suggest-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 200px;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
}
.suggest-item {
    padding: 10px;
    font-size: 12px;
    border-bottom: 1px solid #eee;
}


.card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.item-label {
    font-size: 13px;
    font-weight: bold;
    color: #1c1c1c;
    white-space: nowrap;
}

.badge-base {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 8px;
    background: transparent;
    transition: all 0.2s;
}

.btn-action { display: inline-flex; align-items: center; justify-content: center;}
.btn-blue { background-color: #3498db; color: #fff; border: none; border-radius: 6px; padding: 0 12px; height: 34px; transition: all 0.2s; }
.club-badge { border: 1px solid #3498db; color: #3498db; }
.char-badge { border: 1px solid #e67e22; color: #e67e22; }
.input-wrapper { display: none; padding: 10px 0; }

.suggest-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
}


#hobbyBox .btn-blue:hover { opacity: 0.7; background: rgba(0,0,0,0.02); }
#addHobbyBtn:hover { opacity: 0.7; background: rgba(0,0,0,0.02); }
#addHobbyBtn.btn-gray {border-color: #bdc3c7;color: #95a5a6;}
.scroll-container { display: flex; align-items: center; gap: 5px; }
.input-container { flex: 1; position: relative; }
.delete-icon { font-style: normal; opacity: 0.7; }

#hobbyContainer {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
    gap: 5px;
}

#addHobbyBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid #3498db;
    color: #3498db;
    background: transparent;
    border-radius: 8px;
    height: 26px;
    min-width: 30px;
    flex-shrink: 0;
    box-shadow: none;
    transition: all 0.2s ease;
}

.hobby-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: transparent;
    border: 1px solid #27ae60;
    color: #27ae60;
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 12px;
    gap: 4px;
}

#hobbyBox .input-row {
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
}

#hobbyInput {
    width: 100%;
    height: 32px;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#hobbyBox .btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #2ecc71;
    border: 1px solid #2ecc71;
    padding: 0 10px;
    height: 32px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
}

.hobby-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hobby-section .item-label {
    white-space: nowrap;
    flex-shrink: 0;
}


#movieBox .btn-purple:hover { opacity: 0.7; background: rgba(0,0,0,0.02); }
#addMovieBtn:hover { opacity: 0.7; background: rgba(0,0,0,0.02); }
#movieContainer::-webkit-scrollbar { display: none; }

#movieContainer {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
    gap: 5px;
}

.movie-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: transparent;
    border: 1px solid #9b59b6;
    color: #9b59b6;
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 12px;
    gap: 4px;
}

#addMovieBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid #9b59b6;
    color: #9b59b6;
    background: transparent;
    border-radius: 8px;
    height: 26px;
    min-width: 30px;
    flex-shrink: 0;
    box-shadow: none;
    transition: all 0.2s ease;
}

#movieBox .btn-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #8e44ad;
    border: 1px solid #8e44ad;
    padding: 0 10px;
    height: 32px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
}

#movieInput {
    width: 100%;
    height: 32px;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.movie-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.movie-section .item-label {
    white-space: nowrap;
    flex-shrink: 0;
}


#seriesBox .btn-orange:hover { opacity: 0.7; background: rgba(0,0,0,0.02); }
#addSeriesBtn:hover { opacity: 0.7; background: rgba(0,0,0,0.02); }
#seriesContainer::-webkit-scrollbar { display: none; }

#seriesContainer {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
    gap: 5px;
}

.series-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: transparent;
    border: 1px solid var(--series-color);
    color: var(--series-color);
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 12px;
    gap: 4px;
}

#addSeriesBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid var(--series-color);
    color: var(--series-color);
    background: transparent;
    border-radius: 8px;
    height: 26px;
    min-width: 30px;
    flex-shrink: 0;
    box-shadow: none;
    transition: all 0.2s ease;
}

#seriesBox .btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--series-color);
    border: 1px solid var(--series-color);
    padding: 0 10px;
    height: 32px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
}

#seriesInput {
    width: 100%;
    height: 32px;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.series-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.series-section .item-label {
    white-space: nowrap;
    flex-shrink: 0;
}


.memory-item-badge, .memory-badge {
    background: transparent !important;
    border: 1px solid var(--memory-theme-color) !important;
    border-radius: 12px !important; 
    padding: 8px 15px !important;
    position: relative !important;
    direction: rtl !important;
    display: block !important;
    margin-bottom: 12px !important; 
}

.memory-date-tag, .memory-date {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    background: linear-gradient(270deg, #ff4d4d, #ffb84d, #4dff88, #4dd2ff, #b84dff, #ff4dc4);
    background-size: 1200% 1200%;
    border: 1px solid transparent !important;
    padding: 0px 8px !important;
    height: 18px !important;
    line-height: 20px !important;
    border-radius: 12px !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

.memory-text-content, .memory-badge p {
    margin: 5px 0 0 !important;
    font-size: 13px !important;
    color: #000000 !important;
    line-height: 1.5 !important;
    padding-left: 25px !important;
}

.mem-delete-btn{
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-style: normal !important;
    color: #e74c3c !important;
    font-weight: bold !important;
    padding-right: 8px !important;
    border-right: 1px solid #eee !important;
    font-size: 18px !important;
    display: inline-block !important;
}

#addMemoryBtn {
    border: 1px solid var(--memory-theme-color) !important;
    color: var(--memory-theme-color) !important;
    background: transparent !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
}

#memoryBox .btn-blue {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: var(--memory-theme-color) !important;
    border: 1px solid var(--memory-theme-color) !important;
    padding: 0 12px !important;
    height: 32px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

#memoryBox .btn-blue:hover { background: rgba(217, 151, 57, 0.1) !important; }

.link-item-badge {
    background: transparent !important;
    border: 1px solid var(--links-theme-color) !important;
    border-radius: 12px !important; 
    padding: 8px 15px !important;
    position: relative !important;
    direction: rtl !important;
    display: flex !important;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.link-item-badge:hover { background: rgb(57 67 217 / 25%) !important; }

.link-icon-style {
    width: 28px; 
    height: 28px; 
    border-radius: 8px; 
    margin-left: 12px; 
    object-fit: cover;
    border: 1px solid #eee;
}

.link-title-text {
    flex-grow: 1;
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-width: 0;
}

.link-arrow {
    color: var(--links-theme-color);
    font-size: 18px;
    opacity: 0.5;
}

#toggleLinksBtn {
    border: 1px solid var(--links-theme-color) !important;
    color: var(--links-theme-color) !important;
    background: transparent !important;
    border-radius: 8px !important;
    padding: 4px 8px;
    font-size: 11px;
}

#linksBox #saveLinksBtn {
    background: transparent !important;
    color: var(--links-theme-color) !important;
    border: 1px solid var(--links-theme-color) !important;
    height: 35px;
    border-radius: 8px;
}

.song-card {
    direction: <?= $cur_dir ?>;
    border-right: 4px solid #5856d6;
    padding: 10px 15px;
    min-height: auto;
}

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

.song-card-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.song-card-header button {
    background: #f2f2f7;
    border-radius: 3px;
    font-size: 11px;
    padding: 4px 10px;
    font-weight: 600;
}

#hobbyContainer,#movieContainer,#seriesContainer { user-select: none; }
.custom-cursor {
    position: fixed;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
    z-index: 9999;
}

.custom-cursor.active {
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.55);
}


.ios-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.ios-switch input { opacity: 0; width: 0; height: 0; }
.ios-slider { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #e9e9eb; transition: .4s; border-radius: 34px; }
.ios-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 2px; bottom: 2px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 3px 1px rgba(0,0,0,0.1); }
input:checked + .ios-slider { background-color: #34c759; }
input:checked + .ios-slider:before { transform: translateX(18px); }
.sort-item.sortable-ghost { opacity: 0.3; background: #007aff; }
#sortableList::-webkit-scrollbar { width: 4px; }
#sortableList::-webkit-scrollbar-track { background: #f1f1f1; }
#sortableList::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

.style-selector-wrapper {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    will-change: scroll-position;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.lazy-bg-item {
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
}

.style-menu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #f2f2f7;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.style-menu-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.style-menu-icon {
    font-size: 18px;
}

.style-menu-title {
    font-weight: 700;
    font-size: 14px;
    color: #1d1d1f;
}

.style-menu-arrow {
    font-size: 12px;
    color: #8e8e93;
    transition: 0.3s;
    transform: rotate(0deg);
}

.style-tabs-container {
    display: flex;
    background: #f2f2f7;
    border-radius: 12px;
    padding: 3px;
    margin-bottom: 15px;
}

.style-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.3s;
    background: transparent;
}

.style-tab.active {
    background: #fff;
}
	
.style-options-wrapper {
    display: none; 
    margin-top: 15px;
    animation: fadeInDown 0.3s ease-out;
}

.style-selector-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}
	
.color-picker-wrapper {
    display: none;
    height: 50px;
    flex: 0 0 auto;
    align-items: center;
}

.color-input {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 150%;
    height: 150%;
    cursor: pointer;
    opacity: 0;
}
	
.style-option-box {
    flex: 0 0 auto;
}

.style-card {
    min-width: 90px;
    padding: 12px 18px;
    border-radius: 15px;
    border: 2px solid #007aff;
    background: #fff;
    text-align: center;
}

	
.desc-style-item {
    flex: 0 0 auto;
    display: none;
}

.style-option-box {
    flex: 0 0 auto;
}

.name-style-item.desc-style-item#dynamic-color-card {
    display: none;
}

.color-circle,.color-circle-wrapper {
    position: relative;
    margin-top:8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
    overflow: hidden;
    border: 1px solid #ddd;
}

.dynamic-color-label {
    font-size: 12px;
    font-weight: 700;
    color: #1d1d1f;
    margin-right: 8px;
}

.style-card-text {
    font-size: 14px;
    font-weight: 700;
    color: #1d1d1f;
}
.themes-selector-container {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.themes-selector-container::-webkit-scrollbar {
    display: none;
}

.style-option-box.theme-style-item {
    flex: 0 0 auto;
}

.style-card.theme-card {
    min-width: 90px;
    padding: 12px 18px;
    border-radius: 15px;
    background: #1a1a1a;
    text-align: center;
}

.style-card.theme1 { background: #34c759 !important; }
.style-card.theme2 { background: #007aff !important; }
.style-card.theme3 { background: #af52de !important; }
.style-card.theme4 { background: #ff9500 !important; }

.modal-contentS {
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    border-radius: 25px;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.settings-headerS {
    padding: 20px;
    border-bottom: 1px solid #f2f2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fbfbfd;
}

.settings-headerS h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
}

.settings-headerS span {
    font-size: 24px;
    color: #86868b;
}
	
.sortable-list {
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
    border-bottom: 1px solid #f2f2f7;
}

.sortable-title {
    margin: 0 0 15px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #86868b;
}

.sort-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 8px;
    background: #f5f5f7;
    border-radius: 12px;
}

.sort-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drag-handle {
    color: #c1c1c6;
    cursor: grab;
    padding: 5px;
    user-select: none;
}

.sort-item-name {
    font-size: 14px;
    color: #1d1d1f;
}

.style-option-box.name-style-item.desc-style-item {
    flex: 0 0 auto;
    display: none; 
}

.style-card.preview-card {
    min-width: 90px;
    padding: 12px 18px;
    border-radius: 15px;
    border: 2px solid #f2f2f7;
    background: #fff;
    text-align: center;
}

.preview-text-inner {
    font-size: 15px;
    font-weight: 900;
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.bg-style-item,.theme-style-item {
    flex: 0 0 auto;
    display: none;
}

.style-card.bg-card {
    width: 85px;
    height: 22px;
    border-radius: 12px;
    border: 2px solid #f2f2f7;
    position: relative;
    overflow: hidden;
    background: #eee;
}

.lazy-bg-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.active { background: #007aff !important; color: #fff !important; }

.save-order-wrapper {
    padding: 15px 20px 20px 20px;
}

#saveOrderBtn {
    width: 100%;
    padding: 15px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    transition: background 0.3s, box-shadow 0.3s;
}

#saveOrderBtn:hover {
    background: #0060d6;
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}


.lang-switch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8); 
    color: #333;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-inline-start: 8px; 
    height: 22px;
    transition: 0.3s;
    font-family: sans-serif;
}

.crown-btn-style {
    animation: gold-glow 2s infinite;
    transition: transform 0.2s;
}

.crown-btn-style:active {
    transform: scale(0.9);
}

@keyframes gold-glow {
    0% {
        box-shadow: 0 0 0 0px rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0px rgba(255, 215, 0, 0);
    }
}

.top-bar {
    height: 44px; 
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(255 0 220 / 5%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    overflow: visible; 
    border: none;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0080, #7928ca, #0070f3, #ff0080);
    background-size: 200% 100%; 
    z-index: 1001;
    animation: moveGradient 4s linear infinite;
}

.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #ecec2a, #0ea60e, #000000, #ffffff, #ff0000);
    background-size: 200% 100%;
    z-index: 1001;
    animation: moveGradient 30s linear infinite reverse;
}

@keyframes moveGradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}
.brand-logo img {
	position: absolute;
    height: 45px;
	top: 3px;
    border-radius: 10px;
}

.btn-register-top {
    background-color: var(--apple-green);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
}

.lang-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-btn {
    width: 32px;
    height: 22px;
    background: rgba(162, 12, 212, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(162, 12, 212, 0.25);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(162, 12, 212, 0.1);
    transition: all 0.2s ease;
}

.lang-btn:active {
    background: rgba(162, 12, 212, 0.15);
    border-color: rgba(162, 12, 212, 0.5);
    transform: scale(0.95);
}

input[type="color"] {
    background: transparent;
    border: none; 
}

.lang-dropdown-menu {
    display: none; 
    position: absolute;
    top: 42px;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 46px;
    border: 1px solid #eee;
    z-index: 9999;
    overflow: hidden;
    animation: slideIn 0.2s ease-out;
}

.show-lang {
    display: block !important;
}

.lang-option {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.lang-option:active {
    background: #f5f5f5;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    left: auto;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    right: 0;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 25px;
    width: 85%;
    max-width: 380px;
    position: relative;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 12px;
    border: 1px solid #ddd;
    outline: none;
    box-sizing: border-box;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--apple-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    margin-top: 10px;
}

.notif-wrapper {
    position: relative;
}

.notif-dot {
    position: absolute;
    top: -2px;
    width: 10px;
    height: 10px;
    background: #ff3b30;
    border-radius: 50%;
    border: 2px solid #fff;
    display: none;
}

.notif-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.notif-item:last-child {
    border-bottom: none;
}

.btn-approve {
    background: var(--apple-green);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.btn-reject {
    background: #ff3b30;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.music-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 15px;
}

.music-wave span {
    display: block;
    width: 3px;
    background: #5856d6;
    animation: wave 0.6s infinite alternate;
}

.music-wave span:nth-child(2) {
    animation-delay: 0.2s;
    height: 100%;
}

.music-wave span:nth-child(1) {
    height: 60%;
}

.music-wave span:nth-child(3) {
    height: 80%;
    animation-delay: 0.4s;
}

@keyframes wave {from {height: 20%;} to {height: 100%;}}

@keyframes musicFloat {
    0% {
        transform: translateY(0) rotate(-10deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-8px) rotate(10deg);
        opacity: 1;
        text-shadow: 0 0 8px rgba(88, 86, 214, 0.4);
    }
}

.song-card-title {
    color: #000000 !important;

}

.color-zodiac {
    color: #6f42c1;
}

.zodiac-badge {
    background: #f3f0ff;
    color: #6f42c1;
    border: 1px solid #dcd3ff;
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 42px;
    text-decoration: none;
}

.social-circle {
	margin-top:8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #fff;
    overflow: hidden;
}

.social-username {
    font-size: 8px;
    color: #666;
    margin-top: 4px;
    max-width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

@media (min-width: 992px) {
    .social-container {
        gap: 20px;
    }
    .social-item {
        width: 60px;
    }
    .social-circle {
        width: 40px; 
        height: 40px;
    }

    .social-username {
        font-size: 11px;
        max-width: 60px;
    }
}

.social-circle:hover {
    transform: scale(1.1);
}

.social-item[onclick] .social-circle {
    background-image: none !important;
    background-color: #f8f9fa;
    border: 1px dashed #ccc;
    box-shadow: none;
}

.color-memory {
    color: #007AFF;
}

.color-friend {
    color: #FF2D55;
}

.color-partner {
    color: #FF2D55;
}

.friend-badge {
    background: #FFF0F3;
    color: #FF2D55;
    border: 1px solid rgba(255, 45, 85, 0.05);
}

.partner-badge {
    background: #FFF0F3;
    color: #FF2D55;
    border: 1px solid rgba(255, 45, 85, 0.05);
}

.btn-green {
    background: #34C759;
}

.views-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0 5px 0;
}

.views-pill {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.privacy-btn {
    background: none;
    border: none;
    padding: 2px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.app-card {
    background: #ffffffc2 ;
    border-radius: 15px;
	margin: 8px 4px !important;
    padding: 10px 12px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.color-birth { color: #0aaa00; }
.color-status { color: #6f42c1; }
.color-hobby { color: #878614; }
.color-movie { color: #681194; }
.color-series { color: #d98003; }
.color-club { color: #007AFF; }
.color-char { color: #007AFF; }



.badge-base {
    flex: 0 0 auto;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-buz { background: #868500; }
.btn-banm { background: #080808; }

.birth-badge {
    background: #e5ffdd;
    color: #087602;
    border: 1px solid rgba(175, 82, 222, 0.05);
}

.status-badge {
    background: #f3f0ff;
    color: #6f42c1;
    border: 1px solid #dcd3ff;
}


.club-badge {
    background: #E5F1FF;
    color: #007AFF;
    border: 1px solid rgba(0, 122, 255, 0.05);
}

.char-badge {
    background: #E5F1FF;
    color: #007AFF;
    border: 1px solid rgba(0, 122, 255, 0.05);
}

.split-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.split-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.btn-action {
    flex: 0 0 auto;
    color: #fff;
    border: none;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-blue { background: #007AFF; }
.btn-b5ue { background: #000000;font-size:14px; }
.btn-purple { background: #a754d0; }
.btn-orange { background: #d99739; }
.btn-pink { background: #ff9aad; }
.btn-indigo { background: #5856D6; }

.styled-input {
    flex: 1;
    padding: 0 0px;
    border-radius: 8px;
    border: 1px solid #eee;
    outline: none;
    font-size: 12px;
    height: 32px;
    background: #fdfdfd;
    width: 100%;
	text-align: center;
}

.suggest-box {
    position: absolute;
    top: 32px;
    left: 0;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
    max-height: 150px;
    overflow-y: auto;
}

.suggest-item {
    padding: 8px 12px;
    font-size: 12px;
    border-bottom: 1px solid #f9f9f9;
}

.suggest-item:hover {
    background: #f0f0f0;
}

.onde2 { font-size: 18px; color: #888; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.onde9 { position:absolute; left:20px; top:15px; font-size:28px;  z-index: 10; }
.onde10 { max-width: 500px; height: 550px; padding: 0; overflow: hidden; }


.custom-dropdown {
    position: relative;
    display: inline-block;
}

.drop-trigger {
    padding: 10px;
    background: #f5f5f7;
    border: 1px solid #ddd;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.drop-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    border: 1px solid #eee;
    overscroll-behavior: contain; 
    -webkit-overflow-scrolling: touch;
}

.drop-item {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #f9f9f9;
}

.drop-item:hover {
    background: #f0f0f7;
    color: #007AFF;
}

#birthBox {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    gap: 15px;
    margin-top: 15px;
}

.selection-row {
    display: flex;
    gap: 8px;
    justify-content: center; 
    width: 100%;
}

.onde_2 {
    display: flex;
    align-items: center;
    gap: 5px;
}

.onde_3 {
    height: 40px;
    width: auto;
    border-radius: 10px;
    display: block;
    position: static !important;
    float: none !important;
}

.onde_4 {
	margin-inline-start: 5px;
    display: block;
    position: static !important;
    float: none !important;
}

.onde_6 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.onde_10 {
    font-size: 26px;
    color: #000000;
    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 0 40px #ffffff;
}

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

.onde_12 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.onde_13,
.onde_15 {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.onde_16 {
    font-size: 18px;
    user-select: none;
    display: flex;
    align-items: center;
}

.onde_17 {
    text-align: center;
    margin-bottom: 25px;
}

.onde_18,.onde_118 {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 25%, #80d0c7 50%, #b1f 75%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientMove 3s linear infinite;
    box-shadow: 0 0 10px rgba(245, 87, 108, 0.4);
}

.onde_18 img,
.onde_118 img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    display: block;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.onde_19 {
    font-size: 13px;
    color: #555;
}

.onde_21 {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: #34C759;
    color: #ffffff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
}

.onde_22 {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: #007AFF;
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
}

.onde_23 {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: linear-gradient(135deg, #6c0c9d 0%, #9a47f3 100%);
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
}

.onde_24 {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #ff3b30;
    text-decoration: none;
    font-weight: 500;
}

.onde_26 {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.onde_27 {
    width: 100%;
    margin-top: -100px;
 margin-bottom: -120px;
}


.onde_28 {
    font-size: 34px;
    margin-top: 20px;
}

.onde_29 {
    color: #86868b;
    padding: 0 20px;
}


.onde_30 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 15px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.onde_31 {
    font-size: 11px;
    color: #000000;
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.onde_32 {
    font-size: 20px;
    font-weight: 800;
    color: #007aff;
}

.onde_33 {
    width: 1px;
    height: 25px;
    background: #eee;
}

.onde_34 {
    font-size: 11px;
    color: #000000;
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.onde_35 {
    font-size: 20px;
    font-weight: 800;
    color: #007aff;
}

.onde_36 {
    width: 1px;
    height: 25px;
    background: #eee;
}

.onde_37 {
    font-size: 11px;
    color: #000000;
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.onde_38 {
    font-size: 20px;
    font-weight: 800;
    color: #007aff;
}

.onde_39 {
    color: #86868b;
    padding: 0 20px;
}

.profile_6 {
	margin-top:8px;
    background-color: #f8f9fa;
    border: 1px dashed #adb5bd;
}

.profile_7 {
    color: #6c757d;
    font-size: 11px;
}

.stats-dropdown-container {
    display: flex;
    align-items: center;
}

.stats-toggle-btn {
    background: #5d5d5d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    margin-inline-start: 8px;
}

.stats-toggle-btn span {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.stats-menu {
    display: none;
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width:200px;
    box-shadow: 0px 8px 16px rgb(255 0 0 / 32%);
    z-index: 9999;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #eee;
}

.stats-menu-title {
    font-weight: bold;
    font-size: 11px;
    color: #888;
    margin-bottom: 5px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 3px;
}

.stats-menu-item {
    padding: 5px 8px;
    font-size: 13px;
    color: #333;
}

.stats-menu-item strong {
    color: #333;
}

.separator-line {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.btn-delete-account {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    width: 100%;
    font-weight: bold;
    margin-top: 5px;
    transition: background 0.3s;
}

.btn-delete-account:hover {
    background-color: #c0392b;
}

.delete-section {
    margin: 10px 0;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.confirm-box {
    display: none;
    text-align: center;
    background: #fff5f5;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ffcdd2;
}

.confirm-text {
    font-size: 11px;
    color: #d32f2f;
    font-weight: bold;
    margin-bottom: 8px;
}

.confirm-buttons-wrapper {
    display: flex;
    gap: 5px;
}

.btn-confirm-yes {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px;
    border-radius: 4px;
    flex: 1;
    font-size: 11px;
    font-weight: bold;
}

.btn-confirm-yes:hover {
    background: #c0392b;
}

.btn-confirm-no {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 6px;
    border-radius: 4px;
    flex: 1;
    font-size: 11px;
    font-weight: bold;
}

.btn-confirm-no:hover {
    background: #7f8c8d;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.7);
}

.modal-box {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 25px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 15px;
    font-size: 28px;
    color: #888;
	inset-inline-end: 15px
}

.modal-title {
    text-align: center;
    margin-top: 10px;
    color: #AF52DE;
}

.modal-textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 12px;
    margin: 15px 0;
    outline: none;
    background: #f9f9fb;
    resize: none;
    box-sizing: border-box;
    font-family: inherit;
}

.modal-submit-btn {
    width: 100%;
    padding: 14px;
    background: #AF52DE;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.modal-submit-btn:hover {
    background: #953fc4;
}

.messages-list-container {
    max-height: 80vh;
    overflow-y: auto;
    margin: 60px auto;
}

.styae-input {
    flex: 1;
    padding: 0 0px;
    border: 1px solid #e4e4e4;
    outline: none;
    font-size: 16px;
    height: 32px;
    background: #fdfdfd;
    width: 100%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.login-required-box {
    text-align: center;
    padding: 20px;
}

.login-link {
    color: #AF52DE;
    font-weight: bold;
    text-decoration: none;
}

.con_1 {
    display:none;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.con_2 {
    display: flex;
	flex-direction: column;
	gap: 8px; padding: 10px;
}

.modal-overlay-alt {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content-box {
    background: white;
    width: 90%;
    max-width: 400px;
    margin: 15% auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.modal-content-box h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2rem;
}

.modal-input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
}

.modal-input-field:focus {
    border-color: #007AFF;
}

.modal-footer-btns {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-save-action {
    background: #007AFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    flex: 1;
    font-weight: bold;
}

.btn-cancel-action {
    background: #eee;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    flex: 1;
}

.btn-save-action:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.leaders-overlay {
    display: none;
    z-index: 10003;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.leaders-card {
    max-width: 450px;
    width: 95%;
    border-radius: 25px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.leaders-header {
    padding: 20px;
    border-bottom: 1px solid #f2f2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fbfbfd;
}

.leaders-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
}

.close-leaders {
    font-size: 24px;
    color: #86868b;
    line-height: 1;
}

.leaders-tabs {
    display: flex;
    padding: 15px;
    gap: 10px;
    background: #f5f5f7;
}

.tab-btn {
    flex: 1;
    padding: 8px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active {
    background: #007aff;
    color: #fff;
}

.tab-btn.inactive {
    background: #e5e5ea;
    color: #1d1d1f;
}

.leaders-content {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.loading-text {
    text-align: center;
    margin-top: 100px;
    color: #86868b;
}

.loading-container {
    text-align: center;
    padding: 40px;
    color: #86868b;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007aff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

.error-container {
    text-align: center;
    padding: 20px;
    color: #ff3b30;
}

.retry-btn {
    background: none;
    border: none;
    color: #007aff;
    font-weight: 600;
    text-decoration: underline;
}

.empty-msg {
    text-align: center;
    padding: 20px;
    color: #86868b;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none; 
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.close-btn {
    position: absolute;
    top: 15px;
    font-size: 24px;
    color: #888;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
}

.modal-content p {
    margin-top: 15px;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    background: #fdfdfd;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #b20710;
}

.recovery-flex {
    display: flex;
    gap: 5px;
}

.btn-small {
    width: auto !important;
    padding: 0 15px !important;
    margin-top: 8px !important;
}

#recovery-status {
    font-weight: bold;
    min-height: 20px;
    margin-top: 10px;
    font-size: 14px;
}

.link-primary { color: #007bff; font-size: 14px; text-decoration: none; }
.link-secondary { color: #666; font-size: 14px; text-decoration: none; }

.song-box-container {
    display: none;
    margin-top: 10px;
    border-top: 1px dashed #f2f2f7;
    padding-top: 10px;
}

.song-input-wrapper {
    display: flex;
    gap: 5px;
}

.song-url-field {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #e1e1e7;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
    background: #f9f9fb;
    font-family: inherit;
    transition: border-color 0.3s;
}

.song-url-field:focus {
    border-color: #5856d6;
}

.btn-save-song {
    background: #000000;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 600;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-save-song:hover {
    opacity: 0.9;
}

.btn-save-song:active {
    transform: scale(0.98);
}

.upgrade-modal-content {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    border: none;
    background: #f9f9f9;
    border-radius: 20px;
    position: relative;
}

.upgrade-header {
    background: #1d1d1f;
    padding: 25px;
    text-align: center;
    color: #fff;
    position: relative;
}

.upgrade-header h2 {
    margin: 0;
    font-size: 22px;
}

.upgrade-header p {
    margin: 5px 0 0;
    opacity: 0.7;
    font-size: 14px;
}

.upgrade-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plan-card {
    background: #fff;
    border: 2px solid #e1e1e7;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.plan-premium {
    border-color: #007AFF;
}

.plan-gold {
    border-color: #B8860B;
    background: linear-gradient(145deg, #ffffff 0%, #fffdf0 100%);
}

.badge-popular {
    position: absolute;
    top: -12px;
    background: #B8860B;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.plan-info h3 { margin: 0; }
.plan-features {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: #444;
}

.plan-price {
    font-size: 22px;
    font-weight: bold;
    color: #1d1d1f;
}

.btn-plan {
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-premium { background: #007AFF; color: #fff; }
.btn-gold { background: #B8860B; color: #fff; }
.btn-disabled { background: #ccc; color: #666; cursor: not-allowed; }

.upgrade-footer-text {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.support-modal-overlay {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.support-modal-content {
    background: white;
    max-width: 450px;
    width: 90%;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 80vh;
    max-height: 600px;
    position: relative;
}

.support-header {
    background: #007aff;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.support-header h3 { margin: 0; font-size: 18px; }
.support-header p { margin: 3px 0 0; font-size: 12px; opacity: 0.9; }

.support-step-container {
    padding: 20px;
    overflow-y: auto;
}

.support-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-item {
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 14px;
}

.support-item:hover {
    background: #e9ecef;
    border-color: #007aff;
    transform: translateX(-5px);
}

.chat-interface {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-header-bar {
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg-admin {
    align-self: flex-start;
    background: #f0f0f7;
    color: #333;
    padding: 10px 14px;
    max-width: 80%;
    font-size: 13px;
    border: 1px solid #e5e5ea;
    border-radius: 18px;
    border-end-start-radius: 4px;
}

.msg-user {
    align-self: flex-end !important;
    background: #007aff;
    color: white;
    padding: 10px 14px;
    border-radius: 18px 18px 4px 18px;
    max-width: 80%;
    font-size: 13px;
}

.chat-input-area {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fdfdfd;
}

.support-textarea {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 10px;
    resize: none;
    font-size: 13px;
    margin-bottom: 8px;
    outline: none;
    box-sizing: border-box;
}

.attachment-preview-box {
    display: none;
    position: relative;
    padding: 8px;
    background: #f0f0f7;
    border-radius: 12px;
    margin-bottom: 8px;
}

.btn-upload-label {
    background: #f0f0f7;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.btn-send-support {
    background: #007aff;
    border: none;
    padding: 7px 20px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 13px;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.onde_21,.onde_22 {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

    .btn-container {
        text-align: center;
        margin: 15px;
        font-family: sans-serif;
    }
    .mini-shiny-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        border-radius: 8px;
        overflow: hidden;
        transition: 0.3s;
        direction: rtl;
    }
    .mini-shiny-btn::after {
        content: '';
        position: absolute;
        top: 0; left: -100%;
        width: 50%; height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        animation: simple-shine 3s infinite;
    }
    @keyframes simple-shine {
        0% { left: -100%; }
        30% { left: 100%; }
        100% { left: 100%; }
    }
    .mini-shiny-btn:hover { transform: translateY(-2px); }
    .label-text { display: block; font-size: 14px; margin-bottom: 8px; color: #666; }