/* FameDirector · main.css · 3 themes · appearance only */
/* ============================================================
   🎬 PLAYER.CSS — Sadece Oyuncu Paneli İçin
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--fd-bg);
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--fd-bg);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

:root {
    --top-bar-height: 52px;
}

@media (min-width: 768px) {
    :root { --top-bar-height: 62px; }
}

@media (max-width: 767px) {
    :root { --top-bar-height: 52px; }
}

@media (max-width: 380px) {
    :root { --top-bar-height: 52px; }
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--fd-raised);
    padding-top: calc(var(--top-bar-height) + env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: linear-gradient(180deg, var(--fd-input) 0%, var(--fd-raised) 100%);
    color: white;
    padding-top: calc(8px + env(safe-area-inset-top));
    padding-bottom: 8px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    flex-shrink: 0;
    gap: 8px;
    min-height: calc(var(--top-bar-height) + env(safe-area-inset-top));
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.brand i {
    font-size: 18px;
    color: var(--fd-accent);
}

.brand #agencyName {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.brand .role {
    font-size: 9px;
    color: var(--fd-icon);
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
}

.nav-menu::-webkit-scrollbar { display: none; }

.nav-menu .nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu .nav-item i { font-size: 13px; }
.nav-menu .nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.nav-menu .nav-item.active { background: rgba(255,255,255,0.15); color: white; }

.right-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: var(--fd-red);
    font-size: 11px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.logout-btn:hover { background: rgba(228,100,111,0.25); color: var(--fd-red-line); }
.logout-btn i { font-size: 13px; }
.logout-btn span { font-size: 10px; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    flex: 1;
    padding: 5px 20px 24px 20px;
    overflow-y: visible;
    background: var(--fd-raised);
}

.page-content { display: none; animation: fadeIn 0.3s ease; }
.page-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title { font-size: 24px; font-weight: 700; color: var(--fd-text); }
.page-subtitle { color: var(--fd-muted); margin-top: 4px; font-size: 14px; }

/* ============================================================
   LOADING
   ============================================================ */
.loading-spinner { text-align: center; padding: 30px; color: var(--fd-muted); }
.loading-spinner i { font-size: 28px; margin-bottom: 10px; display: block; color: var(--fd-accent); }
.spinner { animation: spin 0.8s linear infinite; }

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

.hidden { display: none !important; }

/* ============================================================
   TABLES
   ============================================================ */
/* ============================================================
   🔥 TABLO — TAM DÜZELTME
   Başlıklar kısa kalmasın, satırlar dengeli olsun
   ============================================================ */

.table-wrapper {
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--fd-shadow);
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 800px;
    table-layout: auto;
}

/* ============ THEAD (BAŞLIK SATIRI) ============ */
.table thead {
    background: var(--fd-raised);
}

.table thead tr {
    height: 48px;
}

.table thead th {
    text-align: left;
    padding: 14px 16px;
    background: var(--fd-raised);
    color: var(--fd-muted);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 2px solid var(--fd-line);
    white-space: nowrap;
    vertical-align: middle;
    height: 48px;
    line-height: 1.3;
}

/* Başlık içeriği tek satırda */
.table thead th * {
    white-space: nowrap;
    vertical-align: middle;
}

/* ============ TBODY (VERİ SATIRLARI) ============ */
.table tbody tr {
    transition: background-color 0.15s ease;
    height: 68px;
}

.table tbody tr:hover {
    background: rgba(var(--fd-accent-rgb), 0.04);
}

.table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--fd-line);
    color: var(--fd-text);
    vertical-align: middle;
    height: 68px;
    line-height: 1.4;
}

.table tbody tr:last-child td {
    border-bottom: none;
}


/* Mobil — başlık ve satır yüksekliklerini küçült */
@media (max-width: 767px) {
    .table {
        min-width: 700px;
    }
    
    .table thead th {
        padding: 10px 12px;
        height: 40px;
        font-size: 10px;
    }
    
    .table tbody td {
        padding: 10px 12px;
        height: 56px;
    }
    
    .table td:last-child .action-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
        margin: 0 2px;
    }
}

/* ============================================================
   BADGES & BUTTONS
   ============================================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.active { background: var(--fd-green-surface); color: var(--fd-green); }
.status-badge.inactive { background: var(--fd-red-surface); color: var(--fd-red); }
.status-badge.completed { background: var(--fd-blue-surface); color: var(--fd-blue); }
.status-badge i { font-size: 9px; }

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    margin: 0 1px;
}

.action-btn.view { background: var(--fd-accent-soft); color: var(--fd-accent); }
.action-btn.view:hover { background: var(--fd-accent-soft); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 40px 20px; color: var(--fd-muted); }
.empty-state i { font-size: 40px; color: var(--fd-line); margin-bottom: 12px; display: block; }
.empty-state p { font-size: 15px; margin: 0; }
.empty-state p:last-child { font-size: 12px; color: var(--fd-muted); margin-top: 4px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--fd-accent-rgb),0.4); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary i { font-size: 13px; }

.btn-secondary {
    padding: 8px 16px;
    background: var(--fd-raised);
    color: var(--fd-text);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover { background: var(--fd-line); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-overlay.active { display: flex !important; }

.modal {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h2 { font-size: 20px; font-weight: 700; color: var(--fd-text); margin: 0; }

.modal-close {
    background: none; border: none; font-size: 24px; color: var(--fd-muted);
    cursor: pointer; padding: 4px 8px; border-radius: 6px;
    transition: all 0.2s ease; line-height: 1;
}

.modal-close:hover { background: var(--fd-raised); color: var(--fd-text); }
.modal-body { margin-bottom: 20px; }

.modal-footer {
    display: flex; gap: 10px; justify-content: flex-end;
    border-top: 1px solid var(--fd-raised); padding-top: 16px;
}

.modal .form-group { margin-bottom: 14px; }
.modal .form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--fd-text); margin-bottom: 4px; }
.modal .form-group label .required { color: var(--fd-red); }

.modal .form-group input,
.modal .form-group select,
.modal .form-group textarea {
    width: 100%; padding: 8px 12px; border: 2px solid var(--fd-line);
    border-radius: 8px; font-size: 13px; font-family: inherit;
    transition: all 0.3s ease; background: white; color: var(--fd-text);
}

.modal .form-group input:focus,
.modal .form-group select:focus,
.modal .form-group textarea:focus {
    border-color: var(--fd-accent); outline: none;
    box-shadow: 0 0 0 4px rgba(var(--fd-accent-rgb),0.1);
}

.modal .form-group textarea { resize: vertical; min-height: 70px; }
.modal .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal .form-group small { display: block; color: var(--fd-muted); font-size: 11px; margin-top: 4px; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   PROFILE CARD
   ============================================================ */
.profile-card {
    background: white; border-radius: 14px; padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 20px;
}

.profile-card:last-child { margin-bottom: 0; }

/* ============================================================
   VIDEO CONTAINER
   ============================================================ */
.video-container {
    position: relative; padding-bottom: 56.25%; height: 0;
    overflow: hidden; border-radius: 10px; background: var(--fd-text);
}

.video-container video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000;
}

.video-container .video-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; background: var(--fd-text); gap: 6px;
}

.video-container .video-placeholder i { font-size: 40px; color: var(--fd-muted); }
.video-container .video-placeholder span { font-size: 13px; color: var(--fd-muted); }

/* ============================================================
   MEDIA GALLERY
   ============================================================ */
.media-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px; margin-top: 10px;
}

.media-item {
    position: relative; aspect-ratio: 1; border-radius: 10px;
    overflow: hidden; background: var(--fd-raised);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease;
}

.media-item:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.media-item img { width: 100%; height: 100%; object-fit: cover; }

.media-item .media-remove {
    position: absolute; top: 4px; right: 4px;
    background: rgba(228,100,111,0.9); color: white; border: none;
    border-radius: 50%; width: 22px; height: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; opacity: 0; transition: all 0.3s ease;
}

.media-item:hover .media-remove { opacity: 1; }

.media-item .media-add {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 2px dashed var(--fd-line); border-radius: 10px;
    background: transparent; cursor: pointer; transition: all 0.3s ease;
    color: var(--fd-muted);
}

.media-item .media-add:hover {
    border-color: var(--fd-accent); color: var(--fd-accent);
    background: rgba(var(--fd-accent-rgb),0.05);
}

.media-item .media-add i { font-size: 24px; margin-bottom: 4px; }
.media-item .media-add span { font-size: 11px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
    position: fixed; top: 70px; right: 16px; z-index: 999999;
    display: flex; flex-direction: column; gap: 8px;
    max-width: 360px; width: 100%; pointer-events: none;
}

.toast {
    pointer-events: auto; background: white; border-radius: 10px;
    padding: 14px 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-left: 4px solid var(--fd-accent);
    display: flex; align-items: flex-start; gap: 10px;
    animation: slideInRight 0.4s ease forwards; transition: all 0.3s ease;
    position: relative; overflow: hidden; box-sizing: border-box;
}

.toast.hiding { animation: slideOutRight 0.3s ease forwards; }
.toast-success { border-left-color: var(--fd-green); }
.toast-error { border-left-color: var(--fd-red); }
.toast-warning { border-left-color: var(--fd-accent); }
.toast-info { border-left-color: var(--fd-blue); }

.toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.toast-success .toast-icon { color: var(--fd-green); }
.toast-error .toast-icon { color: var(--fd-red); }
.toast-warning .toast-icon { color: var(--fd-accent); }
.toast-info .toast-icon { color: var(--fd-blue); }

.toast-content { flex: 1; min-width: 0; overflow: hidden; }
.toast-title { font-weight: 600; font-size: 13px; color: var(--fd-text); margin-bottom: 2px; overflow-wrap: anywhere; word-break: break-word; }
.toast-message { font-size: 12px; color: var(--fd-muted); line-height: 1.4; word-wrap: break-word; overflow-wrap: anywhere; word-break: break-word; white-space: normal; }

.toast-close { background: none; border: none; color: var(--fd-muted); cursor: pointer; font-size: 14px; padding: 0 4px; flex-shrink: 0; transition: color 0.2s ease; }
.toast-close:hover { color: var(--fd-text); }

.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--fd-accent); animation: progressBar 4s linear forwards; }
.toast-success .toast-progress { background: var(--fd-green); }
.toast-error .toast-progress { background: var(--fd-red); }
.toast-warning .toast-progress { background: var(--fd-accent); }
.toast-info .toast-progress { background: var(--fd-blue); }

@keyframes slideInRight { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(20px); opacity: 0; } }
@keyframes progressBar { from { width: 100%; } to { width: 0%; } }

/* ============================================================
   VIDEO THUMBNAIL
   ============================================================ */
.video-thumbnail:hover .play-overlay { background: rgba(0,0,0,0.5) !important; }
.video-thumbnail:hover .play-overlay div { transform: scale(1.1); background: rgba(var(--fd-accent-rgb),1) !important; }
.video-thumbnail .play-overlay div { transition: all 0.3s ease; }
#videoLightbox { animation: fadeInVideo 0.3s ease; }

@keyframes fadeInVideo {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--fd-line); border-radius: 7px; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--fd-input) 0%, var(--fd-raised) 100%);
    border-radius: 7px; border: 3px solid var(--fd-line);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--fd-raised) 0%, var(--fd-accent-soft) 100%); }
::-webkit-scrollbar-corner { background: var(--fd-line); }
* { scrollbar-width: thin; scrollbar-color: var(--fd-raised) var(--fd-line); }

/* ============================================================
   UPLOAD OVERLAY
   ============================================================ */
.upload-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); display: none;
    align-items: center; justify-content: center;
    z-index: 99999; flex-direction: column; animation: fadeInOverlay 0.3s ease;
}

.upload-overlay.active { display: flex; }
.upload-overlay .spinner-container { text-align: center; color: white; }
.upload-overlay .spinner-container i { font-size: 64px; color: var(--fd-accent); animation: spin 0.8s linear infinite; display: block; margin-bottom: 20px; }
.upload-overlay .spinner-container h3 { font-size: 24px; font-weight: 600; margin: 0 0 8px 0; color: white; }
.upload-overlay .spinner-container p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; }

@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   📱 MOBİL KARTLAR — Projeler ve Başvurular
   ============================================================ */

.player-project-card {
    background: white; border-radius: 14px; overflow: hidden; margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid var(--fd-line);
    transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer;
}
.player-project-card:active { transform: scale(0.98); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.player-project-card-header { display: flex; align-items: flex-start; gap: 12px; padding: 12px; position: relative; }

.player-project-card-image {
    width: 90px; height: 90px; flex-shrink: 0; border-radius: 10px;
    background: linear-gradient(135deg, var(--fd-accent), var(--fd-accent));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 28px; position: relative; overflow: hidden;
}

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

.player-project-card-image .applied-badge {
    position: absolute; top: 4px; left: 4px;
    background: rgba(30, 64, 175, 0.95); color: white;
    padding: 2px 8px; border-radius: 10px; font-size: 9px; font-weight: 600;
    display: flex; align-items: center; gap: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3); white-space: nowrap;
}

.player-project-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.player-project-card-title {
    font-size: 15px; font-weight: 700; color: var(--fd-text);
    margin: 0 0 4px 0; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.player-project-card-info-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fd-muted); }
.player-project-card-info-row i { width: 14px; text-align: center; font-size: 12px; color: var(--fd-muted); flex-shrink: 0; }
.player-project-card-info-row .value { font-weight: 600; color: var(--fd-text); }
.player-project-card-info-row .value.green { color: var(--fd-green); }
.player-project-card-info-row .value.red { color: var(--fd-red); }

.player-application-card {
    background: white; border-radius: 14px; overflow: hidden; margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid var(--fd-line);
    transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer;
}
.player-application-card:active { transform: scale(0.98); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.player-application-card-header { display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px 8px 12px; }

.player-application-card-image {
    width: 90px; height: 90px; flex-shrink: 0; border-radius: 10px;
    background: linear-gradient(135deg, var(--fd-accent), var(--fd-accent));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 28px; position: relative; overflow: hidden;
}
.player-application-card-image img { width: 100%; height: 100%; object-fit: cover; }

.player-application-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.player-application-card-title {
    font-size: 15px; font-weight: 700; color: var(--fd-text);
    margin: 0 0 4px 0; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.player-application-card-info-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fd-muted); }
.player-application-card-info-row i { width: 14px; text-align: center; font-size: 12px; color: var(--fd-muted); flex-shrink: 0; }
.player-application-card-info-row .value { font-weight: 600; color: var(--fd-text); }
.player-application-card-info-row .value.green { color: var(--fd-green); }
.player-application-card-info-row .value.red { color: var(--fd-red); }

.player-application-card-badges { padding: 0 12px 12px 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.player-application-card-badges .mini-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px; border-radius: 8px;
    font-size: 11px; font-weight: 600; white-space: nowrap; line-height: 1.2;
}
.player-application-card-badges .mini-badge i { font-size: 10px; }

.desktop-projects-view { display: block !important; }
.mobile-projects-view { display: none !important; }
.desktop-applications-view { display: block !important; }
.mobile-applications-view { display: none !important; }

/* ============================================================
   🔥 WEB (768px ve üzeri)
   ============================================================ */
@media (min-width: 768px) {
    .top-bar { padding: 10px 24px; min-height: 62px; gap: 14px; }
    .brand { gap: 10px; font-size: 18px; }
    .brand i { font-size: 22px; }
    .brand #agencyName { max-width: 180px; font-size: 18px; }
    .brand .role { font-size: 11px; padding: 4px 12px; }
    .nav-menu { gap: 6px; padding: 0 10px; }
    .nav-menu .nav-item { gap: 8px; padding: 8px 18px; border-radius: 8px; font-size: 15px; font-weight: 600; }
    .nav-menu .nav-item i { font-size: 17px; }
    .right-actions { gap: 10px; }
    .logout-btn { gap: 7px; padding: 7px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; }
    .logout-btn i { font-size: 17px; }
    .logout-btn span { font-size: 13px; }

    #playerProjectDetailsModal .modal {
        max-width: 700px !important; width: 90% !important;
        max-height: 90vh !important; height: auto !important;
        margin: auto !important; border-radius: 16px !important; padding: 24px !important;
    }
    #playerProjectDetailsModal .modal-header { position: relative !important; padding: 0 0 16px 0 !important; border-bottom: 1px solid var(--fd-line) !important; }
    #playerProjectDetailsModal .modal-body { padding: 16px 0 !important; }
    #playerProjectDetailsModal .modal-footer { position: relative !important; padding: 16px 0 0 0 !important; border-top: 1px solid var(--fd-line) !important; }
}

/* ============================================================
   🔥 MOBİL (767px ve altı)
   ============================================================ */
