/* Arka plan g?rseli kald?r?ld? ? Imperial tema body.eslestirme-imperial ile uygulan?r */

body.eslestirme-page {
    overflow-x: hidden;
}

.eslestirme-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

/* Saved List */
.saved-list-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.saved-list-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fbbf24;
}

.saved-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.saved-item {
    background: rgba(26, 26, 31, 0.8);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saved-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.saved-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.saved-item-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
}

.saved-item-format {
    background: rgba(139, 92, 246, 0.3);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #c4b5fd;
}

.saved-item-info {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.saved-item-actions {
    display: flex;
    gap: 10px;
}

.saved-item-btn {
    flex: 1;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.view-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.view-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
}

.delete-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: scale(1.05);
}

/* Current Saved Container */
.current-saved-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.current-saved-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.current-saved-header h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
}

/* Players Container */
.players-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.players-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fbbf24;
}

.players-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.player-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 26, 31, 0.8);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 200px;
}

.player-item:hover {
    background: rgba(26, 26, 31, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.player-item .player-info {
    margin-right: 12px;
}

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

.player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.5);
}

.player-name {
    font-weight: 600;
    color: #fff;
}

.player-item .remove-btn {
    margin-left: 8px;
}

.remove-btn {
    background: rgba(220, 38, 38, 0.3);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #fca5a5;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: rgba(220, 38, 38, 0.5);
    transform: scale(1.1);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #a0a0a0;
}

.empty-state p {
    font-size: 1.1rem;
}

.empty-state code {
    background: rgba(139, 92, 246, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    color: #c4b5fd;
}

/* Matchmaking Section */
.matchmaking-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 15px;
}

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

.format-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.format-label {
    font-weight: 600;
    color: #fff;
}

