/* General Styles */
body {
    font-family: "Arial", sans-serif;
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    background-color: #121212;
    line-height: 1.6;
    box-sizing: border-box; /* Ensure padding and border are included in width/height */
}

:root {
    --post-avatar-size: 40px;
    --video-max-width: 760px;
    --video-max-height: 460px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}
/* Responsive Images */
img, .post-media, .profile-pic {
    max-width: 100%; /* Ensure images do not overflow */
    height: auto;
    display: block;
    margin: 0 auto; /* Center images */
}

video,
.video-player video,
.video-thumb video,
.profile-video-player,
.lazy-video,
.post-media video {
    width: 100%;
    max-width: var(--video-max-width);
    max-height: var(--video-max-height);
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.avatar {
    width: var(--post-avatar-size);
    height: var(--post-avatar-size);
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 var(--post-avatar-size);
}
.avatar-link {
    display: inline-flex;
    align-items: center;
}
.avatar-link img {
    display: block;
}





h1,
h2,
h3 {
    color: #00e5ff; /* Neon blue text for headings */
    margin-bottom: 10px;
    text-shadow:
        0 0 10px #00e5ff,
        0 0 20px #00b8cc;
}

/* Header */
header {
    background: #1e1e1e; /* Dark header */
    color: #00e5ff;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header a {
    color: #00e5ff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}

header a:hover {
    color: #00b8cc;
}

.subtitle {
    font-size: 18px;
    margin-top: 10px;
}

/* Sections */
section {
    margin: 40px 0;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition:
        background-color 0.3s,
        color 0.3s;
}

.section {
    border: 1px solid #333;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.beta-info ul {
    list-style: none;
    padding: 0;
}

.beta-info ul li {
    margin: 10px 0;
    font-size: 18px;
    color: #e0e0e0;
}

.cta-text {
    font-weight: bold;
    margin-top: 20px;
}

/* Feature Cards */
.feature-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background: #1e1e1e;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.card h3 {
    color: #00e5ff;
    margin-bottom: 15px;
    text-shadow:
        0 0 10px #00e5ff,
        0 0 20px #00b8cc;
}

/* Get Started Section */
.get-started .btn {
    display: inline-block;
    background: #00e5ff;
    color: #121212;
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition:
        background-color 0.3s,
        transform 0.3s;
}

.get-started .btn:hover {
    background: #00b8cc;
    transform: scale(1.05);
}

/* Sidebar */
.sidebar {
    width: 300px;
    float: left;
    margin-right: 20px;
    text-align: center;
}

.sidebar img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.sidebar h3 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #00e5ff;
}

.sidebar p {
    font-size: 1em;
    color: #e0e0e0;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00e5ff;
    box-shadow:
        0 0 10px #00e5ff,
        0 0 20px #00b8cc;
}

/* Sidebar nav layout tweaks for mobile */
@media (max-width: 720px) {
    .app-header {
        height: 100vh;
        overflow-y: auto;
    }

    .app-header-inner {
        min-height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 100px;
    }

    .app-nav {
        padding-bottom: 60px;
    }
}

.profile-shell {
    padding: 28px 16px 64px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 229, 255, 0.12), transparent 46%),
        radial-gradient(circle at 85% 12%, rgba(255, 180, 0, 0.14), transparent 45%),
        #0d111b;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    border-radius: 24px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 22px;
    align-items: start;
}