@media (max-width: 767px) {
    .top-bar {
        padding-top: calc(6px + env(safe-area-inset-top));
        padding-bottom: 6px;
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
        min-height: calc(52px + env(safe-area-inset-top));
        flex-wrap: wrap; gap: 4px;
    }
    .brand { font-size: 14px; gap: 5px; flex: 0 0 auto; }
    .brand i { font-size: 16px; }
    .brand #agencyName { max-width: 160px; font-size: 14px; }
    .brand .role { font-size: 8px; padding: 2px 6px; }
    .nav-menu { order: 3; flex: 1 1 100%; padding: 4px 0 2px 0; gap: 4px; justify-content: center; overflow-x: visible; overflow-y: visible; flex-wrap: wrap; }
    .nav-menu .nav-item { font-size: 13px; padding: 5px 12px; gap: 6px; flex-shrink: 0; white-space: nowrap; }
    .nav-menu .nav-item i { font-size: 14px; }
    .nav-menu .nav-item span { font-size: 12px; }
    .right-actions { gap: 4px; flex: 0 0 auto; }
    .logout-btn { padding: 4px 10px; font-size: 12px; gap: 4px; }
    .logout-btn i { font-size: 14px; }
    .logout-btn span { display: none; }
    .main-content { padding: 5px 14px 16px 14px; }
    .page-title { font-size: 22px; }
    .page-subtitle { font-size: 14px; }

    .modal { padding: 20px; margin: 10px; max-width: 100%; border-radius: 14px; }
    .modal .form-row { grid-template-columns: 1fr; gap: 10px; }
    .modal-footer { flex-direction: column; gap: 8px; }
    .modal-footer .btn-secondary,
    .modal-footer .btn-primary { width: 100%; justify-content: center; }

    .table-wrapper { padding: 12px; }
    .table { font-size: 13px; min-width: 700px; }
    .table thead th, .table tbody td { padding: 10px 12px; }
    .action-btn { width: 30px; height: 30px; font-size: 13px; }

    .profile-card { padding: 18px 20px; }
    .media-gallery { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }

    /* TOAST — Mobilde ekranın ~%50'si */
    .toast-container {
        position: fixed; top: 60px; right: 10px; left: auto;
        width: 50vw !important; max-width: 50vw !important;
        min-width: 0; display: flex; flex-direction: column;
        gap: 6px; align-items: stretch; pointer-events: none;
        box-sizing: border-box;
    }
    .toast-container > .toast {
        width: 100% !important; max-width: 100% !important; min-width: 0;
        box-sizing: border-box; padding: 10px 12px; border-radius: 8px;
        gap: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); overflow: hidden;
    }
    .toast-icon { font-size: 14px; margin-top: 0; flex-shrink: 0; }
    .toast-content { flex: 1; min-width: 0; overflow: hidden; }
    .toast-title { font-size: 11px; margin-bottom: 1px; line-height: 1.3; overflow-wrap: anywhere; word-break: break-word; }
    .toast-message { font-size: 10px; line-height: 1.3; word-wrap: break-word; overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
    .toast-close { font-size: 12px; padding: 0 2px; flex-shrink: 0; }
    .toast-progress { height: 2px; }

    .desktop-projects-view { display: none !important; }
    .mobile-projects-view { display: block !important; }
    .desktop-applications-view { display: none !important; }
    .mobile-applications-view { display: block !important; }

    #playerProjectDetailsModal .modal {
        max-width: 100% !important; width: 100% !important;
        max-height: calc(100vh - 100px) !important;
        height: calc(100vh - 100px) !important;
        margin: 50px 0 !important;
        border-radius: 16px !important;
        padding: 16px 20px !important;
    }
    #playerProjectDetailsModal .modal-header {
        position: sticky !important; top: 0 !important;
        background: white !important; z-index: 10 !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--fd-line) !important;
    }
    #playerProjectDetailsModal .modal-body { padding: 16px 0 100px 0 !important; }
    #playerProjectDetailsModal .modal-footer {
        position: sticky !important; bottom: 0 !important;
        background: white !important; z-index: 10 !important;
        padding: 12px 0 !important;
        border-top: 1px solid var(--fd-line) !important;
    }

    /* PLAYER PROFİL BAŞLIĞI */
    #playerProfileInfo > div:first-child {
        display: flex !important; align-items: center !important;
        gap: 16px !important; flex-wrap: nowrap !important;
        margin-bottom: 16px !important; padding-bottom: 12px !important;
        border-bottom: 1px solid var(--fd-raised) !important;
    }
    #playerProfileInfo > div:first-child img,
    #playerProfileInfo > div:first-child > div[style*="border-radius:50%"] {
        width: 64px !important; height: 64px !important;
        font-size: 28px !important; flex-shrink: 0 !important;
        border-width: 3px !important;
    }
    #playerProfileInfo > div:first-child > div:last-child { flex: 1 !important; min-width: 0 !important; }
    #playerProfileInfo > div:first-child > div:last-child h2 { font-size: 18px !important; margin: 0 !important; line-height: 1.2 !important; word-break: break-word !important; }
    #playerProfileInfo > div:first-child > div:last-child p { font-size: 13px !important; margin: 4px 0 0 0 !important; word-break: break-word !important; }
    #playerProfileInfo > div:first-child > div:last-child .status-badge { margin-top: 6px !important; font-size: 11px !important; padding: 2px 12px !important; display: inline-flex !important; }

    /* PLAYER BİLGİ ALANLARI */
    #playerProfileInfo .profile-info-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 12px 0 !important;
        border-top: 1px solid var(--fd-raised) !important;
        border-bottom: 1px solid var(--fd-raised) !important;
        margin-bottom: 16px !important;
    }
    #playerProfileInfo .profile-info-grid .editable-field {
        padding: 6px 10px !important;
        border-radius: 6px !important;
        border: 1px solid var(--fd-line) !important;
        background: var(--fd-soft) !important;
        cursor: pointer !important;
    }
    #playerProfileInfo .profile-info-grid .editable-field .editable-field-label {
        font-size: 10px !important; color: var(--fd-muted) !important;
        font-weight: 500 !important; text-transform: uppercase !important;
        display: block !important; letter-spacing: 0.3px !important;
    }
    #playerProfileInfo .profile-info-grid .editable-field .editable-field-value {
        font-size: 14px !important; font-weight: 600 !important;
        color: var(--fd-text) !important;
        display: flex !important; align-items: center !important; gap: 4px !important;
    }
    #playerProfileInfo .profile-info-grid .editable-field .editable-field-value i {
        font-size: 10px !important; color: var(--fd-muted) !important; margin-left: auto !important;
    }
}

/* ============================================================
   🔥 ÇOK KÜÇÜK EKRANLAR (380px ve altı)
   ============================================================ */
@media (max-width: 380px) {
    .page-title { font-size: 19px; }
    .media-gallery { grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); }

    .toast-container {
        width: 55vw !important; max-width: 55vw !important;
        right: 8px; top: 55px; box-sizing: border-box;
    }
    .toast-container > .toast { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
    .toast-title { font-size: 10.5px; }
    .toast-message { font-size: 9.5px; }
}

/* ============================================================
   🔥 SKELETON LOADER
   ============================================================ */
.skeleton-line,
.skeleton-avatar,
.skeleton-video {
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-avatar { border-radius: 50%; }
.skeleton-video { border-radius: 8px; }

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

/* ============================================================
   🔥 SAĞ TARAFTA "OYUNCU" YAZISI
   ============================================================ */
.role-display {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600; color: var(--fd-icon);
    background: rgba(255,255,255,0.1); padding: 3px 10px;
    border-radius: 8px; white-space: nowrap;
    margin-right: 6px; flex-shrink: 0; line-height: 1.2;
}

@media (min-width: 768px) {
    .role-display { font-size: 13px; padding: 5px 12px; margin-right: 10px; }
}

@media (max-width: 767px) {
    .role-display { font-size: 10px; padding: 3px 8px; margin-right: 4px; }
}

#playerProfileInfo {
    width: 100%; max-width: 100%; min-width: 0;
    box-sizing: border-box; overflow-x: hidden;
}

@media (max-width: 767px) {
    #playerProfileInfo,
    #profileSkeletonMobile {
        width: 100% !important; max-width: 100% !important;
        min-width: 0 !important; overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    #profileSkeletonMobile * { max-width: 100% !important; box-sizing: border-box !important; }
}

/* ============================================================
   FAMEDIRECTOR — SİNEMA GECESİ / 01
   ============================================================ */
:root {
    color-scheme: dark;
    --top-bar-height: 80px;
    --fd-bg: #0d0f13;
    --fd-surface: #15181e;
    --fd-raised: #1e2229;
    --fd-soft: #191c22;
    --fd-input: #101318;
    --fd-line: #35373f;
    --fd-text: #f8eedf;
    --fd-muted: #b6b3ae;
    --fd-icon: #bca276;
    --fd-accent: #f4bf64;
    --fd-accent-bright: #ffda93;
    --fd-accent-ink: #21180b;
    --fd-accent-soft: #2c241a;
    --fd-accent-line: #8a7048;
    --fd-accent-rgb: 244,191,100;
    --fd-gold: var(--fd-accent);
    --fd-gold-bright: var(--fd-accent-bright);
    --fd-gold-surface: var(--fd-accent-soft);
    --fd-hover: #28251f;
    --fd-header: #191b20;
    --fd-hero: #25221e;
    --fd-nav-surface: rgba(7,9,12,.5);
    --fd-green: #91e2b3;
    --fd-green-surface: #153428;
    --fd-green-line: #3e805a;
    --fd-red: #ffb5b8;
    --fd-red-surface: #3a2025;
    --fd-red-line: #663842;
    --fd-blue: #a8cbf2;
    --fd-blue-surface: #1d2d40;
    --fd-blue-line: #456d95;
    --fd-warning: #ffcf88;
    --fd-warning-surface: #35291a;
    --fd-warning-line: #947341;
    --fd-overlay-accent: #ffda93;
    --fd-shadow: 0 16px 40px rgba(0,0,0,.22);
}

html[data-theme='studio'] {
    color-scheme: light;
    --fd-bg: #f7f4f1;
    --fd-surface: #fffdfc;
    --fd-raised: #f5eff0;
    --fd-soft: #fbf7f6;
    --fd-input: #ffffff;
    --fd-line: #e2d9dc;
    --fd-text: #29252a;
    --fd-muted: #70666c;
    --fd-icon: #946473;
    --fd-accent: #a22645;
    --fd-accent-bright: #b53555;
    --fd-accent-ink: #ffffff;
    --fd-accent-soft: #f5e8ec;
    --fd-accent-line: #d5adb9;
    --fd-accent-rgb: 162,38,69;
    --fd-hover: #f3e7eb;
    --fd-header: #fffdfc;
    --fd-hero: #f5e8ec;
    --fd-nav-surface: #f4eff0;
    --fd-green: #216543;
    --fd-green-surface: #e5f3e9;
    --fd-green-line: #b5d5c0;
    --fd-red: #a1273e;
    --fd-red-surface: #fbe8ec;
    --fd-red-line: #e4b7c2;
    --fd-blue: #285981;
    --fd-blue-surface: #e8eff7;
    --fd-blue-line: #b6cce0;
    --fd-warning: #815214;
    --fd-warning-surface: #fff1d9;
    --fd-warning-line: #dcc495;
    --fd-overlay-accent: #ffc7d6;
    --fd-shadow: 0 12px 36px rgba(74,38,48,.07);
}

html[data-theme='stage'] {
    color-scheme: dark;
    --fd-bg: #0d1926;
    --fd-surface: #122536;
    --fd-raised: #1a3042;
    --fd-soft: #142b3b;
    --fd-input: #0c1c2b;
    --fd-line: #2c4556;
    --fd-text: #edf7fc;
    --fd-muted: #afc1ce;
    --fd-icon: #8fc5c7;
    --fd-accent: #39dec3;
    --fd-accent-bright: #6cf2d5;
    --fd-accent-ink: #072b2b;
    --fd-accent-soft: #163b3b;
    --fd-accent-line: #368d80;
    --fd-accent-rgb: 57,222,195;
    --fd-hover: #1b3d43;
    --fd-header: #132737;
    --fd-hero: #183940;
    --fd-nav-surface: #0c1c2b;
    --fd-green: #91e2b3;
    --fd-green-surface: #153b31;
    --fd-green-line: #3b8062;
    --fd-red: #ffb5bc;
    --fd-red-surface: #3c2835;
    --fd-red-line: #83515c;
    --fd-blue: #a4d3ff;
    --fd-blue-surface: #183955;
    --fd-blue-line: #49789b;
    --fd-warning: #ffd18a;
    --fd-warning-surface: #3d3326;
    --fd-warning-line: #9f814e;
    --fd-overlay-accent: #6cf2d5;
    --fd-shadow: 0 16px 40px rgba(0,8,17,.25);
}

