/*
Theme Name: Nymia Theme
Description: A modern WordPress theme for audio content platform with dashboard functionality
Version: 3.8.0
Author: Nymia Team
Text Domain: nymia
Domain Path: /languages
  */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: hsl(0, 0%, 7%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(0, 0%, 11%);
    --card-foreground: hsl(0, 0%, 98%);
    --popover: hsl(0, 0%, 11%);
    --popover-foreground: hsl(0, 0%, 98%);
    --primary: hsl(18, 75%, 58%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(0, 0%, 15%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --muted: hsl(0, 0%, 20%);
    --muted-foreground: hsl(0, 0%, 60%);
    --accent: hsl(18, 75%, 58%);
    --accent-foreground: hsl(0, 0%, 98%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 98%);
    --border: hsl(0, 0%, 20%);
    --input: hsl(0, 0%, 15%);
    --ring: hsl(18, 75%, 58%);
    --radius: 0.75rem;
    --sidebar-background: hsl(0, 0%, 9%);
    --sidebar-foreground: hsl(0, 0%, 98%);
    --sidebar-primary: hsl(18, 75%, 58%);
    --sidebar-primary-foreground: hsl(0, 0%, 98%);
    --sidebar-accent: hsl(0, 0%, 13%);
    --sidebar-accent-foreground: hsl(0, 0%, 98%);
    --sidebar-border: hsl(0, 0%, 15%);
    --sidebar-ring: hsl(18, 75%, 58%);
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Layout */
.nymia-container {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.nymia-sidebar {
    width: 256px;
    background-color: var(--sidebar-background);
    border-right: 1px solid var(--sidebar-border);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.nymia-main {
    flex: 1;
    margin-left: 256px;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Full width for subscribers (no sidebar) */
.subscriber .nymia-main {
    margin-left: 0;
    width: 100%;
}

/* Full width footer for subscribers */
.subscriber .nymia-footer {
    margin-left: 0;
    width: 100%;
}

/* Full width footer for non-logged-in users (no sidebar) */
.nymia-main-fullwidth~.nymia-footer,
body:not(.logged-in) .nymia-footer {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Full width for non-logged-in users (no sidebar) */
.nymia-main-fullwidth {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Mobile Menu Toggle Button */
.nymia-mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.4);
    transition: all 0.3s ease;
}

.nymia-mobile-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(191, 76, 26, 0.6);
}

.nymia-mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Sidebar Styles */
.nymia-logo {
    padding: 24px;
    background: linear-gradient(135deg, rgba(18, 75%, 58%, 0.2), rgba(18, 75%, 58%, 0.05));
    border-bottom: 1px solid rgba(18, 75%, 58%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-logo a {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nymia-logo a:hover {
    opacity: 0.8;
}

.nymia-logo img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

.nymia-nav {
    flex: 1;
    padding: 12px;
    padding-top: 24px;
}

.nymia-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--sidebar-foreground);
    transition: all 0.2s;
    margin-bottom: 4px;
}

.nymia-nav-item:hover {
    background-color: rgba(199, 84, 26, 0.1);
    color: #C7541A;
}

.nymia-nav-item button:hover {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.3);
}

.nymia-nav-item button.nymia-nav-item:hover {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.3);
}

/* Specific logout button styling */
.nymia-nav-bottom button {
    background-color: #161616 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

.nymia-nav-bottom button:hover {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A) !important;
    color: white !important;
    transform: translateY(-1px);
    border: none !important;
    box-shadow: none !important;
}

.nymia-nav-item.active {
    background-color: #000000;
    color: #C7541A;
}

.nymia-nav-item svg {
    width: 20px;
    height: 20px;
}

/* Submenu Styles */
.nymia-nav-item-wrapper {
    margin-bottom: 4px;
}

.nymia-nav-item-toggle {
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    position: relative;
}

.nymia-nav-arrow {
    width: 16px !important;
    height: 16px !important;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nymia-nav-item-toggle.active .nymia-nav-arrow {
    transform: rotate(180deg);
}

.nymia-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding-left: 32px;
}

.nymia-submenu.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 4px;
    margin-bottom: 8px;
}

.nymia-submenu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--muted-foreground);
    transition: all 0.2s;
    margin-bottom: 4px;
}

.nymia-submenu-item:hover {
    background-color: rgba(199, 84, 26, 0.1);
    color: #C7541A;
}

.nymia-submenu-item.active {
    background-color: rgba(199, 84, 26, 0.15);
    color: #C7541A;
}

.nymia-submenu-item svg {
    width: 18px;
    height: 18px;
}

.nymia-nav-bottom {
    padding: 12px;
    padding-bottom: 24px;
    border-top: 1px solid var(--sidebar-border);
    padding-top: 16px;
}

/* Header Styles */
.nymia-header {
    height: 100px;
    border-bottom: 1px solid var(--border);
    background-color: #161616;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Page Title */
.nymia-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Header Search */
.nymia-header-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 800px;
}

.nymia-header-search {
    position: relative;
    width: 100%;
}

.nymia-header-search svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #6b7280;
    pointer-events: none;
    z-index: 1;
}

.nymia-header-search input {
    width: 100%;
    padding: 18px 20px 18px 56px;
    background-color: #2a2a2a;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nymia-header-search input:focus {
    outline: none;
    border-color: #3a3a3a;
    background-color: #2f2f2f;
}

.nymia-header-search input::placeholder {
    color: #6b7280;
}

/* Live Search Dropdown */
.nymia-live-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1E1E1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
}

.nymia-live-search-content {
    padding: 8px;
}

.nymia-live-search-section {
    margin-bottom: 8px;
}

.nymia-live-search-section:last-child {
    margin-bottom: 0;
}

.nymia-live-search-section-title {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nymia-live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.nymia-live-search-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nymia-live-search-item:active {
    background: rgba(255, 255, 255, 0.08);
}

.nymia-live-search-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.nymia-live-search-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.nymia-live-search-item-info {
    flex: 1;
    min-width: 0;
}

.nymia-live-search-item-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.nymia-live-search-item-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Scrollbar Styling */
.nymia-live-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.nymia-live-search-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.nymia-live-search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.nymia-live-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Header Actions */
.nymia-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Shopping Cart Button - Matches Notification Button Style */
.nymia-cart-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #C7541A;
    color: #C7541A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.nymia-cart-btn:hover {
    background-color: rgba(199, 84, 26, 0.1);
    transform: scale(1.05);
}

.nymia-cart-btn svg {
    width: 22px;
    height: 22px;
}

.nymia-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Wrapper */
.nymia-cart-wrapper {
    position: relative;
}

/* Cart Dropdown - Matches Notification Dropdown Style */
.nymia-cart-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 420px;
    max-width: 90vw;
    background: #1E1E1E;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease, visibility 0s linear 220ms;
    will-change: transform, opacity;
    max-height: 560px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nymia-cart-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 999;
    transition-delay: 0s, 0s, 0s;
}

.nymia-cart-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1E1E1E;
}

.nymia-cart-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.5px;
}

.nymia-cart-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nymia-cart-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.nymia-cart-close svg {
    width: 18px;
    height: 18px;
}

.nymia-cart-body {
    padding: 0;
    overflow-y: auto;
    max-height: 380px;
    flex: 1;
}

.nymia-cart-body::-webkit-scrollbar {
    width: 6px;
}

.nymia-cart-body::-webkit-scrollbar-track {
    background: transparent;
}

.nymia-cart-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.nymia-cart-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nymia-cart-empty {
    padding: 60px 24px;
    text-align: center;
}

.nymia-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
}

.nymia-cart-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.nymia-cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.nymia-cart-item-image-placeholder {
    width: 60px;
    height: 60px;
    background: #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-shrink: 0;
}

.nymia-cart-item-details {
    flex: 1;
    min-width: 0;
}

.nymia-cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 4px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nymia-cart-item-author {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nymia-cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #C7541A;
}

.nymia-cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nymia-cart-item-remove:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.nymia-cart-item-remove svg {
    width: 16px;
    height: 16px;
}

.nymia-cart-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1E1E1E;
}

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

.nymia-cart-total span:first-child {
    font-size: 1rem;
    color: #9CA3AF;
    font-weight: 500;
}

.nymia-cart-total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
}

.nymia-cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nymia-cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(191, 76, 26, 0.4);
}

/* Checkout Page Billing Form Styles */
.nymia-checkout-page input[type="text"],
.nymia-checkout-page input[type="email"],
.nymia-checkout-page input[type="tel"],
.nymia-checkout-page select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.nymia-checkout-page input[type="text"]:focus,
.nymia-checkout-page input[type="email"]:focus,
.nymia-checkout-page input[type="tel"]:focus,
.nymia-checkout-page select:focus {
    outline: none;
    border-color: #BF4C1A;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(191, 76, 26, 0.1);
}

.nymia-checkout-page input[type="text"]:invalid:not(:focus):not(:placeholder-shown),
.nymia-checkout-page input[type="email"]:invalid:not(:focus):not(:placeholder-shown),
.nymia-checkout-page select:invalid:not(:focus) {
    border-color: rgba(255, 100, 100, 0.5);
}

.nymia-checkout-page label {
    display: block;
    margin-bottom: 8px;
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 500;
}

.nymia-checkout-page select option {
    background: #1a1a1a;
    color: #fff;
}

/* Header Language Selector (Loco Translate) */
.nymia-language-switcher {
    display: flex;
    align-items: center;
}

.nymia-language-switcher select {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--foreground);
    padding: 6px 12px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 32px;
}

.nymia-language-switcher select:hover {
    border-color: #C7541A;
    background-color: #2f2f2f;
}

.nymia-language-switcher select:focus {
    outline: none;
    border-color: #C7541A;
    box-shadow: 0 0 0 3px rgba(199, 84, 26, 0.1);
}

/* Hide language selector on mobile devices */
@media (max-width: 768px) {
    .nymia-language-switcher {
        display: none;
    }
}

/* Notification Button */
.nymia-notification-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #C7541A;
    color: #C7541A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nymia-notification-btn:hover {
    background-color: rgba(199, 84, 26, 0.1);
    transform: scale(1.05);
}

.nymia-notification-btn svg {
    width: 22px;
    height: 22px;
}

/* Profile Button */
.nymia-profile-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #C7541A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nymia-profile-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(199, 84, 26, 0.2);
}

.nymia-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Dropdown Menu */
.nymia-profile-menu {
    position: relative;
}

.nymia-profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #1E1E1E;
    border-radius: 12px;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    padding: 8px 0;
}

.nymia-profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.nymia-profile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nymia-profile-menu-item svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    flex-shrink: 0;
}

.nymia-profile-menu-item span {
    flex: 1;
    font-weight: 400;
}

.nymia-profile-menu-item-toggle {
    justify-content: space-between;
    padding-right: 12px;
}

.nymia-profile-menu-item-toggle span {
    flex: 1;
}

.nymia-profile-menu-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

.nymia-btn {
    padding: 8px 32px;
    background-color: #161616;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nymia-btn:hover {
    background-color: #C7541A;
}

.nymia-btn-gradient {
    padding: 10px 24px;
    background: linear-gradient(135deg, #D14619, #8B2A0F);
    color: white;
    border: 1.5px solid transparent;
    border-radius: 24px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(209, 70, 25, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-btn {
    margin-top: 70px;
    font-size: 1.1rem !important;
    font-weight: 400;
    padding: 10px 34px !important;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A) !important;
}

@media (max-width: 768px) {
    .top-btn {
        margin-top: 20px;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

.nymia-btn-gradient svg {
    width: 18px;
    height: 18px;
}

.nymia-btn-gradient:hover {
    background: linear-gradient(135deg, #E85A2A, #A63312);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 90, 42, 0.5);
}

.nymia-btn-gradient:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(209, 70, 25, 0.4);
}

.nymia-btn-outline {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nymia-btn-outline:hover {
    background-color: rgba(255, 87, 34, 0.1);
    border-color: #FF5722;
    color: #FF5722;
}

.nymia-btn-outline svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nymia-notification {
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
    cursor: pointer;
    background-color: #161616;
}

.nymia-notification:hover {
    background-color: #161616;
}

.nymia-notification svg {
    width: 20px;
    height: 20px;
    color: var(--foreground);
}

.nymia-notification::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.nymia-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(18, 75%, 58%, 0.2);
    cursor: pointer;
    transition: border-color 0.2s;
}

.nymia-avatar:hover {
    border-color: var(--primary);
}

/* Content Styles */
.nymia-content-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
}

.nymia-content {
    flex: 1;
    padding: 32px;
}

.nymia-filters {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    margin-left: 24px;
    margin-bottom: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    padding-bottom: 4px;
}

/* Remove top and left margin on dashboard */
.nymia-dashboard .nymia-filters {
    margin-top: 0;
    margin-left: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.nymia-filters::-webkit-scrollbar {
    display: none;
}

.nymia-filter-btn {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #161616;
    color: var(--foreground);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* Prevent buttons from shrinking */
    white-space: nowrap;
    /* Prevent text wrapping */
}

/* Ensure link-styled filter pills have no underline */
.nymia-filters a.nymia-filter-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nymia-filter-btn:hover {
    background: linear-gradient(135deg, #E85A2A, #A63312);
    color: white;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.4);
    transform: translateY(-2px);
}

.nymia-filter-btn.active {
    background: linear-gradient(135deg, #D14619, #8B2A0F);
    color: white;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 12px rgba(209, 70, 25, 0.3);
}

.nymia-section {
    margin-bottom: 48px;
}

.nymia-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 24px;
}

.nymia-grid {
    display: grid;
    gap: 24px 24px;
    /* row-gap column-gap for better vertical spacing */
}

.nymia-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.nymia-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Force two columns when both classes are present */
.nymia-grid.nymia-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

/* Dashboard - Audio Creator grid responsiveness */
@media (min-width: 769px) {
    .nymia-dashboard .nymia-grid.nymia-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nymia-dashboard .nymia-grid.nymia-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nymia-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.nymia-content-card {
    cursor: pointer;
    animation: fadeIn 0.5s ease-in-out;
    border-radius: 16px;
    overflow: hidden;
}

/* Ensure content cards work as links */
a.nymia-content-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

a.nymia-content-card:hover {
    text-decoration: none;
    transform: translateY(-4px);
}

.nymia-content-card:hover .nymia-card-image {
    transform: scale(1.05);
}

.nymia-card-image {
    position: relative;
    overflow: hidden;
    background-color: var(--card);
    margin-bottom: 12px;
    transition: transform 0.3s;
    border-radius: 16px;
}

.nymia-card-image.aspect-video {
    aspect-ratio: 16/9;
    border-radius: 16px;
}

.nymia-card-image.aspect-portrait {
    aspect-ratio: 3/4;
    border-radius: 16px;
}

.nymia-creator-card .nymia-card-image.aspect-portrait {
    aspect-ratio: 3/2.5;
    border-radius: 16px;
}

.nymia-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    border: none;
}

.nymia-card-badge.live {
    background-color: #ef4444;
}

.nymia-card-badge.read-book {
    background-color: #C7541A;
}

.nymia-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    /* allow underlying buttons to be clickable */
}

.nymia-content-card:hover .nymia-card-overlay {
    opacity: 1;
}

.nymia-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-card-info .nymia-avatar {
    width: 40px;
    height: 40px;
}

.nymia-card-info h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.nymia-card-info p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Post Card Styles */
.nymia-post-card {
    display: flex;
    flex-direction: column;
}

.nymia-post-card-excerpt {
    padding: 12px 18px 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.nymia-post-card-excerpt p {
    margin: 0 0 8px;
}

.nymia-post-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: block;
    margin-top: 4px;
}

/* Single Audio Page Styles - Exact Image Match */
.nymia-single-audio-page {
    padding: 0;
    margin: 0;
    background-color: #121212;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

.nymia-audio-player-header {
    position: relative;
    background: linear-gradient(135deg, #330000 0%, #440000 30%, #550000 70%, #660000 100%);
    padding: 50px 40px;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 40vh;
    width: 100%;
    box-sizing: border-box;
}

/* Prevent horizontal overflow on Single Audio */
.nymia-single-audio-page .nymia-audio-player-content,
.nymia-single-audio-page .nymia-audio-player-header,
.nymia-single-audio-page .nymia-audio-player-controls,
.nymia-single-audio-page .nymia-audio-track-list {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (max-width: 1024px) {

    /* Avoid hover expanding beyond viewport on tablet/mobile */
    .nymia-single-audio-page .nymia-audio-track-list .nymia-audio-track-item:hover {
        margin: 0;
        padding: 20px;
        transform: translateY(-2px);
    }
}

/* Bigger sidebar logo on mobile */
@media (max-width: 768px) {
    .nymia-logo img {
        max-width: 100%;
        height: auto;
        max-height: 160px;
        /* Larger logo on mobile */
    }
}

/* Tablet-only floating menu button on the left */
@media (min-width: 769px) and (max-width: 1024px) {
    .nymia-mobile-menu-toggle {
        display: flex;
        position: fixed;
        bottom: 24px;
        left: 24px;
        right: auto;
        top: auto;
        transform: none;
        z-index: 9998;
    }
}

/* Mobile menu toggle - left bottom on mobile */
@media (max-width: 768px) {
    .nymia-mobile-menu-toggle {
        display: flex;
        position: fixed;
        bottom: 24px;
        left: 24px;
        right: auto;
        top: auto;
        transform: none;
        z-index: 9998;
    }
}

.nymia-audio-player-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 0, 0, 0.95) 0%, rgba(68, 0, 0, 0.9) 30%, rgba(85, 0, 0, 0.8) 70%, rgba(102, 0, 0, 0.7) 100%);
    z-index: 1;
}

.nymia-audio-player-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.nymia-audio-creator-image {
    width: 250px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.nymia-audio-creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-dummy-creator-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF4500 0%, #FF6347 30%, #FF0000 70%, #CC0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
}

.nymia-dummy-creator-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.9) 0%, rgba(255, 99, 71, 0.7) 30%, rgba(255, 0, 0, 0.9) 70%, rgba(204, 0, 0, 0.8) 100%);
    border-radius: 12px;
}

.nymia-dummy-creator-icon svg {
    width: 80px;
    height: 80px;
    color: #ffffff;
    opacity: 0.9;
    z-index: 1;
    position: relative;
}