.profile-card {
    background: rgba(16, 22, 36, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.profile-card--identity {
    display: grid;
    gap: 16px;
    align-items: center;
}

.profile-avatar-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 6px;
    background: conic-gradient(from 120deg, #00e5ff, #f9c76d, #00e5ff);
    margin: 0 auto;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0b0f17;
}

.profile-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.profile-name {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 32px;
    margin: 0 0 8px;
    color: #f6f9ff;
    text-shadow: none;
}

.profile-bio {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
}

.profile-actions {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.profile-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #f6f9ff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.profile-btn:hover {
    transform: translateY(-2px);
}

.profile-btn.primary {
    background: #00e5ff;
    color: #0b0f17;
    border-color: transparent;
}

.profile-btn.ghost {
    background: rgba(255, 255, 255, 0.08);
}

.profile-btn.danger {
    background: rgba(255, 92, 92, 0.15);
    border-color: rgba(255, 92, 92, 0.5);
    color: #ffb3b3;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

.profile-music {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.profile-music-btn {
    margin-right: 6px;
}

.audio-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.profile-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    word-break: break-word;
}

.mono {
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.profile-feed {
    display: grid;
    gap: 18px;
}

.profile-upload h2,
.profile-videos h2 {
    margin: 0 0 10px;
    text-shadow: none;
}

.profile-upload-form {
    display: grid;
    gap: 10px;
}

.profile-upload-form input,
.profile-upload-form select,
.profile-upload-form textarea {
    width: 100%;
    background: rgba(8, 12, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f6f9ff;
    border-radius: 10px;
    padding: 8px 10px;
}

.profile-upload-check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.profile-videos-grid {
    margin-top: 16px;
    display: grid;
    gap: 16px;
}

.profile-video-card {
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.96), rgba(10, 14, 24, 0.96));
    border: 1px solid rgba(62, 202, 255, 0.18);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
    box-shadow:
        inset 0 0 0 1px rgba(24, 198, 255, 0.05),
        0 8px 18px rgba(0, 0, 0, 0.35);
}

.profile-video-player {
    width: 100%;
    max-height: 520px;
    border-radius: 10px;
    background: #0c1018;
    border: 1px solid rgba(63, 198, 255, 0.25);
    box-shadow: 0 0 20px rgba(12, 185, 255, 0.12);
    object-fit: contain;
}

.profile-video-meta h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.profile-video-meta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.profile-empty {
    color: rgba(255, 255, 255, 0.6);
}

.profile-bio-video {
    width: 100%;
    max-height: 320px;
    margin-top: 12px;
    border-radius: 12px;
    background: #0a0f1a;
    object-fit: contain;
}

.profile-video-preview {
    width: 100%;
    max-height: 260px;
    margin: 10px 0;
    border-radius: 12px;
    background: #0a0f1a;
    object-fit: contain;
}

.profile-posts-header h2 {
    margin: 0;
    text-shadow: none;
}

.profile-posts-header p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.profile-toggle-header {
    cursor: pointer;
}

.profile-toggle-body {
    display: none;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

.profile-toggle-body.open {
    display: block;
}

.profile-toggle-body::-webkit-scrollbar {
    width: 8px;
}

.profile-toggle-body::-webkit-scrollbar-track {
    background: rgba(8, 12, 22, 0.6);
    border-radius: 999px;
}

.profile-toggle-body::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.4);
    border-radius: 999px;
}

.profile-posts-grid {
    margin-top: 20px;
    display: grid;
    gap: 18px;
}

.profile-post-card {
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.96), rgba(10, 14, 24, 0.96));
    border: 1px solid rgba(62, 202, 255, 0.18);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
    box-shadow:
        inset 0 0 0 1px rgba(24, 198, 255, 0.05),
        0 8px 18px rgba(0, 0, 0, 0.35);
}

.profile-music-mini {
    display: grid;
    gap: 12px;
}
.profile-music-mini .mini-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.profile-music-mini .mini-btn {
    border-radius: 999px;
    border: 1px solid rgba(62, 202, 255, 0.35);
    background: rgba(8, 16, 28, 0.9);
    color: #cfeaff;
    padding: 6px 12px;
    cursor: pointer;
}
.profile-music-mini .mini-tracklist {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid rgba(62, 202, 255, 0.2);
    border-radius: 10px;
    padding: 8px;
    display: grid;
    gap: 6px;
}
.profile-music-mini .mini-track {
    font-size: 0.9rem;
    opacity: 0.8;
}
.profile-music-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.profile-post-card .post-media {
    max-height: 520px;
    object-fit: contain;
    cursor: zoom-in;
    background: #0c1018;
    border: 1px solid rgba(63, 198, 255, 0.25);
    box-shadow: 0 0 20px rgba(12, 185, 255, 0.12);
}

.profile-post-card video.post-media {
    object-fit: contain;
}

.post-date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 6px;
}

.post-body {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.86);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card.expanded .post-body {
    -webkit-line-clamp: unset;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: #7cc4ff;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    display: none;
}

.read-more-btn.visible {
    display: inline-flex;
}

.post-media {
    border-radius: 14px;
    max-height: 360px;
    width: 100%;
    object-fit: cover;
    background: #0a0f1a;
}

video.post-media {
    object-fit: contain;
    background: #0a0f1a;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.post-link {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
}

.profile-song-preview {
    margin: 10px 0;
    width: 100%;
}

.media-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 12, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 24px;
}

.media-modal.open {
    display: flex;
}