html { background: var(--fd-bg); scroll-padding-top: calc(var(--top-bar-height) + 20px); }
body {
    color: var(--fd-text);
    background: var(--fd-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
body, input, button, select, textarea { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
::selection { background: var(--fd-gold); color: var(--fd-accent-ink); }
.app-container {
    background:
        radial-gradient(ellipse at 0 0, rgba(var(--fd-accent-rgb),.12), transparent 36%),
        radial-gradient(ellipse at 100% 12%, rgba(var(--fd-accent-rgb),.07), transparent 30%),
        var(--fd-bg);
    min-height: 100vh;
    min-height: 100dvh;
}
.top-bar {
    height: calc(var(--top-bar-height) + env(safe-area-inset-top));
    min-height: calc(var(--top-bar-height) + env(safe-area-inset-top));
    padding: calc(12px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 12px max(24px, env(safe-area-inset-left));
    background: linear-gradient(180deg, var(--fd-header), var(--fd-input));
    border-bottom: 1px solid rgba(var(--fd-accent-rgb),.26);
    box-shadow: 0 8px 30px rgba(0,0,0,.24);
    gap: 24px;
}
.brand { gap: 10px; min-width: 0; color: var(--fd-text); }
.brand > i { color: var(--fd-gold); font-size: 26px; }
.brand > .fa-building::before { content: '\f008'; }
.brand #agencyName { font-size: 19px; font-weight: 750; max-width: 230px; letter-spacing: -.5px; }
.brand .role, .role-display {
    color: var(--fd-gold-bright);
    background: rgba(var(--fd-accent-rgb),.08);
    border: 1px solid rgba(var(--fd-accent-rgb),.24);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 6px;
    padding: 5px 9px;
    margin: 0;
}
.nav-menu {
    flex: 0 1 auto;
    margin-inline: auto;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--fd-line);
    border-radius: 12px;
    background: var(--fd-nav-surface);
}
.nav-menu .nav-item {
    min-height: 42px;
    padding: 10px 18px;
    gap: 8px;
    border-radius: 9px;
    color: var(--fd-muted);
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
}
.nav-menu .nav-item:hover { background: rgba(var(--fd-accent-rgb),.08); color: var(--fd-text); }
.nav-menu .nav-item.active {
    background: linear-gradient(115deg, var(--fd-gold-bright), var(--fd-gold));
    color: var(--fd-accent-ink);
    box-shadow: 0 3px 12px rgba(var(--fd-accent-rgb),.12);
}
.nav-menu .nav-item.active i { color: inherit; }
.right-actions { flex-shrink: 0; }
.logout-btn {
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--fd-line);
    background: var(--fd-raised);
    color: var(--fd-muted);
    border-radius: 10px;
}
.logout-btn:hover { background: var(--fd-red-surface); color: var(--fd-red); border-color: var(--fd-red-line); }
.main-content { width: 100%; max-width: 1328px; padding: 28px 24px 48px; margin-inline: auto; background: transparent; }
.page-title, .modal-header h2 { color: var(--fd-text); letter-spacing: -.6px; }
.page-subtitle, .loading-spinner, .empty-state { color: var(--fd-muted); }
.loading-spinner i, .upload-overlay .spinner-container i { color: var(--fd-gold); }
#page-my-projects::before, #page-my-applications::before {
    display: block;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.8px;
    color: var(--fd-text);
}
#page-my-projects::before { content: 'Projeler'; }
#page-my-applications::before { content: 'Başvurularım'; }

#page-profile > .profile-card {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
#playerProfileInfo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; }
#playerProfileInfo > div:first-child {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 28px !important;
    border: 1px solid rgba(var(--fd-accent-rgb),.28) !important;
    border-radius: 20px;
    background: linear-gradient(110deg, var(--fd-hero), var(--fd-surface) 72%) !important;
    box-shadow: var(--fd-shadow);
    gap: 24px !important;
    min-width: 0;
}
#profileAvatarImg { width: 140px !important; height: 140px !important; flex-shrink: 0; border: 2px solid var(--fd-gold) !important; box-shadow: 0 0 0 6px rgba(var(--fd-accent-rgb),.055); }
#playerProfileInfo > div:first-child > div:last-child { min-width: 0; }
#playerProfileInfo > div:first-child h2 { font-size: 30px !important; color: var(--fd-text) !important; letter-spacing: -.8px; line-height: 1.2; }
#playerProfileInfo > div:first-child p { overflow-wrap: anywhere; color: var(--fd-muted) !important; }
#playerProfileInfo .profile-info-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
#playerProfileInfo .profile-info-grid .editable-field {
    padding: 13px 14px !important;
    min-height: 76px;
    background: linear-gradient(120deg, var(--fd-raised), var(--fd-soft)) !important;
    border: 1px solid var(--fd-line) !important;
    border-radius: 12px !important;
    transition: border-color .18s ease, background .18s ease;
}
#playerProfileInfo .profile-info-grid .editable-field:hover { border-color: rgba(var(--fd-accent-rgb),.6) !important; background: var(--fd-hover) !important; }
#playerProfileInfo .profile-info-grid .editable-field > span:first-child {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 11px !important;
    color: var(--fd-muted) !important;
    margin-bottom: 5px;
}
#playerProfileInfo .profile-info-grid .editable-field .editable-field-value { color: var(--fd-text) !important; font-size: 14px !important; font-weight: 600 !important; }
#playerProfileInfo .profile-info-grid .editable-field .editable-field-value i { color: var(--fd-icon) !important; margin-left: auto; }
#promoSection, #showreelSection, #mimicSection, #photoGallerySection {
    max-width: none !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 18px;
    border: 1px solid var(--fd-line);
    border-radius: 18px;
    background: var(--fd-surface);
    align-self: start;
}
#photoGallerySection { grid-column: 1 / -1; }
#photoGalleryGrid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px !important; max-width: none !important; width: 100%; margin: 0 !important; align-items: stretch !important; }
#photoGalleryGrid > div { min-width: 0; aspect-ratio: 4/5 !important; }
#promoSection > div:first-child, #showreelSection > div:first-child, #mimicSection > div:first-child, #photoGallerySection > div:first-child { justify-content: flex-start !important; margin-bottom: 14px !important; }
#playerProfileInfo h4 { color: var(--fd-text) !important; font-size: 16px !important; font-weight: 700 !important; }
#playerProfileInfo h4 i { color: var(--fd-gold) !important; }
#promoSection > div:nth-child(2), #mimicSection > div:nth-child(2) { border-radius: 12px !important; }
#promoSection > div[onclick], #mimicSection > div[onclick], #showreelContent > div > div[onclick] {
    background: var(--fd-input) !important;
    border-color: var(--fd-accent-line) !important;
    padding: 12px;
}
#promoSection > div[onclick] i, #mimicSection > div[onclick] i, #showreelContent > div[onclick] i { color: var(--fd-gold) !important; }
#showreelTabs { gap: 7px !important; }
#showreelTabs button { min-width: 38px; min-height: 38px; border-radius: 8px !important; }
#photoGallerySection > div[style*="grid-template-columns"] { gap: 12px !important; }
#photoGallerySection [onclick] { border-radius: 12px !important; }
video { border-radius: inherit; background: #090b0e; max-width: 100%; }

.search-section {
    padding: 16px !important;
    margin-bottom: 20px !important;
    background: var(--fd-surface) !important;
    border: 1px solid var(--fd-line);
    border-radius: 15px !important;
    box-shadow: none !important;
}
input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']):not([type='hidden']), select, textarea {
    color: var(--fd-text) !important;
    background-color: var(--fd-input) !important;
    border-color: var(--fd-line) !important;
    border-radius: 10px !important;
    caret-color: var(--fd-gold);
    font-family: inherit;
}
input::placeholder, textarea::placeholder { color: var(--fd-muted); opacity: 1; }
.search-section input, .search-section select, .search-section button { min-height: 44px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--fd-gold) !important; box-shadow: 0 0 0 3px rgba(var(--fd-accent-rgb),.13) !important; }
input[type='checkbox'], input[type='radio'], input[type='range'] { accent-color: var(--fd-gold); }
select option { color: var(--fd-text); background: var(--fd-surface); }
.desktop-projects-view, .desktop-applications-view { display: none !important; }
.mobile-projects-view, .mobile-applications-view { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mobile-projects-view > .empty-state, .mobile-applications-view > .empty-state,
.mobile-projects-view > .loading-spinner, .mobile-applications-view > .loading-spinner { grid-column: 1 / -1; }
.player-project-card, .player-application-card {
    min-width: 0;
    margin: 0;
    background: linear-gradient(125deg, var(--fd-raised), var(--fd-surface));
    border: 1px solid var(--fd-line);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.16);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.player-project-card:hover, .player-application-card:hover { border-color: var(--fd-accent-line); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.player-project-card-header, .player-application-card-header { gap: 16px; padding: 16px; }
.player-project-card-image, .player-application-card-image { width: 108px; height: 138px; border-radius: 11px; background: linear-gradient(140deg, var(--fd-accent-soft), var(--fd-accent-soft)); color: var(--fd-gold); border: 1px solid rgba(var(--fd-accent-rgb),.2); }
.player-project-card-image img, .player-application-card-image img { transition: transform .3s ease; }
.player-project-card:hover img, .player-application-card:hover img { transform: scale(1.035); }
.player-project-card-title, .player-application-card-title { color: var(--fd-text); font-size: 18px; line-height: 1.3; letter-spacing: -.4px; -webkit-line-clamp: 3; }
.player-project-card-info, .player-application-card-info { gap: 7px; }
.player-project-card-info-row, .player-application-card-info-row { color: var(--fd-muted); flex-wrap: wrap; gap: 5px; font-size: 12px; }
.player-project-card-info-row .value, .player-application-card-info-row .value { color: var(--fd-text); }
.player-project-card-info-row i, .player-application-card-info-row i { color: var(--fd-icon); }
.player-application-card-badges { padding: 0 16px 16px; }
.table-wrapper { background: var(--fd-surface); border: 1px solid var(--fd-line); }
.table thead th { background: var(--fd-raised); color: var(--fd-muted); border-color: var(--fd-line); }
.table tbody td { color: var(--fd-text); border-color: var(--fd-line); }
.table tbody tr:hover { background: rgba(var(--fd-accent-rgb),.035); }

.modal-overlay { background: rgba(4,6,9,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal { color: var(--fd-text); background: var(--fd-surface); border: 1px solid var(--fd-accent-line); border-radius: 20px; box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.modal-header { gap: 12px; }
.modal-header h2 { font-size: 23px; line-height: 1.25; }
.modal-close { min-width: 42px; min-height: 42px; padding: 6px; color: var(--fd-muted); background: var(--fd-raised); border: 1px solid var(--fd-line); border-radius: 10px; }
.modal-close:hover { color: var(--fd-gold); background: var(--fd-gold-surface); }
.modal-footer { border-color: var(--fd-line); }
#playerProjectDetailsModal .modal { padding: 24px !important; max-width: 740px !important; }
#playerProjectDetailsModal .modal-header { padding: 0 0 16px !important; border-bottom-color: var(--fd-line) !important; background: var(--fd-surface) !important; }
#playerProjectDetailsModal .modal-body { padding: 16px 0 !important; }
#playerProjectDetailsModal .modal-footer { border-top-color: var(--fd-line) !important; background: var(--fd-surface) !important; }
#playerProjectDetailsContent > img { width: 100%; max-height: 260px !important; aspect-ratio: 16/7; object-fit: cover; border-radius: 12px !important; border: 1px solid var(--fd-line); }
#playerProjectDetailsContent { overflow-wrap: anywhere; }
[id^='roleVideoWrapper_'] { border-color: var(--fd-accent-line) !important; border-width: 1px !important; padding: 18px !important; border-radius: 14px !important; background: var(--fd-soft) !important; }
[id^='roleVideoTabs_'] button, button[class*='player-video-tab-'] { min-width: 44px; min-height: 44px; border-radius: 9px !important; }
[id^='roleVideoUploadArea_'], [id^='roleVideoContent_'] > div[onclick] { background: var(--fd-input) !important; border: 1px dashed var(--fd-gold) !important; border-radius: 12px !important; padding: 18px; min-height: 170px; color: var(--fd-text) !important; }
[id^='roleVideoUploadArea_']:hover, [id^='roleVideoContent_'] > div[onclick]:hover { background: var(--fd-hover) !important; }
[id^='roleVideoUploadArea_'] i, [id^='roleVideoContent_'] > div[onclick] i { color: var(--fd-gold) !important; }
.modal .form-group label { color: var(--fd-muted); }
.modal .form-group small { color: var(--fd-muted); }

.status-badge { border-radius: 7px; padding: 4px 9px; gap: 5px; line-height: 1.35; }
.status-badge.active { color: var(--fd-green); background: var(--fd-green-surface); border: 1px solid var(--fd-green-line); }
.status-badge.inactive { color: var(--fd-red); background: var(--fd-red-surface); border: 1px solid var(--fd-red-line); }
.status-badge.completed { color: var(--fd-blue); background: var(--fd-blue-surface); }
.btn-primary, .action-btn.view {
    background: linear-gradient(110deg, var(--fd-gold-bright), var(--fd-gold));
    color: var(--fd-accent-ink);
    border: 1px solid var(--fd-accent-line);
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 3px 14px rgba(var(--fd-accent-rgb),.08);
}
.btn-primary { min-height: 44px; }
.btn-primary:hover, .action-btn.view:hover { background: var(--fd-accent-bright); transform: none; box-shadow: 0 4px 18px rgba(var(--fd-accent-rgb),.16); }
.btn-secondary { min-height: 42px; background: var(--fd-raised) !important; color: var(--fd-text) !important; border: 1px solid var(--fd-line) !important; border-radius: 10px; }
.btn-secondary:hover { background: var(--fd-hover) !important; border-color: var(--fd-accent-line) !important; }
button { touch-action: manipulation; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: .55; }
:is(a, button, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid var(--fd-gold-bright); outline-offset: 3px; }
.toast { background: var(--fd-raised); border-top: 1px solid var(--fd-line); border-right: 1px solid var(--fd-line); border-bottom: 1px solid var(--fd-line); box-shadow: var(--fd-shadow); }
.toast-title { color: var(--fd-text); }
.toast-message, .toast-close { color: var(--fd-muted); }
.toast-close:hover { color: var(--fd-gold); }
.toast-container { top: calc(var(--top-bar-height) + env(safe-area-inset-top) + 12px); max-width: 360px; width: calc(100vw - 32px); }
.upload-overlay { background: rgba(5,7,9,.86); }
.upload-overlay .spinner-container { max-width: calc(100vw - 32px); padding: 28px; }
.upload-overlay .spinner-container h3 { color: var(--fd-text); }
.skeleton-line, .skeleton-avatar, .skeleton-video { background: linear-gradient(90deg,var(--fd-raised),var(--fd-raised),var(--fd-raised)); background-size: 200% 100%; }
.media-add:hover, .media-item:hover { border-color: var(--fd-gold); }
.video-thumbnail:hover .play-overlay div { background: var(--fd-gold) !important; color: var(--fd-accent-ink) !important; }
* { scrollbar-width: thin; scrollbar-color: var(--fd-accent-line) var(--fd-surface); }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: var(--fd-surface); }
::-webkit-scrollbar-thumb { background: var(--fd-accent-line); border-color: var(--fd-surface); }
::-webkit-scrollbar-thumb:hover { background: var(--fd-accent-line); }

@media (min-width: 1280px) {
    #playerProfileInfo .profile-info-grid { grid-template-columns: repeat(7,minmax(0,1fr)) !important; }
    #photoGalleryGrid { grid-template-columns: repeat(6,minmax(0,1fr)); }
    .mobile-projects-view, .mobile-applications-view { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .player-project-card-header, .player-application-card-header { gap: 13px; }
    .player-project-card-image, .player-application-card-image { width: 96px; height: 134px; }
}

/* 🔥 959px — Grid sadece PLAYER için (admin değil) */
@media (max-width: 959px) {
    :root { --top-bar-height: 114px; }
    body:not(.fd-admin-page) .top-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 40px 42px;
        align-content: center;
        padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
        gap: 10px 12px;
    }
    body:not(.fd-admin-page) .brand { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: 23px 14px; column-gap: 8px; row-gap: 2px; align-items: center; }
    body:not(.fd-admin-page) .brand > i { grid-row: 1 / 3; font-size: 24px; }
    body:not(.fd-admin-page) .brand #agencyName { max-width: none; font-size: 18px; line-height: 1.2; }
    body:not(.fd-admin-page) .brand .role { grid-column: 2; justify-self: start; padding: 0; border: 0; background: transparent; letter-spacing: 2px; font-size: 8px; line-height: 1.2; }
    body:not(.fd-admin-page) .right-actions { grid-column: 2; grid-row: 1; }
    body:not(.fd-admin-page) .logout-btn { min-width: 40px; min-height: 40px; padding: 8px 12px; }
    body:not(.fd-admin-page) .logout-btn span { display: none; }
    body:not(.fd-admin-page) .nav-menu { order: initial; grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; padding: 3px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; overflow: hidden; border-radius: 10px; }
    body:not(.fd-admin-page) .nav-menu .nav-item { min-width: 0; min-height: 34px; padding: 6px 4px; font-size: 12px; gap: 6px; border-radius: 7px; }
    body:not(.fd-admin-page) .nav-menu .nav-item span { font-size: 12px; }
    body:not(.fd-admin-page) .nav-menu .nav-item i { font-size: 12px; }
    .main-content { padding: 22px 18px 36px; }
    #playerProfileInfo { grid-template-columns: 1fr 1fr; gap: 16px; }
    #promoSection { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
    .main-content { padding: 18px 12px 32px; }
    #page-my-projects::before, #page-my-applications::before { font-size: 24px; margin-bottom: 16px; }
    #playerProfileInfo { grid-template-columns: minmax(0,1fr); gap: 16px; }
    #playerProfileInfo > div:first-child { padding: 18px 16px !important; flex-wrap: nowrap !important; align-items: center !important; gap: 16px !important; border-bottom: 1px solid rgba(var(--fd-accent-rgb),.28) !important; border-radius: 16px; }
    #playerProfileInfo > div:first-child #profileAvatarImg { width: 88px !important; height: 88px !important; border-width: 2px !important; }
    #playerProfileInfo > div:first-child h2 { font-size: 22px !important; line-height: 1.25 !important; }
    #playerProfileInfo > div:first-child p { font-size: 12px !important; margin-top: 5px !important; }
    #playerProfileInfo > div:first-child .status-badge { font-size: 9px !important; padding: 4px 6px !important; margin-top: 3px !important; }
    #enableNotificationsBtn { padding: 7px 10px !important; min-height: 36px; font-size: 11px !important; border-radius: 7px !important; }
    #playerProfileInfo .profile-info-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 8px !important; }
    #playerProfileInfo .profile-info-grid .editable-field { padding: 10px 12px !important; min-height: 66px; border-radius: 10px !important; }
    #playerProfileInfo .profile-info-grid .editable-field > span:first-child { font-size: 10px !important; }
    #playerProfileInfo .profile-info-grid .editable-field .editable-field-value { font-size: 13px !important; }
    #promoSection, #showreelSection, #mimicSection, #photoGallerySection { padding: 15px; border-radius: 15px; }
    #photoGallerySection > div[style*='grid-template-columns'] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
    #photoGalleryGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px !important; }
    #photoGalleryGrid > div > div[style*='top:6px'] { font-size: 9px !important; padding: 3px 5px !important; }
    .mobile-projects-view, .mobile-applications-view { grid-template-columns: minmax(0,1fr); gap: 14px; }
    .search-section { padding: 13px !important; }
    .search-section > div { gap: 10px !important; }
    .search-section > div > div:first-child { min-width: 0 !important; flex-basis: 100% !important; }
    .search-section > div > div:last-child { width: 100%; }
    .search-section select { flex: 1; min-width: 0; }
    .search-section button { flex-shrink: 0; }
    .player-project-card-header, .player-application-card-header { padding: 14px; gap: 13px; }
    .player-project-card-image, .player-application-card-image { width: 92px; height: 124px; }
    .player-project-card-title, .player-application-card-title { font-size: 17px; }
    .player-project-card-info-row, .player-application-card-info-row { font-size: 11px; }
    .player-application-card-badges { padding: 0 14px 14px; }
    .modal-overlay { padding: max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); }
    .modal { margin: 0; width: 100%; padding: 18px; max-height: 94vh; max-height: 94dvh; border-radius: 16px; }
    #playerProjectDetailsModal { padding: 0 !important; }
    #playerProjectDetailsModal .modal { width: 100% !important; max-width: 100% !important; height: 100vh !important; height: 100dvh !important; max-height: 100vh !important; max-height: 100dvh !important; margin: 0 !important; padding: env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px,env(safe-area-inset-left)) !important; border: 0; border-radius: 0 !important; }
    #playerProjectDetailsModal .modal-header { position: sticky !important; top: 0 !important; z-index: 10; padding: 14px 0 !important; margin-bottom: 0; }
    #playerProjectDetailsModal .modal-header h2 { font-size: 21px; }
    #playerProjectDetailsModal .modal-body { margin-bottom: 12px; }
    #playerProjectDetailsModal .modal-footer { position: sticky !important; bottom: 0 !important; padding: 12px 0 !important; margin-top: 0; }
    #playerProjectDetailsModal .modal-footer .btn-secondary { min-height: 44px; }
    #playerProjectDetailsContent > img { aspect-ratio: 16/8; max-height: 200px !important; }
    [id^='roleVideoWrapper_'] { padding: 14px !important; }
    [id^='roleVideoUploadArea_'], [id^='roleVideoContent_'] > div[onclick] { min-height: 154px; padding: 14px; }
    .toast-container { top: calc(var(--top-bar-height) + env(safe-area-inset-top) + 10px); right: 12px; width: calc(100vw - 24px) !important; max-width: 360px !important; }
    .toast-title { font-size: 13px; }
    .toast-message { font-size: 12px; }
}

@media (max-width: 359px) {
    .top-bar { padding-inline: max(12px,env(safe-area-inset-left)); }
    .nav-menu .nav-item { gap: 4px; }
    .nav-menu .nav-item i { display: none; }
    .nav-menu .nav-item span { font-size: 11px; }
    #playerProfileInfo > div:first-child #profileAvatarImg { width: 70px !important; height: 70px !important; }
    #playerProfileInfo > div:first-child { gap: 12px !important; padding: 15px 12px !important; }
    #playerProfileInfo > div:first-child h2 { font-size: 19px !important; }
    .player-project-card-image, .player-application-card-image { width: 76px; height: 110px; }
    .player-project-card-header, .player-application-card-header { padding: 12px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Palette adapters for existing inline presentation styles. */

body [style*="background:white;" i],
body [style$="background:white" i],
body [style*="background: white;" i],
body [style$="background: white" i] { background: var(--fd-surface) !important; }

body [style*="background-color:white;" i],
body [style$="background-color:white" i],
body [style*="background-color: white;" i],
body [style$="background-color: white" i] { background: var(--fd-surface) !important; }

body [style*="background:#fff;" i],
body [style$="background:#fff" i],
body [style*="background: #fff;" i],
body [style$="background: #fff" i] { background: var(--fd-surface) !important; }

body [style*="background-color:#fff;" i],
body [style$="background-color:#fff" i],
body [style*="background-color: #fff;" i],
body [style$="background-color: #fff" i] { background: var(--fd-surface) !important; }

body [style*="background:#ffffff;" i],
body [style$="background:#ffffff" i],
body [style*="background: #ffffff;" i],
body [style$="background: #ffffff" i],
body [style*="background:rgb(255, 255, 255);" i],
body [style$="background:rgb(255, 255, 255)" i],
body [style*="background: rgb(255, 255, 255);" i],
body [style$="background: rgb(255, 255, 255)" i] { background: var(--fd-surface) !important; }

body [style*="background-color:#ffffff;" i],
body [style$="background-color:#ffffff" i],
body [style*="background-color: #ffffff;" i],
body [style$="background-color: #ffffff" i],
body [style*="background-color:rgb(255, 255, 255);" i],
body [style$="background-color:rgb(255, 255, 255)" i],
body [style*="background-color: rgb(255, 255, 255);" i],
body [style$="background-color: rgb(255, 255, 255)" i] { background: var(--fd-surface) !important; }

body [style*="background:#f3f4f6;" i],
body [style$="background:#f3f4f6" i],
body [style*="background: #f3f4f6;" i],
body [style$="background: #f3f4f6" i],
body [style*="background:rgb(243, 244, 246);" i],
body [style$="background:rgb(243, 244, 246)" i],
body [style*="background: rgb(243, 244, 246);" i],
body [style$="background: rgb(243, 244, 246)" i] { background: var(--fd-raised) !important; }

body [style*="background-color:#f3f4f6;" i],
body [style$="background-color:#f3f4f6" i],
body [style*="background-color: #f3f4f6;" i],
body [style$="background-color: #f3f4f6" i],
body [style*="background-color:rgb(243, 244, 246);" i],
body [style$="background-color:rgb(243, 244, 246)" i],
body [style*="background-color: rgb(243, 244, 246);" i],
body [style$="background-color: rgb(243, 244, 246)" i] { background: var(--fd-raised) !important; }

body [style*="background:#f9fafb;" i],
body [style$="background:#f9fafb" i],
body [style*="background: #f9fafb;" i],
body [style$="background: #f9fafb" i],
body [style*="background:rgb(249, 250, 251);" i],
body [style$="background:rgb(249, 250, 251)" i],
body [style*="background: rgb(249, 250, 251);" i],
body [style$="background: rgb(249, 250, 251)" i] { background: var(--fd-soft) !important; }

body [style*="background-color:#f9fafb;" i],
body [style$="background-color:#f9fafb" i],
body [style*="background-color: #f9fafb;" i],
body [style$="background-color: #f9fafb" i],
body [style*="background-color:rgb(249, 250, 251);" i],
body [style$="background-color:rgb(249, 250, 251)" i],
body [style*="background-color: rgb(249, 250, 251);" i],
body [style$="background-color: rgb(249, 250, 251)" i] { background: var(--fd-soft) !important; }

body [style*="background:#fafafa;" i],
body [style$="background:#fafafa" i],
body [style*="background: #fafafa;" i],
body [style$="background: #fafafa" i],
body [style*="background:rgb(250, 250, 250);" i],
body [style$="background:rgb(250, 250, 250)" i],
body [style*="background: rgb(250, 250, 250);" i],
body [style$="background: rgb(250, 250, 250)" i] { background: var(--fd-soft) !important; }

body [style*="background-color:#fafafa;" i],
body [style$="background-color:#fafafa" i],
body [style*="background-color: #fafafa;" i],
body [style$="background-color: #fafafa" i],
body [style*="background-color:rgb(250, 250, 250);" i],
body [style$="background-color:rgb(250, 250, 250)" i],
body [style*="background-color: rgb(250, 250, 250);" i],
body [style$="background-color: rgb(250, 250, 250)" i] { background: var(--fd-soft) !important; }

body [style*="background:#f0f0f0;" i],
body [style$="background:#f0f0f0" i],
body [style*="background: #f0f0f0;" i],
body [style$="background: #f0f0f0" i],
body [style*="background:rgb(240, 240, 240);" i],
body [style$="background:rgb(240, 240, 240)" i],
body [style*="background: rgb(240, 240, 240);" i],
body [style$="background: rgb(240, 240, 240)" i] { background: var(--fd-raised) !important; }

body [style*="background-color:#f0f0f0;" i],
body [style$="background-color:#f0f0f0" i],
body [style*="background-color: #f0f0f0;" i],
body [style$="background-color: #f0f0f0" i],
body [style*="background-color:rgb(240, 240, 240);" i],
body [style$="background-color:rgb(240, 240, 240)" i],
body [style*="background-color: rgb(240, 240, 240);" i],
body [style$="background-color: rgb(240, 240, 240)" i] { background: var(--fd-raised) !important; }

body [style*="background:#e5e7eb;" i],
body [style$="background:#e5e7eb" i],
body [style*="background: #e5e7eb;" i],
body [style$="background: #e5e7eb" i],
body [style*="background:rgb(229, 231, 235);" i],
body [style$="background:rgb(229, 231, 235)" i],
body [style*="background: rgb(229, 231, 235);" i],
body [style$="background: rgb(229, 231, 235)" i] { background: var(--fd-raised) !important; }

body [style*="background-color:#e5e7eb;" i],
body [style$="background-color:#e5e7eb" i],
body [style*="background-color: #e5e7eb;" i],
body [style$="background-color: #e5e7eb" i],
body [style*="background-color:rgb(229, 231, 235);" i],
body [style$="background-color:rgb(229, 231, 235)" i],
body [style*="background-color: rgb(229, 231, 235);" i],
body [style$="background-color: rgb(229, 231, 235)" i] { background: var(--fd-raised) !important; }

body [style*="background:#faf5ff;" i],
body [style$="background:#faf5ff" i],
body [style*="background: #faf5ff;" i],
body [style$="background: #faf5ff" i],
body [style*="background:rgb(250, 245, 255);" i],
body [style$="background:rgb(250, 245, 255)" i],
body [style*="background: rgb(250, 245, 255);" i],
body [style$="background: rgb(250, 245, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background-color:#faf5ff;" i],
body [style$="background-color:#faf5ff" i],
body [style*="background-color: #faf5ff;" i],
body [style$="background-color: #faf5ff" i],
body [style*="background-color:rgb(250, 245, 255);" i],
body [style$="background-color:rgb(250, 245, 255)" i],
body [style*="background-color: rgb(250, 245, 255);" i],
body [style$="background-color: rgb(250, 245, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background:#f5f3ff;" i],
body [style$="background:#f5f3ff" i],
body [style*="background: #f5f3ff;" i],
body [style$="background: #f5f3ff" i],
body [style*="background:rgb(245, 243, 255);" i],
body [style$="background:rgb(245, 243, 255)" i],
body [style*="background: rgb(245, 243, 255);" i],
body [style$="background: rgb(245, 243, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background-color:#f5f3ff;" i],
body [style$="background-color:#f5f3ff" i],
body [style*="background-color: #f5f3ff;" i],
body [style$="background-color: #f5f3ff" i],
body [style*="background-color:rgb(245, 243, 255);" i],
body [style$="background-color:rgb(245, 243, 255)" i],
body [style*="background-color: rgb(245, 243, 255);" i],
body [style$="background-color: rgb(245, 243, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background:#ede9fe;" i],
body [style$="background:#ede9fe" i],
body [style*="background: #ede9fe;" i],
body [style$="background: #ede9fe" i],
body [style*="background:rgb(237, 233, 254);" i],
body [style$="background:rgb(237, 233, 254)" i],
body [style*="background: rgb(237, 233, 254);" i],
body [style$="background: rgb(237, 233, 254)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background-color:#ede9fe;" i],
body [style$="background-color:#ede9fe" i],
body [style*="background-color: #ede9fe;" i],
body [style$="background-color: #ede9fe" i],
body [style*="background-color:rgb(237, 233, 254);" i],
body [style$="background-color:rgb(237, 233, 254)" i],
body [style*="background-color: rgb(237, 233, 254);" i],
body [style$="background-color: rgb(237, 233, 254)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background:#f0f4ff;" i],
body [style$="background:#f0f4ff" i],
body [style*="background: #f0f4ff;" i],
body [style$="background: #f0f4ff" i],
body [style*="background:rgb(240, 244, 255);" i],
body [style$="background:rgb(240, 244, 255)" i],
body [style*="background: rgb(240, 244, 255);" i],
body [style$="background: rgb(240, 244, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background-color:#f0f4ff;" i],
body [style$="background-color:#f0f4ff" i],
body [style*="background-color: #f0f4ff;" i],
body [style$="background-color: #f0f4ff" i],
body [style*="background-color:rgb(240, 244, 255);" i],
body [style$="background-color:rgb(240, 244, 255)" i],
body [style*="background-color: rgb(240, 244, 255);" i],
body [style$="background-color: rgb(240, 244, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background:#eef2ff;" i],
body [style$="background:#eef2ff" i],
body [style*="background: #eef2ff;" i],
body [style$="background: #eef2ff" i],
body [style*="background:rgb(238, 242, 255);" i],
body [style$="background:rgb(238, 242, 255)" i],
body [style*="background: rgb(238, 242, 255);" i],
body [style$="background: rgb(238, 242, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background-color:#eef2ff;" i],
body [style$="background-color:#eef2ff" i],
body [style*="background-color: #eef2ff;" i],
body [style$="background-color: #eef2ff" i],
body [style*="background-color:rgb(238, 242, 255);" i],
body [style$="background-color:rgb(238, 242, 255)" i],
body [style*="background-color: rgb(238, 242, 255);" i],
body [style$="background-color: rgb(238, 242, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background:#e0e7ff;" i],
body [style$="background:#e0e7ff" i],
body [style*="background: #e0e7ff;" i],
body [style$="background: #e0e7ff" i],
body [style*="background:rgb(224, 231, 255);" i],
body [style$="background:rgb(224, 231, 255)" i],
body [style*="background: rgb(224, 231, 255);" i],
body [style$="background: rgb(224, 231, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background-color:#e0e7ff;" i],
body [style$="background-color:#e0e7ff" i],
body [style*="background-color: #e0e7ff;" i],
body [style$="background-color: #e0e7ff" i],
body [style*="background-color:rgb(224, 231, 255);" i],
body [style$="background-color:rgb(224, 231, 255)" i],
body [style*="background-color: rgb(224, 231, 255);" i],
body [style$="background-color: rgb(224, 231, 255)" i] { background: var(--fd-gold-surface) !important; }

body [style*="background:#8b5cf6;" i],
body [style$="background:#8b5cf6" i],
body [style*="background: #8b5cf6;" i],
body [style$="background: #8b5cf6" i],
body [style*="background:rgb(139, 92, 246);" i],
body [style$="background:rgb(139, 92, 246)" i],
body [style*="background: rgb(139, 92, 246);" i],
body [style$="background: rgb(139, 92, 246)" i] { background: var(--fd-gold) !important; }

body [style*="background-color:#8b5cf6;" i],
body [style$="background-color:#8b5cf6" i],
body [style*="background-color: #8b5cf6;" i],
body [style$="background-color: #8b5cf6" i],
body [style*="background-color:rgb(139, 92, 246);" i],
body [style$="background-color:rgb(139, 92, 246)" i],
body [style*="background-color: rgb(139, 92, 246);" i],
body [style$="background-color: rgb(139, 92, 246)" i] { background: var(--fd-gold) !important; }

body [style*="background:#a78bfa;" i],
body [style$="background:#a78bfa" i],
body [style*="background: #a78bfa;" i],
body [style$="background: #a78bfa" i],
body [style*="background:rgb(167, 139, 250);" i],
body [style$="background:rgb(167, 139, 250)" i],
body [style*="background: rgb(167, 139, 250);" i],
body [style$="background: rgb(167, 139, 250)" i] { background: var(--fd-accent) !important; }

body [style*="background-color:#a78bfa;" i],
body [style$="background-color:#a78bfa" i],
body [style*="background-color: #a78bfa;" i],
body [style$="background-color: #a78bfa" i],
body [style*="background-color:rgb(167, 139, 250);" i],
body [style$="background-color:rgb(167, 139, 250)" i],
body [style*="background-color: rgb(167, 139, 250);" i],
body [style$="background-color: rgb(167, 139, 250)" i] { background: var(--fd-accent) !important; }

body [style*="background:#667eea;" i],
body [style$="background:#667eea" i],
body [style*="background: #667eea;" i],
body [style$="background: #667eea" i],
body [style*="background:rgb(102, 126, 234);" i],
body [style$="background:rgb(102, 126, 234)" i],
body [style*="background: rgb(102, 126, 234);" i],
body [style$="background: rgb(102, 126, 234)" i] { background: var(--fd-gold) !important; }

body [style*="background-color:#667eea;" i],
body [style$="background-color:#667eea" i],
body [style*="background-color: #667eea;" i],
body [style$="background-color: #667eea" i],
body [style*="background-color:rgb(102, 126, 234);" i],
body [style$="background-color:rgb(102, 126, 234)" i],
body [style*="background-color: rgb(102, 126, 234);" i],
body [style$="background-color: rgb(102, 126, 234)" i] { background: var(--fd-gold) !important; }

body [style*="background:#fef3c7;" i],
body [style$="background:#fef3c7" i],
body [style*="background: #fef3c7;" i],
body [style$="background: #fef3c7" i],
body [style*="background:rgb(254, 243, 199);" i],
body [style$="background:rgb(254, 243, 199)" i],
body [style*="background: rgb(254, 243, 199);" i],
body [style$="background: rgb(254, 243, 199)" i] { background: var(--fd-warning-surface) !important; }

body [style*="background-color:#fef3c7;" i],
body [style$="background-color:#fef3c7" i],
body [style*="background-color: #fef3c7;" i],
body [style$="background-color: #fef3c7" i],
body [style*="background-color:rgb(254, 243, 199);" i],
body [style$="background-color:rgb(254, 243, 199)" i],
body [style*="background-color: rgb(254, 243, 199);" i],
body [style$="background-color: rgb(254, 243, 199)" i] { background: var(--fd-warning-surface) !important; }

body [style*="background:#fff7ed;" i],
body [style$="background:#fff7ed" i],
body [style*="background: #fff7ed;" i],
body [style$="background: #fff7ed" i],
body [style*="background:rgb(255, 247, 237);" i],
body [style$="background:rgb(255, 247, 237)" i],
body [style*="background: rgb(255, 247, 237);" i],
body [style$="background: rgb(255, 247, 237)" i] { background: var(--fd-warning-surface) !important; }

body [style*="background-color:#fff7ed;" i],
body [style$="background-color:#fff7ed" i],
body [style*="background-color: #fff7ed;" i],
body [style$="background-color: #fff7ed" i],
body [style*="background-color:rgb(255, 247, 237);" i],
body [style$="background-color:rgb(255, 247, 237)" i],
body [style*="background-color: rgb(255, 247, 237);" i],
body [style$="background-color: rgb(255, 247, 237)" i] { background: var(--fd-warning-surface) !important; }

body [style*="background:#ffedd5;" i],
body [style$="background:#ffedd5" i],
body [style*="background: #ffedd5;" i],
body [style$="background: #ffedd5" i],
body [style*="background:rgb(255, 237, 213);" i],
body [style$="background:rgb(255, 237, 213)" i],
body [style*="background: rgb(255, 237, 213);" i],
body [style$="background: rgb(255, 237, 213)" i] { background: var(--fd-warning-surface) !important; }

body [style*="background-color:#ffedd5;" i],
body [style$="background-color:#ffedd5" i],
body [style*="background-color: #ffedd5;" i],
body [style$="background-color: #ffedd5" i],
body [style*="background-color:rgb(255, 237, 213);" i],
body [style$="background-color:rgb(255, 237, 213)" i],
body [style*="background-color: rgb(255, 237, 213);" i],
body [style$="background-color: rgb(255, 237, 213)" i] { background: var(--fd-warning-surface) !important; }

body [style*="background:#d1fae5;" i],
body [style$="background:#d1fae5" i],
body [style*="background: #d1fae5;" i],
body [style$="background: #d1fae5" i],
body [style*="background:rgb(209, 250, 229);" i],
body [style$="background:rgb(209, 250, 229)" i],
body [style*="background: rgb(209, 250, 229);" i],
body [style$="background: rgb(209, 250, 229)" i] { background: var(--fd-green-surface) !important; }

body [style*="background-color:#d1fae5;" i],
body [style$="background-color:#d1fae5" i],
body [style*="background-color: #d1fae5;" i],
body [style$="background-color: #d1fae5" i],
body [style*="background-color:rgb(209, 250, 229);" i],
body [style$="background-color:rgb(209, 250, 229)" i],
body [style*="background-color: rgb(209, 250, 229);" i],
body [style$="background-color: rgb(209, 250, 229)" i] { background: var(--fd-green-surface) !important; }

body [style*="background:#f0fdf4;" i],
body [style$="background:#f0fdf4" i],
body [style*="background: #f0fdf4;" i],
body [style$="background: #f0fdf4" i],
body [style*="background:rgb(240, 253, 244);" i],
body [style$="background:rgb(240, 253, 244)" i],
body [style*="background: rgb(240, 253, 244);" i],
body [style$="background: rgb(240, 253, 244)" i] { background: var(--fd-green-surface) !important; }

body [style*="background-color:#f0fdf4;" i],
body [style$="background-color:#f0fdf4" i],
body [style*="background-color: #f0fdf4;" i],
body [style$="background-color: #f0fdf4" i],
body [style*="background-color:rgb(240, 253, 244);" i],
body [style$="background-color:rgb(240, 253, 244)" i],
body [style*="background-color: rgb(240, 253, 244);" i],
body [style$="background-color: rgb(240, 253, 244)" i] { background: var(--fd-green-surface) !important; }

body [style*="background:#ecfdf5;" i],
body [style$="background:#ecfdf5" i],
body [style*="background: #ecfdf5;" i],
body [style$="background: #ecfdf5" i],
body [style*="background:rgb(236, 253, 245);" i],
body [style$="background:rgb(236, 253, 245)" i],
body [style*="background: rgb(236, 253, 245);" i],
body [style$="background: rgb(236, 253, 245)" i] { background: var(--fd-green-surface) !important; }

body [style*="background-color:#ecfdf5;" i],
body [style$="background-color:#ecfdf5" i],
body [style*="background-color: #ecfdf5;" i],
body [style$="background-color: #ecfdf5" i],
body [style*="background-color:rgb(236, 253, 245);" i],
body [style$="background-color:rgb(236, 253, 245)" i],
body [style*="background-color: rgb(236, 253, 245);" i],
body [style$="background-color: rgb(236, 253, 245)" i] { background: var(--fd-green-surface) !important; }

body [style*="background:#fee2e2;" i],
body [style$="background:#fee2e2" i],
body [style*="background: #fee2e2;" i],
body [style$="background: #fee2e2" i],
body [style*="background:rgb(254, 226, 226);" i],
body [style$="background:rgb(254, 226, 226)" i],
body [style*="background: rgb(254, 226, 226);" i],
body [style$="background: rgb(254, 226, 226)" i] { background: var(--fd-red-surface) !important; }

body [style*="background-color:#fee2e2;" i],
body [style$="background-color:#fee2e2" i],
body [style*="background-color: #fee2e2;" i],
body [style$="background-color: #fee2e2" i],
body [style*="background-color:rgb(254, 226, 226);" i],
body [style$="background-color:rgb(254, 226, 226)" i],
body [style*="background-color: rgb(254, 226, 226);" i],
body [style$="background-color: rgb(254, 226, 226)" i] { background: var(--fd-red-surface) !important; }

body [style*="background:#fef2f2;" i],
body [style$="background:#fef2f2" i],
body [style*="background: #fef2f2;" i],
body [style$="background: #fef2f2" i],
body [style*="background:rgb(254, 242, 242);" i],
body [style$="background:rgb(254, 242, 242)" i],
body [style*="background: rgb(254, 242, 242);" i],
body [style$="background: rgb(254, 242, 242)" i] { background: var(--fd-red-surface) !important; }

body [style*="background-color:#fef2f2;" i],
body [style$="background-color:#fef2f2" i],
body [style*="background-color: #fef2f2;" i],
body [style$="background-color: #fef2f2" i],
body [style*="background-color:rgb(254, 242, 242);" i],
body [style$="background-color:rgb(254, 242, 242)" i],
body [style*="background-color: rgb(254, 242, 242);" i],
body [style$="background-color: rgb(254, 242, 242)" i] { background: var(--fd-red-surface) !important; }

body [style*="background:#eff6ff;" i],
body [style$="background:#eff6ff" i],
body [style*="background: #eff6ff;" i],
body [style$="background: #eff6ff" i],
body [style*="background:rgb(239, 246, 255);" i],
body [style$="background:rgb(239, 246, 255)" i],
body [style*="background: rgb(239, 246, 255);" i],
body [style$="background: rgb(239, 246, 255)" i] { background: var(--fd-blue-surface) !important; }

body [style*="background-color:#eff6ff;" i],
body [style$="background-color:#eff6ff" i],
body [style*="background-color: #eff6ff;" i],
body [style$="background-color: #eff6ff" i],
body [style*="background-color:rgb(239, 246, 255);" i],
body [style$="background-color:rgb(239, 246, 255)" i],
body [style*="background-color: rgb(239, 246, 255);" i],
body [style$="background-color: rgb(239, 246, 255)" i] { background: var(--fd-blue-surface) !important; }

body [style*="background:#dbeafe;" i],
body [style$="background:#dbeafe" i],
body [style*="background: #dbeafe;" i],
body [style$="background: #dbeafe" i],
body [style*="background:rgb(219, 234, 254);" i],
body [style$="background:rgb(219, 234, 254)" i],
body [style*="background: rgb(219, 234, 254);" i],
body [style$="background: rgb(219, 234, 254)" i] { background: var(--fd-blue-surface) !important; }

body [style*="background-color:#dbeafe;" i],
body [style$="background-color:#dbeafe" i],
body [style*="background-color: #dbeafe;" i],
body [style$="background-color: #dbeafe" i],
body [style*="background-color:rgb(219, 234, 254);" i],
body [style$="background-color:rgb(219, 234, 254)" i],
body [style*="background-color: rgb(219, 234, 254);" i],
body [style$="background-color: rgb(219, 234, 254)" i] { background: var(--fd-blue-surface) !important; }

body [style*="background:#1a1a2e;" i],
body [style$="background:#1a1a2e" i],
body [style*="background: #1a1a2e;" i],
body [style$="background: #1a1a2e" i],
body [style*="background:rgb(26, 26, 46);" i],
body [style$="background:rgb(26, 26, 46)" i],
body [style*="background: rgb(26, 26, 46);" i],
body [style$="background: rgb(26, 26, 46)" i] { background: var(--fd-input) !important; }

body [style*="background-color:#1a1a2e;" i],
body [style$="background-color:#1a1a2e" i],
body [style*="background-color: #1a1a2e;" i],
body [style$="background-color: #1a1a2e" i],
body [style*="background-color:rgb(26, 26, 46);" i],
body [style$="background-color:rgb(26, 26, 46)" i],
body [style*="background-color: rgb(26, 26, 46);" i],
body [style$="background-color: rgb(26, 26, 46)" i] { background: var(--fd-input) !important; }

body [style*="color:#1f2937;" i],
body [style$="color:#1f2937" i],
body [style*="color: #1f2937;" i],
body [style$="color: #1f2937" i],
body [style*="color:rgb(31, 41, 55);" i],
body [style$="color:rgb(31, 41, 55)" i],
body [style*="color: rgb(31, 41, 55);" i],
body [style$="color: rgb(31, 41, 55)" i] { color: var(--fd-text) !important; }

body [style*="color:#374151;" i],
body [style$="color:#374151" i],
body [style*="color: #374151;" i],
body [style$="color: #374151" i],
body [style*="color:rgb(55, 65, 81);" i],
body [style$="color:rgb(55, 65, 81)" i],
body [style*="color: rgb(55, 65, 81);" i],
body [style$="color: rgb(55, 65, 81)" i] { color: var(--fd-text) !important; }

body [style*="color:#4b5563;" i],
body [style$="color:#4b5563" i],
body [style*="color: #4b5563;" i],
body [style$="color: #4b5563" i],
body [style*="color:rgb(75, 85, 99);" i],
body [style$="color:rgb(75, 85, 99)" i],
body [style*="color: rgb(75, 85, 99);" i],
body [style$="color: rgb(75, 85, 99)" i] { color: var(--fd-muted) !important; }

body [style*="color:#6b7280;" i],
body [style$="color:#6b7280" i],
body [style*="color: #6b7280;" i],
body [style$="color: #6b7280" i],
body [style*="color:rgb(107, 114, 128);" i],
body [style$="color:rgb(107, 114, 128)" i],
body [style*="color: rgb(107, 114, 128);" i],
body [style$="color: rgb(107, 114, 128)" i] { color: var(--fd-muted) !important; }

body [style*="color:#9ca3af;" i],
body [style$="color:#9ca3af" i],
body [style*="color: #9ca3af;" i],
body [style$="color: #9ca3af" i],
body [style*="color:rgb(156, 163, 175);" i],
body [style$="color:rgb(156, 163, 175)" i],
body [style*="color: rgb(156, 163, 175);" i],
body [style$="color: rgb(156, 163, 175)" i] { color: var(--fd-muted) !important; }

body [style*="color:#d1d5db;" i],
body [style$="color:#d1d5db" i],
body [style*="color: #d1d5db;" i],
body [style$="color: #d1d5db" i],
body [style*="color:rgb(209, 213, 219);" i],
body [style$="color:rgb(209, 213, 219)" i],
body [style*="color: rgb(209, 213, 219);" i],
body [style$="color: rgb(209, 213, 219)" i] { color: var(--fd-muted) !important; }

body [style*="color:#667eea;" i],
body [style$="color:#667eea" i],
body [style*="color: #667eea;" i],
body [style$="color: #667eea" i],
body [style*="color:rgb(102, 126, 234);" i],
body [style$="color:rgb(102, 126, 234)" i],
body [style*="color: rgb(102, 126, 234);" i],
body [style$="color: rgb(102, 126, 234)" i] { color: var(--fd-gold) !important; }

body [style*="color:#764ba2;" i],
body [style$="color:#764ba2" i],
body [style*="color: #764ba2;" i],
body [style$="color: #764ba2" i],
body [style*="color:rgb(118, 75, 162);" i],
body [style$="color:rgb(118, 75, 162)" i],
body [style*="color: rgb(118, 75, 162);" i],
body [style$="color: rgb(118, 75, 162)" i] { color: var(--fd-gold) !important; }

body [style*="color:#8b5cf6;" i],
body [style$="color:#8b5cf6" i],
body [style*="color: #8b5cf6;" i],
body [style$="color: #8b5cf6" i],
body [style*="color:rgb(139, 92, 246);" i],
body [style$="color:rgb(139, 92, 246)" i],
body [style*="color: rgb(139, 92, 246);" i],
body [style$="color: rgb(139, 92, 246)" i] { color: var(--fd-gold) !important; }

body [style*="color:#7c3aed;" i],
body [style$="color:#7c3aed" i],
body [style*="color: #7c3aed;" i],
body [style$="color: #7c3aed" i],
body [style*="color:rgb(124, 58, 237);" i],
body [style$="color:rgb(124, 58, 237)" i],
body [style*="color: rgb(124, 58, 237);" i],
body [style$="color: rgb(124, 58, 237)" i] { color: var(--fd-gold) !important; }

body [style*="color:#4f46e5;" i],
body [style$="color:#4f46e5" i],
body [style*="color: #4f46e5;" i],
body [style$="color: #4f46e5" i],
body [style*="color:rgb(79, 70, 229);" i],
body [style$="color:rgb(79, 70, 229)" i],
body [style*="color: rgb(79, 70, 229);" i],
body [style$="color: rgb(79, 70, 229)" i] { color: var(--fd-gold) !important; }

body [style*="color:#a78bfa;" i],
body [style$="color:#a78bfa" i],
body [style*="color: #a78bfa;" i],
body [style$="color: #a78bfa" i],
body [style*="color:rgb(167, 139, 250);" i],
body [style$="color:rgb(167, 139, 250)" i],
body [style*="color: rgb(167, 139, 250);" i],
body [style$="color: rgb(167, 139, 250)" i] { color: var(--fd-gold) !important; }

body [style*="color:#c4b5fd;" i],
body [style$="color:#c4b5fd" i],
body [style*="color: #c4b5fd;" i],
body [style$="color: #c4b5fd" i],
body [style*="color:rgb(196, 181, 253);" i],
body [style$="color:rgb(196, 181, 253)" i],
body [style*="color: rgb(196, 181, 253);" i],
body [style$="color: rgb(196, 181, 253)" i] { color: var(--fd-icon) !important; }

body [style*="color:#065f46;" i],
body [style$="color:#065f46" i],
body [style*="color: #065f46;" i],
body [style$="color: #065f46" i],
body [style*="color:rgb(6, 95, 70);" i],
body [style$="color:rgb(6, 95, 70)" i],
body [style*="color: rgb(6, 95, 70);" i],
body [style$="color: rgb(6, 95, 70)" i] { color: var(--fd-green) !important; }

body [style*="color:#16a34a;" i],
body [style$="color:#16a34a" i],
body [style*="color: #16a34a;" i],
body [style$="color: #16a34a" i],
body [style*="color:rgb(22, 163, 74);" i],
body [style$="color:rgb(22, 163, 74)" i],
body [style*="color: rgb(22, 163, 74);" i],
body [style$="color: rgb(22, 163, 74)" i] { color: var(--fd-green) !important; }

body [style*="color:#059669;" i],
body [style$="color:#059669" i],
body [style*="color: #059669;" i],
body [style$="color: #059669" i],
body [style*="color:rgb(5, 150, 105);" i],
body [style$="color:rgb(5, 150, 105)" i],
body [style*="color: rgb(5, 150, 105);" i],
body [style$="color: rgb(5, 150, 105)" i] { color: var(--fd-green) !important; }

body [style*="color:#22c55e;" i],
body [style$="color:#22c55e" i],
body [style*="color: #22c55e;" i],
body [style$="color: #22c55e" i],
body [style*="color:rgb(34, 197, 94);" i],
body [style$="color:rgb(34, 197, 94)" i],
body [style*="color: rgb(34, 197, 94);" i],
body [style$="color: rgb(34, 197, 94)" i] { color: var(--fd-green) !important; }

body [style*="color:#ef4444;" i],
body [style$="color:#ef4444" i],
body [style*="color: #ef4444;" i],
body [style$="color: #ef4444" i],
body [style*="color:rgb(239, 68, 68);" i],
body [style$="color:rgb(239, 68, 68)" i],
body [style*="color: rgb(239, 68, 68);" i],
body [style$="color: rgb(239, 68, 68)" i] { color: var(--fd-red) !important; }

body [style*="color:#dc2626;" i],
body [style$="color:#dc2626" i],
body [style*="color: #dc2626;" i],
body [style$="color: #dc2626" i],
body [style*="color:rgb(220, 38, 38);" i],
body [style$="color:rgb(220, 38, 38)" i],
body [style*="color: rgb(220, 38, 38);" i],
body [style$="color: rgb(220, 38, 38)" i] { color: var(--fd-red) !important; }

body [style*="color:#991b1b;" i],
body [style$="color:#991b1b" i],
body [style*="color: #991b1b;" i],
body [style$="color: #991b1b" i],
body [style*="color:rgb(153, 27, 27);" i],
body [style$="color:rgb(153, 27, 27)" i],
body [style*="color: rgb(153, 27, 27);" i],
body [style$="color: rgb(153, 27, 27)" i] { color: var(--fd-red) !important; }

body [style*="color:#92400e;" i],
body [style$="color:#92400e" i],
body [style*="color: #92400e;" i],
body [style$="color: #92400e" i],
body [style*="color:rgb(146, 64, 14);" i],
body [style$="color:rgb(146, 64, 14)" i],
body [style*="color: rgb(146, 64, 14);" i],
body [style$="color: rgb(146, 64, 14)" i] { color: var(--fd-warning) !important; }

body [style*="color:#d97706;" i],
body [style$="color:#d97706" i],
body [style*="color: #d97706;" i],
body [style$="color: #d97706" i],
body [style*="color:rgb(217, 119, 6);" i],
body [style$="color:rgb(217, 119, 6)" i],
body [style*="color: rgb(217, 119, 6);" i],
body [style$="color: rgb(217, 119, 6)" i] { color: var(--fd-warning) !important; }

body [style*="color:#ea580c;" i],
body [style$="color:#ea580c" i],
body [style*="color: #ea580c;" i],
body [style$="color: #ea580c" i],
body [style*="color:rgb(234, 88, 12);" i],
body [style$="color:rgb(234, 88, 12)" i],
body [style*="color: rgb(234, 88, 12);" i],
body [style$="color: rgb(234, 88, 12)" i] { color: var(--fd-warning) !important; }

body [style*="color:#f59e0b;" i],
body [style$="color:#f59e0b" i],
body [style*="color: #f59e0b;" i],
body [style$="color: #f59e0b" i],
body [style*="color:rgb(245, 158, 11);" i],
body [style$="color:rgb(245, 158, 11)" i],
body [style*="color: rgb(245, 158, 11);" i],
body [style$="color: rgb(245, 158, 11)" i] { color: var(--fd-warning) !important; }

body [style*="color:#1e40af;" i],
body [style$="color:#1e40af" i],
body [style*="color: #1e40af;" i],
body [style$="color: #1e40af" i],
body [style*="color:rgb(30, 64, 175);" i],
body [style$="color:rgb(30, 64, 175)" i],
body [style*="color: rgb(30, 64, 175);" i],
body [style$="color: rgb(30, 64, 175)" i] { color: var(--fd-blue) !important; }

body [style*="color:#3b82f6;" i],
body [style$="color:#3b82f6" i],
body [style*="color: #3b82f6;" i],
body [style$="color: #3b82f6" i],
body [style*="color:rgb(59, 130, 246);" i],
body [style$="color:rgb(59, 130, 246)" i],
body [style*="color: rgb(59, 130, 246);" i],
body [style$="color: rgb(59, 130, 246)" i] { color: var(--fd-blue) !important; }

body [style*="color:#ec4899;" i],
body [style$="color:#ec4899" i],
body [style*="color: #ec4899;" i],
body [style$="color: #ec4899" i],
body [style*="color:rgb(236, 72, 153);" i],
body [style$="color:rgb(236, 72, 153)" i],
body [style*="color: rgb(236, 72, 153);" i],
body [style$="color: rgb(236, 72, 153)" i] { color: #efb8cb !important; }

body [style*="solid #e5e7eb" i],
body [style*="solid rgb(229, 231, 235)" i],
body [style*="dashed #e5e7eb" i],
body [style*="dashed rgb(229, 231, 235)" i] { border-color: var(--fd-line) !important; }

body [style*="solid #f3f4f6" i],
body [style*="solid rgb(243, 244, 246)" i],
body [style*="dashed #f3f4f6" i],
body [style*="dashed rgb(243, 244, 246)" i] { border-color: var(--fd-line) !important; }

body [style*="solid #d1d5db" i],
body [style*="solid rgb(209, 213, 219)" i],
body [style*="dashed #d1d5db" i],
body [style*="dashed rgb(209, 213, 219)" i] { border-color: var(--fd-accent-line) !important; }

body [style*="solid #8b5cf6" i],
body [style*="solid rgb(139, 92, 246)" i],
body [style*="dashed #8b5cf6" i],
body [style*="dashed rgb(139, 92, 246)" i] { border-color: var(--fd-accent-line) !important; }

body [style*="solid #7c3aed" i],
body [style*="solid rgb(124, 58, 237)" i],
body [style*="dashed #7c3aed" i],
body [style*="dashed rgb(124, 58, 237)" i] { border-color: var(--fd-accent-line) !important; }

body [style*="solid #c4b5fd" i],
body [style*="solid rgb(196, 181, 253)" i],
body [style*="dashed #c4b5fd" i],
body [style*="dashed rgb(196, 181, 253)" i] { border-color: var(--fd-accent-line) !important; }

body [style*="solid #667eea" i],
body [style*="solid rgb(102, 126, 234)" i],
body [style*="dashed #667eea" i],
body [style*="dashed rgb(102, 126, 234)" i] { border-color: var(--fd-accent-line) !important; }

body [style*="solid #22c55e" i],
body [style*="solid rgb(34, 197, 94)" i],
body [style*="dashed #22c55e" i],
body [style*="dashed rgb(34, 197, 94)" i] { border-color: var(--fd-green-line) !important; }

body [style*="solid #86efac" i],
body [style*="solid rgb(134, 239, 172)" i],
body [style*="dashed #86efac" i],
body [style*="dashed rgb(134, 239, 172)" i] { border-color: var(--fd-green-line) !important; }

body [style*="solid #fecaca" i],
body [style*="solid rgb(254, 202, 202)" i],
body [style*="dashed #fecaca" i],
body [style*="dashed rgb(254, 202, 202)" i] { border-color: var(--fd-red-line) !important; }

body [style*="solid #f59e0b" i],
body [style*="solid rgb(245, 158, 11)" i],
body [style*="dashed #f59e0b" i],
body [style*="dashed rgb(245, 158, 11)" i] { border-color: var(--fd-warning-line) !important; }

body [style*="solid #fdba74" i],
body [style*="solid rgb(253, 186, 116)" i],
body [style*="dashed #fdba74" i],
body [style*="dashed rgb(253, 186, 116)" i] { border-color: var(--fd-warning-line) !important; }

body [style*="solid #3b82f6" i],
body [style*="solid rgb(59, 130, 246)" i],
body [style*="dashed #3b82f6" i],
body [style*="dashed rgb(59, 130, 246)" i] { border-color: var(--fd-blue-line) !important; }

body [style*="solid #bfdbfe" i],
body [style*="solid rgb(191, 219, 254)" i],
body [style*="dashed #bfdbfe" i],
body [style*="dashed rgb(191, 219, 254)" i] { border-color: var(--fd-blue-line) !important; }

body div[style*='linear-gradient(135deg,#667eea,#764ba2)'],
body div[style*='linear-gradient(135deg, #667eea, #764ba2)'] {
    background: linear-gradient(135deg,var(--fd-accent-soft),var(--fd-surface)) !important;
    color: var(--fd-gold) !important;
}
body [style*='background:rgba(102,126,234'], body [style*='background: rgba(102,126,234'],
body [style*='background: rgba(102, 126, 234'] {
    background: var(--fd-accent-soft) !important;
    color: var(--fd-gold-bright) !important;
}
body button[style*='linear-gradient'],
body a[style*='linear-gradient'],
body button[style*='background:#8b5cf6;'], body button[style*='background: #8b5cf6;'],
body button[style*='background: rgb(139, 92, 246);'],
body button[style*='background:#a78bfa;'], body button[style*='background: #a78bfa;'],
body button[style*='background: rgb(167, 139, 250);'] {
    background: linear-gradient(110deg,var(--fd-gold-bright),var(--fd-gold)) !important;
    color: var(--fd-accent-ink) !important;
    border-color: var(--fd-gold) !important;
    font-weight: 700 !important;
}
body :is(button,a)[style*='linear-gradient'] :is(i,span) { color: inherit !important; }
body button[style*='linear-gradient']:hover, body a[style*='linear-gradient']:hover { filter: brightness(1.06); }
body button[style*='linear-gradient']:disabled { filter: none; }
#profileAvatarImg { border-color: var(--fd-gold) !important; }
#playerProfileInfo .profile-info-grid .editable-field { border-color: var(--fd-line) !important; }
#playerProfileInfo .profile-info-grid .editable-field:hover { border-color: var(--fd-gold) !important; }

.right-actions { gap: 9px; }
.nav-menu { overflow: hidden; }
.player-project-card, .player-application-card { box-shadow: var(--fd-shadow); }
.modal { box-shadow: 0 24px 80px rgba(0,0,0,.32); }
.upload-overlay .spinner-container h3 { color: #f8eedf !important; }
.upload-overlay .spinner-container i { color: var(--fd-overlay-accent); }

/* ============================================================
   Entry screen.
   ============================================================ */
body.fd-login-page {
    min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto;
    padding: 24px 36px 20px; overflow-x: hidden;
    background:
        radial-gradient(ellipse at 8% 35%,rgba(var(--fd-accent-rgb),.09),transparent 42%),
        radial-gradient(ellipse at 94% 100%,rgba(var(--fd-accent-rgb),.04),transparent 34%),var(--fd-bg);
    color: var(--fd-text);
}
.fd-entry-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: 1200px; margin: 0 auto; min-height: 48px; }
.fd-wordmark { display: flex; align-items: center; gap: 11px; color: var(--fd-text); }
.fd-wordmark > i { color: var(--fd-accent); font-size: 29px; }
.fd-wordmark > span { display: grid; gap: 2px; }
.fd-wordmark strong { font-size: 20px; font-weight: 750; letter-spacing: -.6px; line-height: 1.2; }
.fd-wordmark small { font-size: 8px; letter-spacing: 2.3px; color: var(--fd-muted); text-transform: uppercase; }
.fd-login-layout { width: 100%; max-width: 1200px; margin: 56px auto; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: clamp(40px,7vw,100px); }
.fd-login-story { min-width: 0; }
.fd-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 2px; color: var(--fd-accent); margin-bottom: 20px; }
.fd-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--fd-accent); }
.fd-login-story h2 { margin: 0; font-size: clamp(46px,5.4vw,76px); font-weight: 750; line-height: 1.06; letter-spacing: -3.5px; color: var(--fd-text); }
.fd-login-story h2 em { display: block; margin-top: 12px; font-style: normal; font-weight: 450; font-size: .68em; line-height: 1.16; color: var(--fd-accent); letter-spacing: -2px; max-width: 530px; }
.fd-story-description { max-width: 410px; margin: 25px 0 0; color: var(--fd-muted); font-size: 15px; line-height: 1.85; }
.fd-stage-art { margin-top: 34px; padding: 9px 0; position: relative; overflow: hidden; }
.fd-stage-art::before, .fd-stage-art::after { content: ''; position: absolute; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg,var(--fd-accent-line) 0 9px,transparent 9px 23px); opacity: .65; }
.fd-stage-art::before { top: 0; }
.fd-stage-art::after { bottom: 0; }
.fd-film-still { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--fd-accent-line); background: radial-gradient(ellipse at 88% -20%,rgba(var(--fd-accent-rgb),.26),transparent 58%),linear-gradient(115deg,var(--fd-hero),var(--fd-input)); }
.fd-film-still::after { content: ''; position: absolute; width: 180px; height: 300px; top: -90px; right: 20px; transform: rotate(22deg); background: linear-gradient(90deg,transparent,rgba(var(--fd-accent-rgb),.06),transparent); pointer-events: none; }
.fd-film-copy { position: relative; z-index: 1; }
.fd-film-copy small { display: block; font-size: 9px; letter-spacing: 2.5px; color: var(--fd-muted); }
.fd-film-copy strong { display: block; font-size: 22px; margin: 7px 0 14px; color: var(--fd-text); letter-spacing: -.5px; }
.fd-film-formats { display: flex; flex-wrap: wrap; gap: 6px; }
.fd-film-formats span { padding: 4px 7px; border: 1px solid var(--fd-line); background: var(--fd-surface); border-radius: 5px; font-size: 9px; color: var(--fd-muted); }
.fd-film-mark { font-size: 60px; color: var(--fd-accent); opacity: .9; transform: rotate(-8deg); }
.fd-login-page .login-container { width: 100%; max-width: 440px; justify-self: end; }
.fd-login-page .login-card { padding: 34px 32px 26px; border-radius: 22px; background: var(--fd-surface); border: 1px solid var(--fd-accent-line); box-shadow: var(--fd-shadow); position: relative; overflow: hidden; }
.fd-login-page .login-card::before { content: ''; position: absolute; top: 0; left: 32px; right: 32px; height: 2px; background: linear-gradient(90deg,transparent,var(--fd-accent),transparent); }
.fd-login-page .login-header { text-align: left; margin-bottom: 29px; }
.fd-login-page .login-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--fd-accent); margin-bottom: 25px; padding: 0; background: transparent; border-radius: 0; max-width: 100%; }
.fd-login-page .login-logo > i { font-size: 22px; }
.fd-login-page #agencyNameDisplay { font-size: 18px; font-weight: 700; color: var(--fd-text); overflow-wrap: anywhere; letter-spacing: -.4px; }
.fd-login-page .login-header h1 { font-size: 24px; line-height: 1.3; letter-spacing: -.8px; color: var(--fd-text); margin: 0 0 9px; }
.fd-login-page .login-header p { color: var(--fd-muted); font-size: 12px; line-height: 1.65; }
.fd-login-page .form-group { margin-bottom: 18px; }
.fd-login-page .form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--fd-text); margin-bottom: 8px; }
.fd-login-page .form-group input { display: block; width: 100%; min-height: 51px; padding: 13px 15px; border: 1px solid var(--fd-line); background: var(--fd-input); color: var(--fd-text); border-radius: 10px; font-size: 14px; transition: border-color .18s ease,box-shadow .18s ease; }
.fd-login-page .form-group input:focus { border-color: var(--fd-accent); outline: none; box-shadow: 0 0 0 3px rgba(var(--fd-accent-rgb),.12); }
.fd-login-page .form-group input::placeholder { color: var(--fd-muted); opacity: .75; }
.fd-login-page #email, .fd-login-page #forgotEmail { text-transform: lowercase; }
.fd-login-page .login-btn, .fd-login-page .forgot-btn-primary { background: linear-gradient(110deg,var(--fd-accent-bright),var(--fd-accent)); color: var(--fd-accent-ink); border: 0; font-weight: 700; cursor: pointer; }
.fd-login-page .login-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 14px; border-radius: 10px; font-size: 15px; margin-top: 24px; }
.fd-login-page .login-btn:hover:not(:disabled), .fd-login-page .forgot-btn-primary:hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 5px 20px rgba(var(--fd-accent-rgb),.15); }
.fd-login-page .login-btn:disabled, .fd-login-page .forgot-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.fd-login-page .login-btn i { margin-right: 5px; }
.fd-login-page .login-footer { text-align: center; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--fd-line); }
.fd-login-page .login-footer a { color: var(--fd-muted); text-decoration: none; font-size: 12px; font-weight: 500; }
.fd-login-page .login-footer a:hover { color: var(--fd-accent); text-decoration: underline; }
.fd-login-page .login-error { display: none; padding: 12px 14px; margin-bottom: 18px; border-radius: 9px; border-left: 3px solid var(--fd-red-line); background: var(--fd-red-surface); color: var(--fd-red); font-size: 12px; }
.fd-login-page .login-error.login-success { border-left-color: var(--fd-green-line); background: var(--fd-green-surface); color: var(--fd-green); }
.fd-entry-footer { width: 100%; max-width: 1200px; margin: 0 auto; color: var(--fd-muted); font-size: 10px; padding-top: 14px; border-top: 1px solid var(--fd-line); letter-spacing: .2px; }
.fd-login-page .loading-overlay { position: fixed; inset: 0; width: 100%; height: 100%; display: none; align-items: center; justify-content: center; flex-direction: column; z-index: 9999; background: rgba(4,6,9,.86); backdrop-filter: blur(7px); }
.fd-login-page .loading-overlay.active { display: flex; }
.fd-login-page .loading-overlay .spinner { font-size: 46px; color: var(--fd-overlay-accent); margin-bottom: 16px; }
.fd-login-page .loading-overlay p { color: #f8eedf; font-size: 14px; padding: 0 24px; text-align: center; }
.fd-login-page .forgot-modal-overlay { position: fixed; inset: 0; width: 100%; height: 100%; display: none; align-items: center; justify-content: center; z-index: 99999; padding: max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); background: rgba(4,6,9,.8); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.fd-login-page .forgot-modal-overlay.active { display: flex; }
.fd-login-page .forgot-modal { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px 28px; border-radius: 20px; background: var(--fd-surface); color: var(--fd-text); border: 1px solid var(--fd-accent-line); box-shadow: var(--fd-shadow); }
.fd-login-page .forgot-modal-close { position: absolute; top: 13px; right: 13px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--fd-line); border-radius: 9px; color: var(--fd-muted); background: var(--fd-raised); font-size: 24px; cursor: pointer; }
.fd-login-page .forgot-modal-close:hover { background: var(--fd-red-surface); color: var(--fd-red); }
.fd-login-page .forgot-modal h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.6px; padding-right: 30px; margin-bottom: 8px; }
.fd-login-page .forgot-subtitle { font-size: 12px; line-height: 1.8; color: var(--fd-muted); margin-bottom: 22px; }
.fd-login-page .forgot-modal .code-input { font-size: 24px; letter-spacing: 7px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.fd-login-page .forgot-modal .message { display: none; padding: 11px 13px; margin-bottom: 16px; font-size: 12px; line-height: 1.6; border-radius: 9px; border-left: 3px solid; }
.fd-login-page .forgot-modal .message.error { display: block; background: var(--fd-red-surface); color: var(--fd-red); border-left-color: var(--fd-red-line); }
.fd-login-page .forgot-modal .message.success { display: block; background: var(--fd-green-surface); color: var(--fd-green); border-left-color: var(--fd-green-line); }
.fd-login-page .forgot-modal .message.info { display: block; background: var(--fd-blue-surface); color: var(--fd-blue); border-left-color: var(--fd-blue-line); }
.fd-login-page .forgot-modal-buttons { display: flex; gap: 10px; margin-top: 23px; }
.fd-login-page .forgot-modal-buttons button { flex: 1; min-height: 46px; padding: 12px; border-radius: 10px; font-size: 13px; }
.fd-login-page .forgot-btn-secondary { background: var(--fd-raised); color: var(--fd-text); border: 1px solid var(--fd-line); cursor: pointer; }
.fd-login-page .forgot-btn-secondary:hover { background: var(--fd-hover); }

@media (max-width: 1199px) {
    .top-bar { gap: 12px; }
    .top-bar .nav-menu .nav-item { padding-inline: 12px; }
}
@media (max-width: 959px) {
    .top-bar .right-actions { gap: 7px; }
    .top-bar .nav-menu { overflow: hidden; }
}
@media (max-width: 859px) {
    body.fd-login-page { padding: 18px 22px; }
    .fd-login-layout { grid-template-columns: minmax(0,1fr); max-width: 440px; margin: 36px auto; gap: 26px; }
    .fd-login-story { text-align: center; }
    .fd-eyebrow { margin-bottom: 12px; font-size: 9px; letter-spacing: 1.5px; }
    .fd-login-story h2 { font-size: 44px; letter-spacing: -1.9px; }
    .fd-login-story h2 em { font-size: 20px; line-height: 1.4; letter-spacing: -.4px; margin: 8px auto 0; }
    .fd-story-description { margin: 13px auto 0; font-size: 12px; line-height: 1.7; max-width: 330px; }
    .fd-stage-art { display: none; }
    .fd-login-page .login-container { max-width: none; }
    .fd-login-page .login-card { padding: 28px 26px 24px; border-radius: 18px; }
    .fd-login-page .login-header { margin-bottom: 24px; }
    .fd-login-page .login-logo { margin-bottom: 20px; }
    .fd-entry-footer { text-align: center; }
}
@media (max-width: 479px) {
    body.fd-login-page { padding: max(14px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); }
    .fd-wordmark { gap: 8px; }
    .fd-wordmark > i { font-size: 24px; }
    .fd-wordmark strong { font-size: 18px; }
    .fd-wordmark small { font-size: 7px; letter-spacing: 1.5px; }
    .fd-login-layout { margin: 29px auto 30px; gap: 22px; }
    .fd-login-story h2 { font-size: 39px; }
    .fd-login-story h2 em { font-size: 18px; }
    .fd-story-description { display: none; }
    .fd-login-page .login-card { padding: 27px 22px 23px; }
    .fd-login-page .login-header h1 { font-size: 22px; }
    .fd-login-page .form-group input { font-size: 16px; }
    .fd-login-page .forgot-modal { padding: 28px 21px 24px; }
    .fd-login-page .forgot-modal h2 { font-size: 20px; }
}

.fd-entry-context { display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 600; letter-spacing: 1.4px; color: var(--fd-muted); }
.fd-entry-context i { color: var(--fd-accent); }
@media(max-width:479px) { .fd-entry-context { font-size: 7px; letter-spacing: .7px; gap: 5px; } }

/* ============================================================
   🔥 LOGIN SAYFASI — DİKEY/YATAY ORTALAMA (BASİT VERSİYON)
   ============================================================ */
body.fd-login-page:not(:has(.fd-login-layout)) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: 20px !important;
    grid-template-rows: none !important;
}
body.fd-login-page:not(:has(.fd-login-layout)) .login-container { width: 100% !important; max-width: 440px !important; margin: 0 auto !important; }
body.fd-login-page:not(:has(.fd-login-layout)) .login-card { margin: 0 auto !important; }

