.eq-passport-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

:root {
    --eq-bg-primary: #ffffff;
    --eq-bg-secondary: #f9fafb;
    --eq-bg-tertiary: #f1f5f9;
    --eq-bg-hover: #f3f4f6;
    --eq-bg-card: #ffffff;
    --eq-bg-overlay: rgba(255, 255, 255, 0.1);
    --eq-bg-skeleton: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    --eq-bg-skeleton-card: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
    --eq-bg-skeleton-item: linear-gradient(90deg, #f9fafb 25%, #ffffff 50%, #f9fafb 75%);
    
    --eq-text-primary: #1f2937;
    --eq-text-secondary: #6b7280;
    --eq-text-tertiary: #9ca3af;
    --eq-text-red: #ef4444;
    --eq-text-yellow: #f59e0b;
    --eq-text-title: #2e1a1a;
    
    --eq-border-color: #e5e7eb;
    --eq-border-focus: #3b82f6;
    --eq-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --eq-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --eq-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    --eq-mono-bg: #e5e7eb;
    
    --eq-badge-admin-bg: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    --eq-badge-admin-text: #92400e;
    --eq-badge-editor-bg: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    --eq-badge-editor-text: #1e40af;
    --eq-badge-author-bg: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    --eq-badge-author-text: #065f46;
    --eq-badge-contributor-bg: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    --eq-badge-contributor-text: #3730a3;
    --eq-badge-subscriber-bg: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    --eq-badge-subscriber-text: #6b21a8;
    --eq-badge-iploc-bg: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    --eq-badge-iploc-text: #047857;
    --eq-badge-bind-bg: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    --eq-badge-bind-text: #047857;
    
    --eq-empty-bg: #fef3c7;
    --eq-empty-text: #f59e0b;
    --eq-activation-bg: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    --eq-activation-text: #f59e0b;
    --eq-login-modal-bg: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    --eq-login-modal-text: #3b82f6;
    
    --eq-input-bg: #ffffff;
    --eq-input-border: #e5e7eb;
    --eq-input-focus-shadow: rgba(59, 130, 246, 0.15);
}

[data-bs-theme="dark"] {
    --eq-bg-primary: #1f2937;
    --eq-bg-secondary: #111827;
    --eq-bg-tertiary: #1a1f2e;
    --eq-bg-hover: #374151;
    --eq-bg-card: #1f2937;
    --eq-bg-overlay: rgba(0, 0, 0, 0.3);
    --eq-bg-skeleton: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    --eq-bg-skeleton-card: linear-gradient(90deg, #1a1f2e 25%, #374151 50%, #1a1f2e 75%);
    --eq-bg-skeleton-item: linear-gradient(90deg, #111827 25%, #1f2937 50%, #111827 75%);
    
    --eq-text-primary: #f3f4f6;
    --eq-text-secondary: #9ca3af;
    --eq-text-tertiary: #6b7280;
    --eq-text-title: #f9fafb;
    
    --eq-border-color: #374151;
    --eq-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --eq-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --eq-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    --eq-mono-bg: #374151;
    
    --eq-badge-admin-bg: linear-gradient(135deg, #78350f 0%, #92400e 100%);
    --eq-badge-admin-text: #fef3c7;
    --eq-badge-editor-bg: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --eq-badge-editor-text: #dbeafe;
    --eq-badge-author-bg: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    --eq-badge-author-text: #d1fae5;
    --eq-badge-contributor-bg: linear-gradient(135deg, #312e81 0%, #3730a3 100%);
    --eq-badge-contributor-text: #e0e7ff;
    --eq-badge-subscriber-bg: linear-gradient(135deg, #581c87 0%, #6b21a8 100%);
    --eq-badge-subscriber-text: #f3e8ff;
    --eq-badge-iploc-bg: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    --eq-badge-iploc-text: #d1fae5;
    --eq-badge-bind-bg: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    --eq-badge-bind-text: #d1fae5;
    
    --eq-empty-bg: #78350f;
    --eq-empty-text: #fbbf24;
    --eq-activation-bg: linear-gradient(135deg, #78350f 0%, #92400e 100%);
    --eq-activation-text: #fbbf24;
    --eq-login-modal-bg: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --eq-login-modal-text: #60a5fa;
    
    --eq-input-bg: #111827;
    --eq-input-border: #374151;
    --eq-input-focus-shadow: rgba(59, 130, 246, 0.25);
}

.eq-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
}

.eq-notice a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.eq-header {
    text-align: center;
    margin-bottom: 32px;
}

.eq-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--eq-text-title);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.eq-subtitle {
    font-size: 15px;
    color: var(--eq-text-secondary);
    margin: 0;
}

.eq-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .eq-cards {
        grid-template-columns: 1fr;
    }
    
    .eq-passport-container {
        padding: 16px;
    }
    
    .eq-title {
        font-size: 24px;
    }
}

.eq-card {
    background: var(--eq-bg-card);
    border-radius: 16px;
    box-shadow: var(--eq-shadow-sm);
    border: 1px solid var(--eq-border-color);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eq-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--eq-shadow-md);
}

.eq-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--eq-bg-tertiary);
    border-bottom: 1px solid var(--eq-border-color);
    flex-wrap: wrap;
}

.eq-bind-status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--eq-badge-bind-bg);
    border-radius: 20px;
    font-size: 12px;
    color: var(--eq-badge-bind-text);
}