.media-modal-content {
    max-width: min(1100px, 95vw);
    max-height: 90vh;
    width: 100%;
    background: rgba(12, 16, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    gap: 12px;
}

.media-modal-content img,
.media-modal-content video {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    background: #0a0f1a;
}

.media-modal-close {
    justify-self: end;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 820px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-card--identity {
        text-align: center;
    }

    .profile-actions {
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .profile-shell {
        padding: 18px 10px 48px;
        border-radius: 18px;
    }

    .profile-grid {
        gap: 14px;
    }

    .profile-card {
        padding: 16px;
    }

    .profile-avatar-wrap {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-post-card {
        max-width: 100%;
        padding: 14px;
    }

    .profile-post-card .post-media {
        max-height: 360px;
    }

    .profile-video-player {
        max-height: 300px;
    }

    .profile-bio-video {
        max-height: 240px;
    }

    .profile-video-preview {
        max-height: 220px;
    }
}

/* Logs Section */
.logs-section,
.public-logs {
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
}

.logs-section h2,
.public-logs h2 {
    text-shadow:
        0 0 10px #00e5ff,
        0 0 20px #00b8cc;
}

.log-entry {
    background: #1e1e1e;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.log-entry p {
    margin: 10px 0;
    color: #e0e0e0;
}

.public-logs {
            width: 100%;
            max-width: 700px;
            margin: 20px;
            padding: 20px;
            background-color: #1e1e1e;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            border-radius: 10px;
            overflow: hidden;
}

/* AI history section width to match logs */
.ai-history {
    max-width: 800px;
    margin: 0 auto;
}

.history-entry {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}
/* Media Preview */
.post-media {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border: 2px solid #00e5ff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: #1e1e1e;
    color: #e0e0e0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
}

/* Light Mode */
body.light-mode {
    background-color: #ffffff;
    color: #333;
}

body.light-mode section {
    background: #f9f9f9;
}

body.light-mode .card {
    background: #ffffff;
    border: 1px solid #ddd;
}

body.light-mode footer {
    background: #f0f0f0;
    color: #333;
}

/* --- Overrides for consistent section layout --- */
.section {
    border: 1px solid #333;
    max-width: 900px;
    margin: 40px auto;
    width: auto;
}

/* Ensure public posts section matches section layout */
.section.public-logs,
.public-logs {
    width: auto;
    max-width: 900px;
    margin: 40px auto;
}

/* Ensure AI history has same border and centering */
.section.ai-history,
.ai-history {
    width: auto;
    max-width: 900px;
    margin: 40px auto;
    border: 1px solid #333;
}

/* Gallery grid for video pages */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    align-items: start;
}

.video-card {
    position: relative;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}

.video-card video {
    width: 100%;
    border-radius: 6px;
    background: #000;
}

.video-meta { color: #bbb; font-size: 0.9rem; margin-top: 6px; }

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.play-overlay::before {
    content: '';
    display: block;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 6px;
}

/* Fullscreen video modal */
#video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
}
#video-modal .modal-frame { max-width: 900px; margin: 60px auto; padding: 10px; }
#video-modal .modal-title { color: #fff; margin-bottom: 6px; }
#video-modal .modal-meta { color: #bbb; margin-bottom: 12px; font-size: 0.9rem; }
#video-modal video { width: 100%; border-radius: 8px; background: #000; }
#video-modal .modal-desc { color: #ddd; margin-top: 10px; }
.calendar-section {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

#calendar {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.profile-pic-small {
    width: var(--post-avatar-size);
    height: var(--post-avatar-size);
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.log-entry {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Centering the form */
.centered-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto; /* Center the form horizontally */
    padding: 20px;
    background-color: #2e3031; /* Optional: Add background for clarity */
    border: 1px solid #ddd; /* Optional: Add a border for definition */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add subtle shadow */
    box-sizing: border-box;
}

/* Style for labels */
.centered-form label {
    width: 100%;
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
}

/* Style for textareas and input fields */
.centered-form textarea,
.centered-form input[type="file"] {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #0f98bc;
}

/* Checkbox label alignment */
.centered-form input[type="checkbox"] {
    margin-right: 5px;
}

/* Button styling */
.centered-form button {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    background-color: rgba(65, 198, 231, 0.99);
    color: #000000;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.centered-form button:hover {
    background-color: #0056b3;
}

/* Media preview container styling */
#media-preview {
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    .feature-cards {
        display: flex;
        flex-direction: column; /* Stack cards vertically */
        gap: 10px;
    }

    .centered-form button {
        max-width: 100%;
    }
}
#video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
    background: #18cae3;
}
.room {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.room h3 {
    margin: 0 0 10px 0;
}

.user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.user {
    text-align: center;
    width: 80px;
}

.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.user-stack {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.stacked-profile {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    background: lightgray;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}




#bitcoin-ticker {
	position: static;
	display: inline-flex;
	align-items: center;
	background: #1ebbe4;
	color: #fff;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 14px;
	margin-bottom: 4px;
}
.ai-history .history-entry {
	border: 1px solid #0bdbed;
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
	background-color: #212527;
}
.ai-history .history-entry p {
	margin: 5px 0;
}
.tts-toggle {
	margin-top: 10px;
	font-size: 14px;
}

.tts-toggle input {
	margin-right: 5px;
}

#ai-response-text {
	min-height: 50px; /* Reserve space to avoid jumping */
	position: relative;
}

#ai-response-text::after {
	content: "";
	width: 15px;
	height: 15px;
	border: 3px solid #29bcd0;
	border-top: 3px solid transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none; /* Default state is hidden */
}

#ai-response-text.thinking::after {
	display: block; /* Display the spinner only when .thinking is applied */
}