/* ============================================================
   🎛️ ADMIN PANEL — Tema Uyumlu Stiller
   ============================================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--fd-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--fd-accent-line);
    box-shadow: 0 8px 24px rgba(var(--fd-accent-rgb), 0.08);
}

.stat-info { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 12px; color: var(--fd-muted); font-weight: 500; }
.stat-value { font-size: 24px; font-weight: 700; color: var(--fd-text); }

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--fd-accent-ink);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--fd-accent-bright), var(--fd-accent));
}

.activity-section {
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--fd-shadow);
}

.activity-header { margin-bottom: 14px; }
.activity-title { font-size: 16px; font-weight: 600; color: var(--fd-text); display: flex; align-items: center; gap: 8px; }
.activity-title i { color: var(--fd-accent); }
.activity-list { display: flex; flex-direction: column; gap: 6px; }

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--fd-soft);
    border-radius: 8px;
}

.activity-item .activity-text { color: var(--fd-text); font-size: 13px; }
.activity-item .activity-time { font-size: 11px; color: var(--fd-muted); white-space: nowrap; }

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.settings-card {
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--fd-shadow);
}

.settings-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--fd-text);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-card h3 i { color: var(--fd-accent); }

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--fd-line);
}

.info-row:last-child { border-bottom: none; }
.info-label { color: var(--fd-muted); font-size: 13px; font-weight: 500; flex-shrink: 0; }
.info-value { color: var(--fd-text); font-weight: 500; font-size: 13px; text-align: right; word-break: break-word; max-width: 60%; }

.profile-header { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fd-accent-bright), var(--fd-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid var(--fd-accent-line);
}

.profile-avatar .avatar-label {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-avatar .avatar-icon { font-size: 40px; color: var(--fd-accent-ink); position: absolute; opacity: 0.85; }

.profile-avatar .avatar-upload {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fd-accent);
    border: 3px solid var(--fd-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.profile-avatar .avatar-upload:hover { background: var(--fd-accent-bright); transform: scale(1.1); }
.profile-avatar .avatar-upload i { font-size: 12px; color: var(--fd-accent-ink); }
.profile-avatar #avatarInput { display: none !important; }

.profile-info h2 { font-size: 20px; font-weight: 700; color: var(--fd-text); }
.profile-info .player-role { color: var(--fd-muted); font-size: 13px; margin-top: 4px; }

.profile-info .player-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

.profile-info .player-status.active { background: var(--fd-green-surface); color: var(--fd-green); border: 1px solid var(--fd-green-line); }
.profile-info .player-status.inactive { background: var(--fd-red-surface); color: var(--fd-red); border: 1px solid var(--fd-red-line); }

.edit-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--fd-raised);
    color: var(--fd-text);
    border: 1px solid var(--fd-line);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}

.edit-profile-btn:hover { background: var(--fd-hover); border-color: var(--fd-accent-line); }
.edit-profile-btn i { font-size: 13px; }

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--fd-line);
}

.profile-detail-item { display: flex; flex-direction: column; gap: 2px; }
.profile-detail-item .label { font-size: 10px; color: var(--fd-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.profile-detail-item .value { font-size: 14px; color: var(--fd-text); font-weight: 600; }

.admin-card {
    background: var(--fd-surface);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--fd-shadow);
    border: 1px solid var(--fd-line);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-card:active { transform: scale(0.985); }

.admin-card-header { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 10px 14px; }

.admin-card-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--fd-accent-bright), var(--fd-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fd-accent-ink);
    font-size: 22px;
    overflow: hidden;
}

.admin-card-image img { width: 100%; height: 100%; object-fit: cover; }
.admin-card-image.round { border-radius: 50%; width: 52px; height: 52px; font-size: 20px; }

.admin-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.admin-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fd-text);
    margin: 0 0 4px 0;
    line-height: 1.3;
    word-break: break-word;
}

.admin-card-title a { color: var(--fd-accent); text-decoration: none; }

.admin-card-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--fd-muted);
    line-height: 1.4;
}

.admin-card-info-row i { width: 14px; text-align: center; font-size: 12px; color: var(--fd-icon); flex-shrink: 0; }
.admin-card-info-row .value { font-weight: 600; color: var(--fd-text); }
.admin-card-info-row .value.green { color: var(--fd-green); }
.admin-card-info-row .value.red { color: var(--fd-red); }

.admin-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-top: 1px solid var(--fd-line);
    background: var(--fd-raised);
    flex-wrap: wrap;
}

.admin-card-actions .action-btn {
    width: auto;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 600;
}

.admin-card-actions .action-btn span { font-size: 12px; }

.admin-card-badges { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px 14px; }

.admin-card-badges .mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.action-btn.edit { background: var(--fd-blue-surface); color: var(--fd-blue); border: 1px solid var(--fd-blue-line); }
.action-btn.edit:hover { background: var(--fd-blue-surface); filter: brightness(1.1); }
.action-btn.delete { background: var(--fd-red-surface); color: var(--fd-red); border: 1px solid var(--fd-red-line); }
.action-btn.delete:hover { filter: brightness(1.1); }
.action-btn.toggle-status { background: var(--fd-warning-surface); color: var(--fd-warning); border: 1px solid var(--fd-warning-line); }
.action-btn.toggle-status:hover { filter: brightness(1.1); }

.admin-video-tab-btn {
    padding: 5px 16px;
    border-radius: 6px;
    border: 2px solid var(--fd-line);
    background: var(--fd-surface);
    color: var(--fd-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.admin-video-tab-btn.active {
    background: var(--fd-accent);
    color: var(--fd-accent-ink);
    border-color: var(--fd-accent);
}

.project-tab.active,
.presentation-tab.active {
    color: var(--fd-accent) !important;
    border-bottom-color: var(--fd-accent) !important;
}

/* ============================================================
   🎛️ ADMIN PANEL — MOBİL/MASAÜSTÜ GÖRÜNÜRLÜK + LAYOUT
   ============================================================ */

