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

/* BASE STYLES */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("https://raw.githubusercontent.com/kinne-luu/Storage/refs/heads/main/Tila/image/Background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Quicksand', sans-serif;
    color: white;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* WIDGET WRAPPER */
.widget-wrapper {
    position: relative;
    width: 730px;
    height: 570px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.glass-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sharp-box {
    width: 230px;
    height: 36px;
    background-color: #121212;
    clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 0% 100%);
    position: absolute;
    top: 21px;
    left: 13.43px;
    z-index: 10;
    display: flex;
    align-items: center;
    padding-left: 18px;
    box-sizing: border-box;
}

.status-dot {
    color: #ff66b2;
    font-size: 7px;
    margin-right: 6px;
    text-shadow: 0 0 6px #ff66b2;
}

.status-text {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    font-family: 'Fredoka', sans-serif;
}

/* NAVIGATION */
.search-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 702px;
    height: 48px;
    top: 55px;
    background-color: rgba(25, 25, 30, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-group {
    display: flex;
    gap: 18px;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    width: 80px;
}

.nav-group.right {
    justify-content: flex-end;
}

.nav-group i {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-group i:hover {
    color: #ff66b2;
    transform: translateY(-1px);
}

.tabs-container {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.nav-pill {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Fredoka', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-pill:hover {
    background-color: rgba(255, 102, 178, 0.1);
    border-color: rgba(255, 102, 178, 0.5);
    color: #ff66b2;
    transform: translateY(-1px);
}

.nav-pill.active {
    background-color: rgba(255, 102, 178, 0.15);
    border-color: #ff66b2;
    color: #ff66b2;
    box-shadow: 0 0 10px rgba(255, 102, 178, 0.3);
}

/* PANELS */
.panels-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 702px;
    height: 500px;
    top: 55px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    perspective: 1000px;
}

.panel {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #121212;
    background-image: radial-gradient(circle at 100% 100%, rgba(255, 102, 178, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
    contain: layout style;
}

.panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 20;
    filter: blur(0);
}

.panel.hidden-below {
    transform: scale(0.9) translateY(-10px);
    opacity: 0.3;
    z-index: 5;
    filter: blur(4px);
    pointer-events: none;
}

.panel.hidden-above {
    transform: translateY(100%);
    opacity: 0;
    z-index: 25;
}

/* PROFILE LAYOUT */
.profile-header {
    position: relative;
    width: 100%;
    height: 170px;
    flex-shrink: 0;
}

.cover-image {
    width: 100%;
    height: 100%;
    background-image: url("https://raw.githubusercontent.com/kinne-luu/Storage/refs/heads/main/Tila/image/Cover.jpg");
    background-size: cover;
    background-position: center;
}

.avatar-container {
    position: absolute;
    bottom: -50px;
    left: 30px;
    z-index: 10;
}

.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-image: url("https://raw.githubusercontent.com/kinne-luu/Storage/refs/heads/main/Tila/image/avatar.jpg");
    background-size: 150%;
    background-position: 12% -6%;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 102, 178, 0.6);
    box-sizing: content-box;
    padding: 5px;
    background-clip: content-box;
    box-shadow: 0 10px 25px rgba(255, 102, 178, 0.25);
}

.profile-body {
    flex-grow: 1;
    padding: 5px 35px;
    box-sizing: border-box;
    position: relative;
}

.profile-title-bar {
    position: absolute;
    top: 5px;
    left: 150px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 38px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
    color: white;
}

.status-pill {
    position: absolute;
    top: 22px;
    left: 143px;
    display: flex;
    align-items: center;
    background-color: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 102, 178, 0.4);
    border-radius: 20px;
    padding: 5px 12px;
    box-shadow: 0 0 10px rgba(255, 102, 178, 0.1);
    backdrop-filter: blur(5px);
    font-family: 'Fredoka', sans-serif;
    margin-top: 8px;
}

.status-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-right: 5px;
    text-transform: uppercase;
}

.status-open {
    color: #ff66b2;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 102, 178, 0.8);
}

.status-divider {
    width: 1px;
    height: 10px;
    background-color: rgba(255, 102, 178, 0.3);
    margin: 0 10px;
}