@keyframes spin {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}
.profile-details .bitcoin-address {
	background-color: #66bad5;
	padding: 10px;
	border-radius: 5px;
	margin-top: 10px;
	font-size: 13px;
	font-family: monospace;
	color: #333;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}
.section {
	margin: 0 auto;
	width: 80%; /* Adjust the width as needed */
	max-width: 600px; /* Prevent sections from getting too wide */
	padding: 20px;
	border: 1px solid #1ea7cf;
	border-radius: 10px;
	background-color: #1b1c1e;
	box-shadow: 4px 6px rgba(0, 0, 0, 0.1);
}

/* General styling for sections */
.section {
	margin: 20px auto; /* Center the section */
	padding: 20px; /* Add padding */
	width: 80%; /* Set the width */
	max-width: 600px; /* Ensure it doesn't stretch too wide */
	background-color: #1e1e1e; /* Light background for distinction */
	border: 1px solid #2dc4e8; /* Subtle border */
	border-radius: 10px; /* Rounded corners */
	box-shadow: px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Center section headers */
.section h2 {
	text-align: center;
	font-size: 1.5em;
	margin-bottom: 15px;
}

/* Center toggle icon */
.section .toggle-icon {
	float: right;
	cursor: pointer;
}

/* Style forms inside sections */
.section form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.section form input,
.section form select,
.section form button {
	width: 100%;
	max-width: 300px; /* Prevent inputs from getting too wide */
	margin: 10px 0; /* Add spacing between inputs */
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #1eb7d1;
}

/* Transaction list styling */
#transaction-list {
	margin-top: 10px;
	padding: 10px;
	background-color: #202425;
	border: 1px solid #1099be;
	border-radius: 5px;
	max-height: 200px; /* Limit height */
	overflow-y: auto; /* Add scroll if content exceeds height */
}
/* Lock the container in place */
.ai-container {
	width: 80%; /* Set the width of the container */
	margin: 0 auto; /* Center the container horizontally */
	padding: 20px; /* Add some spacing inside the container */
	background-color: #f9f9f9; /* Light background for the section */
	border: 1px solid #ccc; /* Border for clarity */
	border-radius: 8px; /* Rounded corners */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for aesthetics */
}

/* Style the text area */
#ai-input {
	width: 93%; /* Full width inside the container */
	height: 150px; /* Fixed height */
	resize: none; /* Prevent resizing */
	padding: 10px; /* Spacing inside the text area */
	border: 1px solid #129bc2; /* Border for clarity */
	border-radius: 4px; /* Rounded corners */
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
	font-size: 16px; /* Adjust font size for readability */
}

/* Center the TTS controls */
#tts-controls {
	text-align: center; /* Center the buttons */
	margin-top: 10px; /* Add spacing above the buttons */
}

/* Style the buttons */
#ask-ai-button,
#stop-tts-button {
	margin: 5px;
	padding: 10px 20px;
	font-size: 14px;
	background-color: #29bcd0;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
}

#ask-ai-button:hover,
#stop-tts-button:hover {
	background-color: #1a97ad; /* Darker shade on hover */
}

/* Style the response text */
#ai-response-text {
	margin-top: 15px;
	font-size: 16px;
	color: #e0e0e0; /* Dark text for better readability */
	text-align: center;
}

.follow-btn,
.unfollow-btn {
	background-color: #00f;
	border: none;
	color: white;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	border-radius: 12px;
	box-shadow: 0 4px #999;
	transition: all 0.3s ease;
}
.follow-btn:hover,
.unfollow-btn:hover {
	background-color: #0057e7;
}
.follow-btn:active,
.unfollow-btn:active {
	box-shadow: 0 2px #bc1540;
	transform: translateY(2px);



}

.neon-button {
	background-color: #0ff;
	border: none;
	color: #000;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	border-radius: 12px;
	box-shadow:
		0 0 10px #0ff,
		0 0 20px #0ff,
		0 0 30px #0ff;
	transition: all 0.3s ease;
}

.neon-button:hover {
	background-color: #00e5e5;
	box-shadow:
		0 0 20px #00e5e5,
		0 0 30px #00e5e5,
		0 0 40px #00e5e5;
}

.neon-button:active {
	box-shadow: 0 2px #666;
	transform: translateY(2px);
}

.scrollable-content {
	width: 200px;
	height: 300px;
	overflow-y: scroll;
	border: 2px solid #0ff;
	padding: 10px;
	margin-top: 20px;
	text-align: left;
}

/* Custom scroll bar styles */
.scrollable-content::-webkit-scrollbar {
	width: 12px;
}

.scrollable-content::-webkit-scrollbar-track {
	background: #121212;
}

.scrollable-content::-webkit-scrollbar-thumb {
	background-color: #0ff;
	border-radius: 6px;
	border: 3px solid #121212;
}