.format-select {
    background: rgba(26, 26, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.format-select:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.format-select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Action Buttons */
.action-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.add-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.add-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.match-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.match-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.part-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.part-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.save-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.save-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.clear-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.clear-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

.cancel-btn {
    background: rgba(107, 114, 128, 0.3);
    color: #d1d5db;
    border: 1px solid rgba(107, 114, 128, 0.5);
}

.cancel-btn:hover {
    background: rgba(107, 114, 128, 0.5);
}

.actions-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Matches Grid */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.match-card {
    background: rgba(26, 26, 31, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    min-width: 0;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

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

.match-number {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
}

.match-type {
    background: rgba(139, 92, 246, 0.3);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #c4b5fd;
    font-weight: 600;
}

.match-teams {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.team-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 5px;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.5);
}

.member-name {
    font-weight: 500;
    color: #fff;
    font-size: 0.95rem;
}

.team-divider {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #fbbf24;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Parts Container */
.parts-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.part-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.part-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.modal-content {
    background: rgba(26, 26, 31, 0.95);
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

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

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.close {
    color: #a0a0a0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #fff;
}

.modal-body {
    padding: 20px;
}

.modal-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.modal-input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.modal-input::placeholder {
    color: #6b7280;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Ses odas? b?l?m? (oyuncu listesi kart?n?n alt?ndaki kart) - yan yana kartlar, hover i?in padding */
.voice-room-section .voice-room-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
}

#voiceRoomListContent,
#crownGuardsListContent {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.voice-room-item {
    min-width: 200px;
    flex: 0 1 auto;
}

.voice-room-item .player-info {
    min-width: 0;
    flex: 1;
    margin-right: 12px;
}

.voice-room-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.voice-room-info .player-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voice-room-join-time {
    color: #94a3b8;
    font-size: 0.85rem;
}

.voice-room-item .voice-room-add-btn {
    padding: 8px 14px;
    min-width: auto;
    flex-shrink: 0;
    margin-left: 8px;
}

.voice-room-item.already-in-list {
    opacity: 0.7;
    pointer-events: none;
}

.voice-room-item.already-in-list .voice-room-add-btn {
    display: none;
}

/* Ta? Muhaf?zlar? b?l?m? */
.crown-guards-section .crown-guards-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.crown-guards-role-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    vertical-align: middle;
}

.crown-guards-role-fallback {
    font-size: 1.25rem;
}

.crown-guards-section .crown-guards-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
}

.crown-guards-item {
    min-width: 200px;
    flex: 0 1 auto;
}

.crown-guards-item .player-info {
    min-width: 0;
    margin-right: 12px;
}

.crown-guards-item .action-btn.reserve-btn {
    padding: 8px 14px;
    min-width: auto;
    flex-shrink: 0;
    margin-left: 8px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.crown-guards-item .action-btn.reserve-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.crown-guards-item.already-in-list {
    opacity: 0.7;
    pointer-events: none;
}

.crown-guards-item.already-in-list .action-btn.reserve-btn {
    display: none;
}

.current-matches-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mod Se?ici */
.eslestirme-mode-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.eslestirme-mode-switcher .mode-btn {
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(26, 26, 31, 0.7);
    color: #d1d5db;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eslestirme-mode-switcher .mode-btn:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
}

.eslestirme-mode-switcher .mode-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

/* Tak?m E?le?tirme */
.teams-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.team-pool-item {
    background: rgba(26, 26, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}

.team-pool-item.selected {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.team-pool-item--incomplete {
    border-color: rgba(245, 158, 11, 0.25);
}

.team-pool-item--incomplete.selected {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25);
}

.eslestirme-team-status {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.eslestirme-team-status.is-complete {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
}

.eslestirme-team-status.is-incomplete {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.12);
}

.team-pool-item .team-toggle-btn {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.eslestirme-team-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eslestirme-team-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eslestirme-team-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eslestirme-team-logo-preset {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eslestirme-team-logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
}

.eslestirme-team-logo-fallback:not([hidden]) {
    display: flex;
}

.eslestirme-team-meta {
    min-width: 0;
    flex: 1;
}

.eslestirme-team-name {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 4px;
}

.eslestirme-team-rep {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.eslestirme-rep-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.eslestirme-rep-label {
    color: #94a3b8;
}

.eslestirme-rep-name {
    color: #e2e8f0;
    font-weight: 500;
}

.eslestirme-team-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eslestirme-member-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 32px;
}

.eslestirme-member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.4);
    object-fit: cover;
}

.eslestirme-member-rank-badge {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.eslestirme-team-hint {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.team-match-card .eslestirme-tournament-team {
    gap: 12px;
}

.team-match-card .eslestirme-team-avatars {
    padding-left: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    body.eslestirme-page .eslestirme-shell {
        padding-top: max(5rem, calc(env(safe-area-inset-top, 0px) + 4rem)) !important;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px)) !important;
        padding-left: max(0.5rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.5rem, env(safe-area-inset-right, 0px)) !important;
    }

    .eslestirme-container {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
        padding: 16px 12px;
        border-radius: 14px;
        box-sizing: border-box;
    }

    .eslestirme-container .w-full.px-4 {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .eslestirme-baslik {
        font-size: clamp(1.2rem, 4.5vw, 1.75rem) !important;
    }

    .saved-list-container,
    .players-container,
    .matchmaking-section,
    .current-saved-container,
    .current-matches-section {
        padding: 14px 12px;
    }

    .saved-list-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .saved-item-header {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }

    .saved-item-actions {
        flex-direction: column;
        width: 100%;
    }

    .saved-item-btn {
        width: 100%;
        box-sizing: border-box;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .current-saved-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .current-saved-header h2 {
        font-size: 1.1rem;
        line-height: 1.35;
        word-break: break-word;
        margin: 0;
    }

    .back-btn {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px;
    }

    .players-header,
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .players-header .action-btn,
    .section-header .action-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        min-height: 48px;
    }

    .players-title,
    .section-title,
    .saved-list-title {
        font-size: 1.15rem;
    }

    .players-list {
        flex-direction: column;
    }

    .player-item {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        gap: 8px;
    }

    .player-name,
    .member-name {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .voice-room-item,
    .crown-guards-item {
        min-width: 0 !important;
        width: 100%;
        flex: 1 1 100% !important;
        box-sizing: border-box;
    }

    #voiceRoomListContent,
    #crownGuardsListContent {
        flex-direction: column;
    }

    .matches-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .match-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .part-title {
        font-size: 1.25rem;
    }

    .format-selector {
        flex-direction: column;
        align-items: stretch;
    }

    .eslestirme-mode-switcher {
        flex-direction: column;
        align-items: stretch;
    }

    .eslestirme-mode-switcher .mode-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .teams-list {
        grid-template-columns: 1fr;
    }

    .team-pool-item .team-toggle-btn {
        width: 100%;
        justify-content: center;
    }

    .format-select {
        width: 100%;
        font-size: 16px;
        box-sizing: border-box;
    }

    .actions-section {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        box-sizing: border-box;
    }

    .modal {
        flex-direction: column;
        padding: 12px;
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        align-items: stretch;
        justify-content: flex-end;
    }

    .modal-content {
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: min(88vh, 100dvh - 24px);
        border-radius: 14px 14px 0 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-header {
        flex-shrink: 0;
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 16px;
    }

    .modal-header h3 {
        font-size: 1.15rem;
    }

    .modal-body {
        padding: 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        min-height: 0;
    }

    .modal-input {
        font-size: 16px;
    }

    .modal-actions {
        flex-direction: column-reverse;
        width: 100%;
    }

    .modal-actions .action-btn {
        width: 100%;
    }

    .empty-state {
        padding: 24px 12px;
    }
}

@media (max-width: 480px) {
    .eslestirme-container {
        padding: 12px 10px;
        margin: 6px 0;
    }

    .match-card,
    .part-section {
        padding: 14px 12px;
    }

    .team-member {
        flex-wrap: wrap;
    }
}

/* ============================================================
   1V1 B?y?k Turnuva modu + Turnuvaya Aktar butonlar?/modal?
   ============================================================ */
.mode-btn--buyuk iconify-icon { color: #fbbf24; }

.birv-export-btn { background: linear-gradient(135deg, #f59e0b, #d97706) !important; color: #1a1206 !important; }
.birv-export-btn:hover { filter: brightness(1.08); }

/* Big Duel ? Hak sahipleri salonu */
.buyuk-turnuva-hint {
    font-size: 0.84rem;
    color: #b9a9d4;
    margin: 0 0 1.25rem;
    line-height: 1.6;
    max-width: 62ch;
}

.buyuk-turnuva-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
}

.buyuk-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.buyuk-role-remove-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.buyuk-role-remove-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.35);
}

.buyuk-role-remove-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.buyuk-role-remove-all-btn {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    color: #fff;
}

.buyuk-role-remove-all-btn:hover {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(127, 29, 29, 0.45);
}

.buyuk-hall-list {
    display: block;
    width: 100%;
}

.buyuk-hall-list--selectable .buyuk-hall-entry {
    grid-template-columns: 1.75rem 3.25rem 4rem minmax(0, 1fr) minmax(9.5rem, auto);
}

.buyuk-hall-select {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.buyuk-hall-select input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #ef4444;
    cursor: pointer;
}

#buyukListContent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.buyuk-hall-entry {
    position: relative;
    display: grid;
    grid-template-columns: 3.25rem 4rem minmax(0, 1fr) minmax(9.5rem, auto);
    align-items: center;
    gap: 0 1.25rem;
    padding: 1rem 1.35rem 1rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(105deg, rgba(14, 16, 22, 0.92) 0%, rgba(8, 10, 14, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.buyuk-hall-entry:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.12);
}

.buyuk-hall-glow {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 14px 0 0 14px;
}

.buyuk-hall-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.buyuk-hall-rank span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.22);
}

.buyuk-hall-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buyuk-hall-avatar-img,
.buyuk-hall-avatar-fallback {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.buyuk-hall-avatar-img {
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.buyuk-hall-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.25rem;
}

.buyuk-hall-main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.buyuk-hall-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #f7f4ed;
    word-break: break-word;
}

.buyuk-hall-nick {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: rgba(247, 244, 237, 0.52);
    word-break: break-word;
}

.buyuk-hall-nick iconify-icon {
    font-size: 0.68rem;
    opacity: 0.75;
}

.buyuk-hall-nick--empty {
    font-style: italic;
    color: rgba(247, 244, 237, 0.35);
}

.buyuk-hall-valorant {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.2rem 0.55rem 0.2rem 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(247, 244, 237, 0.78);
}

.buyuk-hall-valorant-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.buyuk-hall-valorant-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buyuk-hall-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    text-align: right;
    min-width: 0;
}

.buyuk-hall-stage {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.buyuk-hall-stage iconify-icon {
    font-size: 0.72rem;
    flex-shrink: 0;
}

.buyuk-hall-event {
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(247, 244, 237, 0.42);
    max-width: 14rem;
    word-break: break-word;
}

/* Prestij: alt?n > g?m?? > bronz */
.buyuk-hall-entry--fw {
    border-color: rgba(212, 175, 55, 0.28);
    background: linear-gradient(105deg, rgba(28, 24, 12, 0.95) 0%, rgba(10, 10, 14, 0.9) 100%);
    box-shadow: inset 0 1px 0 rgba(245, 215, 110, 0.08);
}

.buyuk-hall-entry--fw .buyuk-hall-glow {
    background: linear-gradient(180deg, #f5d76e 0%, #c9a227 100%);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.buyuk-hall-entry--fw .buyuk-hall-rank span {
    color: #f5d76e;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.buyuk-hall-entry--fw .buyuk-hall-avatar-img,
.buyuk-hall-entry--fw .buyuk-hall-avatar-fallback {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.buyuk-hall-stage--fw { color: #f5d76e; }

.buyuk-hall-entry--fl {
    border-color: rgba(186, 198, 214, 0.22);
}

.buyuk-hall-entry--fl .buyuk-hall-glow {
    background: linear-gradient(180deg, #e8edf5 0%, #94a3b8 100%);
    box-shadow: 0 0 14px rgba(203, 213, 225, 0.25);
}

.buyuk-hall-entry--fl .buyuk-hall-rank span { color: rgba(226, 232, 240, 0.88); }
.buyuk-hall-entry--fl .buyuk-hall-avatar-img,
.buyuk-hall-entry--fl .buyuk-hall-avatar-fallback { border-color: rgba(203, 213, 225, 0.45); }
.buyuk-hall-stage--fl { color: #e2e8f0; }

.buyuk-hall-entry--sf {
    border-color: rgba(180, 120, 60, 0.2);
}

.buyuk-hall-entry--sf .buyuk-hall-glow {
    background: linear-gradient(180deg, #d4a574 0%, #8b5a2b 100%);
}

.buyuk-hall-entry--sf .buyuk-hall-rank span { color: rgba(212, 165, 116, 0.85); }
.buyuk-hall-entry--sf .buyuk-hall-avatar-img,
.buyuk-hall-entry--sf .buyuk-hall-avatar-fallback { border-color: rgba(180, 120, 60, 0.4); }
.buyuk-hall-stage--sf { color: #d4a574; }

.buyuk-hint-tier { font-weight: 700; }
.buyuk-hint-tier--fw { color: #f5d76e; }
.buyuk-hint-tier--fl { color: #e2e8f0; }
.buyuk-hint-tier--sf { color: #d4a574; }

/* Export modal i?in eski rozet stilleri */
.birv-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    line-height: 1.25;
    border: 1px solid transparent;
}

.birv-stage--fw {
    background: rgba(212, 175, 55, 0.18);
    color: #fde68a;
    border-color: rgba(212, 175, 55, 0.35);
}

.birv-stage--fl {
    background: rgba(203, 213, 225, 0.14);
    color: #f1f5f9;
    border-color: rgba(203, 213, 225, 0.3);
}

.birv-stage--sf {
    background: rgba(180, 120, 60, 0.14);
    color: #e8c49a;
    border-color: rgba(180, 120, 60, 0.28);
}

.birv-stage--none {
    background: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .buyuk-hall-entry {
        grid-template-columns: 2.75rem 3.25rem minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 0.65rem 0.85rem;
        padding: 0.95rem 1rem;
    }

    .buyuk-hall-list--selectable .buyuk-hall-entry {
        grid-template-columns: 1.5rem 2.75rem 3.25rem minmax(0, 1fr);
    }

    .buyuk-hall-select {
        grid-row: 1 / span 2;
        align-self: center;
    }

    .buyuk-header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .buyuk-header-actions .action-btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .buyuk-hall-rank { grid-row: 1; }
    .buyuk-hall-avatar { grid-row: 1 / span 2; }
    .buyuk-hall-main { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
    .buyuk-hall-aside {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .buyuk-hall-event { max-width: none; text-align: right; }
}

/* Export modal */
.birv-export-modal-content { max-width: 560px; }
.birv-export-summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(56,189,248,0.1); color: #7dd3fc; font-size: 13px; margin-bottom: 14px; }
.birv-format-hint { margin: 6px 0 0; font-size: 12px; line-height: 1.35; color: #b9a9d4; }
.birv-export-row { display: flex; gap: 12px; }
.birv-export-row .birv-export-col { flex: 1 1 0; min-width: 0; }
@media (max-width: 520px) { .birv-export-row { flex-direction: column; } }

/* ==========================================================================
   E?LE?T?RME ? Imperial Design System
   ========================================================================== */

html:has(body.eslestirme-imperial) {
    overflow-x: hidden;
}

body.eslestirme-imperial.eslestirme-page {
    --es-gold: var(--tk-gold, #d4af37);
    --es-gold-warm: var(--tk-gold-warm, #f5d76e);
    --es-jade: var(--tk-jade, #0f7060);
    --es-jade-warm: var(--tk-jade-warm, #44a08d);
    --es-ink: var(--tk-ink, #f7f4ed);
    --es-ink-soft: var(--tk-ink-soft, rgba(247, 244, 237, 0.78));
    --es-ink-mute: var(--tk-ink-mute, rgba(247, 244, 237, 0.55));
    --es-line: var(--tk-line, rgba(247, 244, 237, 0.10));
    --es-line-gold: rgba(212, 175, 55, 0.22);
    --es-radius: var(--tk-radius, 16px);
    --es-ease: var(--tk-ease, cubic-bezier(0.22, 1, 0.36, 1));
    --es-panel: linear-gradient(165deg, rgba(22, 24, 32, 0.96) 0%, rgba(12, 14, 20, 0.98) 100%);

    background:
        radial-gradient(80% 55% at 50% -8%, rgba(212, 175, 55, 0.11), transparent 52%),
        radial-gradient(55% 40% at 100% 15%, rgba(15, 112, 96, 0.09), transparent 48%),
        radial-gradient(40% 35% at 0% 25%, rgba(139, 0, 0, 0.06), transparent 45%),
        linear-gradient(180deg, #090a0e 0%, #0c0d12 58%, #000 100%) !important;
    background-attachment: fixed !important;
    background-image: none !important;
    color: var(--es-ink);
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.eslestirme-imperial #modernNavbar,
body.eslestirme-imperial #compactNavbar,
body.eslestirme-imperial #page-preloader {
    z-index: 10002 !important;
}

body.eslestirme-imperial .modern-container {
    position: relative;
    z-index: 1;
}

body.eslestirme-imperial .eslestirme-shell {
    padding-bottom: 3rem;
}

body.eslestirme-imperial .eslestirme-hero {
    margin-bottom: 1.5rem;
}

body.eslestirme-imperial .eslestirme-mode-switcher {
    margin: 0 0 1.75rem;
}

body.eslestirme-imperial .eslestirme-mode-switcher .mode-btn {
    padding: 11px 20px;
    border-radius: 12px;
    border: 1px solid var(--es-line-gold);
    background: rgba(12, 14, 20, 0.72);
    color: var(--es-ink-soft);
    font-weight: 600;
    transition: border-color 0.2s var(--es-ease), color 0.2s var(--es-ease), background 0.2s var(--es-ease), box-shadow 0.2s var(--es-ease);
}

body.eslestirme-imperial .eslestirme-mode-switcher .mode-btn:hover {
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--es-ink);
}

body.eslestirme-imperial .eslestirme-mode-switcher .mode-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(15, 112, 96, 0.18) 100%);
    border-color: rgba(212, 175, 55, 0.55);
    color: var(--es-gold-warm);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

body.eslestirme-imperial .mode-btn--buyuk iconify-icon {
    color: var(--es-gold-warm);
}

/* Paneller */
body.eslestirme-imperial .saved-list-container,
body.eslestirme-imperial .players-container,
body.eslestirme-imperial .matchmaking-section,
body.eslestirme-imperial .current-saved-container,
body.eslestirme-imperial .current-matches-section,
body.eslestirme-imperial .part-section {
    background: var(--es-panel);
    border: 1px solid var(--es-line-gold);
    border-radius: var(--es-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.eslestirme-imperial .saved-list-title,
body.eslestirme-imperial .players-title,
body.eslestirme-imperial .section-title,
body.eslestirme-imperial .part-title {
    color: var(--es-gold-warm);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

body.eslestirme-imperial .saved-item,
body.eslestirme-imperial .player-item,
body.eslestirme-imperial .match-card,
body.eslestirme-imperial .team-pool-item {
    background: rgba(8, 10, 14, 0.72);
    border: 1px solid var(--es-line);
    border-radius: 12px;
}

body.eslestirme-imperial .saved-item:hover,
body.eslestirme-imperial .player-item:hover,
body.eslestirme-imperial .match-card:hover {
    border-color: var(--es-line-gold);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
}

body.eslestirme-imperial .saved-item-format,
body.eslestirme-imperial .match-type {
    background: rgba(212, 175, 55, 0.14);
    color: var(--es-gold-warm);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

body.eslestirme-imperial .player-avatar,
body.eslestirme-imperial .member-avatar {
    border-color: rgba(212, 175, 55, 0.45);
}

body.eslestirme-imperial .player-name,
body.eslestirme-imperial .member-name,
body.eslestirme-imperial .saved-item-name,
body.eslestirme-imperial .match-number {
    color: var(--es-ink);
}

body.eslestirme-imperial .empty-state,
body.eslestirme-imperial .saved-item-info,
body.eslestirme-imperial .team-label,
body.eslestirme-imperial .buyuk-turnuva-hint,
body.eslestirme-imperial .eslestirme-team-hint {
    color: var(--es-ink-mute);
}

body.eslestirme-imperial .empty-state code {
    background: rgba(212, 175, 55, 0.12);
    color: var(--es-gold-warm);
}

body.eslestirme-imperial .team-divider {
    color: var(--es-gold);
}

body.eslestirme-imperial .part-section {
    border-color: rgba(212, 175, 55, 0.28);
}

/* Butonlar ? Imperial */
body.eslestirme-imperial .action-btn,
body.eslestirme-imperial .saved-item-btn,
body.eslestirme-imperial .back-btn {
    border-radius: 10px;
    border: 1px solid var(--es-line-gold);
    font-weight: 600;
    transition: all 0.2s var(--es-ease);
}

body.eslestirme-imperial .add-btn,
body.eslestirme-imperial .view-btn {
    background: linear-gradient(135deg, rgba(15, 112, 96, 0.85) 0%, rgba(68, 160, 141, 0.75) 100%);
    border-color: rgba(68, 160, 141, 0.45);
    color: #ecfdf5;
}

body.eslestirme-imperial .add-btn:hover,
body.eslestirme-imperial .view-btn:hover {
    background: linear-gradient(135deg, rgba(68, 160, 141, 0.9) 0%, rgba(15, 112, 96, 0.95) 100%);
    box-shadow: 0 4px 18px rgba(15, 112, 96, 0.35);
    transform: translateY(-1px);
}

body.eslestirme-imperial .match-btn,
body.eslestirme-imperial .back-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(138, 106, 20, 0.35) 100%);
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--es-gold-warm);
}

body.eslestirme-imperial .match-btn:hover,
body.eslestirme-imperial .back-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(138, 106, 20, 0.45) 100%);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

body.eslestirme-imperial .save-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.75) 0%, rgba(37, 99, 235, 0.85) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    color: #eff6ff;
}

body.eslestirme-imperial .part-btn,
body.eslestirme-imperial .birv-export-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(180, 140, 30, 0.9) 100%);
    border-color: rgba(245, 215, 110, 0.5);
    color: #1a1206;
}

body.eslestirme-imperial .part-btn:hover,
body.eslestirme-imperial .birv-export-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
}

body.eslestirme-imperial .clear-btn,
body.eslestirme-imperial .delete-btn,
body.eslestirme-imperial .remove-btn {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.75) 0%, rgba(127, 29, 29, 0.85) 100%);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fef2f2;
}

body.eslestirme-imperial .cancel-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--es-line);
    color: var(--es-ink-soft);
}

body.eslestirme-imperial .crown-guards-item .action-btn.reserve-btn {
    background: linear-gradient(135deg, rgba(15, 112, 96, 0.8) 0%, rgba(68, 160, 141, 0.7) 100%);
    border-color: rgba(68, 160, 141, 0.4);
}

/* Form elemanlar? */
body.eslestirme-imperial .format-label {
    color: var(--es-ink-soft);
}

body.eslestirme-imperial .format-select,
body.eslestirme-imperial .modal-input {
    background: rgba(8, 10, 14, 0.85);
    border: 1px solid var(--es-line-gold);
    color: var(--es-ink);
    border-radius: 10px;
}

body.eslestirme-imperial .format-select:hover,
body.eslestirme-imperial .modal-input:hover {
    border-color: rgba(212, 175, 55, 0.45);
}

body.eslestirme-imperial .format-select:focus,
body.eslestirme-imperial .modal-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

body.eslestirme-imperial .modal-input::placeholder {
    color: var(--es-ink-mute);
}

/* Modal */
body.eslestirme-imperial .modal {
    background-color: rgba(4, 5, 8, 0.72);
    backdrop-filter: blur(8px);
}

body.eslestirme-imperial .modal-content {
    background: var(--es-panel);
    border: 1px solid var(--es-line-gold);
    border-radius: var(--es-radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

body.eslestirme-imperial .modal-header {
    border-bottom-color: var(--es-line);
}

body.eslestirme-imperial .modal-header h3 {
    color: var(--es-gold-warm);
    font-family: 'Outfit', sans-serif;
}

body.eslestirme-imperial .close {
    color: var(--es-ink-mute);
}

body.eslestirme-imperial .close:hover {
    color: var(--es-ink);
}

body.eslestirme-imperial .birv-export-summary {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: var(--es-gold-warm);
}

/* Big Duel salonu ? imperial */
body.eslestirme-imperial .buyuk-turnuva-section {
    padding: 1.35rem 1.5rem 1.65rem;
}

body.eslestirme-imperial .buyuk-turnuva-title {
    color: var(--es-gold-warm);
    letter-spacing: 0.02em;
}

body.eslestirme-imperial #buyukListContent {
    gap: 11px;
}

body.eslestirme-imperial .buyuk-hall-entry {
    transition: border-color 0.22s var(--es-ease), box-shadow 0.22s var(--es-ease), transform 0.22s var(--es-ease);
}

body.eslestirme-imperial .buyuk-hall-name {
    color: var(--es-ink);
}

body.eslestirme-imperial .buyuk-hall-valorant {
    background: rgba(212, 175, 55, 0.07);
    border-color: rgba(212, 175, 55, 0.16);
    color: var(--es-ink-soft);
}

body.eslestirme-imperial .buyuk-hall-entry--fw:hover {
    border-color: rgba(212, 175, 55, 0.48);
    box-shadow: 0 10px 32px rgba(212, 175, 55, 0.12);
}

body.eslestirme-imperial .buyuk-hall-entry--fl:hover {
    border-color: rgba(203, 213, 225, 0.38);
    box-shadow: 0 10px 28px rgba(203, 213, 225, 0.08);
}

body.eslestirme-imperial .buyuk-hall-entry--sf:hover {
    border-color: rgba(180, 120, 60, 0.34);
    box-shadow: 0 10px 24px rgba(180, 120, 60, 0.07);
}

body.eslestirme-imperial .buyuk-hint-tier--fw { color: var(--es-gold-warm); }
body.eslestirme-imperial .buyuk-hint-tier--fl { color: #e2e8f0; }
body.eslestirme-imperial .buyuk-hint-tier--sf { color: #d4a574; }

body.eslestirme-imperial .buyuk-hall-stage--fw { color: var(--es-gold-warm); }
body.eslestirme-imperial .buyuk-hall-entry--fw .buyuk-hall-rank span { color: var(--es-gold-warm); }

body.eslestirme-imperial .team-pool-item.selected {
    border-color: rgba(68, 160, 141, 0.55);
    box-shadow: 0 0 0 1px rgba(68, 160, 141, 0.25);
}

body.eslestirme-imperial .eslestirme-member-avatar,
body.eslestirme-imperial .eslestirme-rep-avatar {
    border-color: rgba(212, 175, 55, 0.35);
}

body.eslestirme-imperial .current-saved-header h2 {
    color: var(--es-ink);
    font-family: 'Outfit', sans-serif;
}