.status-slot-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 600;
    margin-right: 4px;
}

.status-slot-number {
    color: #ff66b2;
    font-weight: 700;
    font-size: 11px;
    text-shadow: 0 0 8px rgba(255, 102, 178, 0.8);
}

.about-box {
    position: absolute;
    top: 70px;
    left: 20px;
    height: 235px;
    width: 460px;
    background-color: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 102, 178, 0.3);
    border-radius: 14px;
    padding: 12px 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-tag {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 102, 178, 0.4);
}

.about-content {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.about-content strong {
    color: #ff66b2;
    font-weight: 600;
}

.side-box {
    position: absolute;
    right: 20px;
    width: 185px;
    background-color: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 102, 178, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.top-side-box {
    top: 70px;
    min-height: 152px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.bottom-side-box {
    top: 240px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.media-links-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pills-row {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.portfolio-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 102, 178, 0.05);
    border: 1px solid rgba(255, 102, 178, 0.35);
    border-radius: 12px;
    padding: 6px 0;
    color: #ff66b2;
    font-size: 10px;
    font-family: 'Fredoka', sans-serif;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.pills-row .portfolio-pill {
    width: 71px;
    text-align: center;
}

.check-legit-pill {
    width: 100%;
    text-align: center;
}

.portfolio-pill:hover {
    box-shadow: 0 0 10px rgba(255, 102, 178, 0.7);
    border-color: #ff66b2;
    background-color: rgba(255, 102, 178, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.social-media-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-media-label {
    font-size: 11px;
    font-weight: 700;
    color: #ff66b2;
    text-transform: uppercase;
    text-align: center;
    display: block;
}

.social-grid {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.social-icon-btn {
    width: 26px;
    height: 26px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn:hover {
    background-color: #ff66b2;
    color: white;
    box-shadow: 0 0 12px rgba(255, 102, 178, 0.8);
    transform: translateY(-2px);
}

.vgen-icon {
    width: 13px;
    height: 13px;
    object-fit: contain;
    opacity: 0.75;
    filter: brightness(0) invert(1);
}

.social-icon-btn:hover .vgen-icon {
    opacity: 1;
}

.music-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

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

.music-icon {
    width: 22px;
    height: 22px;
    background-color: rgba(255, 102, 178, 0.15);
    color: #ff66b2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    border: 1px solid rgba(255, 102, 178, 0.3);
    flex-shrink: 0;
}

.music-text {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
}

.music-info-scroll {
    display: inline-block;
    min-width: 100%;
    animation: bounce-scroll 6s linear infinite alternate;
}

.music-info-scroll .song-name {
    font-size: 11px;
    font-weight: 700;
    color: #ff66b2;
}

.music-info-scroll .artist {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-left: 3px;
}

.music-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: #ff66b2;
    font-size: 11px;
}

.music-controls i {
    cursor: pointer;
    transition: color 0.3s ease;
}

.music-controls i:hover {
    color: #fff;
}

/* TOS LAYOUT */
.panel-title {
    color: #ff66b2;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 26px;
    margin: 65px 0 15px 0;
    text-shadow: 0 0 10px rgba(255, 102, 178, 0.4);
    flex-shrink: 0;
}

.tos-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 30px 40px 30px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.6;
}

.tos-content::-webkit-scrollbar {
    width: 6px;
}

.tos-content::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 178, 0.4);
    border-radius: 10px;
}

.tos-section {
    background-color: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 102, 178, 0.2);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.tos-section h3 {
    color: #ff66b2;
    font-family: 'Fredoka', sans-serif;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 102, 178, 0.3);
    padding-bottom: 10px;
}

.tos-section ul {
    padding-left: 22px;
}

.tos-section li {
    margin-bottom: 8px;
}

.tos-section li strong {
    color: #ffb3d9;
    font-weight: 700;
}

/* COMMISSION LAYOUT */
.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 178, 0.4);
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.hide-scroll::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}

.hide-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.commission-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 100px);
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
    gap: 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