.profile-container {
    text-align: center;
    padding: 20px;
    background-color: #1e1e1e;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
.profile-block {
    max-height: 520px;
    overflow-y: auto;
}
.profile-pic {
    border-radius: 50%;
    max-width: 150px;
    margin-bottom: 20px;
}
.neon-text {
    color: #00f;
    text-shadow: 0 0 5px #00f, 0 0 10px #00f, 0 0 20px #00f, 0 0 30px #00f, 0 0 40px #00f, 0 0 55px #00f, 0 0 75px #00f;
}
.follow-btn, .unfollow-btn {
    background-color: #00f;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 4px #999;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #000;
}
.follow-btn:hover, .unfollow-btn:hover {
    background-color: #0057e7;
}
.follow-btn:active, .unfollow-btn:active {
    box-shadow: 0 2px #666;
    transform: translateY(2px);
}
.posts-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #1e1e1e;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: auto;
}
.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 0;
}
.search-form input {
    min-width: 220px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #0e9ad4;
    background: #0f1217;
    color: #f1f5f9;
}
.search-form button {
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    background: #0e9ad4;
    color: #fff;
    cursor: pointer;
}
.app-header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 5;
    background: #0f1217;
    border-left: 1px solid #1f2a3a;
    padding: 16px;
    width: 300px;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.app-header.sidebar-open {
    transform: translateX(0);
    box-shadow: -8px 0 30px rgba(16, 200, 255, 0.2);
}
.app-sidebar-hitbox {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 22px;
    z-index: 4;
    background: transparent;
}
.app-sidebar-hitbox.sidebar-open {
    pointer-events: none;
}
.app-sidebar-handle {
    display: block;
    position: absolute;
    left: -110px;
    top: 120px;
    width: 110px;
    height: 44px;
    border-radius: 16px 0 0 16px;
    border: 1px solid #35c7ff;
    background: linear-gradient(180deg, #0db0ff 0%, #0678b9 100%);
    color: #f1f8ff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(13, 176, 255, 0.55);
    z-index: 6;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 44px;
}
.app-sidebar-hint {
    position: absolute;
    left: -210px;
    top: 128px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #35c7ff;
    background: rgba(13, 176, 255, 0.15);
    color: #bfeeff;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(13, 176, 255, 0.35);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.app-header:hover .app-sidebar-hint {
    opacity: 1;
    transform: translateY(0);
}
.app-header-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-height: 0;
}
.app-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #35c7ff;
    background: rgba(13, 176, 255, 0.15);
    color: #bfeeff;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(13, 176, 255, 0.35);
}
.app-header-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.app-header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.app-header-title {
    margin: 0;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}
.app-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.78rem;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 32px;
}
.app-nav a {
    color: #7cc4ff;
    text-decoration: none;
    font-weight: 600;
}
.app-nav a:hover {
    text-decoration: underline;
}
.app-nav .nav-notifications {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.notification-badge {
    position: absolute;
    right: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff2d55;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 45, 85, 0.6);
}
.notification-badge.is-hidden {
    display: none;
}
.app-header-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.app-header-meta-row.ticker-row {
    justify-content: center;
    width: 100%;
}
.app-header-meta-row.address-row {
    margin-top: 6px;
}

.app-header-meta-row.withdraw-row {
    margin-top: 6px;
    justify-content: center;
    width: 100%;
}

.withdraw-btn {
    font-weight: 600;
    text-decoration: none;
    pointer-events: auto;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    cursor: not-allowed;
    position: relative;
}

.withdraw-btn.active {
    color: #aefbff;
    border-color: rgba(64, 220, 255, 0.8);
    box-shadow: 0 0 12px rgba(54, 204, 255, 0.65), 0 0 24px rgba(54, 204, 255, 0.35);
    pointer-events: auto;
    cursor: pointer;
}
.notifications-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 24px 64px;
}
.notifications-card {
    background: #0f1622;
    border: 1px solid #1e2a3d;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 0 24px rgba(10, 90, 140, 0.25);
}
.notifications-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.notifications-header h2 {
    margin: 0;
}
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.notification-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(9, 14, 22, 0.75);
    border: 1px solid transparent;
}
.notification-item.unread {
    border-color: rgba(255, 45, 85, 0.4);
    box-shadow: 0 0 14px rgba(255, 45, 85, 0.2);
}
.notification-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.notification-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.notification-text {
    color: #e9f2ff;
    font-weight: 600;
}
.notification-text a {
    color: #7cc4ff;
    text-decoration: none;
}
.notification-text a:hover {
    text-decoration: underline;
}
.notification-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.notification-actions form {
    margin: 0;
}
.notification-actions button,
.notifications-header button {
    background: rgba(124, 196, 255, 0.12);
    color: #bfe7ff;
    border: 1px solid rgba(124, 196, 255, 0.45);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
}
.notification-actions button:hover,
.notifications-header button:hover {
    background: rgba(124, 196, 255, 0.25);
}
.notifications-empty {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}
@media (max-width: 700px) {
    .notifications-page {
        padding: 80px 16px 56px;
    }
    .notification-item {
        grid-template-columns: auto 1fr;
    }
    .notification-actions {
        grid-column: 1 / -1;
        justify-self: flex-start;
    }
}