.eq-bind-label {
    font-weight: 500;
}

.eq-game-dropdown-btn .eq-bind-label {
    font-weight: 600;
}

.eq-bind-status .fa-cube {
    color: #10b981;
}

.eq-bind-game {
    font-weight: 600;
}

.eq-game-selector {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eq-game-dropdown {
    position: relative;
}

.eq-game-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--eq-badge-bind-bg);
    border: none;
    border-radius: 20px;
    font-size: 12px;
    color: var(--eq-badge-bind-text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.eq-game-dropdown-btn:hover {
    filter: brightness(0.95);
}

.eq-game-dropdown-btn .fa-cube {
    color: #10b981;
}

.eq-game-dropdown-btn .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.eq-game-dropdown.open .eq-game-dropdown-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.eq-game-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--eq-bg-card);
    border: 1px solid var(--eq-border-color);
    border-radius: 12px;
    box-shadow: var(--eq-shadow-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.eq-game-dropdown.open .eq-game-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eq-game-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--eq-text-primary);
    cursor: default;
    transition: background 0.2s ease;
}

.eq-game-dropdown-item:hover {
    background: var(--eq-bg-hover);
}

.eq-game-dropdown-item.active {
    background: var(--eq-badge-bind-bg);
    color: var(--eq-badge-bind-text);
}

.eq-game-dropdown-item i {
    width: 16px;
    text-align: center;
}

.eq-game-icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.eq-game-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

[data-bs-theme="dark"] .eq-game-count {
    background: rgba(255, 255, 255, 0.1);
}

.eq-game-dropdown-item .fa-cube {
    color: #10b981;
}

.eq-game-dropdown-item.active .fa-cube {
    color: inherit;
}

.eq-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eq-card-icon svg {
    width: 22px;
    height: 22px;
}

.eq-icon-user {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.eq-icon-game {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
}

.eq-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--eq-text-primary);
    margin: 0;
}

.eq-card-body {
    padding: 20px 24px;
}

.eq-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eq-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--eq-bg-secondary);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.eq-info-item:hover {
    background: var(--eq-bg-hover);
}

.eq-info-label {
    font-size: 14px;
    color: var(--eq-text-secondary);
    font-weight: 500;
}

.eq-info-value {
    font-size: 14px;
    color: var(--eq-text-primary);
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}

.eq-info-value.eq-mono {
    font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace;
    font-size: 13px;
    background: var(--eq-mono-bg);
    padding: 4px 8px;
    border-radius: 6px;
}