.commission-row {
    display: flex;
    gap: 15px;
    height: 198px;
    padding: 4px 0;
    box-sizing: border-box;
    flex-shrink: 0;
    align-items: stretch;
}

.price-category {
    flex: 1.2;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 12px 10px 12px 15px;
    border: 1px solid rgba(255, 102, 178, 0.2);
    overflow-y: auto;
}

.price-category h3 {
    color: #ff66b2;
    font-family: 'Fredoka', sans-serif;
    font-size: 13px;
    border-bottom: 1px dashed rgba(255, 102, 178, 0.3);
    padding-bottom: 8px;
    margin-top: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
    padding-right: 5px;
}

.price-row span {
    color: rgba(255, 255, 255, 0.8);
}

.price-row strong {
    color: #fff;
    font-size: 12px;
}

.sub-category-title {
    color: #ffb3d9;
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 2px solid #ff66b2;
    padding-left: 5px;
}

.addons-title {
    color: #ffb3d9;
    font-weight: 700;
    font-size: 11px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.addons {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    gap: 4px;
    padding-right: 5px;
}

.tos-mini {
    color: rgba(255, 102, 178, 0.8);
    font-style: italic;
    font-size: 10px;
    border-top: 1px dashed rgba(255, 102, 178, 0.2);
    padding-top: 6px;
    margin-top: 6px;
    line-height: 1.5;
    background: rgba(255, 102, 178, 0.03);
    border-radius: 6px;
    padding: 6px;
}

.mt-10 {
    margin-top: 12px;
}

.sample-category {
    flex: 1.4;
    display: flex;
    gap: 10px;
    min-width: 0;
    margin: -4px;
    padding: 4px;
}

.sample-category.split-sample .pswp-group {
    flex: 1;
}

.pswp-group {
    flex: 1;
    height: 100%;
    min-width: 0;
}

.sample-card {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 102, 178, 0.3);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.sample-card:hover {
    border-color: #ff66b2;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 102, 178, 0.3);
    z-index: 2;
}

.mini-grid {
    display: grid;
    gap: 4px;
    padding: 6px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.grid-4, .skeleton-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.grid-3 .mini-box:first-child {
    grid-column: span 2;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.grid-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.mini-box {
    border: 1px dashed rgba(255, 102, 178, 0.5);
    border-radius: 6px;
    transition: transform 0.5s ease;
    overflow: hidden;
    background-color: rgba(255, 102, 178, 0.05);
}

.sample-card:hover .mini-box {
    transform: scale(1.08);
}

.sample-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: 5;
}

.sample-overlay span {
    color: white;
    font-family: 'Fredoka';
    font-size: 13px;
    text-shadow: 0 0 8px #ff66b2;
}

.sample-card:hover .sample-overlay {
    opacity: 1;
}

/* MANAGE PANEL */
.manage-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 30px 40px 30px;
    display: flex;
    flex-direction: column;
}

.manage-content::-webkit-scrollbar {
    width: 6px;
}

.manage-content::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 178, 0.4);
    border-radius: 10px;
}

.manage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px 10px 25px 10px;
    margin-top: 30px;
}

.elegant-box {
    position: relative;
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    border: 2px solid var(--bloom-color);
    background: #0f0f11;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.elegant-box:nth-child(1) {
    --bloom-color: #a855f7;
}

.elegant-box:nth-child(2) {
    --bloom-color: #ec4899;
}

.elegant-box:nth-child(3) {
    --bloom-color: #f97316;
}

.elegant-box.premium-box {
    --bloom-color: #facc15;
}

.elegant-box:hover {
    transform: translateY(-2px);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--bloom-color), inset 0 0 8px var(--bloom-color);
}

.m-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.m-header h3 {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    font-size: 16px;
    color: white;
}

.m-price {
    font-family: 'Fredoka', sans-serif;
    color: #ff66b2;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 102, 178, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-block;
    min-width: fit-content;
    text-align: center;
}

.m-target {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    font-style: italic;
}

.m-target span {
    color: #ffb3d9;
    font-style: normal;
}

.m-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.m-col h4 {
    margin: 0 0 6px 0;
    font-size: 11px;
    color: #ff66b2;
    text-transform: uppercase;
}