.music-player-window {
    position: fixed;
    top: 140px;
    right: 24px;
    width: 520px;
    height: 347px;
    background: rgba(6, 10, 16, 0.92);
    border: 2px solid rgba(92, 210, 255, 0.35);
    border-radius: 28px;
    box-shadow: 0 0 30px rgba(62, 202, 255, 0.35);
    color: #cfeaff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
}
.music-player-window.hidden {
    display: none;
}
.music-player-window.minimized .music-body {
    display: none;
}
.music-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(6, 18, 30, 0.6);
    border-bottom: 1px solid rgba(62, 202, 255, 0.3);
    cursor: grab;
}
.music-title {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.music-window-controls {
    display: flex;
    gap: 6px;
}
.music-exit {
    display: none;
}
body.music-popout .music-exit {
    display: inline-flex;
}
body.music-popout #music-popout {
    display: none;
}
.music-btn {
    width: 28px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid rgba(62, 202, 255, 0.55);
    background: rgba(12, 20, 34, 0.8);
    color: #cfeaff;
    cursor: pointer;
}
.music-body {
    padding: 0;
    height: 100%;
    overflow: hidden;
}
.music-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.music-tab {
    flex: 1;
    border: 1px solid rgba(62, 202, 255, 0.35);
    border-radius: 8px;
    background: rgba(8, 16, 28, 0.9);
    color: #cfeaff;
    padding: 6px 8px;
    cursor: pointer;
}
.music-tab.active {
    box-shadow: 0 0 12px rgba(62, 202, 255, 0.4);
}
.music-pane {
    display: none;
}
.music-pane.active {
    display: block;
}
.music-skin {
    position: relative;
    width: 100%;
    height: 100%;
    background: url("/static/assets/research%20music%20play%20grapics.png") center/contain no-repeat;
}
.music-skin-datetime {
    position: absolute;
    left: 38%;
    top: 27%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(92, 210, 255, 0.5);
    background: rgba(8, 16, 28, 0.55);
    box-shadow: 0 0 12px rgba(62, 202, 255, 0.35);
    color: #cfeaff;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.music-skin-clock {
    font-size: 0.78rem;
    font-weight: 600;
}
.music-player-window.docked .music-skin-datetime {
    display: none;
}
.music-skin-progress {
    position: absolute;
    left: 30%;
    top: 54%;
    width: 40%;
}
.music-skin-progress input[type="range"] {
    width: 100%;
    height: 6px;
    background: transparent;
}
.music-skin-title {
    position: absolute;
    left: 18%;
    top: 35%;
    width: 64%;
    text-align: center;
}
.music-pill {
    display: block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(92, 210, 255, 0.7);
    box-shadow: 0 0 14px rgba(62, 202, 255, 0.55);
    background: rgba(8, 20, 32, 0.6);
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.music-pill-text {
    display: inline-block;
    padding-left: 0;
    white-space: nowrap;
    will-change: transform;
}
.music-player-window.playing .music-pill-text {
    padding-left: 100%;
    animation: music-pill-scroll 12s linear infinite;
}
@keyframes music-pill-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.music-skin-controls {
    position: absolute;
    left: 22%;
    top: 47%;
    width: 56%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.music-skin-controls button {
    border-radius: 10px;
    border: 1px solid rgba(92, 210, 255, 0.6);
    background: rgba(8, 16, 28, 0.5);
    color: #cfeaff;
    padding: 6px 0;
}
.music-skin-time {
    position: absolute;
    left: 30%;
    top: 63%;
    width: 40%;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.75;
}
.music-skin-list {
    position: absolute;
    left: 24%;
    top: 69%;
    width: 52%;
    max-height: 24%;
    overflow-y: auto;
    display: grid;
    gap: 6px;
}
.music-skin-list .music-track {
    text-align: center;
    border-radius: 999px;
    padding: 4px 8px;
}
.music-skin-editor-btn {
    position: absolute;
    right: 16%;
    top: 12%;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(92, 210, 255, 0.6);
    background: rgba(8, 16, 28, 0.4);
    color: #cfeaff;
    cursor: pointer;
}
.music-progress input[type="range"] {
    width: 100%;
}
.music-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.7;
}
.music-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}
.music-list {
    display: grid;
    gap: 6px;
}
.music-track {
    text-align: left;
    border: 1px solid rgba(62, 202, 255, 0.35);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(8, 16, 28, 0.85);
    color: #cfeaff;
    cursor: pointer;
}
.music-track.active {
    box-shadow: 0 0 14px rgba(62, 202, 255, 0.55);
}
.music-upload {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.music-editor {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}
.music-editor-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    gap: 6px;
    align-items: center;
}
.music-editor-row input {
    width: 100%;
}
.music-size {
    font-size: 0.75rem;
    opacity: 0.7;
}
.music-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 12, 22, 0.95);
    border: 1px solid rgba(62, 202, 255, 0.3);
    border-radius: 999px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 16px rgba(62, 202, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    z-index: 1201;
}

.music-player-window.docked {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(92vw, 560px);
    height: 70px;
    border-radius: 999px;
    background: rgba(6, 12, 20, 0.96);
    box-shadow: 0 0 18px rgba(62, 202, 255, 0.3);
    overflow: hidden;
}

.music-player-window.docked .music-body {
    padding: 8px 12px;
}

.music-player-window.docked .music-volume,
.music-player-window.docked .music-editor,
.music-player-window.docked .music-upload,
.music-player-window.docked .music-editor-panel,
.music-player-window.docked .music-skin-progress,
.music-player-window.docked .music-skin-time,
.music-player-window.docked .music-skin-list {
    display: none;
}

.music-player-window.docked .music-controls {
    margin-top: 6px;
}

.music-player-window.docked .music-titlebar {
    cursor: default;
    border-bottom: none;
    background: transparent;
    padding: 10px 16px;
}

.music-player-window.docked .music-skin {
    background: none;
}

.music-player-window.docked .music-skin-title {
    position: static;
    width: auto;
    text-align: left;
    margin-top: 6px;
}