/* Masaüstü tablo, mobil kart görünürlüğü (admin) */
body.fd-admin-page .mobile-cards-view  { display: none !important; }
body.fd-admin-page .desktop-table-view { display: block !important; }

@media (min-width: 768px) {
    /* Başvuru kartı masaüstü düzeni */
    .admin-applicant-card {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    .admin-applicant-card .admin-applicant-header {
        flex: 0 0 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
        align-self: flex-start !important;
    }
    .admin-applicant-card .admin-applicant-media {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        align-self: flex-start !important;
        align-items: flex-start !important;
    }
    .admin-applicant-card .admin-applicant-approvals {
        flex: 0 0 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        align-self: flex-start !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    .admin-applicant-card .admin-applicant-approvals > div { width: 100% !important; }

    .admin-applicant-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }
    .admin-applicant-media > .admin-applicant-buttons {
        min-width: 40px !important;
        max-width: 40px !important;
        width: 40px !important;
    }
    .admin-applicant-media > div:not(.admin-applicant-buttons) {
        min-width: 320px !important;
        flex-shrink: 0 !important;
    }
    .admin-applicant-media .video-thumbnail,
    .admin-applicant-media .admin-applicant-video {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 767px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-value { font-size: 22px; }
    .stat-icon { width: 40px; height: 40px; font-size: 16px; }
    .settings-grid { grid-template-columns: 1fr; gap: 14px; }
    .profile-header { flex-direction: column; text-align: center; }
    .profile-avatar { width: 90px; height: 90px; }
    .profile-avatar .avatar-icon { font-size: 36px; }
    .profile-details { grid-template-columns: 1fr 1fr; gap: 10px; }

    .admin-applicant-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    /* 🔥 ADMIN NAVBAR — main.css'teki 959px grid kuralını EZ */
    body.fd-admin-page .top-bar {
        display: flex !important;
        flex-wrap: wrap !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        align-content: normal !important;
        padding: 6px 12px !important;
        padding-top: calc(6px + env(safe-area-inset-top)) !important;
        min-height: calc(52px + env(safe-area-inset-top)) !important;
        height: auto !important;
        gap: 4px !important;
    }

    body.fd-admin-page .brand {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
        flex: 0 0 auto !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        min-width: 0 !important;
    }
    body.fd-admin-page .brand > i {
        font-size: 16px !important;
        grid-row: auto !important;
        flex-shrink: 0 !important;
    }
    body.fd-admin-page .brand #agencyName {
        font-size: 14px !important;
        max-width: 100px !important;
        line-height: normal !important;
    }
    body.fd-admin-page .brand .role {
        grid-column: auto !important;
        justify-self: auto !important;
        font-size: 8px !important;
        padding: 2px 6px !important;
        border: 0 !important;
        background: rgba(255,255,255,0.1) !important;
        letter-spacing: normal !important;
        line-height: 1.2 !important;
    }

    body.fd-admin-page .nav-menu {
        order: 3 !important;
        flex: 1 1 100% !important;
        grid-column: auto !important;
        grid-row: auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 4px 0 2px 0 !important;
        width: 100% !important;
        margin: 0 !important;
        overflow: visible !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }
    body.fd-admin-page .nav-menu .nav-item {
        font-size: 13px !important;
        padding: 5px 12px !important;
        gap: 6px !important;
        min-height: auto !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    body.fd-admin-page .nav-menu .nav-item i { font-size: 14px !important; }
    body.fd-admin-page .nav-menu .nav-item span { font-size: 12px !important; }

    body.fd-admin-page .right-actions {
        grid-column: auto !important;
        grid-row: auto !important;
        flex: 0 0 auto !important;
        gap: 4px !important;
    }
    body.fd-admin-page .logout-btn {
        padding: 4px 10px !important;
        font-size: 12px !important;
        gap: 4px !important;
        min-height: auto !important;
    }
    body.fd-admin-page .logout-btn i { font-size: 14px !important; }
    body.fd-admin-page .logout-btn span { display: none !important; }

    /* Görünürlük: mobil kart, masaüstü tablo */
    body.fd-admin-page .desktop-table-view { display: none !important; }
    body.fd-admin-page .mobile-cards-view  { display: block !important; }

    /* Table-wrapper mobil davranışı */
    body.fd-admin-page .table-wrapper {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        overflow: visible !important;
    }
}

@media (max-width: 380px) {
    .stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .stat-card { padding: 14px; }
    .stat-value { font-size: 20px; }
    .profile-details { grid-template-columns: 1fr; }
}

/* ============================================================
   🎛️ ADMIN MASAÜSTÜ — NAVBAR TAŞMA ÇÖZÜMÜ
   Item'lar sığmadığında kaydırma yapar, küçültür
   ============================================================ */

/* Masaüstü admin navbar */
@media (min-width: 768px) {
    body.fd-admin-page .top-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        padding-left: max(16px, env(safe-area-inset-left)) !important;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
    }

    body.fd-admin-page .brand {
        flex-shrink: 0 !important;
    }

    /* 🔥 NAV MENU — kaydırılabilir + ortalanmış */
    body.fd-admin-page .nav-menu {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-wrap: wrap !important;          /* ⬅️ DEĞİŞTİ: nowrap → wrap */
        justify-content: center !important;   /* ⬅️ DEĞİŞTİ: flex-start → center */
        gap: 4px !important;
        padding: 4px 8px !important;
        margin-inline: 0 !important;
        border: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        min-width: 0 !important;
        /* overflow-x ve scrollbar satırları SİLİNDİ */
    }

    body.fd-admin-page .nav-menu .nav-item {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        /* Biraz daha dar padding — 7 item sığsın */
        padding: 8px 12px !important;
        gap: 6px !important;
        font-size: 14px !important;
        min-height: 40px !important;
    }

    body.fd-admin-page .nav-menu .nav-item i {
        font-size: 15px !important;
    }

    body.fd-admin-page .right-actions {
        flex-shrink: 0 !important;
    }
}

/* 🔥 Çok uzun menülerde (7+ item) daha dar ekranlar için */
@media (min-width: 768px) and (max-width: 1200px) {
    body.fd-admin-page .nav-menu .nav-item {
        padding: 7px 10px !important;
        font-size: 13px !important;
        gap: 5px !important;
    }
    body.fd-admin-page .nav-menu .nav-item i {
        font-size: 14px !important;
    }
    body.fd-admin-page .brand #agencyName {
        max-width: 140px !important;
    }
    body.fd-admin-page .logout-btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    body.fd-admin-page .logout-btn span {
        font-size: 12px !important;
    }
}