.m-col ul {
    margin: 0;
    padding-left: 15px;
    list-style-type: circle;
}

.m-col li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    line-height: 1.4;
}

.m-exclude li {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.m-role {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 102, 178, 0.2);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.m-role span {
    font-weight: 700;
    color: #ff66b2;
    text-transform: uppercase;
}

.m-btn {
    background: rgba(255, 102, 178, 0.05);
    border: 1px solid rgba(255, 102, 178, 0.4);
    color: #ff66b2;
    padding: 10px 0;
    border-radius: 8px;
    font-family: 'Fredoka', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 15px;
    width: 100%;
}

.m-btn:hover {
    background: rgba(255, 102, 178, 0.15);
    border-color: #ff66b2;
    color: white;
    box-shadow: 0 0 15px rgba(255, 102, 178, 0.4);
    transform: translateY(-2px);
}

/* VTUBER ALTERNATIVE LAYOUT */
.vtuber-layout {
    overflow: hidden;
}

.vt-header {
    position: relative;
    width: 100%;
    height: 180px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 102, 178, 0.2);
}

.vt-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 1%;
    opacity: 0.85;
}

.vt-avatar-wrap {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.vt-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-size: cover;
    border: 3px solid #121212;
    box-shadow: 0 0 20px rgba(255, 102, 178, 0.4), inset 0 0 0 2px #ff66b2;
}

.vt-body {
    padding: 45px 25px 12px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    height: calc(100% - 180px);
}

.vt-title-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
    min-height: 35px;
}

.vt-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 28px;
    margin: 0;
    color: white;
    text-shadow: 0 0 10px rgba(255, 102, 178, 0.4);
    position: relative;
    z-index: 2;
}

.vt-status-pill {
    background: rgba(255, 102, 178, 0.1);
    border: 1px solid #ff66b2;
    color: #ff66b2;
    font-family: 'Fredoka';
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(85px);
    z-index: 1;
    white-space: nowrap;
}

.vt-content-grid {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 620px;
    margin-bottom: 12px;
    flex: 1;
    min-height: 0;
}

.vt-box {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(255, 102, 178, 0.3);
    border-radius: 14px;
    padding: 10px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vt-box-title {
    color: #ff66b2;
    font-family: 'Fredoka';
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 102, 178, 0.2);
    padding-bottom: 4px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.vt-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.vt-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 6px;
}

.vt-pills span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 9px;
    color: gray;
    font-family: 'Fredoka';
}

.vt-music-bar {
    width: 100%;
    max-width: 500px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 102, 178, 0.3);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 6px 15px;
    flex-shrink: 0;
}

/* SETTINGS & LOGIN SYSTEM */
.setting-content {
    padding: 0 30px;
    height: calc(100% - 95px);
    overflow-y: auto;
    overflow-x: hidden;
}

.setting-content::-webkit-scrollbar {
    width: 4px;
}

.setting-content::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 178, 0.4);
    border-radius: 10px;
}

#password-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 15px;
}

#password-screen input {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-bottom: 2px solid rgba(255, 102, 178, 0.5);
    color: white;
    padding: 12px 15px;
    outline: none;
    font-family: 'Quicksand';
    text-align: center;
    width: 220px;
    font-size: 16px;
    transition: 0.3s;
}

#password-screen input:focus {
    border-bottom-color: #ff66b2;
    box-shadow: 0 10px 15px -10px rgba(255, 102, 178, 0.5);
}

.login-btn {
    background: #ff66b2;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Fredoka';
    transition: 0.3s;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    box-shadow: 0 0 15px rgba(255, 102, 178, 0.6);
    transform: translateY(-2px);
}

.error-msg {
    color: #ff4d4d;
    font-size: 12px;
    display: none;
}