.eq-info-value.eq-uuid {
    font-size: 11px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eq-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.eq-badge-administrator {
    background: var(--eq-badge-admin-bg);
    color: var(--eq-badge-admin-text);
}

.eq-badge-editor {
    background: var(--eq-badge-editor-bg);
    color: var(--eq-badge-editor-text);
}

.eq-badge-author {
    background: var(--eq-badge-author-bg);
    color: var(--eq-badge-author-text);
}

.eq-badge-contributor {
    background: var(--eq-badge-contributor-bg);
    color: var(--eq-badge-contributor-text);
}

.eq-badge-subscriber {
    background: var(--eq-badge-subscriber-bg);
    color: var(--eq-badge-subscriber-text);
}

.eq-badge-iploc {
    background: var(--eq-badge-iploc-bg);
    color: var(--eq-badge-iploc-text);
    margin-left: 8px;
    font-size: 11px;
}

.eq-badge-timezone {
    background: var(--eq-badge-iploc-bg);
    color: var(--eq-badge-iploc-text);
    margin-left: 8px;
    font-size: 11px;
}

.eq-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.eq-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--eq-empty-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eq-empty-icon svg {
    width: 32px;
    height: 32px;
    color: var(--eq-empty-text);
}

.eq-empty-text {
    font-size: 15px;
    color: var(--eq-text-secondary);
    margin: 0;
}

.eq-activation-card {
    background: var(--eq-bg-card);
    border-radius: 16px;
    box-shadow: var(--eq-shadow-sm);
    border: 1px solid var(--eq-border-color);
    padding: 40px;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.eq-activation-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--eq-activation-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eq-activation-icon svg {
    width: 36px;
    height: 36px;
    color: var(--eq-activation-text);
}

.eq-activation-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--eq-text-primary);
    margin: 0 0 8px 0;
}

.eq-activation-desc {
    font-size: 15px;
    color: var(--eq-text-secondary);
    margin: 0 0 32px 0;
}

.eq-activation-form {
    text-align: left;
}

.eq-form-group {
    margin-bottom: 24px;
}

.eq-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--eq-text-primary);
    margin-bottom: 8px;
}

.eq-form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    background: var(--eq-input-bg);
    border: 2px solid var(--eq-input-border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    color: var(--eq-text-primary);
}

.eq-form-group input:focus {
    border-color: var(--eq-border-focus);
    box-shadow: 0 0 0 3px var(--eq-input-focus-shadow);
}

.eq-form-group input::placeholder {
    color: var(--eq-text-tertiary);
}

.eq-form-hint {
    display: block;
    font-size: 12px;
    color: var(--eq-text-tertiary);
    margin-top: 6px;
}

.eq-form-hint-red {
    display: block;
    font-size: 12px;
    color: var(--eq-text-red);
    margin-top: 6px;
}

.eq-form-hint-yellow {
    display: block;
    font-size: 12px;
    color: var(--eq-text-yellow);
    margin-top: 6px;
}

.eq-form-hint-small {
    display: block;
    font-size: 10px;
    color: var(--eq-primary-tertiary);
    margin-top: 6px;
}



.eq-username-status {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.eq-username-status i {
    margin-right: 4px;
}

.eq-status-valid {
    color: #10b981;
}

.eq-status-invalid {
    color: #ef4444;
}

.eq-status-checking {
    color: var(--eq-text-secondary);
}

.eq-input-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.eq-input-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.eq-input-checking {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.eq-input-disabled {
    background: var(--eq-bg-tertiary) !important;
    border-color: var(--eq-border-color) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    color: var(--eq-text-tertiary) !important;
    opacity: 0.7;
}

.eq-input-disabled::placeholder {
    color: var(--eq-text-tertiary);
    opacity: 0.5;
}

.eq-agreement-group {
    margin-bottom: 20px;
}

.eq-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    color: var(--eq-text-secondary);
    line-height: 1.5;
}

.eq-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.eq-checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--eq-border-color);
    border-radius: 4px;
    margin-right: 10px;
    margin-top: 1px;
    background: var(--eq-bg-primary);
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
}

.eq-checkbox-label input[type="checkbox"]:checked + .eq-checkbox-custom {
    background: var(--eq-border-focus);
    border-color: var(--eq-border-focus);
}

.eq-checkbox-label input[type="checkbox"]:checked + .eq-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.eq-checkbox-label input[type="checkbox"]:focus + .eq-checkbox-custom {
    box-shadow: 0 0 0 3px var(--eq-input-focus-shadow);
}

.eq-checkbox-text {
    flex: 1;
}

.eq-agreement-link {
    color: var(--eq-border-focus);
    text-decoration: none;
}

.eq-agreement-link:hover {
    text-decoration: underline;
}

.eq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.eq-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 14px -3px rgba(59, 130, 246, 0.4);
}

.eq-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px -3px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.eq-btn-primary:active {
    transform: translateY(0);
}

.eq-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.eq-spinner {
    width: 18px;
    height: 18px;
    animation: eq-spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes eq-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.eq-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.eq-toast.eq-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.eq-toast.eq-toast-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.4);
}