.nymia-audio-creator-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.nymia-audio-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    font-family: Arial, Helvetica, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.nymia-audio-creator-name {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
    font-family: Arial, Helvetica, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.nymia-follow-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-follow-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Overrides: Single Audio page creator info colors */
.nymia-single-audio-page .nymia-audio-creator-info .nymia-audio-title,
.nymia-single-audio-page .nymia-audio-creator-info .nymia-audio-creator-name {
    color: #ffffff;
}

.nymia-single-audio-page .nymia-audio-creator-info .nymia-follow-btn {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 18px rgba(191, 76, 26, 0.35);
}

.nymia-single-audio-page .nymia-audio-creator-info .nymia-follow-btn:hover {
    background: linear-gradient(135deg, #9F2B1A, #BF4C1A);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(191, 76, 26, 0.45);
}

.nymia-single-audio-page .nymia-audio-creator-info .nymia-follow-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(191, 76, 26, 0.4);
}

/* Dark overlay background for creator info */
.nymia-single-audio-page .nymia-audio-creator-info {
    background-color: rgba(0, 0, 0, 0.35);
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: saturate(120%) blur(2px);
    min-width: 0;
    overflow: hidden;
}

.nymia-audio-stats {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.nymia-stats-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-stats-label {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.9;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-audio-track-list {
    background-color: #121212;
    padding: 40px;
    min-height: 60vh;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

/* Audio Player Controls */
.nymia-audio-player-controls {
    background-color: #1a1a1a;
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
    position: sticky;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    z-index: 100;
    left: 0;
    right: 0;
}

/* Desktop sticky fix for single audio page */
@media (min-width: 1025px) {
    .nymia-single-audio-page {
        overflow-y: visible;
        display: flex;
        flex-direction: column;
    }

    .nymia-audio-player-controls {
        position: sticky;
        bottom: 0;
        margin-top: auto;
        align-self: stretch;
    }

    .nymia-audio-track-list {
        flex: 1;
    }
}

.nymia-player-main-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.nymia-player-btn {
    background-color: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nymia-player-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.nymia-player-btn svg {
    width: 20px;
    height: 20px;
}

.nymia-main-play-btn {
    background-color: #ffffff;
    color: #000000;
    width: 50px;
    height: 50px;
}

.nymia-main-play-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

.nymia-main-play-btn svg {
    width: 28px;
    height: 28px;
}

.nymia-player-progress-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nymia-current-track-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nymia-current-track-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-current-track-artist {
    font-size: 12px;
    color: #999999;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-player-progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nymia-current-time,
.nymia-total-time {
    font-size: 12px;
    color: #999999;
    min-width: 35px;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-player-progress-bar {
    flex: 1;
    height: 4px;
    background-color: #333333;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.nymia-player-progress-fill {
    height: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.nymia-player-volume-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nymia-volume-slider-container {
    width: 80px;
}

.nymia-volume-slider {
    width: 100%;
    height: 4px;
    background-color: #333333;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.nymia-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

.nymia-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.nymia-audio-track-item {
    display: grid;
    grid-template-columns: 40px 70px 1fr auto auto;
    gap: 25px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, padding 0.25s ease, margin 0.25s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

.nymia-audio-track-item:hover,
.nymia-audio-track-item:focus-within {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.nymia-audio-track-item.playing {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin: 0 -20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.nymia-audio-track-item.playing .nymia-play-btn {
    background-color: #FF4444;
}

.nymia-audio-track-item.playing .nymia-play-btn .play-icon {
    display: none;
}

.nymia-audio-track-item.playing .nymia-play-btn .pause-icon {
    display: block;
}

.nymia-audio-track-item:last-child {
    border-bottom: none;
}

.nymia-track-number {
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-track-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.nymia-track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-dummy-track-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 50%, #8B0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.nymia-dummy-track-icon::before {
    content: 'MUSIC';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 9px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 2;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.nymia-dummy-track-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.nymia-dummy-track-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
    opacity: 0.9;
    z-index: 1;
    position: relative;
    margin-top: 10px;
}

.nymia-track-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.nymia-track-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.nymia-track-artist {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.nymia-track-date {
    font-size: 18px;
    color: #ffffff;
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-track-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.nymia-clock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-clock-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.nymia-track-progress {
    display: flex;
    align-items: center;
}

.nymia-progress-bar {
    width: 80px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.nymia-progress-fill {
    height: 100%;
    background-color: #666666;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.nymia-progress-time {
    font-size: 16px;
    color: #ffffff;
    min-width: 25px;
    font-family: Arial, Helvetica, sans-serif;
}

.nymia-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nymia-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.nymia-play-btn svg {
    width: 20px;
    height: 20px;
    color: #000000;
    margin-left: 2px;
}

.nymia-track-duration {
    font-size: 16px;
    color: #ffffff;
    min-width: 25px;
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
}

/* Responsive styles for single audio page */

/* Large desktop styles (1400px and above) */
@media (min-width: 1400px) {
    .nymia-audio-track-list {
        padding: 50px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .nymia-audio-track-item {
        gap: 30px;
        padding: 25px 0;
    }
}

/* Medium desktop styles (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .nymia-audio-track-list {
        padding: 45px;
    }

    .nymia-audio-track-item {
        gap: 28px;
        padding: 22px 0;
    }
}

/* Tablet styles */
@media (max-width: 1024px) {
    .nymia-audio-player-header {
        padding: 45px 30px;
        min-height: 38vh;
    }

    .nymia-audio-player-content {
        gap: 35px;
        max-width: 100%;
    }

    .nymia-audio-creator-image {
        width: 220px;
        height: 220px;
    }

    .nymia-audio-creator-image img,
    .nymia-dummy-creator-icon {
        width: 100%;
        height: 100%;
    }

    .nymia-audio-title {
        font-size: 42px;
    }

    .nymia-audio-creator-name {
        font-size: 17px;
    }

    .nymia-follow-btn {
        width: 90px;
        height: 38px;
        font-size: 15px;
        padding: 10px 20px;
    }

    .nymia-audio-creator-info {
        gap: 18px;
        min-width: 0;
        overflow: hidden;
    }

    .nymia-single-audio-page .nymia-audio-creator-info {
        padding: 15px;
    }

    .nymia-audio-title {
        font-size: 40px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
        max-width: 100%;
    }

    .nymia-audio-creator-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-audio-track-list {
        padding: 35px;
        min-height: 50vh;
        overflow-x: hidden;
    }

    .nymia-audio-track-item {
        grid-template-columns: 35px 60px 1fr auto auto;
        gap: 20px;
        padding: 18px 0;
    }

    .nymia-track-thumbnail {
        width: 60px;
        height: 60px;
    }

    .nymia-track-controls {
        gap: 12px;
    }

    .nymia-progress-bar {
        width: 60px;
    }

    .nymia-play-btn {
        width: 36px;
        height: 36px;
    }

    .nymia-play-btn svg {
        width: 18px;
        height: 18px;
    }

    .nymia-progress-time,
    .nymia-track-duration {
        font-size: 14px;
        min-width: 40px;
    }

    .nymia-track-title {
        font-size: 20px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-track-artist {
        font-size: 16px;
    }

    .nymia-track-date {
        font-size: 16px;
    }

    .nymia-play-btn {
        width: 36px;
        height: 36px;
    }

    .nymia-play-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .nymia-audio-player-header {
        padding: 30px 20px;
        min-height: 35vh;
        overflow-x: hidden;
    }

    .nymia-audio-player-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .nymia-audio-creator-image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .nymia-audio-creator-image img,
    .nymia-dummy-creator-icon {
        width: 100%;
        height: 100%;
    }

    .nymia-dummy-creator-icon svg {
        width: 60px;
        height: 60px;
    }

    .nymia-audio-creator-info {
        width: 100%;
        align-items: center;
        gap: 16px;
        padding: 14px;
        min-width: 0;
        box-sizing: border-box;
    }

    .nymia-single-audio-page .nymia-audio-creator-info {
        padding: 14px;
        border-radius: 10px;
    }

    .nymia-audio-title {
        font-size: 32px;
        text-align: center;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
        max-width: 100%;
    }

    .nymia-audio-creator-name {
        font-size: 16px;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-follow-btn {
        width: 100%;
        max-width: 200px;
        height: 42px;
        font-size: 15px;
        padding: 12px 24px;
        align-self: center;
        flex-shrink: 0;
    }

    .nymia-single-audio-page .nymia-audio-creator-info .nymia-follow-btn {
        width: 100%;
        max-width: 200px;
        height: 42px;
        font-size: 15px;
    }

    .nymia-audio-stats {
        order: -1;
    }

    .nymia-stats-number {
        font-size: 32px;
    }

    .nymia-stats-label {
        font-size: 16px;
    }

    .nymia-audio-track-list {
        padding: 20px 16px;
        min-height: 40vh;
        overflow-x: hidden;
    }

    .nymia-audio-track-item {
        grid-template-columns: 30px 55px 1fr auto;
        gap: 15px;
        padding: 15px 0;
    }

    .nymia-track-number {
        font-size: 16px;
    }

    .nymia-track-controls {
        gap: 10px;
        flex-wrap: wrap;
    }

    .nymia-progress-bar {
        width: 50px;
        height: 2px;
    }

    .nymia-play-btn {
        width: 32px;
        height: 32px;
    }

    .nymia-play-btn svg {
        width: 16px;
        height: 16px;
    }

    .nymia-progress-time,
    .nymia-track-duration {
        font-size: 12px;
        min-width: 35px;
    }

    .nymia-clock-icon svg {
        width: 16px;
        height: 16px;
    }

    .nymia-track-thumbnail {
        width: 55px;
        height: 55px;
    }

    .nymia-dummy-track-icon::before {
        font-size: 8px;
        top: 6px;
    }

    .nymia-dummy-track-icon svg {
        width: 20px;
        height: 20px;
        margin-top: 8px;
    }

    .nymia-track-title {
        font-size: 18px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-track-artist {
        font-size: 15px;
    }

    .nymia-track-date {
        font-size: 15px;
    }

    .nymia-track-controls {
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
    }

    .nymia-clock-icon svg {
        width: 16px;
        height: 16px;
    }

    .nymia-progress-bar {
        width: 60px;
        height: 2px;
    }

    .nymia-progress-time {
        font-size: 14px;
        min-width: 20px;
    }

    .nymia-play-btn {
        width: 32px;
        height: 32px;
    }

    .nymia-play-btn svg {
        width: 16px;
        height: 16px;
    }

    .nymia-track-duration {
        font-size: 14px;
        min-width: 20px;
    }

    /* Audio Player Responsive */
    .nymia-audio-player-controls {
        padding: 15px 20px;
        gap: 15px;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .nymia-player-main-controls {
        order: 1;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }

    .nymia-main-play-btn {
        width: 45px;
        height: 45px;
    }

    .nymia-main-play-btn svg {
        width: 22px;
        height: 22px;
    }

    .nymia-player-progress-section {
        order: 2;
        width: 100%;
        margin-top: 10px;
        min-width: 0;
    }

    .nymia-current-track-info {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .nymia-player-volume-section {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .nymia-current-track-title {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-current-track-artist {
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-player-progress-container {
        gap: 8px;
        width: 100%;
    }

    .nymia-current-time,
    .nymia-total-time {
        font-size: 12px;
        min-width: 25px;
    }

    .nymia-volume-slider-container {
        width: 50px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .nymia-audio-player-header {
        padding: 25px 15px;
        min-height: 30vh;
        overflow-x: hidden;
    }

    .nymia-audio-player-content {
        gap: 20px;
        padding: 0;
    }

    .nymia-audio-creator-image {
        width: 150px;
        height: 150px;
    }

    .nymia-audio-creator-image img,
    .nymia-dummy-creator-icon {
        width: 100%;
        height: 100%;
    }

    .nymia-dummy-creator-icon svg {
        width: 50px;
        height: 50px;
    }

    .nymia-audio-creator-info {
        gap: 14px;
        width: 100%;
        padding: 12px;
        min-width: 0;
        box-sizing: border-box;
    }

    .nymia-single-audio-page .nymia-audio-creator-info {
        padding: 12px;
        border-radius: 8px;
    }

    .nymia-audio-title {
        font-size: 28px;
        line-height: 1.15;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
        max-width: 100%;
    }

    .nymia-audio-creator-name {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-follow-btn {
        width: 100%;
        max-width: 180px;
        height: 40px;
        font-size: 14px;
        padding: 10px 20px;
        flex-shrink: 0;
    }

    .nymia-single-audio-page .nymia-audio-creator-info .nymia-follow-btn {
        width: 100%;
        max-width: 180px;
        height: 40px;
        font-size: 14px;
    }

    .nymia-stats-number {
        font-size: 28px;
    }

    .nymia-stats-label {
        font-size: 14px;
    }

    .nymia-audio-track-list {
        padding: 15px 12px;
        min-height: 35vh;
        overflow-x: hidden;
    }

    .nymia-audio-track-item {
        grid-template-columns: 25px 45px 1fr auto;
        gap: 12px;
        padding: 12px 0;
    }

    .nymia-track-number {
        font-size: 14px;
    }

    .nymia-track-thumbnail {
        width: 45px;
        height: 45px;
    }

    .nymia-track-controls {
        gap: 8px;
        flex-wrap: wrap;
    }

    .nymia-progress-bar {
        width: 40px;
        height: 2px;
    }

    .nymia-play-btn {
        width: 28px;
        height: 28px;
    }

    .nymia-play-btn svg {
        width: 14px;
        height: 14px;
    }

    .nymia-progress-time,
    .nymia-track-duration {
        font-size: 11px;
        min-width: 30px;
    }

    .nymia-clock-icon svg {
        width: 14px;
        height: 14px;
    }

    .nymia-dummy-track-icon::before {
        font-size: 7px;
        top: 5px;
    }

    .nymia-dummy-track-icon svg {
        width: 16px;
        height: 16px;
        margin-top: 6px;
    }

    .nymia-track-title {
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-track-artist {
        font-size: 13px;
    }

    .nymia-track-date {
        font-size: 13px;
    }

    .nymia-track-controls {
        gap: 6px;
    }

    .nymia-clock-icon svg {
        width: 14px;
        height: 14px;
    }

    .nymia-progress-bar {
        width: 50px;
        height: 2px;
    }

    .nymia-progress-time {
        font-size: 12px;
        min-width: 18px;
    }

    .nymia-play-btn {
        width: 28px;
        height: 28px;
    }

    .nymia-play-btn svg {
        width: 14px;
        height: 14px;
    }

    .nymia-track-duration {
        font-size: 12px;
        min-width: 18px;
    }

    /* Audio Player Responsive */
    .nymia-audio-player-controls {
        padding: 12px 15px;
        gap: 12px;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .nymia-player-main-controls {
        order: 1;
        gap: 6px;
        width: 100%;
        justify-content: center;
    }

    .nymia-main-play-btn {
        width: 40px;
        height: 40px;
    }

    .nymia-main-play-btn svg {
        width: 18px;
        height: 18px;
    }

    .nymia-player-progress-section {
        order: 2;
        width: 100%;
        margin-top: 10px;
        min-width: 0;
    }

    .nymia-current-track-info {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .nymia-player-volume-section {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .nymia-current-track-title {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-current-track-artist {
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-player-progress-container {
        gap: 6px;
        width: 100%;
    }

    .nymia-current-time,
    .nymia-total-time {
        font-size: 11px;
        min-width: 20px;
    }

    .nymia-volume-slider-container {
        width: 40px;
    }
}

/* Section Headers */
.nymia-section-header {
    margin-bottom: 24px;
}

.nymia-section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 8px 0;
}

.nymia-section-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

/* Private sessions */
.nymia-private-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.nymia-private-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
}

.nymia-private-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nymia-private-form label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nymia-private-form input,
.nymia-private-form select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    color: #fff;
}

.nymia-private-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-private-status {
    margin: 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

.nymia-weekday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 6px;
}

.nymia-weekday {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.nymia-recurring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.nymia-private-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.nymia-private-slots {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nymia-private-slot-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    flex-wrap: wrap;
}

.nymia-slot-title {
    margin: 0;
    font-weight: 600;
}

.nymia-slot-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nymia-slot-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    text-transform: capitalize;
}

.nymia-slot-remove {
    background: transparent;
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #f87171;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
}

.nymia-slot-remove:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* Erotic Audio Creator Card Styles */
.nymia-creator-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px !important;
    transition: transform 0.3s ease;
}

.nymia-creator-card:hover {
    transform: translateY(-4px);
}

.nymia-creator-card .nymia-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.nymia-creator-card .nymia-card-image img {
    border-radius: 20px;
}

.nymia-creator-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    padding: 16px 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 20px 20px;
}

.nymia-creator-card:hover .nymia-creator-overlay {
    opacity: 1 !important;
}

.nymia-creator-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nymia-creator-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.nymia-creator-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.01em;
}

.nymia-creator-views {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
}

.nymia-creator-views svg {
    width: 20px;
    height: 20px;
    opacity: 0.95;
}

/* Live Stream Card Styles */
.nymia-live-stream-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px !important;
}

.nymia-live-stream-card .nymia-card-image {
    position: relative;
    overflow: hidden;
}

.nymia-live-stream-card .nymia-card-overlay {
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 60px;
}

.nymia-live-cover {
    position: relative;
}

.nymia-live-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.nymia-live-viewers {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nymia-live-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(220, 38, 38, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.5);
}

.nymia-online-now-badge {
    background-color: rgba(34, 197, 94, 0.9) !important;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.5) !important;
}

.nymia-online-now-badge .nymia-live-dot {
    background-color: #22c55e;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.nymia-live-viewers svg {
    width: 16px;
    height: 16px;
}

.nymia-live-viewers span {
    line-height: 1;
}

.nymia-live-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.nymia-live-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nymia-live-creator-overlay {
    position: static;
    padding: 0;
}

.nymia-live-creator-info {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    bottom: 60px;
    left: 16px;
    right: 16px;
    z-index: 3;
    pointer-events: none;
    /* prevent overlay from blocking CTA buttons */
}

.nymia-live-creator-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nymia-live-creator-details {
    flex: 1;
}

.nymia-live-creator-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.nymia-live-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.nymia-live-stream-title {
    width: 100%;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: right;
}

/* Live price text alignment */
.nymia-live-price-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 4px 0;
    width: 100%;
    text-align: right;
}

.nymia-live-price-text.booked {
    color: #34d399;
}

.nymia-live-join-btn {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    width: 100%;
    min-width: 0;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(191, 76, 26, 0.5);
    transition: all 0.3s ease;
}

.nymia-live-join-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(191, 76, 26, 0.6);
}

.nymia-live-join-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.nymia-live-join-btn svg {
    width: 16px;
    height: 16px;
}

.nymia-slot-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
    width: 100%;
}

.nymia-slot-details-btn:hover {
    background: rgba(251, 191, 36, 0.3);
}

.nymia-slot-details-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.nymia-slot-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    padding: 20px;
}

.nymia-slot-modal {
    background: linear-gradient(145deg, rgba(24, 24, 28, 0.98), rgba(15, 15, 17, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    scrollbar-width: none;
}

.nymia-slot-modal::-webkit-scrollbar {
    display: none;
}

@media (max-width: 720px) {
    .nymia-slot-modal {
        max-width: calc(100vw - 32px);
        height: auto;
        padding: 24px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .nymia-slot-modal-overlay {
        padding: 16px;
    }

    .nymia-slot-modal {
        max-width: 100%;
        height: calc(100vh - 32px);
        overflow-y: auto;
        border-radius: 14px;
    }

    .nymia-slot-datetime-card {
        flex-direction: column;
    }

    .nymia-slot-stats-grid {
        grid-template-columns: 1fr;
    }
}

.nymia-slot-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.nymia-slot-modal-close:hover {
    color: #fff;
}

.nymia-slot-modal-header h3 {
    margin: 6px 0 0 0;
    color: #fff;
    font-size: 1.4rem;
}

.nymia-slot-modal-subtitle {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.nymia-slot-modal-body {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nymia-slot-datetime-card {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
}

.nymia-slot-datetime-card div {
    flex: 1;
}

.nymia-slot-datetime-card span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.nymia-slot-datetime-card strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.nymia-slot-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nymia-slot-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
}

.nymia-slot-stat-card span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.nymia-slot-stat-card strong {
    display: block;
    color: #fff;
    font-size: 1.2rem;
}

.nymia-slot-info-note {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.nymia-calendar-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nymia-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.nymia-calendar-month {
    text-align: center;
}

.nymia-calendar-month .month {
    display: block;
    font-size: 1.1rem;
}

.nymia-calendar-month .year {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.nymia-calendar-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}

.nymia-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.nymia-calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.nymia-calendar-day {
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.nymia-calendar-day.booked {
    background: linear-gradient(135deg, #c7541a, #e66a2e);
    border-color: rgba(230, 106, 46, 0.8);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 0 0 2px rgba(199, 84, 26, 0.2);
}

.nymia-calendar-day.empty {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.nymia-calendar-legend {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nymia-calendar-legend .legend {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.nymia-calendar-legend .legend.booked {
    background: rgba(79, 70, 229, 0.8);
}

.nymia-slot-available {
    color: #34d399;
    font-weight: 600;
}

.nymia-slot-full {
    color: #f87171;
    font-weight: 600;
}

.nymia-slot-countdown {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.nymia-slot-countdown-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.nymia-slot-modal-footer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Sidebar Styles */
.nymia-sidebar-right {
    width: 320px;
    border-left: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 80px;
    height: auto;
    overflow-y: auto;
}

/* Keep right sidebar visible for subscribers */
body.subscriber .nymia-sidebar-right,
.nymia-main-fullwidth~.nymia-sidebar-right {
    display: block;
}

.nymia-sidebar-right h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 24px;
}

.nymia-suggestion-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0;
    animation: fadeIn 0.5s ease-in-out;
}

.nymia-suggestion-card:hover .nymia-suggestion-image img {
    transform: scale(1.05);
}

.nymia-suggestion-image {
    aspect-ratio: 16/10;
    border-radius: 10px;
    overflow: hidden;
}

.nymia-suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 10px;
}

.nymia-suggestion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    border-radius: 10px;
}

.nymia-suggestion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nymia-suggestion-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-suggestion-info .nymia-avatar {
    width: 48px;
    height: 48px;
    border-color: rgba(255, 255, 255, 0.2);
}

.nymia-suggestion-info h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    display: none;
    /* Hide name, only show username */
}

.nymia-suggestion-info p {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    margin: 0;
}

.nymia-suggestion-btn {
    padding: 6px 12px;
    background-color: #161616;
    border: none;
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.nymia-suggestion-btn:hover {
    background-color: #C7541A;
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* Tablet Styles */
@media (max-width: 1024px) {

    /* Layout adjustments */
    .nymia-grid-4,
    .nymia-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .nymia-grid-4 {
        gap: 16px;
    }

    .nymia-creator-card {
        border-radius: 12px !important;
    }

    .nymia-creator-card .nymia-card-image,
    .nymia-creator-card .nymia-card-image img {
        border-radius: 14px;
    }

    .nymia-creator-card .nymia-card-image.aspect-portrait {
        aspect-ratio: 3/3;
    }

    .nymia-creator-overlay {
        padding: 12px 14px;
        border-radius: 0 0 16px 16px;
    }

    .nymia-creator-info {
        gap: 8px;
    }

    .nymia-creator-avatar {
        width: 30px !important;
        height: 30px !important;
    }

    .nymia-creator-name {
        font-size: 0.875rem;
    }

    /* Live Stream Cards Tablet */
    .nymia-live-badge {
        top: 44px;
        padding: 5px 12px;
        font-size: 0.6875rem;
    }

    .nymia-live-viewers {
        right: 12px;
        padding: 5px 10px;
        font-size: 0.6875rem;
    }

    .nymia-live-viewers svg {
        width: 14px;
        height: 14px;
    }

    .nymia-live-content-wrapper {
        padding: 12px;
        gap: 10px;
    }

    .nymia-live-creator-avatar {
        width: 36px !important;
        height: 36px !important;
    }

    .nymia-live-creator-name {
        font-size: 0.8125rem;
    }

    .nymia-live-bottom-section {
        gap: 10px;
    }

    .nymia-live-stream-title {
        font-size: 0.75rem;
    }

    .nymia-live-join-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .nymia-live-join-btn svg {
        width: 14px;
        height: 14px;
    }

    .nymia-creator-views {
        font-size: 0.8125rem;
        gap: 5px;
    }

    .nymia-creator-views svg {
        width: 16px;
        height: 16px;
    }

    .nymia-sidebar-right {
        display: none;
    }

    .nymia-content-wrapper {
        flex-direction: column;
    }

    /* Header - Tablet */
    .nymia-header {
        height: 80px;
        padding: 16px 28px;
        gap: 24px;
    }

    .nymia-page-title {
        font-size: 2rem;
    }

    .nymia-header-search-wrapper {
        max-width: 500px;
    }

    .nymia-header-search input {
        padding: 14px 16px 14px 50px;
    }

    .nymia-live-search-dropdown {
        max-height: 400px;
    }

    .nymia-btn-gradient {
        padding: 12px 32px;
        font-size: 1rem;
    }

    .nymia-notification-btn,
    .nymia-profile-btn,
    .nymia-cart-btn {
        width: 50px;
        height: 50px;
    }

    /* Sidebar - Tablet */
    .nymia-sidebar {
        width: 240px;
    }

    .nymia-logo img {
        max-width: 100%;
        height: auto;
        max-height: 140px;
        /* Larger logo on tablet */
    }

    .nymia-logo h1 {
        font-size: 1.25rem;
    }

    /* Main content area */
    .nymia-main {
        margin-left: 240px;
    }

    /* Container adjustments */
    .nymia-container {
        display: flex;
    }
}

/* Tablet and Mobile Menu Styles */
@media (max-width: 1024px) {

    /* Mobile Menu Toggle - Show on tablet and mobile */
    .nymia-mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 24px;
        left: 24px;
        right: auto;
        top: auto;
        transform: none;
        z-index: 9998;
    }

    /* Sidebar - Tablet and Mobile */
    .nymia-sidebar {
        position: fixed;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 260px;
        height: 100vh;
        top: 0;
        left: 0;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .nymia-sidebar.open {
        transform: translateX(0);
    }

    /* Menu overlay - Tablet and Mobile */
    .nymia-sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0);
        z-index: -1;
        pointer-events: none;
        transition: background-color 0.3s ease;
    }

    .nymia-sidebar.open::before {
        background-color: rgba(0, 0, 0, 0.6);
        pointer-events: auto;
    }

    .nymia-main {
        margin-left: 0;
        width: 100%;
    }

    .nymia-container {
        display: block;
    }

    .nymia-grid-3,
    .nymia-grid-4,
    .nymia-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .nymia-grid-4 {
        gap: 14px;
    }

    /* Dashboard filters - Mobile responsive */
    .nymia-filters {
        gap: 10px;
        margin-bottom: 24px;
        padding-right: 8px;
    }

    .nymia-filter-btn {
        padding: 8px 20px;
        font-size: 0.8125rem;
    }

    .nymia-creator-card {
        border-radius: 10px !important;
    }

    .nymia-creator-card .nymia-card-image,
    .nymia-creator-card .nymia-card-image img {
        border-radius: 14px;
    }

    .nymia-creator-card .nymia-card-image.aspect-portrait {
        aspect-ratio: 3/3.2;
    }

    .nymia-creator-overlay {
        padding: 10px 12px;
        border-radius: 0 0 14px 14px;
    }

    .nymia-creator-info {
        gap: 6px;
    }

    .nymia-creator-avatar {
        width: 28px !important;
        height: 28px !important;
        border: 1.5px solid rgba(255, 255, 255, 0.3);
    }

    .nymia-creator-name {
        font-size: 0.8125rem;
    }

    .nymia-creator-views {
        font-size: 0.6875rem;
        gap: 4px;
    }

    .nymia-creator-views svg {
        width: 13px;
        height: 13px;
    }

    /* Header - Mobile */
    .nymia-header {
        height: 70px;
        padding: 12px 16px;
        gap: 12px;
    }

    .nymia-page-title {
        font-size: 1.5rem;
    }

    /* Header Search - Mobile */
    .nymia-header-search-wrapper {
        flex: 1;
        min-width: 0;
        max-width: 250px;
    }

    .nymia-header-search input {
        font-size: 0.875rem;
        padding: 12px 12px 12px 42px;
        border-radius: 12px;
    }

    .nymia-header-search svg {
        width: 16px;
        height: 16px;
        left: 14px;
    }

    .nymia-live-search-dropdown {
        max-height: 350px;
        font-size: 0.875rem;
    }

    .nymia-live-search-item {
        padding: 10px;
        gap: 10px;
    }

    .nymia-live-search-avatar {
        width: 36px;
        height: 36px;
    }

    .nymia-live-search-image {
        width: 40px;
        height: 40px;
    }

    /* Header Actions - Mobile */
    .nymia-header-actions {
        gap: 10px;
    }

    .nymia-btn-gradient {
        padding: 10px 24px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .nymia-notification-btn,
    .nymia-profile-btn,
    .nymia-cart-btn {
        width: 44px;
        height: 44px;
    }

    .nymia-notification-btn svg,
    .nymia-cart-btn svg {
        width: 18px;
        height: 18px;
    }

    .nymia-notification svg {
        width: 18px;
        height: 18px;
    }

    .nymia-avatar {
        width: 36px;
        height: 36px;
    }

    .nymia-content {
        padding: 16px;
    }

    .nymia-search {
        width: 200px;
    }
}

/* Live Audio Streaming Grid Styles */
/* Desktop: 3 cards per row */
.nymia-live-streaming-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Ensure 4 columns on large screens */
@media (min-width: 1379px) {
    .nymia-live-streaming-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px;
    }
}

/* Tablet: 2 cards per row */
@media (max-width: 1378px) and (min-width: 769px) {
    .nymia-live-streaming-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

/* Mobile: 1 card per row */
@media (max-width: 768px) {
    .nymia-live-streaming-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* Live Audio Streaming Styles */
.nymia-live-audio-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
    background: #000000;
    position: relative;
}

.nymia-stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
}

.nymia-host-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nymia-host-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    overflow: hidden;
}

.nymia-host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-host-details {
    display: flex;
    flex-direction: column;
}

.nymia-host-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.nymia-host-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.nymia-participants {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nymia-participant-avatars {
    display: flex;
    align-items: center;
    margin-left: -8px;
}

.nymia-participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--background);
    overflow: hidden;
    margin-left: -8px;
}

.nymia-participant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-participant-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--muted);
    border: 2px solid var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
}

.nymia-participant-count span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
}

.nymia-live-content {
    display: flex;
    flex: 1;
}

.nymia-video-area {
    flex: 1;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nymia-stream-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.nymia-main-video {
    position: relative;
    background-color: #1A1A1A;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1A1A1A, #0D0D0D);
}

.nymia-main-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.nymia-center-avatar {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-center-avatar img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #FF5722;
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.6);
    object-fit: cover;
}

.nymia-fullscreen-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-fullscreen-btn:hover {
    background-color: rgba(255, 87, 34, 0.8);
    border-color: #FF5722;
}

.nymia-fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

.nymia-thumbnail-streams {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nymia-thumbnail-stream {
    position: relative;
    background-color: #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nymia-thumbnail-stream:hover {
    border-color: #FF5722;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.nymia-thumbnail-stream img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-stream-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nymia-stream-indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: pulse 2s infinite;
}

.nymia-stream-label span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

.nymia-audio-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    background-color: #FF5722;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

.nymia-audio-btn:hover {
    background-color: #E64A19;
    transform: scale(1.1);
}

.nymia-audio-btn svg {
    width: 18px;
    height: 18px;
}

.nymia-audio-btn.muted {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 0.7;
}

/* Live Chat Styles */
.nymia-live-chat {
    width: 340px;
    background-color: #1A1A1A;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    max-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    border-radius: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.nymia-chat-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-chat-header svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.nymia-live-indicator {
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.nymia-chat-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    flex: 1;
}

.nymia-message-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.nymia-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 420px;
}

.nymia-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.nymia-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.nymia-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.nymia-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nymia-chat-message {
    display: flex;
    gap: 8px;
}

.nymia-message-current {
    flex-direction: row-reverse;
}

.nymia-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.nymia-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-message-content {
    display: flex;
    flex-direction: column;
    max-width: 200px;
}

.nymia-message-current .nymia-message-content {
    align-items: flex-end;
}

.nymia-message-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.nymia-message-user {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.nymia-message-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nymia-message-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nymia-message-bubble-current {
    background-color: #FF5722;
    color: #ffffff;
}

.nymia-message-bubble p {
    font-size: 0.875rem;
    margin: 0;
}

.nymia-chat-input {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 12px;
    background-color: #1A1A1A;
}

.nymia-input-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.nymia-input-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-input-wrapper {
    flex: 1;
    position: relative;
}

.nymia-chat-input-field {
    width: 100%;
    padding: 12px 44px 12px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.875rem;
}

.nymia-chat-input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.nymia-chat-input-field:focus {
    outline: none;
    border-color: #FF5722;
    background-color: rgba(255, 255, 255, 0.08);
}

.nymia-send-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #FF5722;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nymia-send-btn:hover {
    background-color: rgba(255, 87, 34, 0.1);
}

.nymia-send-btn svg {
    width: 18px;
    height: 18px;
}

/* Stream Controls */
.nymia-stream-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    z-index: 10;
}

.nymia-control-btn {
    width: 70px !important;
    height: 60px !important;
    border-radius: 50%;
    background: #2D3848;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
}

.nymia-control-btn span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.nymia-control-btn:hover {
    background: #3A4252;
    transform: scale(1.05);
}

.nymia-control-leave {
    background: #FF6B35;
    color: #ffffff;
}

.nymia-control-leave:hover {
    background: #FF7E52;
    transform: scale(1.05);
}

.nymia-control-btn svg {
    width: 28px !important;
    height: 28px !important;
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive Design for Live Audio */
@media (max-width: 1024px) {
    .nymia-live-chat {
        display: none;
    }

    .nymia-thumbnail-streams {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nymia-header h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    /* Logo on mobile - 50px height, left middle aligned */
    .nymia-page-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nymia-page-title a {
        display: inline-flex;
        align-items: center;
        margin-top: 0;
    }

    .nymia-page-title a img {
        height: 50px !important;
        width: auto !important;
        position: relative;
        top: 10px;
        margin-top: -22px;
    }

    .nymia-stream-header {
        padding: 16px;
        flex-direction: row;
        gap: 16px;
        align-items: center;
        justify-content: space-between;
    }

    .nymia-host-info {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .nymia-host-avatar {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .nymia-host-details {
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .nymia-host-label {
        font-size: 0.75rem;
        line-height: 1;
    }

    .nymia-host-name {
        font-size: 0.9rem;
        line-height: 1;
        white-space: nowrap;
    }

    .nymia-btn-gradient {
        padding: 6px 12px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .nymia-participants {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .nymia-participant-avatars {
        justify-content: center;
    }

    .nymia-video-area {
        padding: 16px;
    }

    .nymia-stream-title {
        font-size: 1.5rem;
    }

    .nymia-center-avatar img {
        width: 120px;
        height: 120px;
    }

    .nymia-thumbnail-streams {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nymia-stream-controls {
        bottom: 16px;
        padding: 12px 20px;
        gap: 12px;
    }

    .nymia-control-btn {
        width: 40px;
        height: 40px;
    }

    .nymia-control-btn svg {
        width: 16px;
        height: 16px;
    }

    .nymia-btn-outline {
        padding: 15px 8px;
        font-size: 0.8rem;
    }

    .nymia-btn-outline svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {

    /* Extra Small Mobile - Header */
    .nymia-header {
        height: 60px;
        padding: 8px 12px;
        gap: 8px;
    }

    .nymia-page-title {
        font-size: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nymia-page-title a {
        display: inline-flex;
        align-items: center;
        margin-top: 0;
    }

    .nymia-page-title a img {
        height: 50px !important;
        width: auto !important;
        position: relative;
        top: 10px;
        margin-top: -22px;
    }

    /* Hide search on very small screens */
    .nymia-header-search {
        display: none;
    }

    /* Smaller buttons */
    .nymia-btn-gradient {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .nymia-notification-btn,
    .nymia-profile-btn,
    .nymia-cart-btn {
        width: 40px;
        height: 40px;
    }

    .nymia-notification-btn svg,
    .nymia-cart-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Sidebar */
    .nymia-sidebar {
        width: 220px;
    }

    .nymia-logo h1 {
        font-size: 1.25rem;
    }

    .nymia-nav-item {
        padding: 10px 12px;
        font-size: 0.875rem;
    }

    .nymia-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .nymia-stream-header {
        padding: 12px;
        gap: 12px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .nymia-host-info {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .nymia-host-avatar {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .nymia-host-details {
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .nymia-host-label {
        font-size: 0.7rem;
        line-height: 1;
    }

    .nymia-host-name {
        font-size: 0.8rem;
        line-height: 1;
        white-space: nowrap;
    }

    .nymia-btn-gradient {
        padding: 4px 8px;
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    .nymia-participants {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .nymia-participant-avatar {
        width: 32px;
        height: 32px;
    }

    .nymia-participant-count {
        width: 32px;
        height: 32px;
    }

    .nymia-participant-count span {
        font-size: 0.7rem;
    }

    .nymia-video-area {
        padding: 12px;
        gap: 16px;
    }

    .nymia-grid-3,
    .nymia-grid-4,
    .nymia-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nymia-creator-card {
        border-radius: 10px !important;
    }

    .nymia-creator-card .nymia-card-image,
    .nymia-creator-card .nymia-card-image img {
        border-radius: 12px;
    }

    .nymia-creator-card .nymia-card-image.aspect-portrait {
        aspect-ratio: 3/3.2;
    }

    .nymia-creator-overlay {
        padding: 8px 10px;
        border-radius: 0 0 12px 12px;
    }

    /* Live Stream Cards Mobile */
    .nymia-live-badge {
        top: 40px;
        padding: 4px 10px;
        font-size: 0.6875rem;
    }

    .nymia-live-dot {
        width: 6px;
        height: 6px;
    }

    .nymia-live-viewers {
        right: 12px;
        padding: 4px 8px;
        font-size: 0.625rem;
    }

    .nymia-live-viewers svg {
        width: 12px;
        height: 12px;
    }

    .nymia-live-content-wrapper {
        padding: 12px;
        gap: 10px;
    }

    .nymia-live-creator-avatar {
        width: 36px !important;
        height: 36px !important;
    }

    .nymia-live-creator-name {
        font-size: 0.8125rem;
    }

    .nymia-live-bottom-section {
        gap: 10px;
    }

    .nymia-live-stream-title {
        font-size: 0.75rem;
        width: 100%;
    }

    .nymia-live-join-btn {
        padding: 10px 16px;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .nymia-live-join-btn svg {
        width: 14px;
        height: 14px;
    }

    .nymia-creator-info {
        gap: 5px;
    }

    .nymia-creator-avatar {
        width: 26px !important;
        height: 26px !important;
        border: 1.5px solid rgba(255, 255, 255, 0.3);
    }

    .nymia-creator-name {
        font-size: 0.8125rem;
    }

    .nymia-creator-views {
        font-size: 0.6875rem;
        gap: 4px;
    }

    .nymia-creator-views svg {
        width: 13px;
        height: 13px;
    }

    /* Regular content cards on small mobile */
    .nymia-content-card {
        margin-bottom: 0;

    }

    .nymia-card-image {
        margin-bottom: 8px;
    }

    .nymia-card-info .nymia-avatar {
        width: 32px;
        height: 32px;
    }

    .nymia-card-info h4 {
        font-size: 0.8125rem;
    }

    .nymia-card-info p {
        font-size: 0.6875rem;
    }

    .nymia-card-badge {
        padding: 3px 6px;
        font-size: 0.625rem;
    }

    .nymia-card-image.aspect-video {
        border-radius: 10px;
    }

    .nymia-card-image.aspect-portrait {
        border-radius: 12px;
    }

    .nymia-search {
        display: none;
    }

    .nymia-stream-title {
        font-size: 1.25rem;
    }

    .nymia-center-avatar img {
        width: 80px;
        height: 80px;
    }

    .nymia-thumbnail-streams {
        gap: 8px;
    }

    .nymia-stream-controls {
        bottom: 12px;
        padding: 8px 16px;
        gap: 8px;
    }

    .nymia-control-btn {
        width: 36px;
        height: 36px;
    }

    .nymia-control-btn svg {
        width: 14px;
        height: 14px;
    }

    .nymia-btn-outline {
        padding: 15px 8px;
        font-size: 0.75rem;
        gap: 6px;
    }

    .nymia-btn-outline svg {
        width: 12px;
        height: 12px;
    }

    .nymia-btn-gradient {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Profile Page Styles */
.nymia-profile-container {
    padding: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.nymia-profile-header {
    position: relative;
    margin-bottom: 32px;
}

.nymia-profile-cover {
    height: 250px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border-radius: 16px;
    margin-bottom: -60px;
}

.nymia-profile-info-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 0 32px;
}

.nymia-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--background);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nymia-profile-name-section {
    flex: 1;
    padding-bottom: 16px;
}

.nymia-profile-name-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 4px 0;
}

.nymia-profile-username {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

.nymia-profile-action-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.nymia-profile-info-header .nymia-btn-gradient {
    margin-bottom: 0 !important;
}

.nymia-messenger-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 70px;
}

.nymia-messenger-btn:hover {
    background: rgba(191, 76, 26, 0.8);
    border-color: rgba(191, 76, 26, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.4);
}

.nymia-messenger-btn svg {
    width: 20px;
    height: 20px;
}

/* Chat Modal Styles */
.nymia-chat-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nymia-chat-modal[style*="display: block"],
.nymia-chat-modal[style*="display:flex"],
.nymia-chat-modal:not([style*="display: none"]) {
    display: flex !important;
}

.nymia-chat-container {
    width: 100%;
    max-width: 500px;
    height: 600px;
    max-height: calc(100vh - 40px);
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    margin: auto;
}

.nymia-chat-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.1), rgba(159, 43, 26, 0.1));
}

.nymia-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.nymia-chat-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(191, 76, 26, 0.5);
    object-fit: cover;
}

.nymia-chat-header-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.nymia-chat-status {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nymia-chat-status.online {
    color: rgba(255, 255, 255, 0.7);
}

.nymia-chat-status.offline {
    color: rgba(255, 255, 255, 0.45);
}

.nymia-chat-online-indicator-small {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.nymia-chat-status.online .nymia-chat-online-indicator-small {
    background: #10b981;
    border-radius: 50%;
    animation: pulse-online 2s infinite;
}

.nymia-chat-status.offline .nymia-chat-online-indicator-small {
    background: #6b7280;
    animation: none;
    opacity: 0.6;
}

.nymia-chat-status-text {
    display: inline-block;
}

@keyframes pulse-online {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.nymia-chat-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nymia-chat-close:hover {
    background: rgba(191, 76, 26, 0.3);
    transform: rotate(90deg);
}

.nymia-chat-close svg {
    width: 20px;
    height: 20px;
}

.nymia-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nymia-chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: rgba(255, 255, 255, 0.3);
}

.nymia-chat-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.nymia-chat-empty p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

.nymia-chat-message {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.nymia-chat-message-own {
    flex-direction: row-reverse;
}

.nymia-chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(191, 76, 26, 0.3);
    flex-shrink: 0;
}

.nymia-chat-message-content {
    max-width: 70%;
}

.nymia-chat-message-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    position: relative;
}

.nymia-chat-message-own .nymia-chat-message-bubble {
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.3), rgba(159, 43, 26, 0.3));
    border-color: rgba(191, 76, 26, 0.5);
}

.nymia-chat-message-bubble p {
    margin: 0;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.4;
}

.nymia-chat-message-time {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 4px;
}

.nymia-chat-input-wrapper {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.nymia-chat-input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: inherit;
    resize: none;
    max-height: 100px;
    overflow: hidden;
}

.nymia-chat-input::-webkit-scrollbar {
    display: none;
}

.nymia-chat-input {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nymia-chat-input:focus {
    outline: none;
    border-color: rgba(191, 76, 26, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.nymia-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.nymia-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nymia-chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.5);
}

.nymia-chat-send svg {
    width: 18px;
    height: 18px;
}

.nymia-chat-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nymia-chat-back:hover {
    background: rgba(191, 76, 26, 0.3);
}

.nymia-chat-back svg {
    width: 20px;
    height: 20px;
}

/* Floating Messenger Button */
.nymia-floating-messenger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.nymia-floating-messenger-following {
    position: absolute;
    bottom: 80px;
    right: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    pointer-events: none;
}

.nymia-floating-recent-item {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    box-shadow: 0 12px 24px rgba(191, 76, 26, 0.35);
    overflow: hidden;
    position: relative;
}

.nymia-floating-recent-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #D65E21, #B8361F);
    box-shadow: 0 18px 36px rgba(191, 76, 26, 0.45);
}

.nymia-floating-recent-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.nymia-floating-recent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-floating-recent-status {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(26, 26, 26, 0.95);
    bottom: 4px;
    right: 4px;
    background: #6b7280;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.55);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nymia-floating-recent-status.is-online {
    background: #34d399;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.6), 0 0 0 2px rgba(26, 26, 26, 0.55);
}

.nymia-floating-recent-status.is-offline {
    background: #6b7280;
    opacity: 0.85;
}

.nymia-floating-recent-unread {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #ff4757;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 6px;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.8);
}

.nymia-floating-recent-name {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 20, 0.92);
    border-radius: 14px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 0.74rem;
    line-height: 1.4;
    min-width: 140px;
    max-width: 220px;
    text-align: left;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: right center;
}

.nymia-floating-recent-name strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.nymia-floating-recent-name em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
    display: block;
    word-break: break-word;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nymia-floating-recent-item:hover .nymia-floating-recent-name {
    opacity: 1;
    transform: translate(-4px, -50%);
}

.nymia-floating-notice {
    position: absolute;
    right: 84px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nymia-floating-notice.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.nymia-floating-notice-item {
    width: 100%;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nymia-floating-notice-item:hover {
    transform: translateX(4px);
    border-color: rgba(191, 76, 26, 0.35);
    box-shadow: 0 20px 40px rgba(191, 76, 26, 0.32);
}

.nymia-floating-notice-avatar {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.nymia-floating-notice-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-floating-notice-status {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(20, 20, 20, 0.9);
    bottom: 6px;
    right: 6px;
    background: #6b7280;
}

.nymia-floating-notice-status.is-online {
    background: #34d399;
}

.nymia-floating-notice-status.is-offline {
    background: #6b7280;
}

.nymia-floating-notice-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    flex: 1;
    text-align: left;
    max-width: 180px;
}

.nymia-floating-notice-body strong {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.nymia-floating-notice-body em {
    font-style: normal;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
    max-height: 3.2em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nymia-floating-notice-badge {
    background: #ff4757;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    flex-shrink: 0;
}

.nymia-floating-messenger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(191, 76, 26, 0.4);
    position: relative;
    margin-top: 70px;
}

.nymia-floating-messenger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(191, 76, 26, 0.6);
}

.nymia-floating-messenger-btn svg {
    width: 28px;
    height: 28px;
}

.nymia-messenger-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid #1a1a1a;
}

/* Conversations Drawer */
.nymia-conversations-drawer {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nymia-conversations-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.1), rgba(159, 43, 26, 0.1));
}

.nymia-conversations-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.nymia-conversations-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nymia-conversations-close:hover {
    background: rgba(191, 76, 26, 0.3);
}

.nymia-conversations-close svg {
    width: 18px;
    height: 18px;
}

.nymia-conversations-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.nymia-conversations-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.3);
}

.nymia-conversations-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.nymia-conversations-empty p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

.nymia-conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.nymia-conversation-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nymia-conversation-avatar-wrapper {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.nymia-conversation-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(191, 76, 26, 0.5);
    object-fit: cover;
}

.nymia-conversation-online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    background: #6b7280;
    opacity: 0.6;
    animation: none;
}

.nymia-conversation-online-indicator.is-online {
    background: #10b981;
    opacity: 1;
    animation: pulse-online 2s infinite;
}

.nymia-conversation-online-indicator.is-offline {
    animation: none;
}

.nymia-conversation-info {
    flex: 1;
    min-width: 0;
}

.nymia-conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.nymia-conversation-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
}

.nymia-conversation-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.nymia-conversation-preview {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nymia-conversation-unread {
    min-width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Become a Creator Modal */
.nymia-become-creator-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    padding: 20px;
}

.nymia-kyc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    padding: 20px;
}

.nymia-become-creator-modal[style*="display: block"],
.nymia-become-creator-modal[style*="display:flex"],
.nymia-become-creator-modal:not([style*="display: none"]) {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.nymia-kyc-modal[style*="display: block"],
.nymia-kyc-modal[style*="display:flex"],
.nymia-kyc-modal:not([style*="display: none"]) {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.nymia-become-creator-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 0;
}

.nymia-become-creator-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-height: calc(100vh - 120px);
    scrollbar-width: none;
    z-index: 1;
}

.nymia-kyc-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 460px;
    max-height: calc(100vh - 40px);
    scrollbar-width: thin;
    scrollbar-color: rgba(191, 76, 26, 0.3) transparent;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
}

.nymia-become-creator-container::-webkit-scrollbar,
.nymia-kyc-container::-webkit-scrollbar {
    display: none;
}

.nymia-kyc-container::-webkit-scrollbar {
    width: 6px;
}

.nymia-kyc-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.nymia-kyc-container::-webkit-scrollbar-thumb {
    background: rgba(191, 76, 26, 0.4);
    border-radius: 10px;
}

.nymia-kyc-container::-webkit-scrollbar-thumb:hover {
    background: rgba(191, 76, 26, 0.6);
}

.nymia-become-creator-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    flex-shrink: 0;
}

.nymia-become-creator-close:hover {
    background: rgba(191, 76, 26, 0.3);
    transform: rotate(90deg);
}

.nymia-become-creator-close svg {
    width: 20px;
    height: 20px;
}

.nymia-become-creator-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 40px;
    text-align: center;
    flex: 1;
}

.nymia-become-creator-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.2), rgba(159, 43, 26, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(191, 76, 26, 0.3);
}

.nymia-become-creator-icon svg {
    width: 40px;
    height: 40px;
    color: rgba(191, 76, 26, 0.9);
}

.nymia-kyc-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 40px 40px;
    text-align: center;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
}

.nymia-kyc-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
}

.nymia-kyc-header .nymia-become-creator-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.25), rgba(159, 43, 26, 0.25));
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(191, 76, 26, 0.4);
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
}

.nymia-kyc-header .nymia-become-creator-icon svg {
    width: 40px;
    height: 40px;
    color: #BF4C1A;
    stroke: #BF4C1A;
    fill: none;
    stroke-width: 2;
    visibility: visible;
    opacity: 1;
}

.nymia-kyc-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.nymia-kyc-header .nymia-become-creator-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0 0;
}

.nymia-become-creator-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.nymia-kyc-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.nymia-become-creator-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
}

.nymia-become-creator-benefits {
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
}

.nymia-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.nymia-benefit-item svg {
    width: 24px;
    height: 24px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.nymia-benefit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.nymia-benefit-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.nymia-become-creator-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.nymia-become-creator-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.nymia-become-creator-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.nymia-kyc-form {
    width: 100%;
    display: grid;
    gap: 18px;
    box-sizing: border-box;
    overflow: visible;
}

.nymia-kyc-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .nymia-kyc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.nymia-kyc-field {
    display: grid;
    gap: 8px;
    text-align: left;
}

.nymia-kyc-field span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.nymia-kyc-field input,
.nymia-kyc-field select,
.nymia-kyc-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Fix select dropdown background color when selected */
.nymia-kyc-field select {
    background: rgba(255, 255, 255, 0.06) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #f8fafc !important;
}

.nymia-kyc-field select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

.nymia-kyc-field select option {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    color: #f8fafc !important;
}

.nymia-kyc-field textarea {
    resize: vertical;
}

.nymia-kyc-field input:focus,
.nymia-kyc-field select:focus,
.nymia-kyc-field textarea:focus {
    border-color: rgba(191, 76, 26, 0.6);
    box-shadow: 0 0 0 3px rgba(191, 76, 26, 0.2);
    outline: none;
}

.nymia-kyc-photo-wrapper {
    display: grid;
    gap: 16px;
    text-align: left;
}

.nymia-kyc-photo-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nymia-kyc-camera {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
}

.nymia-kyc-camera video {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nymia-kyc-camera-instruction {
    margin-top: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 12px 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(191, 76, 26, 0.1);
    border: 1px solid rgba(191, 76, 26, 0.2);
    border-radius: 8px;
    display: block !important;
}

.nymia-kyc-photo-preview {
    display: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
}

.nymia-kyc-photo-preview img {
    max-width: 320px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.nymia-kyc-photo-preview-actions {
    display: flex;
    justify-content: center;
}

/* ========================================
   SECRET ROOM MODAL
   ======================================== */
.nymia-secret-room-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    padding: 20px;
}

.nymia-secret-room-modal[style*="display: block"],
.nymia-secret-room-modal[style*="display:flex"],
.nymia-secret-room-modal:not([style*="display: none"]) {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.nymia-secret-room-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 0;
}

.nymia-secret-room-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.nymia-secret-room-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    flex-shrink: 0;
}

.nymia-secret-room-close:hover {
    background: rgba(191, 76, 26, 0.3);
    transform: rotate(90deg);
}

.nymia-secret-room-close svg {
    width: 20px;
    height: 20px;
}

.nymia-secret-room-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 40px;
    text-align: center;
}

.nymia-secret-room-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.2), rgba(159, 43, 26, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BF4C1A;
}

.nymia-secret-room-icon svg {
    width: 40px;
    height: 40px;
}

.nymia-secret-room-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
}

.nymia-secret-room-message {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px;
    max-width: 400px;
}

.nymia-secret-room-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.nymia-secret-room-actions .nymia-btn-outline,
.nymia-secret-room-actions .nymia-btn-gradient {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 768px) {
    .nymia-secret-room-modal {
        padding: 8px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .nymia-secret-room-container {
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 8px;
        border-radius: 18px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
        max-height: calc(100vh - 16px);
    }

    .nymia-secret-room-content {
        padding: 50px 24px 40px;
    }

    .nymia-secret-room-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .nymia-secret-room-icon svg {
        width: 35px;
        height: 35px;
    }

    .nymia-secret-room-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .nymia-secret-room-message {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .nymia-secret-room-actions {
        flex-direction: column;
        gap: 12px;
    }

    .nymia-secret-room-actions .nymia-btn-outline,
    .nymia-secret-room-actions .nymia-btn-gradient {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .nymia-become-creator-modal,
    .nymia-kyc-modal {
        padding: 8px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .nymia-become-creator-container,
    .nymia-kyc-container {
        max-width: 100%;
        min-height: auto;
        margin-top: 0;
        margin-bottom: 8px;
        border-radius: 18px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
        max-height: calc(100vh - 16px);
        height: auto;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nymia-become-creator-content,
    .nymia-kyc-content {
        padding: 50px 20px 100px;
        gap: 16px;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .nymia-kyc-header {
        margin-bottom: 16px;
    }

    .nymia-kyc-header .nymia-become-creator-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .nymia-kyc-header .nymia-become-creator-icon svg {
        width: 35px;
        height: 35px;
    }

    .nymia-become-creator-content h2,
    .nymia-kyc-content h2,
    .nymia-kyc-header h2 {
        font-size: 1.65rem;
    }

    .nymia-become-creator-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .nymia-become-creator-benefits {
        gap: 14px;
        margin-bottom: 28px;
    }

    .nymia-kyc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nymia-kyc-field span {
        font-size: 0.85rem;
    }

    .nymia-kyc-camera video {
        max-width: 100%;
    }

    .nymia-kyc-camera-instruction {
        font-size: 0.85rem;
        padding: 0 12px;
        margin-top: 12px;
    }

    .nymia-kyc-photo-preview img {
        max-width: 100%;
    }

    .nymia-become-creator-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        position: sticky;
        bottom: 0;
        background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
        padding-top: 16px;
        margin-top: 8px;
        z-index: 5;
        justify-content: center;
    }

    .nymia-become-creator-actions .nymia-btn-gradient,
    .nymia-become-creator-actions .nymia-btn-outline {
        flex: 1;
        min-width: 0;
        max-width: 200px;
    }

    .nymia-kyc-photo-buttons {
        width: 100%;
    }

    .nymia-kyc-container {
        padding-bottom: 0;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nymia-kyc-content {
        padding-bottom: 100px;
    }
}

@media (max-width: 540px) {

    .nymia-become-creator-modal,
    .nymia-kyc-modal {
        padding: 4px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .nymia-become-creator-container,
    .nymia-kyc-container {
        border-radius: 16px;
        margin-top: 0;
        margin-bottom: 4px;
        max-height: calc(100vh - 8px);
        height: auto;
        width: calc(100% - 8px);
    }

    .nymia-become-creator-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        z-index: 20;
    }

    .nymia-become-creator-content,
    .nymia-kyc-content {
        padding: 44px 16px 100px;
        gap: 14px;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .nymia-kyc-container {
        align-items: stretch;
        justify-content: flex-start;
    }

    .nymia-kyc-header {
        margin-bottom: 10px;
    }

    .nymia-kyc-header .nymia-become-creator-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 14px;
    }

    .nymia-kyc-header .nymia-become-creator-icon svg {
        width: 30px;
        height: 30px;
    }

    .nymia-become-creator-content h2,
    .nymia-kyc-content h2,
    .nymia-kyc-header h2 {
        font-size: 1.35rem;
    }

    .nymia-kyc-form {
        gap: 14px;
    }

    .nymia-kyc-field {
        gap: 6px;
    }

    .nymia-kyc-field input,
    .nymia-kyc-field select,
    .nymia-kyc-field textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .nymia-become-creator-actions {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nymia-become-creator-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .nymia-benefit-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .nymia-benefit-item svg {
        margin-top: 0;
    }

    .nymia-kyc-photo-buttons .nymia-btn-outline,
    #nymia-kyc-capture {
        width: 100%;
    }

    .nymia-become-creator-actions {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .nymia-become-creator-actions .nymia-btn-gradient,
    .nymia-become-creator-actions .nymia-btn-outline {
        min-width: 140px;
    }

    .nymia-kyc-camera {
        padding: 16px;
    }

    .nymia-kyc-camera-instruction {
        font-size: 0.8rem;
        padding: 0 8px;
        margin-top: 10px;
    }
}

.nymia-become-creator-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.nymia-become-creator-actions .nymia-btn-gradient,
.nymia-become-creator-actions .nymia-btn-outline {
    padding: 12px 32px;
    font-size: 0.9375rem;
}

.nymia-profile-content {
    display: grid;
    gap: 24px;
}

.nymia-profile-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.nymia-profile-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.nymia-profile-about p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
}

.nymia-profile-about p.nymia-no-bio {
    font-style: italic;
    opacity: 0.7;
}

.nymia-profile-details {
    display: grid;
    gap: 20px;
}

.nymia-profile-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background-color: var(--input);
    border-radius: 8px;
    transition: all 0.2s;
}

.nymia-profile-detail-item:hover {
    background-color: var(--muted);
}

.nymia-profile-detail-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.nymia-profile-detail-item>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nymia-detail-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nymia-detail-value {
    font-size: 0.9375rem;
    color: var(--foreground);
    font-weight: 500;
}

.nymia-detail-value a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.nymia-detail-value a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.nymia-profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.nymia-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--input);
    border-radius: 8px;
    transition: all 0.2s;
}

.nymia-stat-item:hover {
    background-color: var(--muted);
    transform: translateY(-2px);
}

.nymia-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.2), rgba(159, 43, 26, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nymia-stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

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

.nymia-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.nymia-stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.nymia-profile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nymia-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--input);
    border-radius: 8px;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.2s;
    flex: 1;
    min-width: 150px;
}

.nymia-social-link:hover {
    background-color: var(--muted);
    transform: translateX(4px);
}

.nymia-social-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.nymia-social-link span {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.nymia-profile-link {
    display: inline-block;
    text-decoration: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Earnings Page Styles */
.nymia-earnings-container {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.nymia-earnings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.nymia-earnings-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 8px 0;
}

.nymia-earnings-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Stats Cards */
.nymia-earnings-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.nymia-stat-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: all 0.3s;
}

.nymia-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nymia-stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nymia-stat-card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.nymia-stat-card-icon.total {
    background: linear-gradient(135deg, #C7541A, #9F2B1A);
}

.nymia-stat-card-icon.month {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.nymia-stat-card-icon.pending {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.nymia-stat-card-icon.available {
    background: linear-gradient(135deg, #2196F3, #1565C0);
}

.nymia-stat-card-content {
    flex: 1;
}

.nymia-stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0 0 8px 0;
}

.nymia-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 8px 0;
}

.nymia-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.nymia-stat-change.positive {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.nymia-stat-change svg {
    width: 14px;
    height: 14px;
}

.nymia-stat-info {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Earnings Grid */
.nymia-earnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.nymia-earnings-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.nymia-earnings-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.nymia-earnings-card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.nymia-period-select,
.nymia-select {
    padding: 10px 14px;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.875rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.nymia-period-select:focus,
.nymia-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(191, 76, 26, 0.1);
}

.nymia-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.nymia-select option {
    background-color: var(--card);
    color: var(--foreground);
}

.nymia-btn-outline-small {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--foreground);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nymia-btn-outline-small:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nymia-btn-outline-small svg {
    width: 16px;
    height: 16px;
}

/* Chart */
.nymia-chart-container {
    height: 300px;
    position: relative;
}

/* Breakdown List */
.nymia-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nymia-breakdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--input);
    border-radius: 8px;
    transition: all 0.2s;
}

.nymia-breakdown-item:hover {
    background-color: var(--muted);
}

.nymia-breakdown-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nymia-breakdown-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.nymia-breakdown-icon.audio {
    background: linear-gradient(135deg, #C7541A, #9F2B1A);
}

.nymia-breakdown-icon.live {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.nymia-breakdown-icon.tips {
    background: linear-gradient(135deg, #E91E63, #C2185B);
}

.nymia-breakdown-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nymia-breakdown-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nymia-breakdown-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.nymia-breakdown-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.nymia-breakdown-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.nymia-breakdown-progress {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 4px;
}

.nymia-breakdown-progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(135deg, #C7541A, #9F2B1A);
    border-radius: inherit;
}

.nymia-breakdown-percent {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Transactions Table */
.nymia-transactions-table {
    overflow-x: auto;
}

.nymia-transactions-table table {
    width: 100%;
    border-collapse: collapse;
}

.nymia-transactions-table thead tr {
    border-bottom: 1px solid var(--border);
}

.nymia-transactions-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nymia-transactions-table td {
    padding: 16px;
    font-size: 0.9375rem;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}

.nymia-transactions-table tbody tr:hover {
    background-color: var(--input);
}

.nymia-transactions-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nymia-transactions-modal.is-visible {
    pointer-events: auto;
    opacity: 1;
}

.nymia-transactions-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.72);
    backdrop-filter: blur(6px);
}

.nymia-transactions-modal-card {
    position: relative;
    background: linear-gradient(135deg, #191919 0%, #0f0f0f 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    max-width: min(900px, calc(100vw - 40px));
    width: 100%;
    max-height: calc(90vh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px);
    transition: transform 0.25s ease;
}

.nymia-transactions-modal.is-visible .nymia-transactions-modal-card {
    transform: translateY(0);
}

.nymia-transactions-modal-head {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nymia-transactions-modal-head h2 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    color: #ffffff;
}

.nymia-transactions-modal-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.85rem;
}

.nymia-transactions-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nymia-transactions-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.nymia-transactions-modal-close svg {
    width: 18px;
    height: 18px;
}

.nymia-transactions-modal-body {
    padding: 0;
    flex: 1;
    overflow: auto;
    position: relative;
}

.nymia-transactions-modal-table {
    padding: 0 28px 28px;
    overflow-x: auto;
}

.nymia-transactions-modal-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.nymia-transactions-modal-table thead th {
    text-align: left;
    padding: 18px 16px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.54);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nymia-transactions-modal-table tbody td {
    padding: 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.nymia-transactions-modal-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.nymia-transactions-modal-loading {
    padding: 60px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.72);
}

.nymia-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: #C7541A;
    border-radius: 999px;
    animation: nymia-spin 0.85s linear infinite;
}

@keyframes nymia-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nymia-empty-state {
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.68);
}

.nymia-empty-state p {
    margin: 0;
    font-size: 0.95rem;
}

.nymia-date {
    color: var(--muted-foreground);
}

.text-right {
    text-align: right;
}

.amount-positive {
    color: #4CAF50;
    font-weight: 600;
}

.amount-negative {
    color: #F44336;
    font-weight: 600;
}

.nymia-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.nymia-badge.audio {
    background-color: rgba(199, 84, 26, 0.1);
    color: #C7541A;
}

.nymia-badge.live {
    background-color: rgba(156, 39, 176, 0.1);
    color: #9C27B0;
}

.nymia-badge.tips {
    background-color: rgba(233, 30, 99, 0.1);
    color: #E91E63;
}

.nymia-badge.payout {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.nymia-status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.nymia-status.completed {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.nymia-status.processing {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

/* Payout Methods */
.nymia-payout-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nymia-payout-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.nymia-payout-method.active {
    border-color: var(--primary);
    background-color: rgba(199, 84, 26, 0.05);
}

.nymia-payout-method:hover {
    border-color: var(--primary);
}

.nymia-payout-method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(199, 84, 26, 0.2), rgba(159, 43, 26, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nymia-payout-method-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.nymia-payout-method-content {
    flex: 1;
}

.nymia-payout-method-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 4px 0;
}

.nymia-payout-method-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.nymia-payout-default {
    display: inline-flex;
    padding: 2px 8px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    margin-top: 4px;
}

.nymia-payout-method-action {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nymia-payout-method-action:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

.nymia-payout-method-action svg {
    width: 20px;
    height: 20px;
}

.nymia-stripe-method-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.nymia-stripe-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
}

.nymia-stripe-status-pill.is-connected {
    background: rgba(35, 198, 143, 0.15);
    color: #23c68f;
}

.nymia-stripe-status-pill.is-pending {
    background: rgba(255, 199, 76, 0.15);
    color: #ffc74c;
}

.nymia-stripe-status-pill.is-not-connected {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted-foreground);
}

.nymia-stripe-status-pill.is-disabled {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.nymia-stripe-status-text {
    margin: 4px 0 12px;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.nymia-stripe-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.nymia-stripe-details li {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
}

.nymia-stripe-details span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground);
    margin-bottom: 6px;
}

.nymia-stripe-details strong {
    font-size: 0.95rem;
    color: var(--foreground);
    word-break: break-all;
}

.nymia-stripe-updated {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.nymia-stripe-updated span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-right: 6px;
}

.nymia-stripe-payout-panel {
    margin-top: 24px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nymia-stripe-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.nymia-stripe-panel-head h3 {
    margin: 0 0 6px;
}

.nymia-stripe-panel-meta {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.nymia-stripe-helper {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

.nymia-stripe-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.nymia-stripe-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.nymia-stripe-message {
    min-height: 20px;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.nymia-stripe-message.is-success {
    color: #23c68f;
}

.nymia-stripe-message.is-error {
    color: #ff6b6b;
}

.nymia-stripe-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.nymia-stripe-form input {
    width: 100%;
}

.nymia-earnings-note {
    margin-top: 6px;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.nymia-payout-balance {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.nymia-payout-balance span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.nymia-payout-balance strong {
    font-size: 1.05rem;
    color: #fff;
}

.nymia-payout-history-card {
    margin-top: 24px;
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nymia-payout-history-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.nymia-payout-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nymia-payout-history-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nymia-payout-history-item strong {
    font-size: 1rem;
    color: #fff;
}

.nymia-payout-history-item p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.nymia-payout-history-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nymia-payout-history-meta code {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
}

.nymia-payout-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.nymia-payout-modal.is-visible {
    display: flex;
}

.nymia-payout-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.nymia-payout-modal-card {
    position: relative;
    background: rgba(15, 15, 20, 0.98);
    border-radius: 18px;
    padding: 24px;
    width: min(420px, 90vw);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.nymia-payout-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.nymia-payout-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
}

.nymia-payout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.nymia-payout-modal-hint {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.nymia-payout-message {
    min-height: 18px;
    font-size: 0.9rem;
}

.nymia-payout-message.is-success {
    color: #23c68f;
}

.nymia-payout-message.is-error {
    color: #ff6b6b;
}

.nymia-payout-history-meta .nymia-status-pill {
    align-self: flex-end;
}

.nymia-payout-history-meta p {
    text-align: right;
}

/* Responsive Earnings Page */
@media (max-width: 1024px) {
    .nymia-earnings-grid {
        grid-template-columns: 1fr;
    }

    .nymia-earnings-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nymia-earnings-container {
        padding: 16px;
    }

    .nymia-earnings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nymia-earnings-header h1 {
        font-size: 1.5rem;
    }

    .nymia-earnings-stats {
        grid-template-columns: 1fr;
    }

    .nymia-stat-card {
        padding: 16px;
    }

    .nymia-stat-value {
        font-size: 1.5rem;
    }

    .nymia-transactions-table {
        font-size: 0.875rem;
    }

    .nymia-transactions-table th,
    .nymia-transactions-table td {
        padding: 12px 8px;
    }

    .nymia-chart-container {
        height: 250px;
    }
}

/* Policies Page Styles */
.nymia-policies-container {
    padding: 40px 32px;
}

.nymia-policies-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.nymia-policies-header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.2), rgba(159, 43, 26, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-policies-header-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.nymia-policies-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 16px 0;
}

.nymia-policies-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin: 0 0 12px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.nymia-policies-date {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: italic;
    margin: 0;
}

/* Sidebar Layout */
.nymia-policies-layout {
    display: flex;
    gap: 32px;
}

.nymia-policies-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.nymia-policies-sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.nymia-policy-tab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--muted-foreground);
    transition: all 0.2s;
    position: relative;
}

.nymia-policy-tab-item:hover {
    background-color: rgba(199, 84, 26, 0.05);
    color: var(--foreground);
}

.nymia-policy-tab-item.active {
    background-color: rgba(199, 84, 26, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.nymia-policy-tab-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background-color: var(--primary);
    border-radius: 0 3px 3px 0;
}

.nymia-policy-tab-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nymia-policy-tab-item span {
    font-size: 0.875rem;
}

.nymia-policies-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.nymia-policy-section {
    scroll-margin-top: 100px;
}

.nymia-policy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.15), rgba(159, 43, 26, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nymia-policy-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.nymia-policy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 24px 0;
}

.nymia-policy-text {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.nymia-policy-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 32px 0 16px 0;
}

.nymia-policy-text h3:first-child {
    margin-top: 0;
}

.nymia-policy-text p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin: 0 0 16px 0;
}

.nymia-policy-text p:last-child {
    margin-bottom: 0;
}

.nymia-policy-text strong {
    color: var(--foreground);
    font-weight: 600;
}

.nymia-policies-contact {
    text-align: center;
    margin-top: 64px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.1), rgba(159, 43, 26, 0.05));
    border: 1px solid rgba(199, 84, 26, 0.2);
    border-radius: 16px;
}

.nymia-policies-contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-policies-contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.nymia-policies-contact h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 12px 0;
}

.nymia-policies-contact p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0 0 16px 0;
}

.nymia-contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.nymia-contact-email:hover {
    background-color: #9F2B1A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(191, 76, 26, 0.4);
}

/* Responsive Policies Page */
@media (max-width: 1024px) {
    .nymia-policies-layout {
        flex-direction: column;
    }

    .nymia-policies-sidebar {
        width: 100%;
    }

    .nymia-policies-sidebar-sticky {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }

    .nymia-policy-tab-item {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .nymia-policies-container {
        padding: 24px 16px;
    }

    .nymia-policies-header h1 {
        font-size: 2rem;
    }

    .nymia-policies-subtitle {
        font-size: 1rem;
    }

    .nymia-policy-section h2 {
        font-size: 1.5rem;
    }

    .nymia-policy-text {
        padding: 24px;
    }

    .nymia-policy-text h3 {
        font-size: 1.125rem;
    }

    .nymia-policies-contact {
        padding: 24px;
    }

    .nymia-policies-sidebar-sticky {
        padding: 12px;
        gap: 6px;
    }

    .nymia-policy-tab-item {
        padding: 10px 14px;
    }

    .nymia-policy-tab-item svg {
        width: 18px;
        height: 18px;
    }
}

/* Modal Styles */
.nymia-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.nymia-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-modal-content {
    background-color: var(--card);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nymia-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.nymia-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.nymia-modal-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-modal-close:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

.nymia-modal-close svg {
    width: 24px;
    height: 24px;
}

.nymia-modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.nymia-edit-profile-form {
    padding: 24px;
}

.nymia-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
    margin-top: 16px;
}

.nymia-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nymia-form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.nymia-form-group input,
.nymia-form-group textarea,
.nymia-form-group select {
    width: 100%;
    padding: 12px;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.nymia-form-group input:focus,
.nymia-form-group textarea:focus,
.nymia-form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 84, 26, 0.1);
}

.nymia-form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

.nymia-form-group select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.nymia-form-group select option {
    background-color: var(--card);
    color: var(--foreground);
    padding: 12px;
}

.nymia-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.nymia-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Responsive Profile Page */
@media (max-width: 768px) {
    .nymia-profile-container {
        padding: 16px;
    }

    .nymia-profile-cover {
        height: 150px;
        margin-bottom: -40px;
    }

    .nymia-profile-info-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
        gap: 16px;
    }

    .nymia-profile-avatar {
        width: 80px;
        height: 80px;
    }

    .nymia-profile-name-section h1 {
        font-size: 1.5rem;
    }

    .nymia-profile-action-buttons {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .nymia-profile-info-header .nymia-btn-gradient {
        width: 100%;
        margin-bottom: 0;
    }

    .nymia-messenger-btn {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .nymia-messenger-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Chat Modal Mobile */
    .nymia-chat-container {
        height: calc(100vh - 40px);
        max-width: 100%;
        border-radius: 16px 16px 0 0;
    }

    .nymia-chat-header {
        padding: 16px;
    }

    .nymia-chat-header-avatar {
        width: 40px;
        height: 40px;
    }

    .nymia-chat-header-text h3 {
        font-size: 0.9375rem;
    }

    .nymia-chat-messages {
        padding: 16px;
    }

    .nymia-chat-message-content {
        max-width: 75%;
    }

    .nymia-chat-input-wrapper {
        padding: 12px;
    }

    .nymia-chat-input {
        font-size: 0.8125rem;
    }

    .nymia-chat-send {
        width: 36px;
        height: 36px;
    }

    .nymia-chat-send svg {
        width: 16px;
        height: 16px;
    }

    /* Floating Messenger Mobile */
    .nymia-floating-messenger {
        bottom: 16px;
        right: 16px;
    }

    .nymia-floating-messenger-btn {
        width: 52px;
        height: 52px;
    }

    .nymia-floating-messenger-btn svg {
        width: 24px;
        height: 24px;
    }

    .nymia-messenger-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.6875rem;
    }

    /* Conversations Drawer Mobile */
    .nymia-conversations-drawer {
        bottom: 80px;
        right: 16px;
        left: 16px;
        width: auto;
        height: 400px;
    }

    .nymia-conversation-avatar {
        width: 40px;
        height: 40px;
    }

    .nymia-conversation-name {
        font-size: 0.875rem;
    }

    .nymia-conversation-preview {
        font-size: 0.75rem;
    }

    /* Become Creator Modal Mobile */
    .nymia-become-creator-modal {
        padding: 16px;
    }

    .nymia-become-creator-container {
        position: relative;
        width: 100%;
        max-width: 600px;
        background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 400px;
    }

    .nymia-become-creator-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .nymia-become-creator-close svg {
        width: 18px;
        height: 18px;
    }

    .nymia-become-creator-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 40px 40px;
        text-align: center;
        flex: 1;
    }

    .nymia-become-creator-icon {
        width: 64px;
        height: 64px;
    }

    .nymia-become-creator-icon svg {
        width: 32px;
        height: 32px;
    }

    .nymia-become-creator-content h2 {
        font-size: 1.5rem;
    }

    .nymia-become-creator-subtitle {
        font-size: 0.9375rem;
    }

    .nymia-become-creator-benefits {
        gap: 12px;
        margin-bottom: 32px;
    }

    .nymia-benefit-item {
        padding: 12px;
        gap: 12px;
    }

    .nymia-benefit-item svg {
        width: 20px;
        height: 20px;
    }

    .nymia-benefit-item h4 {
        font-size: 0.9375rem;
    }

    .nymia-benefit-item p {
        font-size: 0.8125rem;
    }

    .nymia-become-creator-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: center;
    }

    .nymia-become-creator-actions .nymia-btn-gradient,
    .nymia-become-creator-actions .nymia-btn-outline {
        flex: 1;
        min-width: 0;
        max-width: 180px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .nymia-profile-card {
        padding: 16px;
    }

    .nymia-profile-stats {
        grid-template-columns: 1fr;
    }

    .nymia-profile-social {
        flex-direction: column;
    }

    .nymia-social-link {
        min-width: 100%;
        width: 100%;
    }

    .nymia-form-row {
        grid-template-columns: 1fr;
    }

    .nymia-modal-content {
        max-height: 95vh;
    }
}

/* ======================================
   CREATE PAGE STYLES
   ====================================== */

.nymia-create-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    padding: 32px;
    max-width: 1600px;
    margin: 0 auto;
}

.nymia-create-main {
    min-width: 0;
}

/* Content Type Tabs */
.nymia-create-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.nymia-create-tab {
    padding: 12px 32px;
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.nymia-create-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nymia-create-tab.active {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.3);
}

/* Create Content Sections */
.nymia-create-content {
    display: none;
}

.nymia-create-content.active {
    display: block;
}

.nymia-create-header {
    margin-bottom: 32px;
}

.nymia-create-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 8px 0;
}

.nymia-create-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Stream Control */
.nymia-stream-control {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
}

.nymia-stream-control h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 24px 0;
}

.nymia-stream-form .nymia-form-group {
    margin-bottom: 24px;
}

.nymia-stream-form label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 8px;
}

.nymia-stream-form input[type="text"],
.nymia-stream-form input[type="number"],
.nymia-stream-form select {
    width: 100%;
    padding: 16px;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.nymia-stream-form input[type="text"]:focus,
.nymia-stream-form input[type="number"]:focus,
.nymia-stream-form select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--muted);
}

.nymia-stream-form input[type="text"]::placeholder {
    color: var(--muted-foreground);
}

.nymia-stream-form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    padding-right: 44px;
}

.nymia-stream-form select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.nymia-stream-form select option {
    background-color: var(--card);
    color: var(--foreground);
    padding: 12px;
}

/* Audio Cover Image Upload */
.audio-cover-upload {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audio-cover-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--input);
    border: 2px dashed var(--border);
    border-radius: 8px;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    user-select: none;
    width: 100%;
}

.audio-cover-upload-btn:hover {
    border-color: var(--primary);
    background-color: rgba(191, 76, 26, 0.05);
    color: var(--primary);
}

.audio-cover-upload-btn svg {
    width: 20px;
    height: 20px;
}

.audio-cover-preview {
    position: relative;
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: none;
    cursor: pointer;
    margin-bottom: 12px;
}

.audio-cover-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.audio-cover-preview img:hover {
    opacity: 0.8;
}

.audio-cover-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.audio-cover-remove:hover {
    background-color: rgba(220, 38, 38, 0.9);
    transform: scale(1.1);
}

.audio-cover-remove svg {
    width: 16px;
    height: 16px;
}

/* Stream Options */
.nymia-stream-options {
    margin-bottom: 24px;
}

.nymia-paid-access {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Toggle Switch */
.nymia-toggle-wrapper {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.nymia-toggle-wrapper input {
    opacity: 0;
    width: 0;
    height: 0;
}

.nymia-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s;
    border-radius: 34px;
}

.nymia-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.nymia-toggle-wrapper input:checked+.nymia-toggle-slider {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
}

.nymia-toggle-wrapper input:checked+.nymia-toggle-slider:before {
    transform: translateX(24px);
}

.nymia-toggle-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
}

.nymia-price-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
}

.nymia-price-input svg {
    width: 20px;
    height: 20px;
    color: var(--muted-foreground);
}

.nymia-price-input input {
    width: 80px;
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 0.9375rem;
    font-weight: 500;
}

.nymia-price-input input:focus {
    outline: none;
}

.nymia-price-input input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Continue Button */
.nymia-btn-continue {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.3);
}

.nymia-btn-continue:hover {
    background: linear-gradient(135deg, #9F2B1A, #BF4C1A);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(191, 76, 26, 0.4);
}

.nymia-btn-continue:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(191, 76, 26, 0.3);
}

/* Discover Live Streams */
.nymia-discover-streams h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 24px 0;
}

.nymia-live-streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Live Stream Card */
.nymia-live-stream-card {
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s;
}

.nymia-live-stream-card:hover {
    background-color: var(--muted);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.nymia-live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: rgba(244, 67, 54, 0.15);
    border-radius: 6px;
    color: #F44336;
    font-size: 0.8125rem;
    font-weight: 600;
}

.nymia-scheduled-badge {
    background-color: rgba(255, 193, 7, 0.15);
    color: #FFC107;
}

.nymia-scheduled-badge svg {
    display: inline-block;
}

.nymia-live-dot {
    width: 6px;
    height: 6px;
    background-color: #F44336;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.nymia-join-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nymia-join-btn svg {
    width: 14px;
    height: 14px;
}

.nymia-join-btn:hover {
    background: linear-gradient(135deg, #9F2B1A, #BF4C1A);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.4);
}

.nymia-stream-info {
    margin-top: 40px;
}

.nymia-stream-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 8px 0;
}

.nymia-stream-author {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0 0 16px 0;
}

.nymia-stream-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nymia-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.nymia-stat-item svg {
    width: 16px;
    height: 16px;
}

/* File Upload Area */
.nymia-upload-area {
    margin: 24px 0;
    padding: 80px 40px;
    background-color: var(--input);
    border: 2px dashed var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.nymia-upload-area:hover {
    border-color: var(--primary);
    background-color: var(--muted);
}

.nymia-upload-area.drag-over {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(199, 84, 26, 0.05), rgba(159, 43, 26, 0.05));
}

.nymia-upload-content svg {
    width: 56px;
    height: 56px;
    color: var(--primary);
    margin-bottom: 20px;
}

.nymia-upload-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin: 0 0 8px 0;
}

.nymia-upload-formats {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Create Sidebar */
.nymia-create-sidebar {
    background-color: #232323;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 240px);
    position: sticky;
    top: 10px;
    margin-top: 50px;
}

.nymia-sidebar-content {
    display: none;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.nymia-sidebar-content.active {
    display: flex;
}

/* Hide scrollbar for sidebar content when active */
.nymia-sidebar-content.audio-posts-content.active {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.nymia-sidebar-content.audio-posts-content.active::-webkit-scrollbar {
    display: none;
}

.nymia-sidebar-header {
    margin-bottom: 24px;
}

.nymia-sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

/* Live Chat Header */
.nymia-live-chat-header {
    padding: 0 0 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    flex-shrink: 0;
}

.nymia-live-chat-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

/* Live Chat Body */
.nymia-live-chat-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #1f1f1f;
}

.nymia-chat-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Waveform Icon */
.nymia-waveform-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.nymia-waveform-icon svg {
    width: 80px;
    height: 80px;
    color: #4a5568;
    stroke-width: 1.5;
}

.nymia-waveform-bars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nymia-waveform-bars .bar {
    width: 3px;
    background-color: #4a5568;
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.nymia-waveform-bars .bar1 {
    height: 12px;
    animation-delay: 0s;
}

.nymia-waveform-bars .bar2 {
    height: 20px;
    animation-delay: 0.2s;
}

.nymia-waveform-bars .bar3 {
    height: 16px;
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1.5);
        opacity: 1;
    }
}

.nymia-chat-empty-state p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

/* Live Chat Input */
.nymia-live-chat-input {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 24px;
    padding: 10px 16px;
    margin-top: auto;
}

.nymia-chat-user-avatar {
    flex-shrink: 0;
}

.nymia-chat-user-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nymia-live-chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 0.9375rem;
}

.nymia-live-chat-input input:focus {
    outline: none;
}

.nymia-live-chat-input input::placeholder {
    color: #6b7280;
}

.nymia-chat-send-btn {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nymia-chat-send-btn svg {
    width: 18px;
    height: 18px;
    color: white;
}

.nymia-chat-send-btn:hover {
    background: linear-gradient(135deg, #9F2B1A, #BF4C1A);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.4);
}

/* Stream History */
.nymia-stream-history {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nymia-stream-history-header {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.nymia-stream-history-header h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.nymia-stream-history-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.nymia-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background-color: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 8px;
    gap: 12px;
    transition: all 0.2s;
}

.nymia-history-item:hover {
    background-color: #333;
}

.nymia-history-content {
    flex: 1;
    min-width: 0;
}

.nymia-history-content h5 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nymia-history-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.nymia-history-status {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nymia-history-status svg {
    width: 16px;
    height: 16px;
}

.nymia-history-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nymia-delete-stream-btn {
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    opacity: 0.7;
    transition: all 0.2s;
}

.nymia-delete-stream-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.nymia-delete-stream-btn svg {
    width: 16px;
    height: 16px;
}

.nymia-history-empty-state {
    text-align: center;
    padding: 24px 16px;
}

.nymia-history-empty-state svg {
    width: 48px;
    height: 48px;
    color: #6b7280;
    margin: 0 auto 12px;
}

.nymia-history-empty-state p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Recent Audio Posts */
.nymia-recent-audio-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.nymia-recent-audio-list::-webkit-scrollbar {
    display: none;
}

.nymia-audio-post-card {
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s;
}

.nymia-audio-post-card:hover {
    background-color: var(--muted);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.nymia-audio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

.nymia-audio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: rgba(199, 84, 26, 0.15);
    border-radius: 6px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
}

.nymia-audio-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.nymia-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nymia-play-btn svg {
    width: 12px;
    height: 12px;
}

.nymia-play-btn:hover {
    background: linear-gradient(135deg, #9F2B1A, #BF4C1A);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.4);
}

.nymia-audio-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.nymia-audio-author {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0 0 12px 0;
}

.nymia-audio-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Compact Audio Post Cards */
.nymia-audio-post-card-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nymia-audio-post-card-compact:hover {
    background-color: var(--muted);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.nymia-compact-audio-cover {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    flex-shrink: 0;
}

.nymia-compact-audio-cover svg {
    width: 1.75rem;
    height: 1.75rem;
}

.nymia-compact-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nymia-audio-post-card-compact:hover .nymia-compact-play-btn {
    opacity: 1;
}

.nymia-compact-play-btn svg {
    width: 0.625rem;
    height: 0.625rem;
}

.nymia-compact-audio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.nymia-compact-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nymia-compact-author {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

.nymia-compact-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nymia-compact-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nymia-compact-duration svg {
    width: 0.875rem;
    height: 0.875rem;
}

.nymia-compact-category {
    background: var(--secondary);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 500;
}

.nymia-compact-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.nymia-compact-rating {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.nymia-compact-rating .nymia-star {
    width: 0.75rem;
    height: 0.75rem;
}

.nymia-rating-num {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--foreground);
    margin-left: 0.25rem;
}

.nymia-compact-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nymia-compact-views svg {
    width: 0.875rem;
    height: 0.875rem;
}

.nymia-view-all-btn {
    width: 100%;
    padding: 12px 24px;
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
}

.nymia-view-all-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(199, 84, 26, 0.05);
}

/* Upload Placeholder */
.nymia-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background-color: var(--card);
    border: 2px dashed var(--border);
    border-radius: 16px;
    text-align: center;
}

.nymia-upload-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--muted-foreground);
    margin-bottom: 20px;
}

.nymia-upload-placeholder p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Responsive Create Page */
@media (max-width: 1200px) {
    .nymia-create-container {
        grid-template-columns: 1fr;
    }

    .nymia-create-sidebar {
        height: auto;
        position: relative;
        top: 0;
    }

    .nymia-recent-audio-list {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .nymia-create-container {
        padding: 16px;
    }

    .nymia-create-tabs {
        flex-wrap: wrap;
    }

    .nymia-create-tab {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .nymia-create-header h1 {
        font-size: 1.5rem;
    }

    .nymia-stream-control {
        padding: 20px;
    }

    .nymia-live-streams-grid {
        grid-template-columns: 1fr;
    }

    .nymia-paid-access {
        flex-wrap: wrap;
    }

    .nymia-price-input {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .nymia-upload-area {
        padding: 60px 20px;
    }

    .nymia-upload-content svg {
        width: 48px;
        height: 48px;
    }

    .nymia-audio-post-card {
        padding: 12px;
    }

    .nymia-audio-info h4 {
        font-size: 0.9375rem;
    }

    .nymia-waveform-icon {
        width: 64px;
        height: 64px;
    }

    .nymia-waveform-icon svg {
        width: 64px;
        height: 64px;
    }

    .nymia-live-chat-body {
        padding: 30px 15px;
    }

    .nymia-live-chat-input {
        padding: 8px 12px;
    }

    .nymia-chat-user-avatar img {
        width: 32px;
        height: 32px;
    }

    .nymia-chat-send-btn {
        width: 32px;
        height: 32px;
    }

    .nymia-stream-history {
        flex: 1;
        overflow: hidden;
    }

    .nymia-stream-history-header h4 {
        font-size: 0.875rem;
    }

    .nymia-stream-history-list {
        flex: 1;
        overflow-y: auto;
        min-height: 0;
    }

    .nymia-history-item {
        padding: 8px 10px;
    }

    .nymia-history-content h5 {
        font-size: 0.8125rem;
    }

    .nymia-history-meta {
        font-size: 0.6875rem;
    }
}

/* ========================================
   ZEGO UIKIT RESPONSIVE STYLES
======================================== */
/* Zego UIKit Container Responsive Styles */
#zego-live-container {
    width: 100% !important;
    height: 600px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    max-width: 100% !important;
}

/* Override Zego UIKit internal styles for responsiveness */
#zego-live-container,
#zego-live-container * {
    box-sizing: border-box !important;
}

/* Force responsive on all Zego elements */
#zego-live-container>* {
    width: 100% !important;
    max-width: 100% !important;
}

/* Make Zego UIKit root element responsive */
#zego-live-container [class*="zego"],
#zego-live-container [id*="zego"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Responsive adjustments for tablet */
@media (max-width: 1024px) {
    #zego-live-container {
        height: 500px !important;
    }

    /* Make Zego UI controls more mobile-friendly */
    #zego-live-container [class*="zegoUI"] {
        font-size: 14px !important;
    }

    #zego-live-container button {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    /* Force responsive on all Zego containers */
    #zego-live-container [class*="zego"],
    #zego-live-container [id*="zego"] {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    #zego-live-container video,
    #zego-live-container canvas,
    #zego-live-container iframe {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    #zego-live-container {
        height: 300px !important;
        border-radius: 8px !important;
    }

    /* Stack controls vertically on mobile */
    #zego-live-container [class*="zegoUI"] {
        flex-wrap: wrap !important;
    }

    /* Adjust button sizes for mobile */
    #zego-live-container button {
        padding: 6px 10px !important;
        font-size: 12px !important;
        min-width: auto !important;
        max-width: 100% !important;
    }

    /* Make video/grid responsive */
    #zego-live-container video,
    #zego-live-container canvas,
    #zego-live-container iframe {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Force all video containers to be responsive */
    #zego-live-container [class*="video"],
    #zego-live-container [class*="Video"],
    #zego-live-container [class*="player"],
    #zego-live-container [class*="Player"] {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Adjust chat panel for mobile */
    #zego-live-container [class*="Chat"],
    #zego-live-container [class*="chat"] {
        max-width: 100% !important;
        font-size: 12px !important;
        padding: 8px !important;
    }

    /* Make user list panel responsive */
    #zego-live-container [class*="UserList"],
    #zego-live-container [class*="userList"] {
        font-size: 12px !important;
        padding: 8px !important;
        max-width: 100% !important;
    }

    /* Force all controls to be responsive */
    #zego-live-container [class*="control"],
    #zego-live-container [class*="Control"] {
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    /* Ensure layout containers are responsive */
    #zego-live-container [class*="layout"],
    #zego-live-container [class*="Layout"] {
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    #zego-live-container {
        height: 250px !important;
    }

    #zego-live-container button {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }

    #zego-live-container [class*="zegoUI"] {
        font-size: 11px !important;
    }

    /* Force all video elements to be responsive on small mobile */
    #zego-live-container video,
    #zego-live-container canvas,
    #zego-live-container iframe {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
    #zego-live-container {
        height: 400px !important;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    #zego-live-container {
        height: 200px !important;
    }

    /* Extra forced responsiveness for landscape mobile */
    #zego-live-container video,
    #zego-live-container canvas {
        max-width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* Dashboard fullscreen Zego container adjustments */
body>div[style*="fixed"][style*="inset: 0"] {
    position: fixed !important;
    inset: 0 !important;
    background: #000 !important;
    z-index: 9999 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

/* Make internal Zego elements responsive in fullscreen */
body>div[style*="fixed"][style*="inset: 0"] video,
body>div[style*="fixed"][style*="inset: 0"] canvas {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Responsive adjustments for fullscreen container on mobile */
@media (max-width: 768px) {
    body>div[style*="fixed"][style*="inset: 0"] button {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-width: auto !important;
    }

    body>div[style*="fixed"][style*="inset: 0"] [class*="zegoUI"] {
        font-size: 12px !important;
        padding: 8px !important;
    }

    body>div[style*="fixed"][style*="inset: 0"] [class*="Chat"],
    body>div[style*="fixed"][style*="inset: 0"] [class*="UserList"] {
        font-size: 11px !important;
        padding: 8px !important;
    }
}

/* Landscape mode adjustments for fullscreen */
@media (orientation: landscape) and (max-width: 768px) {
    body>div[style*="fixed"][style*="inset: 0"] {
        max-height: 100vh !important;
    }
}

/* Aggressive responsive overrides for ALL Zego elements on mobile */
@media (max-width: 768px) {

    /* Catch any missed Zego elements */
    #zego-live-container img,
    #zego-live-container svg {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Force flex containers to wrap */
    #zego-live-container [style*="display: flex"] {
        flex-wrap: wrap !important;
    }

    /* Prevent any element from exceeding container width */
    #zego-live-container * {
        max-width: 100% !important;
    }

    /* Exception for certain elements that need full width */
    #zego-live-container video,
    #zego-live-container canvas,
    #zego-live-container iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ========================================
   LIVE AUDIO PAGE STYLES
======================================== */

/* Live Audio Page Container */
.nymia-live-audio-page {
    padding: 40px;
}

/* Filter Tabs */
.nymia-filter-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.nymia-filter-tab {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    color: #999;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.nymia-filter-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.15), rgba(159, 43, 26, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nymia-filter-tab:hover::before {
    opacity: 1;
}

.nymia-filter-tab svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nymia-filter-tab:hover {
    border-color: rgba(199, 84, 26, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.15);
}

.nymia-filter-tab:hover svg {
    transform: scale(1.1);
}

.nymia-filter-tab.active {
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border-color: #BF4C1A;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(191, 76, 26, 0.3);
}

.nymia-filter-tab.active::before {
    opacity: 0;
}

.nymia-filter-tab.active svg {
    color: #ffffff;
}

/* Page Heading */
.nymia-page-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 32px 0;
}

/* Live Audio Layout */
.nymia-live-audio-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

/* Live Audio Grid */
.nymia-live-audio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Live Audio Card */
.nymia-live-audio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nymia-live-audio-card:hover {
    transform: translateY(-4px);
}

.nymia-live-audio-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 133%;
    background: #1a1a1a;
    overflow: hidden;
}

.nymia-live-audio-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* User Info Overlay */
.nymia-live-audio-user {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.nymia-live-audio-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.nymia-live-audio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-live-audio-name {
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Views Counter */
.nymia-live-audio-views {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 2;
}

.nymia-live-audio-views svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.nymia-live-audio-views span {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   SUGGESTIONS SIDEBAR
======================================== */

.nymia-suggestions-sidebar {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.nymia-suggestions-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.nymia-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Suggestion Card */
.nymia-suggestion-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
    margin-bottom: 0;
}

.nymia-suggestion-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nymia-suggestion-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.nymia-suggestion-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* Follow Button */
.nymia-suggestion-follow {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.nymia-suggestion-follow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* User Info */
.nymia-suggestion-user {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.nymia-suggestion-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #C7541A;
    margin-bottom: 12px;
}

.nymia-suggestion-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nymia-suggestion-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.nymia-suggestion-username {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========================================
   DASHBOARD NEW LAYOUT
======================================== */

.nymia-dashboard-new {
    padding: 40px;
}

.nymia-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.nymia-dashboard-content {
    min-width: 0;
}

.nymia-dashboard-section {
    margin-bottom: 40px;
}

.nymia-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 32px 0;
}

/* ========================================
   AUDIO PAGE STYLES (v2.0)
======================================== */

/* Audio Page Container */
.nymia-audio-page {
    padding: 48px !important;
    background: linear-gradient(180deg, rgba(191, 76, 26, 0.03) 0%, transparent 300px);
}

/* ========================================
   SECRET ROOM PAGE
   ======================================== */
.nymia-secret-room-page {
    padding: 48px !important;
    background: linear-gradient(180deg, rgba(191, 76, 26, 0.05) 0%, transparent 300px);
}

/* Online Now Page Styles */
.nymia-online-now-page {
    padding: 48px !important;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, transparent 300px);
}

.nymia-online-now-header {
    margin-bottom: 48px;
}

.nymia-online-now-header-content {
    margin-bottom: 32px;
    min-width: 0;
}

.nymia-online-now-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-online-now-main-title .nymia-title-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.nymia-online-now-main-title .nymia-title-icon svg {
    width: 24px;
    height: 24px;
}

.nymia-online-now-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.nymia-online-now-content {
    width: 100%;
}

/* Online Now Grid - 3 cards per row on desktop */
.nymia-online-now-content .nymia-grid.nymia-grid-3,
.nymia-online-now-content .nymia-live-streaming-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nymia-online-now-main-title {
        font-size: 1.75rem;
    }

    .nymia-online-now-main-title .nymia-title-icon {
        width: 36px;
        height: 36px;
    }

    .nymia-online-now-main-title .nymia-title-icon svg {
        width: 20px;
        height: 20px;
    }

    .nymia-online-now-content .nymia-grid.nymia-grid-3,
    .nymia-online-now-content .nymia-live-streaming-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nymia-online-now-page {
        padding: 24px !important;
    }

    .nymia-online-now-header {
        margin-bottom: 32px;
    }

    .nymia-online-now-main-title {
        font-size: 1.5rem;
        gap: 10px;
    }

    .nymia-online-now-main-title .nymia-title-icon {
        width: 32px;
        height: 32px;
    }

    .nymia-online-now-main-title .nymia-title-icon svg {
        width: 18px;
        height: 18px;
    }

    .nymia-online-now-subtitle {
        font-size: 1rem;
    }

    .nymia-online-now-content .nymia-grid.nymia-grid-3,
    .nymia-online-now-content .nymia-live-streaming-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.nymia-secret-room-header {
    margin-bottom: 48px;
}

.nymia-secret-room-header-content {
    margin-bottom: 32px;
    min-width: 0;
}

.nymia-secret-room-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-secret-room-main-title .nymia-title-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BF4C1A;
    background: rgba(191, 76, 26, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.nymia-secret-room-main-title .nymia-title-icon svg {
    width: 24px;
    height: 24px;
}

.nymia-secret-room-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.nymia-secret-room-content {
    width: 100%;
}

/* Secret Room Grid - 3 cards per row on desktop */
.nymia-secret-room-content .nymia-grid.nymia-grid-3,
.nymia-secret-room-content .nymia-live-streaming-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
}

/* Make Secret Room Cards Bigger */
.nymia-secret-room-content .nymia-live-stream-card {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-card-image.aspect-portrait {
    aspect-ratio: 3/3.5;
    min-height: 320px;
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-card-content {
    padding: 20px;
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: left;
    /* keep secret room titles left aligned */
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-card-meta {
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

/* Card Footer Alignment */
.nymia-live-stream-card .nymia-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    /* prevent price/button overlap on narrow cards */
    margin-top: 16px;
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-card-footer {
    margin-top: 16px;
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Card Price Alignment */
.nymia-live-stream-card .nymia-card-price {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    flex-shrink: 0;
    max-width: 100%;
    margin-left: auto;
    /* push price to the right */
    text-align: right;
}

.nymia-live-stream-card .nymia-card-price.nymia-free {
    color: rgba(255, 255, 255, 0.7);
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-card-price {
    font-size: 1.125rem;
    font-weight: 700;
    margin-left: 0;
    text-align: left;
}

.nymia-live-stream-card .nymia-live-join-btn,
.nymia-live-stream-card .nymia-live-book-btn {
    flex-shrink: 0;
    min-width: fit-content;
    order: 1;
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-live-join-btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
}

.nymia-secret-room-content .nymia-live-stream-card .nymia-card-overlay {
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
}

.nymia-secret-room-content .nymia-live-creator-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 0;
    gap: 12px;
    z-index: 3;
}

.nymia-secret-room-content .nymia-live-creator-avatar {
    width: 48px !important;
    height: 48px !important;
}

.nymia-secret-room-content .nymia-live-creator-name {
    font-size: 1rem;
    font-weight: 600;
}

.nymia-secret-room-content .nymia-live-badge {
    top: 12px !important;
    z-index: 10 !important;
}

/* Ensure 3 columns on large screens */
@media (min-width: 1379px) {

    .nymia-secret-room-content .nymia-grid.nymia-grid-3,
    .nymia-secret-room-content .nymia-live-streaming-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px;
    }
}

/* Tablet: 2 cards per row */
@media (max-width: 1378px) and (min-width: 769px) {

    .nymia-secret-room-content .nymia-grid.nymia-grid-3,
    .nymia-secret-room-content .nymia-live-streaming-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

/* Mobile: 1 card per row */
@media (max-width: 768px) {

    .nymia-secret-room-content .nymia-grid.nymia-grid-3,
    .nymia-secret-room-content .nymia-live-streaming-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nymia-secret-room-page {
        padding: 24px !important;
    }

    .nymia-secret-room-header {
        margin-bottom: 32px;
    }

    .nymia-secret-room-main-title {
        font-size: 1.75rem;
        gap: 10px;
    }

    .nymia-secret-room-main-title .nymia-title-icon {
        width: 36px;
        height: 36px;
    }

    .nymia-secret-room-main-title .nymia-title-icon svg {
        width: 20px;
        height: 20px;
    }

    .nymia-secret-room-subtitle {
        font-size: 1rem;
    }
}

/* Audio Header */
.nymia-audio-header {
    margin-bottom: 48px;
}

.nymia-audio-header-content {
    margin-bottom: 32px;
    min-width: 0;
}

.nymia-audio-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.02em;
    min-width: 0;
}

.nymia-title-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nymia-title-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.nymia-audio-subtitle {
    font-size: 1.125rem;
    color: #888;
    margin: 0;
    font-weight: 400;
}

/* Audio Layout */
.nymia-audio-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
}

/* Keep right sidebar visible for subscribers (full width main content, right sidebar) */
body.subscriber .nymia-audio-layout,
.nymia-main-fullwidth .nymia-audio-layout {
    grid-template-columns: 1fr 360px;
    max-width: 100%;
}

/* Keep trending sidebar visible on right for subscribers */
body.subscriber .nymia-trending-sidebar,
.nymia-main-fullwidth .nymia-trending-sidebar {
    display: block;
}

/* Prevent overflow in grid children */
.nymia-audio-layout>* {
    min-width: 0;
}

.nymia-audio-page .nymia-grid-4>* {
    min-width: 0;
}

.nymia-audio-page .nymia-content-card {
    min-width: 0;
}

.nymia-audio-page .nymia-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive grids for Audio page */
@media (max-width: 1200px) {
    .nymia-audio-page .nymia-grid-4 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 992px) {
    .nymia-audio-page .nymia-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 600px) {
    .nymia-audio-page .nymia-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* Audio Grid */
.nymia-audio-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* Audio Card */
.nymia-audio-card {
    position: relative !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: transform 0.35s ease, opacity 0.3s ease, box-shadow 0.35s ease !important;
    animation: fadeInCard 0.4s ease forwards !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.nymia-audio-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
}

.nymia-audio-thumbnail {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 133% !important;
    background: #1a1a1a !important;
    overflow: hidden !important;
}

.nymia-audio-thumbnail::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.85) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    z-index: 1 !important;
}

.nymia-audio-card:hover .nymia-audio-thumbnail::after {
    opacity: 1 !important;
}

.nymia-audio-thumbnail img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.nymia-audio-card:hover .nymia-audio-thumbnail img {
    transform: scale(1.05) !important;
}

/* User Info Overlay - Hidden by default, shows on hover */
.nymia-audio-user {
    position: absolute !important;
    bottom: 18px !important;
    left: 18px !important;
    z-index: 3 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(15px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nymia-audio-card:hover .nymia-audio-user {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nymia-audio-avatar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.nymia-audio-avatar img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5) !important;
    background: #fff !important;
    flex-shrink: 0 !important;
}

.nymia-audio-name {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    margin-left: 70px !important;
    margin-top: 10px !important;
    padding: 0 !important;
}

/* Views Counter - Hidden by default, shows on hover */
.nymia-audio-views {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    padding: 10px 16px !important;
    border-radius: 26px !important;
    z-index: 3 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-15px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.nymia-audio-card:hover .nymia-audio-views {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nymia-audio-views svg {
    width: 18px !important;
    height: 18px !important;
    color: #E86339 !important;
    flex-shrink: 0 !important;
}

.nymia-audio-views span {
    color: #ffffff !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* ========================================
   TRENDING SIDEBAR
======================================== */

.nymia-trending-sidebar {
    background: linear-gradient(145deg, #1e1e1e, #181818);
    border-radius: 24px;
    padding: 32px;
    height: fit-content;
    position: sticky;
    top: 120px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nymia-trending-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 28px 0;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-trending-title::before {
    content: '🔥';
    font-size: 1.5rem;
}

.nymia-trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Trending Item */
.nymia-trending-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.nymia-trending-item:hover {
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.1), rgba(159, 43, 26, 0.05));
    border-color: rgba(191, 76, 26, 0.2);
    transform: translateX(4px);
}

.nymia-trending-rank {
    font-size: 1.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 32px;
    text-align: center;
    font-style: italic;
}

.nymia-trending-cover {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nymia-trending-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nymia-trending-item:hover .nymia-trending-cover img {
    transform: scale(1.1);
}

.nymia-trending-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.5);
}

.nymia-trending-item:hover .nymia-trending-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.nymia-trending-play svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.nymia-trending-info {
    flex: 1;
    min-width: 0;
}

.nymia-trending-song {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.nymia-trending-artist {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    color: #999;
    margin: 0 0 6px 0;
    font-weight: 500;
    min-width: 0;
}

.nymia-trending-artist-name {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.nymia-trending-plays {
    font-size: 0.8125rem;
    color: #777;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nymia-trending-plays::before {
    content: '▶';
    font-size: 0.625rem;
    color: #C7541A;
}

/* Filter Animation */
@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   EBOOK PAGE
======================================== */

.nymia-ebook-page {
    padding: 32px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    width: 100%;
    max-width: 100%;
}

/* Full width ebook page for non-logged-in users */
body:not(.logged-in) .nymia-ebook-page,
.nymia-main-fullwidth .nymia-ebook-page {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ebook Header */
.nymia-ebook-header {
    margin-bottom: 48px;
}

.nymia-ebook-header-content {
    margin-bottom: 32px;
}

.nymia-ebook-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Live Streams Page Styles */
.nymia-live-streams-page {
    padding: 0;
}

.nymia-live-streams-header {
    margin-bottom: 48px;
    margin-left: 24px;
}

.nymia-live-streams-header-content {
    margin-bottom: 32px;
}

.nymia-live-streams-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.02em;
}

.nymia-live-streams-subtitle {
    font-size: 1.125rem;
    color: #999;
    margin: 0 0 0 24px;
    font-weight: 500;
}

.nymia-live-streams-page .nymia-live-streaming-grid {
    margin-left: 24px;
}

.nymia-ebook-subtitle {
    font-size: 1.125rem;
    color: #999;
    margin: 0;
    font-weight: 500;
}

/* Ebook Layout */
.nymia-ebook-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

/* Full width ebook layout for non-logged-in users (no sidebar) */
body:not(.logged-in) .nymia-ebook-layout {
    grid-template-columns: 1fr !important;
}

/* Hide ebook sidebar for non-logged-in users */
body:not(.logged-in) .nymia-ebook-sidebar {
    display: none;
}

/* Keep right sidebar visible for subscribers (full width main content, right sidebar) */
body.subscriber .nymia-ebook-layout,
.nymia-main-fullwidth .nymia-ebook-layout {
    grid-template-columns: 1fr 320px;
    max-width: 100%;
}

/* Keep ebook sidebar visible on right for subscribers */
body.subscriber .nymia-ebook-sidebar,
.nymia-main-fullwidth .nymia-ebook-sidebar {
    display: block;
}

/* Ebook Grid */
.nymia-ebook-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* Ebook Card */
.nymia-ebook-card {
    position: relative !important;
    background: #1E1E1E !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
}

.nymia-ebook-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 12px 32px rgba(191, 76, 26, 0.2) !important;
    border-color: rgba(191, 76, 26, 0.4) !important;
}

/* Ebook Cover */
.nymia-ebook-cover {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 130%;
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.nymia-ebook-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nymia-ebook-card:hover .nymia-ebook-cover img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

/* Ebook Badge */
.nymia-ebook-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    padding: 8px 14px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.4);
}

.nymia-ebook-badge svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.nymia-ebook-badge span {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Read Button - Hidden by default */
.nymia-ebook-read-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(191, 76, 26, 0.96);
    backdrop-filter: blur(16px);
    padding: 16px 28px;
    border-radius: 12px;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: #ffffff;
}

.nymia-ebook-card:hover .nymia-ebook-read-btn {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.nymia-ebook-read-btn svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.nymia-ebook-card:hover .nymia-ebook-read-btn svg {
    transform: scale(1.1);
}

.nymia-ebook-read-btn span {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Ebook Info Overlay */
.nymia-ebook-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 100%);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nymia-ebook-card:hover .nymia-ebook-info-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nymia-ebook-pages,
.nymia-ebook-size {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nymia-ebook-pages svg,
.nymia-ebook-size svg {
    width: 14px;
    height: 14px;
    color: #C7541A;
}

.nymia-ebook-pages span,
.nymia-ebook-size span {
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Ebook Details */
.nymia-ebook-details {
    padding: 14px 16px;
    height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.nymia-ebook-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.35;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nymia-ebook-card:hover .nymia-ebook-title {
    color: #E86339;
}

.nymia-ebook-author {
    font-size: 0.8125rem;
    color: #999;
    margin: 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nymia-ebook-card:hover .nymia-ebook-author {
    color: #BBB;
}

/* Ebook Sidebar */
.nymia-ebook-sidebar {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nymia-ebook-sidebar-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 28px 0;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(191, 76, 26, 0.3);
}

.nymia-ebook-sidebar-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border-radius: 2px;
}

.nymia-ebook-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nymia-ebook-sidebar-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.nymia-ebook-sidebar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(191, 76, 26, 0.1), transparent);
    transition: left 0.5s ease;
}

.nymia-ebook-sidebar-item:hover::before {
    left: 100%;
}

.nymia-ebook-sidebar-item:hover {
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.15) 0%, rgba(159, 43, 26, 0.1) 100%);
    border-color: rgba(191, 76, 26, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(191, 76, 26, 0.2), 0 0 0 1px rgba(191, 76, 26, 0.2);
}

.nymia-ebook-sidebar-thumbnail {
    position: relative;
    width: 70px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.nymia-ebook-sidebar-item:hover .nymia-ebook-sidebar-thumbnail {
    transform: scale(1.05);
}

.nymia-ebook-sidebar-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nymia-ebook-sidebar-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.nymia-ebook-sidebar-thumbnail-placeholder svg {
    width: 32px;
    height: 32px;
}

.nymia-ebook-rank {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.5), 0 0 0 2px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.nymia-ebook-sidebar-item:hover .nymia-ebook-rank {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(191, 76, 26, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.nymia-ebook-sidebar-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nymia-ebook-sidebar-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.nymia-ebook-sidebar-item:hover .nymia-ebook-sidebar-name {
    color: #FF9F66;
}

.nymia-ebook-sidebar-author {
    font-size: 0.8125rem;
    color: #999;
    margin: 0;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nymia-ebook-trending-rating {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.nymia-ebook-rating-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nymia-ebook-trending-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #FFB84D;
}

.nymia-ebook-trending-rating-value {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
}

.nymia-ebook-trending-rating-count {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
}

.nymia-ebook-sidebar-item-hidden {
    display: none !important;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.nymia-ebook-sidebar-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 0.9375rem;
}

.nymia-ebook-sidebar-empty p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

.nymia-ebook-sidebar-load-more-wrapper {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nymia-ebook-sidebar-load-more-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.15) 0%, rgba(159, 43, 26, 0.1) 100%);
    border: 1px solid rgba(191, 76, 26, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.nymia-ebook-sidebar-load-more-btn:hover {
    background: linear-gradient(135deg, rgba(191, 76, 26, 0.25) 0%, rgba(159, 43, 26, 0.2) 100%);
    border-color: rgba(191, 76, 26, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.3);
}

.nymia-ebook-sidebar-load-more-btn:active {
    transform: translateY(0);
}

.nymia-ebook-sidebar-load-more-btn .load-more-text {
    color: #fff;
}

.nymia-ebook-sidebar-load-more-btn .load-more-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
}

.nymia-ebook-sidebar-load-more-btn .load-more-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nymia-ebook-sidebar-load-more-btn:hover .load-more-icon {
    transform: translateY(2px);
}

.nymia-ebook-sidebar-load-more-btn.loaded .load-more-text {
    display: none;
}

.nymia-ebook-sidebar-load-more-btn.loaded .load-more-count {
    display: none;
}

.nymia-ebook-sidebar-load-more-btn.loaded::after {
    content: 'All Loaded';
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.nymia-ebook-downloads {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #C7541A;
    font-weight: 600;
}

.nymia-ebook-downloads svg {
    width: 12px;
    height: 12px;
}

/* ========================================
   SINGLE EBOOK READER PAGE
======================================== */

.nymia-single-ebook-page {
    padding: 20px 24px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
}

/* Ebook Reader Header */
.nymia-ebook-reader-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nymia-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nymia-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-4px);
}

.nymia-back-btn svg {
    width: 18px;
    height: 18px;
}

.nymia-back-btn span {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Back Button Component */
.nymia-back-button-wrapper {
    padding: 20px 24px 0;
    margin-bottom: 16px;
}

.nymia-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nymia-back-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-4px);
}

.nymia-back-button svg {
    width: 18px;
    height: 18px;
}

.nymia-back-button span {
    font-size: 0.875rem;
    font-weight: 600;
}

.nymia-ebook-actions {
    display: flex;
    gap: 12px;
}

.nymia-ebook-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.8125rem;
}

.nymia-ebook-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 76, 26, 0.4);
}

.nymia-ebook-action-btn svg {
    width: 16px;
    height: 16px;
}

/* Ebook Reader Layout */
.nymia-ebook-reader-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* Full width ebook reader layout for subscribers (with right sidebar) */
body.subscriber .nymia-ebook-reader-layout,
.nymia-main-fullwidth .nymia-ebook-reader-layout {
    grid-template-columns: 1fr 320px;
    max-width: 100%;
}

/* Keep ebook info sidebar visible on right for subscribers */
body.subscriber .nymia-ebook-info-sidebar,
.nymia-main-fullwidth .nymia-ebook-info-sidebar {
    display: block;
}

/* Ebook Viewer */
.nymia-ebook-viewer {
    background: #1E1E1E;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 500px;
    margin: 0 auto;
}

.nymia-ebook-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    margin-bottom: 12px;
}

.nymia-ebook-preview img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
}

.nymia-ebook-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nymia-ebook-preview:hover .nymia-ebook-overlay {
    opacity: 1;
}

.nymia-read-fullscreen-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nymia-read-fullscreen-btn:hover {
    transform: scale(1.05);
}

.nymia-read-fullscreen-btn svg {
    width: 24px;
    height: 24px;
}

.nymia-read-fullscreen-btn span {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Ebook Controls */
.nymia-ebook-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.nymia-control-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.nymia-control-btn:hover {
    background: rgba(191, 76, 26, 0.2);
    border-color: #BF4C1A;
}

.nymia-control-btn svg {
    width: 16px;
    height: 16px;
}

.nymia-page-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    color: #ffffff;
    font-weight: 600;
}

.nymia-current-page {
    font-size: 1rem;
    color: #BF4C1A;
}

.nymia-page-separator {
    color: #666;
    font-size: 0.875rem;
}

.nymia-total-pages {
    font-size: 0.875rem;
    color: #999;
}

/* Ebook Info Sidebar */
.nymia-ebook-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nymia-ebook-details-card {
    background: linear-gradient(135deg, #1E1E1E 0%, #141414 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nymia-ebook-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nymia-ebook-author-name {
    font-size: 0.9375rem;
    color: #999;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.nymia-ebook-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.nymia-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.875rem;
}

.nymia-meta-item svg {
    width: 16px;
    height: 16px;
    color: #BF4C1A;
}

.nymia-ebook-description {
    margin-bottom: 18px;
}

.nymia-ebook-description h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.nymia-ebook-description p {
    font-size: 0.875rem;
    color: #BBB;
    line-height: 1.6;
    margin: 0;
}

.nymia-premium-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #BF4C1A, #9F2B1A);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nymia-premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(191, 76, 26, 0.4);
}

.nymia-premium-btn svg {
    width: 20px;
    height: 20px;
}

/* Related PDFs */
.nymia-related-pdfs {
    background: linear-gradient(135deg, #1E1E1E 0%, #141414 100%);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nymia-related-pdfs h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.nymia-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nymia-related-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nymia-related-item:hover {
    background: rgba(191, 76, 26, 0.1);
    transform: translateX(4px);
}

.nymia-related-item img {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.nymia-related-info {
    flex: 1;
    min-width: 0;
}

.nymia-related-info h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nymia-related-info p {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

/* ========================================
   RESPONSIVE - LIVE AUDIO PAGE
======================================== */

@media (max-width: 1400px) {

    .nymia-live-audio-grid,
    .nymia-audio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {

    .nymia-live-audio-page,
    .nymia-audio-page {
        padding: 24px;
    }

    /* Audio layout single column on tablet */
    .nymia-live-audio-layout,
    .nymia-dashboard-layout,
    .nymia-audio-layout {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    /* Audio header responsive */
    .nymia-audio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nymia-audio-header-content {
        width: 100%;
    }

    /* Filter tabs responsive */
    .nymia-filter-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Audio info responsive on large tablet */
    .nymia-audio-info {
        gap: 0.3rem;
    }

    .nymia-audio-title {
        font-size: 0.85625rem;
    }

    .nymia-audio-rating .nymia-star {
        width: 0.7rem;
        height: 0.7rem;
    }

    .nymia-audio-meta {
        font-size: 0.73rem;
    }

    .nymia-live-audio-grid,
    .nymia-audio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nymia-ebook-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
    }

    /* Trending sidebar below content on tablet */
    .nymia-suggestions-sidebar,
    .nymia-trending-sidebar {
        position: static;
        width: 100%;
        max-width: 100%;
    }

    .nymia-suggestions-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nymia-suggestion-card {
        min-width: 280px;
    }

    .nymia-trending-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nymia-trending-item {
        min-width: 280px;
        flex-shrink: 0;
    }

    .nymia-dashboard-new {
        padding: 24px;
    }

    /* Audio creator cards responsive */
    .nymia-creator-card {
        width: 100%;
    }

    .nymia-audio-files {
        width: 100%;
    }

    /* Audio page grid 2 columns on tablet */
    .nymia-audio-page .nymia-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {

    .nymia-live-audio-page,
    .nymia-dashboard-new,
    .nymia-audio-page {
        padding: 20px 16px;
    }

    /* Audio layout single column on mobile */
    .nymia-audio-layout {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .nymia-audio-header {
        margin-bottom: 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nymia-audio-header-content {
        width: 100%;
    }

    .nymia-audio-main-title {
        font-size: 2rem;
        gap: 12px;
    }

    .nymia-title-icon {
        width: 44px;
        height: 44px;
    }

    .nymia-title-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Audio grid 2 columns on mobile */
    .nymia-audio-page .nymia-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .nymia-audio-subtitle {
        font-size: 1rem;
    }

    .nymia-filter-tabs {
        overflow-x: auto;
        gap: 10px;
        margin-bottom: 24px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .nymia-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .nymia-filter-tab {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .nymia-filter-tab svg {
        width: 14px;
        height: 14px;
    }

    /* Audio info responsive on tablet */
    .nymia-audio-info {
        gap: 0.375rem;
    }

    .nymia-audio-title {
        font-size: 0.84375rem;
    }

    .nymia-audio-rating .nymia-star {
        width: 0.6875rem;
        height: 0.6875rem;
    }

    .nymia-audio-rating .nymia-rating-score {
        font-size: 0.71875rem;
    }

    .nymia-audio-meta {
        font-size: 0.71875rem;
    }

    .nymia-page-heading,
    .nymia-section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .nymia-live-audio-grid,
    .nymia-audio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .nymia-ebook-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .nymia-ebook-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nymia-ebook-sidebar {
        order: -1;
        position: static;
    }

    .nymia-ebook-reader-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nymia-ebook-info-sidebar {
        order: -1;
        position: static;
    }

    .nymia-suggestions-sidebar,
    .nymia-trending-sidebar {
        padding: 20px;
    }

    .nymia-suggestions-title,
    .nymia-trending-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {

    .nymia-live-audio-page,
    .nymia-dashboard-new,
    .nymia-audio-page {
        padding: 16px 12px;
    }

    /* Audio layout single column on small mobile */
    .nymia-audio-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .nymia-audio-header {
        margin-bottom: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nymia-audio-header-content {
        width: 100%;
    }

    .nymia-audio-main-title {
        font-size: 1.625rem;
        gap: 10px;
    }

    .nymia-title-icon {
        width: 40px;
        height: 40px;
    }

    .nymia-title-icon svg {
        width: 20px;
        height: 20px;
    }

    .nymia-audio-subtitle {
        font-size: 0.9375rem;
    }

    .nymia-filter-tabs {
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nymia-filter-tab {
        padding: 8px 16px;
        font-size: 0.8125rem;
        gap: 6px;
        white-space: nowrap;
    }

    .nymia-filter-tab svg {
        width: 12px;
        height: 12px;
    }

    /* Audio grid single column on small mobile */
    .nymia-audio-page .nymia-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Trending sidebar full width */
    .nymia-trending-sidebar {
        width: 100%;
        padding: 16px;
    }

    /* Audio files responsive */
    .nymia-audio-files {
        padding: 12px;
    }

    .nymia-audio-file-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }

    .nymia-audio-cover {
        width: 100%;
        height: 80px;
    }

    .nymia-audio-info {
        width: 100%;
    }

    /* Add to cart button responsive */
    .nymia-add-to-cart-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 16px !important;
        font-size: 0.875rem !important;
    }

    /* Creator card responsive */
    .nymia-creator-card {
        width: 100%;
    }

    .nymia-creator-overlay {
        padding: 12px;
    }

    .nymia-page-heading,
    .nymia-section-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .nymia-live-audio-grid,
    .nymia-audio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nymia-ebook-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .nymia-ebook-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nymia-ebook-sidebar {
        order: -1;
        position: static;
        padding: 24px 20px;
        max-height: none;
    }

    .nymia-ebook-sidebar-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .nymia-ebook-sidebar-item {
        padding: 14px;
        gap: 12px;
    }

    .nymia-ebook-sidebar-thumbnail {
        width: 60px;
        height: 80px;
    }

    .nymia-ebook-rank {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        top: 4px;
        right: 4px;
    }

    .nymia-ebook-sidebar-name {
        font-size: 0.875rem;
    }

    .nymia-ebook-sidebar-author {
        font-size: 0.75rem;
    }

    .nymia-ebook-sidebar-load-more-btn {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }

    .nymia-ebook-page {
        padding: 20px 12px;
    }

    .nymia-ebook-main-title {
        font-size: 1.875rem;
        gap: 12px;
    }

    .nymia-ebook-subtitle {
        font-size: 0.9375rem;
    }

    .nymia-single-ebook-page {
        padding: 16px 12px;
    }

    .nymia-ebook-reader-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nymia-ebook-viewer {
        padding: 12px;
    }

    .nymia-ebook-info-sidebar {
        order: -1;
        position: static;
    }

    .nymia-ebook-reader-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    /* Audio Page - Ensure 2 columns on phone */
    .nymia-audio-page .nymia-grid-4,
    .nymia-audio-layout .nymia-grid-4,
    .nymia-audio-page .nymia-grid,
    .nymia-audio-layout .nymia-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 10px !important;

    }

    .nymia-audio-card .nymia-card-image.aspect-portrait {
        aspect-ratio: 3/3.2 !important;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 12px;
        background-color: #121212;
        overflow: hidden;
    }

    /* Ensure audio cards are properly sized on mobile */
    .nymia-audio-page .nymia-content-card,
    .nymia-audio-layout .nymia-content-card {
        width: 100% !important;
        max-width: none !important;
    }

    .nymia-audio-page .nymia-card-image,
    .nymia-audio-layout .nymia-card-image {
        width: 100% !important;
        height: auto !important;
    }

    /* Single Audio Page Mobile Styles */
    .nymia-audio-player-header {
        padding: 24px 16px;
        min-height: 32vh;
        overflow-x: hidden;
    }

    .nymia-audio-player-content {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .nymia-audio-creator-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .nymia-audio-creator-image img,
    .nymia-dummy-creator-icon {
        width: 100%;
        height: 100%;
    }

    .nymia-dummy-creator-icon svg {
        width: 50px;
        height: 50px;
    }

    .nymia-audio-creator-info {
        width: 100%;
        align-items: center;
        gap: 14px;
        padding: 12px;
        min-width: 0;
        box-sizing: border-box;
    }

    .nymia-single-audio-page .nymia-audio-creator-info {
        padding: 12px;
        border-radius: 8px;
    }

    .nymia-audio-title {
        font-size: 26px;
        text-align: center;
        line-height: 1.15;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
        max-width: 100%;
    }

    .nymia-audio-creator-name {
        font-size: 14px;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-follow-btn {
        width: 100%;
        max-width: 180px;
        height: 40px;
        font-size: 14px;
        padding: 10px 20px;
        align-self: center;
        flex-shrink: 0;
    }

    .nymia-single-audio-page .nymia-audio-creator-info .nymia-follow-btn {
        width: 100%;
        max-width: 180px;
        height: 40px;
        font-size: 14px;
    }

    .nymia-audio-title {
        font-size: 2rem;
    }

    .nymia-audio-creator-name {
        font-size: 1.125rem;
    }

    .nymia-stats-number {
        font-size: 1.75rem;
    }

    .nymia-audio-track-list {
        padding: 16px 12px;
        min-height: 35vh;
        overflow-x: hidden;
    }

    .nymia-audio-track-item {
        grid-template-columns: 30px 50px 1fr auto;
        gap: 12px;
        padding: 12px 0;
    }

    .nymia-track-thumbnail {
        width: 50px;
        height: 50px;
    }

    .nymia-track-date {
        display: none;
    }

    /* Hide track controls except play button on mobile */
    .nymia-track-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
    }

    .nymia-track-controls .nymia-clock-icon,
    .nymia-track-controls .nymia-progress-time,
    .nymia-track-controls .nymia-track-progress,
    .nymia-track-controls .nymia-track-duration {
        display: none;
    }

    .nymia-track-controls .nymia-play-btn {
        display: flex;
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .nymia-track-controls .nymia-play-btn svg {
        width: 16px;
        height: 16px;
    }

    .nymia-track-title {
        font-size: 0.875rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .nymia-track-info {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .nymia-track-artist {
        font-size: 0.75rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nymia-audio-header {
        padding: 0 16px;
    }
}

/* Extra small mobile devices (320px and below) */
@media (max-width: 320px) {
    .nymia-audio-track-list {
        padding: 12px 8px;
        min-height: 30vh;
        overflow-x: hidden;
    }

    .nymia-audio-track-item {
        grid-template-columns: 25px 40px 1fr auto;
        gap: 8px;
        padding: 10px 0;
    }

    .nymia-track-number {
        font-size: 12px;
    }

    .nymia-track-thumbnail {
        width: 40px;
        height: 40px;
    }

    .nymia-track-info {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .nymia-track-title {
        font-size: 0.75rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nymia-track-artist {
        font-size: 0.625rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nymia-track-date {
        display: none;
    }

    /* Hide track controls except play button on extra small mobile */
    .nymia-track-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
    }

    .nymia-track-controls .nymia-clock-icon,
    .nymia-track-controls .nymia-progress-time,
    .nymia-track-controls .nymia-track-progress,
    .nymia-track-controls .nymia-track-duration {
        display: none;
    }

    .nymia-track-controls .nymia-play-btn {
        display: flex;
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .nymia-track-controls .nymia-play-btn svg {
        width: 14px;
        height: 14px;
    }

    .nymia-audio-main-title {
        font-size: 1.5rem !important;
    }

    /* Audio creator info on extra small mobile */
    .nymia-audio-creator-info {
        padding: 10px;
        gap: 12px;
    }

    .nymia-single-audio-page .nymia-audio-creator-info {
        padding: 10px;
        border-radius: 8px;
    }

    .nymia-audio-title {
        font-size: 24px;
        line-height: 1.1;
        -webkit-line-clamp: 2;
    }

    .nymia-audio-creator-name {
        font-size: 13px;
    }

    .nymia-follow-btn {
        max-width: 160px;
        height: 38px;
        font-size: 13px;
        padding: 8px 16px;
    }

    .nymia-single-audio-page .nymia-audio-creator-info .nymia-follow-btn {
        max-width: 160px;
        height: 38px;
        font-size: 13px;
    }
}

/* Landscape orientation for tablets and mobile */
@media (max-width: 1024px) and (orientation: landscape) {
    .nymia-audio-track-list {
        padding: 25px 20px;
        min-height: 50vh;
    }

    .nymia-audio-track-item {
        padding: 16px 0;
        gap: 18px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .nymia-audio-track-list {
        padding: 18px 14px;
        min-height: 45vh;
    }

    .nymia-audio-track-item {
        grid-template-columns: 28px 50px 1fr auto;
        gap: 12px;
        padding: 12px 0;
    }

    .nymia-track-controls {
        gap: 8px;
    }

    .nymia-progress-bar {
        width: 45px;
    }

    .nymia-play-btn {
        width: 30px;
        height: 30px;
    }
}

/* Additional mobile styles for audio track list */
@media (max-width: 480px) {
    .nymia-filter-tabs {
        padding: 0 16px;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .nymia-filter-tab {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
        flex-shrink: 0;
    }

    .nymia-filter-tab svg {
        width: 12px;
        height: 12px;
    }

    .nymia-audio-layout {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .nymia-trending-sidebar {
        padding: 16px;
        border-radius: 12px;
    }

    .nymia-trending-title {
        font-size: 1.125rem;
    }

    .nymia-trending-item {
        padding: 10px;
    }

    .nymia-trending-rank {
        font-size: 0.875rem;
        min-width: 24px;
    }

    .nymia-trending-cover {
        width: 48px;
        height: 48px;
    }

    .nymia-trending-song {
        font-size: 0.8125rem;
    }

    .nymia-trending-artist {
        font-size: 0.6875rem;
    }

    .nymia-trending-plays {
        font-size: 0.625rem;
    }

    .nymia-ebook-card {
        border-radius: 12px !important;
    }

    .nymia-ebook-cover {
        height: 180px !important;
    }

    .nymia-ebook-details {
        padding: 10px !important;
    }

    .nymia-ebook-title {
        font-size: 0.8125rem !important;
    }

    .nymia-ebook-author {
        font-size: 0.6875rem !important;
    }

    .nymia-ebook-meta span {
        font-size: 0.625rem !important;
    }

    .nymia-ebook-read-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .nymia-ebook-read-btn svg {
        width: 16px !important;
        height: 16px !important;
    }



    .nymia-audio-card .nymia-card-image.aspect-portrait {
        aspect-ratio: 3/3.2 !important;
    }

    /* Audio info responsive on mobile */
    .nymia-audio-info {
        gap: 0.5rem;
    }

    .nymia-audio-title {
        font-size: 0.8125rem;
    }

    .nymia-audio-rating {
        gap: 0.375rem;
    }

    .nymia-audio-rating .nymia-star {
        width: 0.625rem;
        height: 0.625rem;
    }

    .nymia-audio-rating .nymia-rating-score {
        font-size: 0.6875rem;
    }

    .nymia-audio-meta {
        font-size: 0.6875rem;
        gap: 0.375rem;
        flex-wrap: wrap;
    }

    .nymia-live-audio-avatar {
        width: 32px;
        height: 32px;
    }

    .nymia-live-audio-name {
        font-size: 0.875rem;
    }

    .nymia-suggestions-sidebar,
    .nymia-trending-sidebar {
        padding: 16px;
    }

    .nymia-suggestion-card {
        min-width: 240px;
    }

    .nymia-trending-item {
        min-width: 240px;
    }
}

/* Audio Upload Enhancement Styles */
.nymia-upload-options {
    margin: 1.5rem 0;
}

.nymia-upload-mode-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: var(--card);
    border-radius: var(--radius);
    padding: 0.25rem;
}

.nymia-upload-mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: calc(var(--radius) - 0.25rem);
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nymia-upload-mode-btn:hover {
    color: var(--foreground);
    background: var(--secondary);
}

.nymia-upload-mode-btn.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.nymia-upload-mode-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.nymia-upload-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.nymia-progress-bar {
    width: 100%;
    height: 0.5rem;
    background: var(--secondary);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.nymia-progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

.nymia-progress-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    display: block;
}

.nymia-recording-area {
    padding: 1.5rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.nymia-recording-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.nymia-btn-record,
.nymia-btn-stop,
.nymia-btn-pause {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nymia-btn-stop {
    background: var(--destructive);
}

.nymia-btn-pause {
    background: var(--accent);
}

.nymia-btn-record:hover,
.nymia-btn-stop:hover,
.nymia-btn-pause:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nymia-recording-status {
    margin-bottom: 1.5rem;
}

.nymia-recording-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--destructive);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.nymia-recording-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--destructive);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.nymia-recording-timer {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    font-family: 'Courier New', monospace;
}

.nymia-recording-visualizer {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.nymia-recording-visualizer canvas {
    border-radius: var(--radius);
    background: var(--secondary);
}

.nymia-recording-preview {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--secondary);
    border-radius: var(--radius);
}

.nymia-recording-preview audio {
    width: 100%;
    margin-bottom: 1rem;
}

.nymia-btn-re-record {
    background: var(--muted);
    color: var(--muted-foreground);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nymia-btn-re-record:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.nymia-uploaded-audio-preview {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.nymia-uploaded-audio-preview h3 {
    margin-bottom: 1rem;
    color: var(--foreground);
    font-size: 1.125rem;
    font-weight: 600;
}

.nymia-audio-preview-player {
    margin-bottom: 1rem;
}

.nymia-audio-preview-player audio {
    width: 100%;
    margin-bottom: 0.75rem;
}

.nymia-audio-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.nymia-audio-filename {
    font-weight: 500;
    color: var(--foreground);
}

.nymia-btn-remove-audio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--destructive);
    color: var(--destructive-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nymia-btn-remove-audio:hover {
    opacity: 0.9;
}

.nymia-btn-remove-audio svg {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design for Audio Upload */
@media (max-width: 768px) {
    .nymia-upload-mode-tabs {
        flex-direction: column;
    }

    .nymia-recording-controls {
        flex-direction: column;
        align-items: center;
    }

    .nymia-btn-record,
    .nymia-btn-stop,
    .nymia-btn-pause {
        width: 100%;
        max-width: 200px;
    }

    .nymia-recording-visualizer canvas {
        width: 100%;
        max-width: 300px;
    }
}

/* Enhanced Creator Cards and Rating System */
.nymia-creator-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.nymia-creator-heading {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.nymia-creator-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    position: relative;
}

.nymia-creator-badge img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.nymia-creator-badge--inline {
    width: 16px;
    height: 16px;
}

.nymia-creator-badge .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Verified User Badge (for regular users, not creators) */
.nymia-verified-user-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    color: #10B981;
    /* Green color for verified users */
}

.nymia-verified-user-badge img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.nymia-verified-user-badge--inline {
    width: 20px;
    height: 20px;
}

.nymia-verified-user-badge .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nymia-profile-avatar-wrap,
.nymia-avatar-shell,
.nymia-audio-creator-image {
    display: inline-block;
}

.nymia-creator-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nymia-star-rating {
    display: flex;
    gap: 0.125rem;
}

.nymia-star {
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.nymia-star.filled {
    color: #fbbf24;
    fill: #fbbf24;
}

.nymia-rating-score {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.nymia-creator-category {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nymia-category-tag,
.nymia-subcategory-tag {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.nymia-category-tag {
    background: var(--primary);
    color: var(--primary-foreground);
}

.nymia-subcategory-tag {
    background: var(--secondary);
    color: var(--muted-foreground);
}

/* Audio Files Section */
.nymia-audio-files {
    padding: 1rem;
    background: var(--card);
    border-top: 1px solid var(--border);
}

.nymia-audio-files-title {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.nymia-audio-file-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--background);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.nymia-audio-file-card:hover {
    background: var(--secondary);
    border-color: var(--primary);
}

.nymia-audio-cover {
    position: relative;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.nymia-audio-cover svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nymia-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nymia-audio-file-card:hover .nymia-play-button {
    opacity: 1;
}

.nymia-play-button svg {
    width: 0.75rem;
    height: 0.75rem;
}

.nymia-audio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    overflow: hidden;
}

.nymia-audio-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nymia-audio-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nymia-audio-rating .nymia-star-rating {
    gap: 0.0625rem;
}

.nymia-audio-rating .nymia-star {
    width: 0.75rem;
    height: 0.75rem;
}

.nymia-audio-rating .nymia-rating-score {
    font-size: 0.75rem;
}

.nymia-audio-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nymia-audio-duration {
    font-weight: 500;
}

.nymia-audio-category {
    font-style: italic;
}

/* Modern Footer Styles with Brand Colors */
.nymia-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding: 0;
    clear: both;
    margin-left: 256px;
    /* Offset for left sidebar */
    width: calc(100% - 256px);
    /* Full width minus sidebar */
}

/* Full width footer when no sidebar (non-logged-in users) */
body:not(.logged-in) .nymia-footer {
    margin-left: 0 !important;
    width: 100% !important;
}

.nymia-footer-content {
    max-width: 100%;
    margin: 0;
    padding: 3rem 2rem;
}

/* Newsletter Section */
.nymia-footer-newsletter {
    margin-bottom: 4rem;
}

.nymia-footer-heading {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.nymia-footer-subtext {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.nymia-footer-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
}

.nymia-footer-email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--foreground);
    background: var(--background);
    transition: border-color 0.2s ease;
}

.nymia-footer-email-input:focus {
    outline: none;
    border-color: var(--primary);
}

.nymia-footer-email-input::placeholder {
    color: var(--muted-foreground);
}

.nymia-footer-subscribe-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nymia-footer-subscribe-btn:hover {
    background: hsl(18, 70%, 50%);
    transform: translateY(-1px);
}

/* Main Navigation */
.nymia-footer-navigation {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.nymia-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nymia-footer-logo {
    display: flex;
    align-items: center;
}

.nymia-footer-logo a {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nymia-footer-logo a:hover {
    opacity: 0.8;
}

.nymia-footer-logo img {
    max-width: 180px;
    height: auto;
    max-height: 60px;
    display: block;
}

.nymia-footer-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

.nymia-footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.nymia-footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nymia-footer-column-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    letter-spacing: 0.02em;
}

.nymia-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nymia-footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nymia-footer-links a:hover {
    color: var(--primary);
}

.nymia-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--muted);
    color: var(--primary);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Footer Bottom */
.nymia-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.nymia-footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.nymia-footer-social-icons {
    display: flex;
    gap: 0.75rem;
}

.nymia-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.nymia-social-icon:hover {
    background: var(--muted);
    border-color: var(--primary);
    color: var(--primary);
}

.nymia-social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    fill: currentColor;
}

.nymia-social-icon svg path {
    fill: currentColor;
}

.nymia-social-links {
    display: flex;
    gap: 0.75rem;
}

.nymia-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    gap: 2rem;
}

.nymia-footer-info {
    flex: 1;
}

.nymia-footer-copyright {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 500;
}

.nymia-footer-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.nymia-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 300px;
}

.nymia-footer-newsletter h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.nymia-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.nymia-newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-size: 0.875rem;
}

.nymia-newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.nymia-newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nymia-newsletter-form button:hover {
    background: var(--primary-dark);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .nymia-footer {
        margin-left: 0;
        width: 100%;
    }

    .nymia-footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .nymia-footer-navigation {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nymia-footer-content {
        padding: 2rem 1.5rem;
    }

    .nymia-footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .nymia-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nymia-footer-social-icons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nymia-social-icon {
        width: 2rem;
        height: 2rem;
    }

    .nymia-social-icon svg {
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 480px) {
    .nymia-footer-nav-columns {
        grid-template-columns: 1fr;
    }

    .nymia-footer-brand {
        text-align: center;
    }

    .nymia-footer-logo {
        justify-content: center;
    }
}

/* Ebook category icon styles */
.nymia-ebook-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nymia-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nymia-category-icon svg {
    width: 18px;
    height: 18px;
    color: #fff;
    opacity: 0.9;
}

.nymia-ebook-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-left: 6px;
}

/* Spacing between category header and grid */
.nymia-ebook-category-header {
    margin-bottom: 12px;
}

.nymia-ebook-category-section {
    margin-bottom: 24px;
}

/* Success Notification Alert Styles - Theme Matched */
.nymia-notification-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideInNotification 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 420px;
    min-width: 320px;
    transition: all 0.3s ease-out;
}

@keyframes slideInNotification {
    from {
        transform: translateX(500px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Success Notification */
.nymia-notification-success {
    background: linear-gradient(135deg, #1E1E1E 0%, #141414 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-left: 4px solid #28a745;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(40, 167, 69, 0.1),
        0 0 40px rgba(40, 167, 69, 0.1);
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nymia-notification-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #28a745 0%, #218838 100%);
}

.nymia-notification-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(40, 167, 69, 0.2),
        0 0 60px rgba(40, 167, 69, 0.15);
}

/* Notification Icon */
.nymia-notification-icon {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.1);
}

.nymia-notification-icon svg {
    width: 20px;
    height: 20px;
    color: #28a745;
    animation: checkmarkDraw 0.6s ease-out;
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 0 100;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        stroke-dasharray: 100 0;
    }
}

/* Notification Content */
.nymia-notification-content {
    flex: 1;
    padding: 16px 16px 16px 0;
    min-width: 0;
}

.nymia-notification-content h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.nymia-notification-content p {
    color: #999;
    font-size: 0.813rem;
    margin: 0;
    line-height: 1.4;
}

/* Close Button */
.nymia-notification-close {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 16px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 0 16px 16px 0;
}

.nymia-notification-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nymia-notification-close svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nymia-notification-alert {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        min-width: auto;
    }

    .nymia-notification-icon {
        padding: 16px;
    }

    .nymia-notification-icon svg {
        width: 24px;
        height: 24px;
    }

    .nymia-notification-content {
        padding: 16px;
    }

    .nymia-notification-content h4 {
        font-size: 0.95rem;
    }

    .nymia-notification-content p {
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .nymia-notification-alert {
        top: 10px;
    }

    .nymia-notification-icon {
        padding: 12px;
    }

    .nymia-notification-icon svg {
        width: 20px;
        height: 20px;
    }

    .nymia-notification-content {
        padding: 12px;
    }

    .nymia-notification-close {
        padding: 12px 16px;
    }
}

/* ======================================== */
/* LIVE STREAM BOOKING MODAL */
/* ======================================== */
.nymia-booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nymia-booking-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.nymia-booking-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(145deg, rgba(24, 24, 28, 0.98), rgba(15, 15, 17, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.nymia-booking-modal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.nymia-booking-modal-content {
    position: relative;
    padding: 32px;
    height: 650px;
    overflow-y: auto;
}

.nymia-booking-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.nymia-booking-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
}

.nymia-booking-close svg {
    width: 20px;
    height: 20px;
}

.nymia-booking-header {
    margin-bottom: 28px;
    text-align: center;
}

.nymia-booking-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.nymia-booking-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.nymia-booking-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nymia-booking-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nymia-booking-option {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nymia-booking-option:hover {
    border-color: rgba(199, 84, 26, 0.5);
    background: rgba(199, 84, 26, 0.05);
}

.nymia-booking-option-label {
    display: block;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.nymia-booking-option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nymia-booking-option-label input[type="radio"]:checked+.nymia-booking-option-content {
    background: rgba(199, 84, 26, 0.15);
    border-color: rgba(199, 84, 26, 0.5);
}

.nymia-booking-option-label input[type="radio"]:checked~.nymia-booking-option-content {
    background: rgba(199, 84, 26, 0.15);
    border-color: rgba(199, 84, 26, 0.5);
}

.nymia-booking-option-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.nymia-booking-option-label input[type="radio"]:checked+.nymia-booking-option-content {
    background: rgba(199, 84, 26, 0.15);
    border-color: rgba(199, 84, 26, 0.5);
}

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

.nymia-booking-option-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
}

.nymia-booking-option-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.nymia-booking-option-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 12px 0;
}

.nymia-booking-minutes-selector {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nymia-booking-minutes-selector label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.nymia-booking-minutes-selector input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.nymia-booking-minutes-selector input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.nymia-booking-minutes-selector input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nymia-booking-total {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.nymia-booking-total-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.nymia-booking-total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nymia-booking-actions {
    display: flex;
    gap: 12px;
}

.nymia-booking-cancel {
    flex: 1;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nymia-booking-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nymia-booking-submit {
    flex: 2;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nymia-booking-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Payment Modal Styles */
.nymia-payment-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(145deg, rgba(24, 24, 28, 0.98), rgba(15, 15, 17, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.nymia-payment-modal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.nymia-payment-modal-content {
    position: relative;
    padding: 32px;
}

.nymia-payment-header {
    margin-bottom: 24px;
}

.nymia-payment-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

#stripe-payment-element {
    min-height: 200px;
}

#stripe-payment-element .StripeElement {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .nymia-booking-modal {
        width: 95%;
        padding: 0;
    }

    .nymia-booking-modal-content {
        padding: 24px 20px;
    }

    .nymia-booking-header h2 {
        font-size: 1.5rem;
    }

    .nymia-booking-actions {
        flex-direction: column;
    }

    .nymia-payment-modal {
        width: 95%;
        padding: 0;
    }

    .nymia-payment-modal-content {
        padding: 24px 20px;
    }
}

.nymia-booking-cancel,
.nymia-booking-submit {
    flex: 1;
}

/* Contact Us Page Styles */
.nymia-contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.nymia-contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.nymia-contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.nymia-contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.nymia-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.nymia-contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.nymia-contact-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
}

.nymia-contact-form .nymia-form-group {
    margin-bottom: 20px;
}

.nymia-contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.nymia-contact-form input[type="text"],
.nymia-contact-form input[type="email"],
.nymia-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.nymia-contact-form input:focus,
.nymia-contact-form textarea:focus {
    outline: none;
    border-color: rgba(191, 76, 26, 0.6);
    box-shadow: 0 0 0 3px rgba(191, 76, 26, 0.2);
}

.nymia-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.nymia-contact-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.nymia-contact-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.nymia-contact-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.nymia-contact-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.nymia-contact-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 32px;
}

.nymia-contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.nymia-contact-info-item svg {
    width: 24px;
    height: 24px;
    color: rgba(191, 76, 26, 0.9);
    flex-shrink: 0;
    margin-top: 4px;
}

.nymia-contact-info-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0;
}

.nymia-contact-info-item a,
.nymia-contact-info-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-decoration: none;
}

.nymia-contact-info-item a:hover {
    color: rgba(191, 76, 26, 0.9);
}

@media (max-width: 768px) {
    .nymia-contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nymia-contact-form-wrapper,
    .nymia-contact-info {
        padding: 24px;
    }

    .nymia-contact-header h1 {
        font-size: 2rem;
    }
}