.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}







.app-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}







.user-header {
    position: sticky;
    top: 0;
    z-index: 101;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 15, 25, 0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    flex-shrink: 0;
}







.user-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    opacity: 0.6;
}







.user-header-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 10px 14px;
    margin: -10px -14px;
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}







.user-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}







.user-header-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 16px;
}







.user-header-link:hover::before {
    opacity: 1;
}







.user-header-link:active {
    transform: scale(0.98);
}







.user-header-link:active::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
}







.user-header-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    z-index: 1;
}







.user-header-name {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}







.user-header-link:hover .user-header-name {
    background: linear-gradient(90deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}







.user-header-group {
    font-size: 13px;
    color: #8b92a5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}







.user-header-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 0.9;
    font-weight: 800;
    text-transform: uppercase;
    padding-right: 6px;
    transform: skewX(-8deg);
}







.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 12px 10px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}







.top-bar.hidden {
    display: none !important;
}







.content {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
    padding-bottom: 140px;
    position: relative;
    z-index: 1;
}







.page {
    display: none;
    padding: 0;
    position: relative;
}







.page.active {
    display: block;
}







.moderation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #f87171;
}







.moderation-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #f87171;
}







.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(5, 5, 10, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 100;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}







.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.25) 50%, transparent 100%);
    opacity: 0.8;
}







.nav-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 10px 16px 6px;
    margin: 0;
    position: relative;
}







.main-nav-row {
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
}







.nav-item {
    background: transparent;
    border: none;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 4px 8px 4px;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    text-decoration: none;
    text-align: center;
}







.nav-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}







.nav-item:hover::after {
    opacity: 1;
}







.nav-item.active {
    color: #60a5fa;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
}







.nav-item.active::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}







.nav-item:active {
    transform: scale(0.94);
}







.nav-item:active::after {
    opacity: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(168, 85, 247, 0.12) 100%);
}







.nav-item svg {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}







.nav-item.active svg {
    filter: drop-shadow(0 2px 6px rgba(59, 130, 246, 0.4));
    transform: scale(1.05);
}







.nav-item span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
}







.nav-item:hover,
.nav-item:focus,
.nav-item:visited {
    text-decoration: none;
    color: inherit;
}







.nav-item:hover {
    color: #9ca3af;
}







.nav-item.active:hover,
.nav-item.active:focus,
.nav-item.active:visited {
    color: #60a5fa;
    text-decoration: none;
}







.ios .nav-row {
    padding-bottom: env(safe-area-inset-bottom);
}







.ios .content {
    padding-bottom: calc(140px + env(safe-area-inset-bottom));
}







.file-info-content,
.text-info-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}







.file-info-content svg,
.text-info-content svg {
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}







.text-content {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(4px);
}







.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #22c55e;
}







.notification-content {
    position: relative;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
    backdrop-filter: blur(20px);
}







.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}







.kodari-premium-content {
    max-width: 420px !important;
}







.kodari-premium-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%) !important;
}







.premium-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}







.premium-header-icon img {
    width: 28px;
    height: 28px;
}







.premium-header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}







.premium-header-text .notification-title {
    font-size: 18px;
    margin: 0;
}







.quiz-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}







.notification-type-info .notification-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
}







.notification-type-success .notification-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}







.notification-type-warning .notification-header {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
}







.notification-type-error .notification-header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
}







.moderation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #dc3545;
}







.moderation-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}







.moderation-header svg {
    color: #dc3545;
    flex-shrink: 0;
}







.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}







.balance-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}







.overall-stats-content {
    padding: 20px 0;
}







.file-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}







.file-preview-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}







.file-preview-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #0a0a0a;
}







.file-preview-content iframe,
.file-preview-content embed,
.file-preview-content object {
    width: 100%;
    height: 100%;
    border: none;
    background: #525252;
}







.file-preview-content iframe[type="application/pdf"] {
    background: #525252;
}







.file-preview-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}







.file-preview-content>div {
    width: 100%;
    height: 100%;
}







.user-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}







.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}







.file-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}







.file-preview-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #f9fafb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}







.file-preview-content {
    flex: 1;
    overflow: auto;
    position: relative;
    background: #000;
}

@media (min-width: 768px) {
    .bottom-nav {
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: 80px;
        height: 100vh;
        border-top: none;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .bottom-nav::before {
        height: 100%;
        width: 1px;
        right: 0;
        left: auto;
        background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.25) 50%, transparent 100%);
    }

    .nav-row {
        display: flex;
        flex-direction: column;
        padding: 50px 0 20px 0;
        gap: 16px;
        height: 100%;
        align-items: center;
    }

    .user-header {
        margin-left: 80px;
    }

    .top-bar {
        margin-left: 80px;
    }

    .content {
        margin-left: 80px;
    }

    .nav-item {
        padding: 16px 8px;
        width: 100%;
    }

    .nav-item.active::before {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 3px;
        height: 28px;
        background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
    }

    .nav-item::after {
        display: none;
    }

    .nav-item.active {
        background: transparent;
    }
}

@media (min-width: 1024px) {
    .bottom-nav {
        width: 240px;
    }

    .nav-row {
        padding: 50px 16px 20px 16px;
        align-items: stretch;
    }

    .user-header {
        margin-left: 240px;
        padding: 16px 32px;
    }

    .top-bar {
        margin-left: 240px;
    }

    .content {
        margin-left: 240px;
        padding: 24px 32px 40px;
    }

    .nav-item {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 20px;
        gap: 16px;
    }

    .nav-item span {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    [data-pc-nav="right"] .bottom-nav {
        left: auto;
        right: 0;
    }

    [data-pc-nav="right"] .bottom-nav::before {
        right: auto;
        left: 0;
    }

    [data-pc-nav="right"] .user-header,
    [data-pc-nav="right"] .top-bar,
    [data-pc-nav="right"] .content {
        margin-left: 0;
        margin-right: 240px;
    }

    [data-pc-nav="bottom"] .bottom-nav {
        width: 100%;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    [data-pc-nav="bottom"] .bottom-nav::before {
        height: 1px;
        width: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.25) 50%, transparent 100%);
    }

    [data-pc-nav="bottom"] .nav-row {
        flex-direction: row;
        padding: 10px 16px 6px;
        align-items: center;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }

    [data-pc-nav="bottom"] .user-header,
    [data-pc-nav="bottom"] .top-bar,
    [data-pc-nav="bottom"] .content {
        margin-left: 0;
        margin-right: 0;
    }

    [data-pc-nav="bottom"] .content {
        padding-bottom: 100px;
    }

    [data-pc-nav="bottom"] .nav-item {
        flex-direction: column;
        justify-content: center;
        padding: 10px 4px 8px 4px;
        gap: 5px;
    }

    [data-pc-nav="bottom"] .nav-item span {
        font-size: 11px;
    }
}

.desktop-only-section {
    display: block !important;
}

@media (max-width: 1023px) {
    .desktop-only-section {
        display: none !important;
    }
}