/* 🔥 Çok dar masaüstü (768-900px) — iyice küçült */
@media (min-width: 768px) and (max-width: 900px) {
    body.fd-admin-page .nav-menu .nav-item {
        padding: 6px 8px !important;
        font-size: 12px !important;
        gap: 4px !important;
    }
    body.fd-admin-page .nav-menu .nav-item i {
        font-size: 13px !important;
    }
    body.fd-admin-page .brand #agencyName {
        max-width: 100px !important;
        font-size: 16px !important;
    }
    body.fd-admin-page .logout-btn span {
        display: none !important;
    }
    body.fd-admin-page .logout-btn {
        padding: 8px 10px !important;
    }
}
/* ============================================================
   📱 ADMIN BAŞVURU KARTI — MOBİL VIDEO + BUTON DÜZENİ
   Butonlar videonun üstünde, video tam genişlikte
   ============================================================ */
@media (max-width: 767px) {

    /* Media alanı dikey yığın: butonlar üstte, video altta */
    body.fd-admin-page .admin-applicant-card .admin-applicant-media {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* 🔥 BUTON SIRASI: HTML'de butonlar önce geliyor
       ama biz videoyu üste almak istiyoruz → order ile sırala */
    body.fd-admin-page .admin-applicant-card .admin-applicant-media > .admin-applicant-buttons {
        order: 1 !important;               /* 🔥 butonlar EN ÜSTTE */
        display: flex !important;
        flex-direction: row !important;    /* yatay dizilim */
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
        flex-shrink: 0 !important;
    }

    /* Butonlar kare ve eşit boyutlu olsun */
    body.fd-admin-page .admin-applicant-card .admin-applicant-media > .admin-applicant-buttons > button {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Video + tab sarmalayıcı → butonların ALTINA geçsin */
    body.fd-admin-page .admin-applicant-card .admin-applicant-media > div:not(.admin-applicant-buttons) {
        order: 2 !important;               /* 🔥 video ALTA */
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex-shrink: 1 !important;
    }

    /* Video thumbnail ve tab konteyneri tam genişlik */
    body.fd-admin-page .admin-applicant-card .admin-applicant-media .video-thumbnail,
    body.fd-admin-page .admin-applicant-card .admin-applicant-media .admin-applicant-video {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        min-height: 0 !important;
        max-height: none !important;
        flex-shrink: 1 !important;
    }

    /* Video tab butonları (1, 2, 3) — video üstünde ortalanmış */
    body.fd-admin-page .admin-applicant-card .admin-applicant-media > div:not(.admin-applicant-buttons) > div:first-child {
        display: flex !important;
        justify-content: center !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    /* Onay selectleri (Video / Opsiyon / Proje) tam genişlikte altta */
    body.fd-admin-page .admin-applicant-card .admin-applicant-approvals {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin-top: 10px !important;
    }
}
/* ============================================================
   🎬 VIDEO TAB BUTONLARI — KESİN ÇÖZÜM
   Tema renkleri + aktif/dolu durumlar + !important güvence
   ============================================================ */

/* ============ 1. BASE — Boş pasif buton ============ */
.showreel-tab,
.player-video-tab,
.role-video-tab,
.admin-video-tab-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    border: 2px dashed var(--fd-accent-line) !important;
    border-style: dashed !important;
    background: transparent !important;
    color: var(--fd-accent) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    font-family: inherit !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transform: none !important;
    outline: none !important;
    opacity: 1 !important;
}

/* ============ 2. DOLU PASİF — tema accent rengi dolu ============ */
.showreel-tab.is-filled:not(.is-active),
.player-video-tab.is-filled:not(.is-active),
.role-video-tab.is-filled:not(.is-active),
.admin-video-tab-btn.is-filled:not(.is-active) {
    background: var(--fd-accent) !important;
    border-style: solid !important;
    border-width: 2px !important;
    border-color: var(--fd-accent) !important;
    color: var(--fd-accent-ink) !important;
    box-shadow: none !important;
}

/* ============ 3. AKTİF — parlak + beyaz çerçeve + glow ============ */
.showreel-tab.is-active,
.player-video-tab.is-active,
.role-video-tab.is-active,
.admin-video-tab-btn.active {
    background: var(--fd-accent-bright) !important;
    border-style: solid !important;
    border-width: 3px !important;
    border-color: #ffffff !important;
    color: var(--fd-accent-ink) !important;
    box-shadow:
        0 0 0 3px rgba(var(--fd-accent-rgb), 0.45),
        0 0 14px rgba(var(--fd-accent-rgb), 0.7) !important;
    transform: scale(1.06) !important;
    z-index: 2 !important;
}

/* ============ 4. AKTİF + BOŞ — açık accent arka plan ============ */
.showreel-tab.is-active:not(.is-filled),
.player-video-tab.is-active:not(.is-filled),
.role-video-tab.is-active:not(.is-filled) {
    background: var(--fd-accent-soft) !important;
    border-color: var(--fd-accent) !important;
    border-width: 3px !important;
    color: var(--fd-accent) !important;
}

/* ============ 5. HOVER (pasif olanlarda) ============ */
.showreel-tab:not(.is-active):hover,
.player-video-tab:not(.is-active):hover,
.role-video-tab:not(.is-active):hover {
    border-color: var(--fd-accent) !important;
    color: var(--fd-accent) !important;
    background: rgba(var(--fd-accent-rgb), 0.08) !important;
}

/* ============ 6. DOLU NOKTA — yeşil/turuncu badge ============ */
.showreel-tab .slot-dot,
.player-video-tab .slot-dot,
.role-video-tab .slot-dot {
    position: absolute !important;
    bottom: -3px !important;
    right: -3px !important;
    width: 12px !important;
    height: 12px !important;
    background: var(--fd-green) !important;
    border-radius: 50% !important;
    border: 2px solid var(--fd-surface) !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

.showreel-tab .slot-dot.is-promo,
.player-video-tab .slot-dot.is-promo,
.role-video-tab .slot-dot.is-promo {
    background: var(--fd-warning) !important;
}

/* ============ 7. PROMO (tıklanamaz) ============ */
.player-video-tab.is-promo,
.role-video-tab.is-promo {
    cursor: pointer !important;
}

/* ============ 8. MOBİL — daha küçük ============ */
@media (max-width: 767px) {
    .showreel-tab,
    .player-video-tab,
    .role-video-tab {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 14px !important;
    }
}
/* ============================================================
   🔥 PWA ÇENTİK ARKA PLANI — iOS & Android
   Tema değişince otomatik renk alır (--fd-bg değişkeni)
   ============================================================ */
body::before,
body::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    background: var(--fd-bg);
    z-index: 999999;
    pointer-events: none;
}

/* Üst çentik */
body::before {
    top: 0;
    height: env(safe-area-inset-top, 0px);
}

/* Alt çentik */
body::after {
    bottom: 0;
    height: env(safe-area-inset-bottom, 0px);
}

/* Çentik yoksa (tarayıcıda) gizle */
@supports not (padding: env(safe-area-inset-top)) {
    body::before,
    body::after { display: none; }
}
/* ============================================================
   🔥 EK PALETTE ADAPTER — Opsiyonel Sorular & Benzeri Inline'lar
   Noktalı virgülsüz + rgb() varyantlarını da yakalar
   ============================================================ */

/* background:#fff7ed (noktalı virgülsüz) */
body [style*="background:#fff7ed" i]:not([style*="background:#fff7ed;" i]) { background: var(--fd-warning-surface) !important; }
body [style*="background: #fff7ed" i]:not([style*="background: #fff7ed;" i]) { background: var(--fd-warning-surface) !important; }

/* background:#fef3c7 (noktalı virgülsüz) */
body [style*="background:#fef3c7" i]:not([style*="background:#fef3c7;" i]) { background: var(--fd-warning-surface) !important; }
body [style*="background: #fef3c7" i]:not([style*="background: #fef3c7;" i]) { background: var(--fd-warning-surface) !important; }

/* border:2px solid #fdba74 — noktalı virgül bağımsız */
body [style*="solid #fdba74" i] { border-color: var(--fd-warning-line) !important; }
body [style*="solid #f59e0b" i] { border-color: var(--fd-warning-line) !important; }

/* color:#ea580c ve color:#7c2d12 — noktalı virgülsüz */
body [style*="color:#ea580c" i]:not([style*="color:#ea580c;" i]) { color: var(--fd-warning) !important; }
body [style*="color: #ea580c" i]:not([style*="color: #ea580c;" i]) { color: var(--fd-warning) !important; }
body [style*="color:#7c2d12" i]:not([style*="color:#7c2d12;" i]) { color: var(--fd-warning) !important; }
body [style*="color: #7c2d12" i]:not([style*="color: #7c2d12;" i]) { color: var(--fd-warning) !important; }

/* color:#22c55e (noktalı virgülsüz) */
body [style*="color:#22c55e" i]:not([style*="color:#22c55e;" i]) { color: var(--fd-green) !important; }
body [style*="color: #22c55e" i]:not([style*="color: #22c55e;" i]) { color: var(--fd-green) !important; }

/* border:2px solid #e5e7eb (noktalı virgülsüz) */
body [style*="solid #e5e7eb" i] { border-color: var(--fd-line) !important; }

/* linear-gradient(135deg,#ea580c,#f59e0b) — Opsiyonel sorular kaydet butonu */
body button[style*="linear-gradient(135deg,#ea580c" i],
body button[style*="linear-gradient(135deg, #ea580c" i],
body button[style*="linear-gradient(135deg,#ea580c,#f59e0b)" i] {
    background: linear-gradient(110deg, var(--fd-gold-bright), var(--fd-gold)) !important;
    color: var(--fd-accent-ink) !important;
    border-color: var(--fd-gold) !important;
}
/* ============================================================
   🎬 TEMA BAŞINA GLOW'LU SPINNER'LAR
   Sinema Gecesi → Comet Trail (altın kuyruklu yıldız)
   Studio → Pulse Ring (bordo nabız halkası)
   Stage → Orbit Dots (turkuaz yörünge noktaları)
   ============================================================ */

/* ============ ORTAK KEYFRAME'LER ============ */
@keyframes uploadSpinCW {
    to { transform: rotate(360deg); }
}

@keyframes uploadSpinCCW {
    to { transform: rotate(-360deg); }
}

@keyframes studioSpinnerPulse {
    0%, 100% {
        transform: scale(0.9);
        box-shadow:
            0 0 10px rgba(var(--fd-accent-rgb), 0.5),
            inset 0 0 10px rgba(var(--fd-accent-rgb), 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow:
            0 0 22px 6px rgba(var(--fd-accent-rgb), 0.35),
            inset 0 0 18px rgba(var(--fd-accent-rgb), 0.5);
    }
}

@keyframes studioSpinnerCore {
    0%, 100% { transform: scale(0.85); opacity: 0.85; }
    50% { transform: scale(1.15); opacity: 1; }
}


/* ============================================================
   🎬 BÜYÜK SPINNER (.upload-spinner) — 56px
   ============================================================ */
.upload-spinner {
    display: inline-block;
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    vertical-align: middle;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 265deg,
        var(--fd-accent) 360deg
    );
    animation: uploadSpinCW 0.9s linear infinite;
    -webkit-mask: radial-gradient(circle, transparent 42%, #000 44%);
    mask: radial-gradient(circle, transparent 42%, #000 44%);
    filter:
        drop-shadow(0 0 10px rgba(var(--fd-accent-rgb), 0.85))
        drop-shadow(0 0 20px rgba(var(--fd-accent-rgb), 0.45));
}

html[data-theme='studio'] .upload-spinner {
    background: none;
    filter: none;
    -webkit-mask: none;
    mask: none;
    animation: none;
}

html[data-theme='studio'] .upload-spinner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--fd-accent);
    box-shadow:
        0 0 12px rgba(var(--fd-accent-rgb), 0.6),
        inset 0 0 12px rgba(var(--fd-accent-rgb), 0.4);
    animation: studioSpinnerPulse 1.3s ease-in-out infinite;
}

html[data-theme='studio'] .upload-spinner::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: var(--fd-accent);
    box-shadow: 0 0 14px rgba(var(--fd-accent-rgb), 0.7);
    animation: studioSpinnerCore 1.3s ease-in-out infinite;
}

html[data-theme='stage'] .upload-spinner {
    background: none;
    filter: none;
    -webkit-mask: none;
    mask: none;
    animation: uploadSpinCW 1.1s linear infinite;
}

html[data-theme='stage'] .upload-spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--fd-accent);
    box-shadow:
        0 0 12px 3px rgba(var(--fd-accent-rgb), 0.9),
        0 0 24px 6px rgba(var(--fd-accent-rgb), 0.5);
}