.settings-card {
    background: rgba(15, 15, 18, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 102, 178, 0.2);
    border-radius: 12px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sc-header {
    background: rgba(255, 102, 178, 0.1);
    padding: 12px 15px;
    font-family: 'Fredoka';
    font-size: 14px;
    color: #ff66b2;
    border-bottom: 1px solid rgba(255, 102, 178, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-body {
    padding: 15px;
}

.row-flex {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.flex-1 {
    flex: 1;
}

.mb-10 {
    margin-bottom: 12px;
}

.input-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-wrap label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.modern-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: 'Quicksand';
    font-size: 12px;
    outline: none;
    transition: 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.modern-input:focus {
    border-color: #ff66b2;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 102, 178, 0.2);
}

.select-custom {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ff66b2" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 35px;
    cursor: pointer;
}

.select-custom option {
    background-color: #1a1a1a;
    color: white;
}

.number-custom {
    text-align: center;
    -moz-appearance: textfield;
}

.number-custom::-webkit-inner-spin-button,
.number-custom::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.save-btn {
    display: block;
    width: auto;
    min-width: 120px;
    height: 40px;
    margin: 40px auto 20px auto;
    padding: 0 24px;
    background: linear-gradient(45deg, #ff66b2, #ff3385);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: 'Fredoka';
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 102, 178, 0.3);
    text-transform: uppercase;
    white-space: nowrap;
}

.save-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 102, 178, 0.6);
    transform: translateY(-2px);
}

.save-btn:disabled {
    background: gray;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* MODALS & SKELETONS */
.mini-box.loading-skeleton {
    background: linear-gradient(90deg, rgba(255, 102, 178, 0.05) 0%, rgba(255, 102, 178, 0.18) 40%, rgba(255, 102, 178, 0.05) 80%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite ease-in-out;
    border: 1px solid rgba(255, 102, 178, 0.15);
    color: transparent;
}

.mini-box.img-loaded {
    animation: none;
    background: none;
    border: none;
    color: transparent;
}

.gallery-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 730px;
    height: 570px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    background: rgba(12, 12, 18, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 102, 178, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gallery-modal.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.gm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 12px;
    border-bottom: 1px solid rgba(255, 102, 178, 0.15);
    flex-shrink: 0;
}

.gm-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 15px;
    color: #ff66b2;
}

.gm-close-btn {
    background: rgba(255, 102, 178, 0.1);
    border: 1px solid rgba(255, 102, 178, 0.35);
    color: #ff66b2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gm-close-btn:hover {
    background: #ff66b2;
    color: #fff;
}

.gm-grid-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-content: start;
}

.gm-grid-scroll::-webkit-scrollbar {
    width: 5px;
}

.gm-grid-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 178, 0.3);
    border-radius: 4px;
}

.gm-img-cell {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 102, 178, 0.15);
}

.gm-img-cell img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}

.gm-img-cell img.loaded {
    opacity: 1;
}

.gm-cell-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 102, 178, 0.04) 0%, rgba(255, 102, 178, 0.14) 45%, rgba(255, 102, 178, 0.04) 90%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
}

.gm-cell-skeleton.hidden {
    opacity: 0;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
}

.gallery-lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.glb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(14px);
}

.glb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: rgba(255, 102, 178, 0.12);
    border: 1px solid rgba(255, 102, 178, 0.4);
    color: #ff66b2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.glb-close:hover {
    background: #ff66b2;
    color: #fff;
}

.glb-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.glb-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    overflow: hidden;
    z-index: 1;
}

.glb-stage.dragging {
    cursor: grabbing;
}

.glb-img-border-wrap {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    padding: 10px;
    background: rgba(15, 15, 18, 0.9);
    border: 3px solid #ff66b2;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#glb-img {
    border-radius: 6px;
    display: block;
}

.glb-img-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff66b2;
    font-size: 32px;
    z-index: 2;
    transition: opacity 0.3s;
}

.glb-img-loader.hidden {
    opacity: 0;
}

.glb-zoom-btns {
    position: absolute;
    bottom: 22px;
    right: 28px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glb-zoom-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 102, 178, 0.12);
    border: 1px solid rgba(255, 102, 178, 0.35);
    color: #ff66b2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.glb-zoom-btn:hover {
    background: #ff66b2;
    color: #fff;
}

/* ANIMATIONS & KEYFRAMES */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes breathingBloom {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }
    33% {
        transform: scale(1.2) translate(10px, -15px);
        opacity: 0.7;
    }
    66% {
        transform: scale(0.9) translate(-15px, 10px);
        opacity: 0.4;
    }
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }
}