.music-player-window.docked .music-skin-controls {
    position: static;
    width: auto;
    margin-left: auto;
    grid-template-columns: repeat(3, auto);
}

.music-editor-panel {
    position: absolute;
    inset: 8%;
    background: rgba(6, 12, 20, 0.92);
    border: 1px solid rgba(92, 210, 255, 0.4);
    border-radius: 18px;
    padding: 12px;
    display: none;
    overflow-y: auto;
}
.music-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.music-editor-panel.open {
    display: block;
}
.music-banner.visible {
    opacity: 1;
    pointer-events: auto;
}
.music-banner button {
    border-radius: 999px;
    border: 1px solid rgba(62, 202, 255, 0.4);
    background: rgba(8, 16, 28, 0.9);
    color: #cfeaff;
    padding: 4px 10px;
}
.music-banner-title {
    font-weight: 600;
}
.music-banner-title:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 14, 22, 0.95);
    color: #cfeaff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    border: 1px solid rgba(62, 202, 255, 0.25);
    white-space: nowrap;
}
.music-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
    --confetti-speed: 2.8s;
}
.music-confetti.active {
    opacity: 1;
}
.music-confetti.burst {
    opacity: 1;
    --confetti-speed: 1.6s;
    filter: drop-shadow(0 0 6px rgba(120, 220, 255, 0.45));
}
.music-confetti::before,
.music-confetti::after {
    content: none;
}
.music-confetti-piece {
    position: absolute;
    top: -12%;
    left: var(--x, 50%);
    opacity: 0;
    animation: confetti-fall-fluid var(--dur, 3s) ease-in forwards;
    animation-delay: var(--delay, 0s);
    transform: translate3d(0, -20%, 0);
    font-size: var(--fs, 12px);
}
.music-confetti-piece-inner {
    display: block;
    color: var(--c, #56d8ff);
    font-family: "Courier New", monospace;
    line-height: 1;
    text-shadow: 0 0 8px rgba(120, 220, 255, 0.4);
    animation: confetti-spin var(--spin, 1s) linear infinite;
}
@keyframes confetti-fall-fluid {
    0% {
        transform: translate3d(0, -20%, 0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    45% {
        transform: translate3d(var(--sway, 12px), 55vh, 0);
    }
    100% {
        transform: translate3d(var(--sway2, -10px), 120vh, 0);
        opacity: 0.9;
    }
}
@keyframes confetti-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .music-confetti {
        display: none;
    }
}

.withdraw-btn.disabled:hover::after,
.withdraw-btn.disabled:focus::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 8px);
    background: rgba(8, 14, 22, 0.95);
    color: #cfeaff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    border: 1px solid rgba(64, 220, 255, 0.25);
    white-space: nowrap;
    z-index: 10;
}
.meta-chip {
    background: #131925;
    border: 1px solid #1f2a3a;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #9fb0c6;
    white-space: nowrap;
}
.meta-chip.wide {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.meta-chip.address-chip {
    font-size: 0.72rem;
    letter-spacing: 0;
    white-space: normal;
    word-break: break-all;
    line-height: 1.2;
    padding: 6px 10px;
}
.meta-chip.balance-chip {
    flex-basis: 100%;
}
body.sidebar-open {
    padding-right: 300px;
}
@media (max-width: 820px) {
    .app-header {
        width: 220px;
        transform: translateX(220px);
        transition: transform 0.25s ease;
        padding: 12px;
    }
    .app-sidebar-handle {
        display: none;
    }
    .meta-chip.wide {
        max-width: 100%;
    }
    .meta-chip.balance-chip {
        flex-basis: auto;
    }
    .app-nav {
        font-size: 0.72rem;
        gap: 4px;
    }
    body.sidebar-open {
        padding-right: 0;
    }
    .app-header-inner {
        gap: 10px;
    }
    .app-header-top {
        gap: 6px;
    }
    .app-header-meta {
        gap: 6px;
    }
    .search-form input {
        min-width: 160px;
        padding: 6px 8px;
    }
    .search-form button {
        padding: 6px 10px;
    }
    .meta-chip {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    .meta-chip.address-chip {
        font-size: 0.68rem;
    }
}
.post {
    border-bottom: 1px solid #0e9ad4;
    padding: 15px 0;
}
.post:last-child {
    border-bottom: none;
}

.post-media {
    max-width: 100%;
    max-height: 200px;
    margin-top: 10px;
}
.scrollable-content {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #0bb2b9;s
    padding: 10px;
    border-radius: 10px;
}
/* Custom scroll bar styles */
.scrollable-content::-webkit-scrollbar {
    width: 12px;
}
.scrollable-content::-webkit-scrollbar-track {
    background: #121212;
}
.scrollable-content::-webkit-scrollbar-thumb {
    background-color: #0ff;
    border-radius: 6px;
    border: 3px solid #121212;
}

/* Video gallery */
.video-section {
    margin: 20px auto;
}
.video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.video-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.video-filters a {
    color: #9fb8d0;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(15, 23, 42, 0.4);
}
.video-filters a.is-active {
    color: #eaf6ff;
    border-color: #2aa7e6;
    background: rgba(16, 154, 212, 0.2);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.video-card-yt {
    background: #101622;
    border: 1px solid #1f2a3a;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}
.video-thumb {
    position: relative;
    display: block;
    background: #000;
}
.video-thumb video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #000;
}
.video-play {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #eaf6ff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.video-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.video-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}
.video-title a {
    color: #e7f5ff;
    text-decoration: none;
}
.video-title a:hover {
    text-decoration: underline;
}
.video-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: #8fa3bb;
}
.video-dot {
    color: #3b4b63;
}
.video-desc {
    margin: 0;
    color: #c0cfdd;
    font-size: 0.9rem;
}
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.video-tag {
    background: #0f2334;
    border: 1px solid #1f3c57;
    color: #7cc4ff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
}
.video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.vote-btn {
    background: #101b2a;
    border: 1px solid #22364e;
    color: #d2e6ff;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
}
.vote-btn.is-active {
    background: #0e9ad4;
    border-color: #0e9ad4;
    color: #fff;
}
.vote-count,
.comment-link {
    color: #bcd2e6;
    font-size: 0.82rem;
    text-decoration: none;
}
.video-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
.video-player video {
    width: 100%;
    border-radius: 12px;
    background: #000;
}
.video-detail-info {
    background: #0f141f;
    border: 1px solid #1f2a3a;
    border-radius: 12px;
    padding: 14px;
    margin-top: 12px;
}
.video-info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.video-comments {
    margin-top: 20px;
    background: #0f141f;
    border: 1px solid #1f2a3a;
    border-radius: 12px;
    padding: 14px;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.comment-form textarea {
    width: 100%;
    background: #101b2a;
    border: 1px solid #1f2a3a;
    border-radius: 8px;
    color: #e6f1ff;
    padding: 10px;
    resize: vertical;
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.comment-card {
    background: #111a28;
    border: 1px solid #1f2a3a;
    border-radius: 10px;
    padding: 10px;
}
.comment-meta {
    font-size: 0.8rem;
    color: #8fa3bb;
    margin-bottom: 6px;
}
.comment-body {
    color: #d9e7f7;
    font-size: 0.9rem;
}
.video-owner {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
}
.video-owner img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(62, 202, 255, 0.25);
}
.muted {
    color: #8fa3bb;
}
@media (max-width: 900px) {
    .video-detail {
        grid-template-columns: 1fr;
    }
}

/* DMs */
.dms-page {
    padding: 20px;
}
.dms-card {
    max-width: 1100px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid rgba(62, 202, 255, 0.18);
    border-radius: 16px;
    padding: 18px;
}
.dms-sidebar {
    border-right: 1px solid rgba(62, 202, 255, 0.12);
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dms-sidebar-header h2 {
    margin: 0;
}
.dms-sidebar-header p {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.dms-user-list {
    display: grid;
    gap: 10px;
}
.dms-user {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    background: rgba(10, 18, 32, 0.9);
    border: 1px solid rgba(62, 202, 255, 0.15);
    border-radius: 12px;
    color: #e0e0e0;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
}
.dms-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.dms-user.active {
    border-color: rgba(62, 202, 255, 0.45);
    box-shadow: 0 0 12px rgba(62, 202, 255, 0.2);
}
.dms-empty {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}
.dms-thread {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
}
.dms-thread-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dms-thread-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #aefbff;
}
.dms-thread-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}
.dms-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: min(60vh, 460px);
    max-height: 460px;
    overflow-y: auto;
    padding-right: 6px;
}
.dms-message {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    align-items: start;
}
.dms-message.is-sender {
    grid-template-columns: 1fr 40px;
}
.dms-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(62, 202, 255, 0.25);
}
.dms-body {
    background: rgba(12, 20, 36, 0.95);
    border: 1px solid rgba(62, 202, 255, 0.15);
    border-radius: 12px;
    padding: 8px 10px;
    display: grid;
    gap: 8px;
    max-width: 72%;
}
.dms-message.is-sender .dms-body {
    background: rgba(14, 30, 48, 0.95);
    border-color: rgba(62, 202, 255, 0.3);
    margin-left: auto;
}
.dms-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}
.dms-text {
    white-space: pre-wrap;
    word-break: break-word;
}
.dms-media audio {
    width: 100%;
}
.dms-actions-inline {
    display: flex;
    justify-content: flex-end;
}
.dms-delete {
    background: transparent;
    border: 1px solid rgba(255, 120, 120, 0.4);
    color: #ffb3b3;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
}
.dms-compose {
    display: grid;
    gap: 10px;
}
.dms-compose textarea {
    width: 100%;
    background: #101b2a;
    border: 1px solid #1f2a3a;
    border-radius: 8px;
    color: #e6f1ff;
    padding: 10px;
    resize: vertical;
}
.dms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.dms-status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 900px) {
    .dms-card {
        grid-template-columns: 1fr;
    }
    .dms-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(62, 202, 255, 0.12);
        padding-right: 0;
        padding-bottom: 12px;
    }
    .dms-messages {
        height: min(50vh, 380px);
        max-height: 380px;
    }
    .dms-body {
        max-width: 100%;
    }
}