html[data-theme='stage'] .upload-spinner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--fd-accent-bright);
    box-shadow:
        0 0 12px 3px rgba(var(--fd-accent-rgb), 0.9),
        0 0 24px 6px rgba(var(--fd-accent-rgb), 0.5);
}


/* ============================================================
   🎬 KÜÇÜK SPINNER (.upload-spinner-small) — 16px
   ============================================================ */
.upload-spinner-small {
    display: inline-block !important; 
    width: 16px !important; 
    height: 16px !important; 
    margin-right: 6px;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-right-color: transparent;
    opacity: 0.9;
    animation: uploadSpinCW 0.7s linear infinite;
}

html[data-theme='studio'] .upload-spinner-small {
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-right-color: transparent;
    animation: uploadSpinCW 0.7s linear infinite;
}

html[data-theme='stage'] .upload-spinner-small {
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-right-color: transparent;
    animation: uploadSpinCW 0.7s linear infinite;
}


/* ============================================================
   🎬 BUTON KONTRASTI — Parlak buton üzeri koyu halka
   ============================================================ */
.login-btn .upload-spinner-small,
.forgot-btn-primary .upload-spinner-small,
.btn-primary .upload-spinner-small {
    border-color: var(--fd-accent-ink) !important;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
    color: var(--fd-accent-ink);
}