@keyframes bounce-scroll {
    0%, 15% {
        transform: translateX(0);
    }
    85%, 100% {
        transform: translateX(calc(var(--c-width) - 100%));
    }
}

@keyframes sparkleFall {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(30px) scale(0) rotate(180deg);
        opacity: 0;
    }
}

.widget-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 102, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: breathingBloom 8s infinite alternate ease-in-out;
}

.widget-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: breathingBloom 10s infinite alternate-reverse ease-in-out;
}

.sparkle-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background-color: #ff66b2;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 8px #ff66b2, 0 0 12px #fff;
    animation: sparkleFall 1s forwards ease-out;
    will-change: transform, opacity;
    contain: strict;
}

.profile-body::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 53, 154, 0.123) 0%, transparent 60%);
    border-radius: 50%;
    bottom: 0%;
    right: 25%;
    animation: floatOrb 6s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-20px, -30px) scale(1.3);
        opacity: 1;
    }
}

/* REPORT BUTTON & MODAL */
.report-floating-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.4);
    color: #ff4d4d;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Fredoka', sans-serif;
    font-size: 11px;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.report-floating-btn:hover {
    background: #ff4d4d;
    color: white;
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.5);
    transform: translateY(-2px);
}

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.report-modal.open {
    opacity: 1;
    pointer-events: all;
}

.report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.report-modal-content {
    position: relative;
    width: 300px;
    background: rgba(15, 15, 18, 0.95);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 77, 77, 0.1);
    transform: scale(0.9);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.report-modal.open .report-modal-content {
    transform: scale(1);
}

.rm-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.rm-close-btn:hover {
    color: #ff4d4d;
}

.rm-icon {
    font-size: 32px;
    color: #ff4d4d;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(255, 77, 77, 0.5);
}

.rm-title {
    font-family: 'Fredoka', sans-serif;
    color: white;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.rm-message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.rm-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rm-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 13px;
    transition: 0.3s;
}

.fb-pill {
    background: rgba(24, 119, 242, 0.1);
    border: 1px solid #1877f2;
    color: #1877f2;
}

.fb-pill:hover {
    background: #1877f2;
    color: white;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

.x-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid white;
    color: white;
}

.x-pill:hover {
    background: white;
    color: black;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.ig-pill {
    background: rgba(225, 48, 108, 0.1);
    border: 1px solid #e1306c;
    color: #e1306c;
}

.ig-pill:hover {
    background: #e1306c;
    color: white;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}



#welcome-modal .report-modal-content {
    width: 250px;         
    padding: 40px 30px;    
}



#welcome-modal .rm-message {
    font-size: 16px;      
    line-height: 1.6;     
    color: rgba(255, 255, 255, 0.9);
}


#welcome-ok-btn {
    font-size: 15px;
    height: 45px !important;
    min-width: 140px !important;
    margin-top: 20px !important;
}