.eq-toast.eq-toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 4px 14px -3px rgba(239, 68, 68, 0.4);
}

.eq-login-prompt {
    position: relative;
}

.eq-skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--eq-bg-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    border-radius: 16px;
}

.eq-skeleton-content {
    pointer-events: none;
    user-select: none;
}

.eq-skeleton-header {
    text-align: center;
    margin-bottom: 32px;
}

.eq-skeleton-title {
    width: 280px;
    height: 32px;
    background: var(--eq-bg-skeleton);
    background-size: 200% 100%;
    animation: eq-skeleton-loading 1.5s infinite;
    border-radius: 8px;
    margin: 0 auto 12px;
}

.eq-skeleton-subtitle {
    width: 320px;
    height: 18px;
    background: var(--eq-bg-skeleton);
    background-size: 200% 100%;
    animation: eq-skeleton-loading 1.5s infinite;
    border-radius: 6px;
    margin: 0 auto;
}

.eq-skeleton-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .eq-skeleton-cards {
        grid-template-columns: 1fr;
    }
}

.eq-skeleton-card {
    background: var(--eq-bg-card);
    border-radius: 16px;
    box-shadow: var(--eq-shadow-sm);
    border: 1px solid var(--eq-border-color);
    overflow: hidden;
}

.eq-skeleton-card-header {
    height: 64px;
    background: var(--eq-bg-skeleton-card);
    background-size: 200% 100%;
    animation: eq-skeleton-loading 1.5s infinite;
    border-bottom: 1px solid var(--eq-border-color);
}

.eq-skeleton-card-body {
    padding: 20px 24px;
}

.eq-skeleton-item {
    height: 44px;
    background: var(--eq-bg-skeleton-item);
    background-size: 200% 100%;
    animation: eq-skeleton-loading 1.5s infinite;
    border-radius: 10px;
    margin-bottom: 16px;
}

.eq-skeleton-item:last-child {
    margin-bottom: 0;
}

@keyframes eq-skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.eq-login-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.eq-login-modal-content {
    background: var(--eq-bg-card);
    border-radius: 20px;
    padding: 40px 48px;
    text-align: center;
    box-shadow: var(--eq-shadow-lg);
    border: 1px solid var(--eq-border-color);
    max-width: 360px;
}

.eq-login-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--eq-login-modal-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eq-login-modal-icon svg {
    width: 36px;
    height: 36px;
    color: var(--eq-login-modal-text);
}

.eq-login-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--eq-text-primary);
    margin: 0 0 8px 0;
}

.eq-login-modal-desc {
    font-size: 15px;
    color: var(--eq-text-secondary);
    margin: 0 0 28px 0;
}

.eq-login-btn {
    min-width: 160px;
}

.eq-login-btn i {
    margin-right: 8px;
}

.eq-edit-username-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--eq-bg-secondary);
    border: 1px solid var(--eq-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--eq-text-secondary);
}

.eq-edit-username-btn:hover {
    background: var(--eq-bg-hover);
    color: var(--eq-text-primary);
}

.eq-username-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.eq-username-modal.eq-modal-show {
    opacity: 1;
    visibility: visible;
}

.eq-username-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.eq-username-modal-content {
    position: relative;
    background: var(--eq-bg-card);
    border-radius: 16px;
    box-shadow: var(--eq-shadow-lg);
    border: 1px solid var(--eq-border-color);
    width: 100%;
    max-width: 420px;
    margin: 16px;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.eq-username-modal.eq-modal-show .eq-username-modal-content {
    transform: scale(1) translateY(0);
}

.eq-username-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--eq-border-color);
}

.eq-username-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--eq-text-primary);
    margin: 0;
}

.eq-username-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--eq-text-secondary);
    transition: all 0.2s ease;
}

.eq-username-modal-close:hover {
    background: var(--eq-bg-hover);
    color: var(--eq-text-primary);
}

.eq-username-form {
    padding: 24px;
}

.eq-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.eq-btn-secondary {
    background: var(--eq-bg-secondary);
    color: var(--eq-text-primary);
    border: 1px solid var(--eq-border-color);
}

.eq-btn-secondary:hover {
    background: var(--eq-bg-hover);
}

body.eq-modal-open {
    overflow: hidden;
}