/* ============================================================
   🎬 UPLOAD OVERLAY — TAM ORTALAMA
   ============================================================ */
.upload-overlay.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-overlay .spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100%;
    max-width: calc(100vw - 32px);
    padding: 28px;
    box-sizing: border-box;
}

.upload-overlay .spinner-container .upload-spinner {
    display: block;
    margin: 0 auto 20px auto;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.upload-overlay .spinner-container h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
    text-align: center;
    width: 100%;
}

.upload-overlay .spinner-container p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    text-align: center;
    width: 100%;
}

.upload-overlay .spinner-container #uploadProgressInfo {
    text-align: center;
    width: 100%;
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}


/* ============================================================
   🎬 LOADING OVERLAY (Login sayfası)
   ============================================================ */
.loading-overlay.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-overlay .upload-spinner {
    display: block;
    margin: 0 auto 16px auto;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.loading-overlay p {
    text-align: center;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
}

.fd-login-page .loading-overlay .upload-spinner {
    margin-bottom: 16px;
}

.fd-login-page .loading-overlay p {
    color: #f8eedf;
    font-size: 14px;
    padding: 0 24px;
    text-align: center;
}


/* ============================================================
   🎬 ESKİ SINIF UYUMLULUĞU (fa-spinner kalıntıları)
   ============================================================ */
.upload-overlay .spinner-container .spinner,
.loading-overlay .spinner {
    color: var(--fd-overlay-accent);
    font-size: 46px;
    margin-bottom: 16px;
}


/* ============================================================
   🎬 ADMIN VIDEO TAB BUTONLARI
   Aktif Glow + Pasif Sade + pointer-events garantili
   ============================================================ */

.admin-video-tab-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    border: 2px solid var(--fd-line);
    background: var(--fd-surface);
    color: var(--fd-muted);
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    
    /* 🔥 Tıklama garantisi */
    pointer-events: auto !important;
    position: relative;
    z-index: 1;
}

/* Hover — pasif buton */
.admin-video-tab-btn:hover:not(.is-active) {
    border-color: var(--fd-accent-line);
    color: var(--fd-accent);
    background: var(--fd-accent-soft);
}

/* 🔥 AKTİF BUTON — Glow efekti */
.admin-video-tab-btn.is-active {
    background: linear-gradient(115deg, var(--fd-accent-bright), var(--fd-accent));
    color: var(--fd-accent-ink);
    border-color: var(--fd-accent);
    transform: scale(1.08);
    box-shadow:
        0 0 0 3px rgba(var(--fd-accent-rgb), 0.25),
        0 0 16px rgba(var(--fd-accent-rgb), 0.65),
        0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 3;
    pointer-events: auto !important;
}

/* Aktif butonda ikon rengi */
.admin-video-tab-btn.is-active * {
    color: var(--fd-accent-ink);
}

/* Mobil için biraz daha küçük */
@media (max-width: 767px) {
    .admin-video-tab-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 7px;
    }
}
/* ============================================================
   🔥🔥🔥🔥🔥 VIDEO TAB — KESİN ÇÖZÜM (SON BLOK)
   TÜM class kombinasyonlarını destekler (.active + .is-active)
   var() YERİNE SABİT RENKLER kullanıldı — CSS değişkeni sorun çıkaramaz
   En sonda olduğu için HER ŞEYİ EZER
   ============================================================ */

/* ============ AKTİF BUTON — TÜM CLASS KOMBİNASYONLARI ============ */
.admin-video-tab-btn.is-active,
.admin-video-tab-btn.active,
.showreel-tab.is-active,
.showreel-tab.active,
.player-video-tab.is-active,
.player-video-tab.active,
.role-video-tab.is-active,
.role-video-tab.active {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    border: 3px solid #ffffff !important;
    border-style: solid !important;
    background: linear-gradient(115deg, #6cf2d5, #39dec3) !important;
    background-color: #39dec3 !important;
    background-image: linear-gradient(115deg, #6cf2d5, #39dec3) !important;
    color: #072b2b !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    transform: scale(1.12) !important;
    box-shadow:
        0 0 0 3px rgba(57, 222, 195, 0.5),
        0 0 18px rgba(57, 222, 195, 0.9),
        0 4px 14px rgba(0, 0, 0, 0.3) !important;
    z-index: 99 !important;
    opacity: 1 !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}

/* ============ AKTİF BUTON İÇİNDEKİ İKON/YAZI ============ */
.admin-video-tab-btn.is-active *,
.admin-video-tab-btn.active *,
.showreel-tab.is-active *,
.showreel-tab.active *,
.player-video-tab.is-active *,
.player-video-tab.active *,
.role-video-tab.is-active *,
.role-video-tab.active * {
    color: #072b2b !important;
}

/* ============================================================
   🔥 DOSYA INPUT'U — TEMA UYUMLU
   input[type="file"] için özel stil
   ============================================================ */

input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--fd-text) !important;
    background-color: var(--fd-input) !important;
    border: 2px solid var(--fd-line) !important;
    border-radius: 10px !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
}

input[type="file"]:hover {
    border-color: var(--fd-accent-line) !important;
    background-color: var(--fd-raised) !important;
}

input[type="file"]:focus {
    border-color: var(--fd-accent) !important;
    box-shadow: 0 0 0 3px rgba(var(--fd-accent-rgb), 0.13) !important;
}

input[type="file"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 🔥 "Dosya Seç" native butonunu tema yap */
input[type="file"]::file-selector-button {
    padding: 6px 14px;
    margin-right: 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: var(--fd-accent-ink);
    background: linear-gradient(110deg, var(--fd-accent-bright), var(--fd-accent));
    border: 1px solid var(--fd-accent-line);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--fd-accent-bright);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--fd-accent-rgb), 0.2);
}

input[type="file"]::file-selector-button:active {
    transform: translateY(0);
}

/* 🔥 Safari / WebKit için fallback */
input[type="file"]::-webkit-file-upload-button {
    padding: 6px 14px;
    margin-right: 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: var(--fd-accent-ink);
    background: linear-gradient(110deg, var(--fd-accent-bright), var(--fd-accent));
    border: 1px solid var(--fd-accent-line);
    border-radius: 8px;
    cursor: pointer;
}
/* ============================================================
   🔥 OYUNCULAR TABLOSU — TAM OVERRIDE (SADECE #page-players)
   Sütun genişlikleri + tema renkleri + font boyutları
   En sonda olduğu için her şeyi ezer
   ============================================================ */

/* ============ 1. SÜTUN GENİŞLİKLERİ ============ */

#page-players .table thead th {
    padding: 14px 10px !important;
}

#page-players .table tbody td {
    padding: 12px 10px !important;
}

/* İSİM — esnek, geniş */
#page-players .table th:nth-child(1),
#page-players .table td:nth-child(1) {
    width: auto;
    min-width: 220px;
    text-align: left !important;
}

/* TELEFON */
#page-players .table th:nth-child(2),
#page-players .table td:nth-child(2) {
    width: 120px;
    min-width: 120px;
    white-space: nowrap;
}

/* CİNSİYET */
#page-players .table th:nth-child(3),
#page-players .table td:nth-child(3) {
    width: 90px;
    min-width: 90px;
    text-align: center !important;
}

/* YAŞ */
#page-players .table th:nth-child(4),
#page-players .table td:nth-child(4) {
    width: 55px;
    min-width: 55px;
    text-align: center !important;
}

/* ŞEHİR */
#page-players .table th:nth-child(5),
#page-players .table td:nth-child(5) {
    width: 110px;
    min-width: 110px;
}

/* BOY */
#page-players .table th:nth-child(6),
#page-players .table td:nth-child(6) {
    width: 70px;
    min-width: 70px;
    text-align: center !important;
}

/* KİLO */
#page-players .table th:nth-child(7),
#page-players .table td:nth-child(7) {
    width: 65px;
    min-width: 65px;
    text-align: center !important;
}

/* DURUM */
#page-players .table th:nth-child(8),
#page-players .table td:nth-child(8) {
    width: 90px;
    min-width: 90px;
    text-align: center !important;
}

/* İŞLEMLER — sağda sabit */
#page-players .table th:nth-child(9),
#page-players .table td:nth-child(9) {
    width: 150px;
    min-width: 150px;
    text-align: right !important;
    white-space: nowrap;
}


/* ============ 2. TEMA RENKLERİ — MUTLAK OVERRIDE ============ */

/* Tablo genel — tüm hücreler tema text rengi */
#page-players table.table {
    color: var(--fd-text) !important;
}

#page-players table.table tbody tr,
#page-players table.table tbody td {
    color: var(--fd-text) !important;
    font-size: 13px !important;
}

#page-players table.table tbody td strong,
#page-players table.table tbody td a,
#page-players table.table tbody td .player-name-link {
    color: var(--fd-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Header — tema muted */
#page-players table.table thead th {
    color: var(--fd-muted) !important;
}

/* Muted hücreler (telefon, şehir) */
#page-players table.table tbody td span[style*="var(--fd-muted)"] {
    color: var(--fd-muted) !important;
}


/* ============ 3. CİNSİYET BADGE ============ */

/* Erkek — mavi */
#page-players table.table tbody td span[style*="background:#dbeafe"],
#page-players table.table tbody td span[style*="background: #dbeafe"] {
    background: var(--fd-blue-surface) !important;
    color: var(--fd-blue) !important;
    border: 1px solid var(--fd-blue-line) !important;
}

/* Kadın — pembe */
#page-players table.table tbody td span[style*="background:#fce7f3"],
#page-players table.table tbody td span[style*="background: #fce7f3"] {
    background: rgba(219, 39, 119, 0.15) !important;
    color: #efb8cb !important;
    border: 1px solid rgba(219, 39, 119, 0.4) !important;
}

/* Studio temasında kadın badge açık pembe */
html[data-theme='studio'] #page-players table.table tbody td span[style*="background:#fce7f3"],
html[data-theme='studio'] #page-players table.table tbody td span[style*="background: #fce7f3"] {
    background: #fce7f3 !important;
    color: #be185d !important;
    border-color: #f9a8d4 !important;
}

/* Studio temasında erkek badge */
html[data-theme='studio'] #page-players table.table tbody td span[style*="background:#dbeafe"],
html[data-theme='studio'] #page-players table.table tbody td span[style*="background: #dbeafe"] {
    background: #dbeafe !important;
    color: #1e40af !important;
    border-color: #93c5fd !important;
}


/* ============ 4. İŞLEM BUTONLARI ============ */

#page-players .action-btn.profile {
    background: var(--fd-accent-soft) !important;
    color: var(--fd-accent) !important;
    border: 1px solid var(--fd-accent-line) !important;
}

#page-players .action-btn.edit {
    background: var(--fd-blue-surface) !important;
    color: var(--fd-blue) !important;
    border: 1px solid var(--fd-blue-line) !important;
}

#page-players .action-btn.toggle-status {
    background: var(--fd-warning-surface) !important;
    color: var(--fd-warning) !important;
    border: 1px solid var(--fd-warning-line) !important;
}

#page-players .action-btn.delete {
    background: var(--fd-red-surface) !important;
    color: var(--fd-red) !important;
    border: 1px solid var(--fd-red-line) !important;
}

/* Hover efektleri */
#page-players .action-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

/* Action button içindeki ikonlar — renk inherit */
#page-players .action-btn i {
    color: inherit !important;
}


/* ============ 5. STATUS BADGE ============ */

#page-players table.table tbody td .status-badge {
    color: inherit !important;
}

#page-players table.table tbody td .status-badge.active {
    color: var(--fd-green) !important;
    background: var(--fd-green-surface) !important;
    border: 1px solid var(--fd-green-line) !important;
}

#page-players table.table tbody td .status-badge.inactive {
    color: var(--fd-red) !important;
    background: var(--fd-red-surface) !important;
    border: 1px solid var(--fd-red-line) !important;
}

#page-players table.table tbody td .status-badge.completed {
    color: var(--fd-blue) !important;
    background: var(--fd-blue-surface) !important;
    border: 1px solid var(--fd-blue-line) !important;
}


/* ============ 6. STUDIO TEMASI — EK İNCE AYAR ============ */

/* Studio açık temada isim koyu renk olsun */
html[data-theme='studio'] #page-players table.table tbody td strong,
html[data-theme='studio'] #page-players table.table tbody td .player-name-link {
    color: #29252a !important;
}

/* Studio açık temada muted hücreler */
html[data-theme='studio'] #page-players table.table tbody td span[style*="var(--fd-muted)"] {
    color: #70666c !important;
}