@media screen and (max-width: 768px) {
    * { box-sizing: border-box !important; }

    body {
        overflow: hidden !important; 
        position: fixed !important; 
        width: 100vw !important; height: 100vh !important;
        display: flex; align-items: center; justify-content: center;
        margin: 0; padding: 0;
    }

    .widget-wrapper {
        width: 95vw !important;      
        height: 80vh !important;     
        max-width: 450px !important; 
        transform: none !important;  
        position: relative !important;
        left: 0 !important; top: 0 !important; margin: 0 !important;
    }

    .search-box {
        position: relative !important; 
        width: calc(100% - 20px) !important;
        top: 15px !important; left: 10px !important;
        padding: 30px 10px 5px 10px !important; 
        height: auto !important;
        display: flex !important; transform: none !important;
        overflow: hidden !important; 
    }

    .nav-group:not(.right) { 
        display: flex !important; position: absolute !important;
        top: 8px !important; left: 15px !important;
        width: auto !important; gap: 18px !important;
    } 
    .nav-group:not(.right) i { font-size: 14px !important; display: block !important; }

    .nav-group.right { 
        display: flex !important; position: absolute !important;
        top: 8px !important; right: 15px !important;
        width: auto !important; gap: 18px !important;
    }
    .nav-group.right i { font-size: 14px !important; display: block !important; } 
    .nav-group.right #setting-btn { display: none !important; } 

    .tabs-container {
        width: 100% !important; justify-content: flex-start !important;
        overflow-x: auto !important; scrollbar-width: none !important;
        padding: 4px 0 !important; scroll-behavior: smooth;
    }
    .tabs-container::-webkit-scrollbar { display: none !important; }
    .nav-pill { flex-shrink: 0 !important; }

    .search-box::after {
        content: '\f101'; 
        font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif; 
        font-weight: 900;
        position: absolute; 
        right: 0; 
        bottom: 10px !important; 
        width: 35px; 
        height: 32px;
        display: flex; 
        align-items: center; 
        justify-content: center;
        background: linear-gradient(to right, transparent, rgba(25,25,30,0.9) 40%, rgba(25,25,30,1));
        color: #ff66b2; 
        font-size: 14px;
        animation: hintScrollX 1.5s infinite; 
        pointer-events: none; 
        z-index: 10;
    }

    .panels-container {
        width: calc(100% - 20px) !important;
        top: 54.5px !important;
        height: calc(100% - 92px) !important; 
        left: 10px !important; transform: none !important;
    }
    
    .panel {
        width: 100% !important; height: 100% !important;
        overflow-x: hidden !important; 
    }

    .profile-body, .commission-content, .manage-content, .setting-content, .tos-content, .vt-body {
        padding-left: 15px !important; padding-right: 15px !important;
        padding-bottom: 90px !important; 
        width: 100% !important; overflow-x: hidden !important; 
    }

    .panels-container::after {
        content: '\f107'; 
        font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif; font-weight: 900;
        position: absolute; bottom: 10px; left: 50%; margin-left: -15px;
        width: 30px; height: 30px; border-radius: 50%;
        display: flex; justify-content: center; align-items: center;
        background: radial-gradient(circle, rgba(18,18,18,0.9) 30%, transparent 80%);
        color: rgba(255, 102, 178, 0.9); font-size: 24px;
        animation: hintScrollY 1.5s infinite; pointer-events: none; z-index: 99;
    }

    .profile-body { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 15px !important; }
    .profile-header { height: 130px !important; flex-shrink: 0 !important; width: 100% !important; } 
    .avatar-container { bottom: -40px !important; left: 50% !important; transform: translateX(-50%) !important; }
    .profile-title-bar {
        position: relative !important; left: 0 !important; top: 0 !important; margin: 45px 0 0 0 !important; 
        flex-direction: column !important; gap: 5px !important; width: 100% !important; text-align: center;
    }
    .status-pill {
        position: relative !important; inset: auto !important; margin: 5px auto 0 auto !important;
        display: flex !important; justify-content: center; align-items: center;
    }
    .about-box, .side-box, .top-side-box, .bottom-side-box {
        position: relative !important; width: 100% !important; height: auto !important; min-height: auto !important; margin: 0 !important; inset: auto !important;
    }

    .tos-content { padding-top: 15px !important; }
    .tos-section { width: 100% !important; margin-bottom: 15px !important; }

    /* --- FIX LỖI CHỒNG ẢNH COMMISSION (IPAD/IPHONE) --- */
    .commission-content { padding-top: 15px !important; }
    .commission-row { 
        height: auto !important; 
        display: flex !important;
        flex-direction: column !important; 
        gap: 20px !important; 
    }
    .price-category { width: 100% !important; height: auto !important; flex: none !important; }
    
    .sample-category { 
        width: 100% !important; 
        height: auto !important; 
        flex: none !important; 
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Ép chiều cao cố định cho card mẫu để Safari render grid chuẩn */
    .sample-card {
        height: 240px !important;
        width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* Khắc phục lỗi fr trên Safari khiến hàng bị đè lên nhau */
    .mini-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 110px 110px !important; 
        gap: 6px !important;
    }

    .manage-content { padding-top: 15px !important; }
    .manage-grid { display: flex !important; flex-direction: column !important; gap: 15px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .elegant-box { width: 100% !important; margin: 0 !important; }
    .m-header { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
    .m-price { align-self: flex-start !important; }

    .vt-body { display: flex !important; flex-direction: column !important; gap: 15px !important; padding-top: 55px !important; height: calc(100% - 150px) !important; }
    .vt-header { height: 150px !important; }
    .vt-title-wrap { min-height: auto !important; flex-direction: column !important; margin: 0 !important; }
    .vt-status-pill { position: relative !important; left: 0 !important; transform: none !important; margin-top: 8px !important; }
    .vt-content-grid { display: flex !important; flex-direction: column !important; gap: 15px !important; flex: none !important; height: auto !important; margin: 0 !important; width: 100% !important; }
    .vt-box, .vt-music-bar { width: 100% !important; margin: 0 !important; flex: none !important; height: auto !important; }

    /* --- FIX LỖI GALLERY MODAL (KHI CÓ > 6 ẢNH) --- */
    .gallery-modal { width: 95vw !important; height: 85vh !important; transform: translate(-50%, -50%) !important; }
    
    .gm-grid-scroll { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        grid-auto-rows: minmax(150px, auto) !important; /* Đảm bảo các hàng mới không đè hàng cũ */
        gap: 12px !important; 
    }

    .gm-img-cell {
        width: 100% !important;
        padding-bottom: 0 !important;
        aspect-ratio: 1 / 1 !important; /* Tạo khung vuông chuẩn Safari */
        position: relative !important;
    }

    .report-modal-content { transform: scale(1) !important; width: 90vw !important; max-width: 320px !important; }

    /* --- PHẦN LIGHTBOX VÀ ẢNH FULL (MÀ CẬU ĐÃ SỬA TRƯỚC ĐÓ) --- */
    .gallery-lightbox {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.95) !important;
        z-index: 99999 !important;
        display: block !important; 
        touch-action: none;
    }

    .glb-img-border-wrap {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform-origin: 0 0 !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        border: 2px solid #ff66b2 !important;
        background: #0f0f12 !important;
        padding: 5px !important;
        border-radius: 12px !important;
        box-shadow: 0 0 20px rgba(0,0,0,0.5) !important;
    }

    #glb-img {
        display: block !important;
        max-width: none !important; 
        max-height: none !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        transform: none !important; 
    }

    .glb-zoom-btns {
        display: none !important;
    }

    .glb-close {
        position: fixed !important;
        top: 20px !important; 
        right: 20px !important;
        width: 45px !important; 
        height: 45px !important;
        z-index: 1000001 !important;
        background: rgba(255, 102, 178, 0.2) !important;
        border: 1px solid #ff66b2 !important;
        color: #ff66b2 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* --- PHẦN NÚT CÀI ĐẶT VÀ ANIMATION (GIỮ NGUYÊN) --- */
    #setting-btn {
        z-index: 999999 !important; 
        display: flex !important; 
        align-items: center;
        justify-content: center;
        background: rgba(20, 20, 25, 0.9) !important;
        border: 1px solid rgba(255, 102, 178, 0.5) !important;
        border-radius: 50% !important;
        color: #ff66b2 !important;
        cursor: pointer;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 15px rgba(255, 102, 178, 0.3);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    #setting-btn:hover {
        transform: scale(1.1) rotate(45deg) !important;
        background: rgba(255, 102, 178, 0.15) !important;
        border-color: #ff66b2 !important;
        box-shadow: 0 0 20px rgba(255, 102, 178, 0.5);
    }

    @keyframes hintScrollY {
        0%, 100% { transform: translateY(0); opacity: 0.3; }
        50% { transform: translateY(8px); opacity: 1; text-shadow: 0 0 10px #ff66b2; }
    }

    @keyframes hintScrollX {
        0%, 100% { transform: translateX(0); opacity: 0.3; }
        50% { transform: translateX(4px); opacity: 1; text-shadow: 0 0 8px #ff66b2; }
    }

    #setting-btn {
        position: fixed !important;
        right: 20px !important;
        bottom: 20px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }
}