.ed-wrapper {
    width: 100%;
    max-width: var(--layout-max-width, 1200px);
    margin: 0 auto;
    font-family: var(--font-main, 'Inter', sans-serif);
    background: var(--surface-800, #0d0d0d);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.ed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--surface-700, #1a1a1a);
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.ed-header-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ed-header-left-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ed-sponsor-logo {
    height: 32px;
}

.ed-status.status-active {
    color: #22c55e;
    font-weight: 700;
}

.ed-status.status-finished {
    color: var(--text-gray);
    font-weight: 700;
}

.ed-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-light);
    margin: 0;
    text-transform: uppercase;
}

.ed-status {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
}

.ed-status.badge-active {
    color: var(--brand-red, #f59e0b);
}

.ed-tabs {
    display: flex;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 16px;
    margin-bottom: 16px;
}

.ed-tab {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-top: 12px;
    padding-bottom: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.ed-tab:hover {
    color: var(--text-light);
}

.ed-tab.active {
    color: var(--brand-red, #f59e0b);
}

.ed-tab.active::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-red, #f59e0b);
}

.ed-content-area {
    display: flex;
    gap: 30px;
}

.ed-left {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ed-mt-10 {
    margin-top: 10px;
}

.ed-total-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 5px;
    text-align: center;
    width: 100%;
}

.ed-total-lbl {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 700;
    display: block;
}

.ed-total-val {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 900;
    display: block;
    margin-top: 4px;
}

.ed-actions {
    margin-top: 10px;
    text-align: center;
}

.ed-btn {
    padding: 9px 12px;
    border-radius: 10px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 45px;
    justify-content: center;
    transition: all .1s ease-in-out;
    background: var(--brand-red);
    background-image: var(--gradient, linear-gradient(135deg, var(--brand-red, #f59e0b), var(--accent-hover, #d97706)));
    color: var(--text-on-accent, #000);
    text-decoration: none;
    width: 100%;
}

.ed-btn:hover {
    box-shadow: 0 0 10px rgba(var(--primary), 0.3);
}

.ed-btn-disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: not-allowed;
    background-image: none;
    box-shadow: none;
}

.ed-btn-disabled:hover {
    box-shadow: none;
}

.ed-btn-success {
    background: color-mix(in srgb, var(--success-color, #10b981) 12%, transparent);
    color: var(--success-color, #10b981);
    cursor: not-allowed;
    background-image: none;
    box-shadow: none;
}

.ed-btn-success:hover {
    box-shadow: none;
}

.ed-btn-danger {
    background: rgba(var(--primary), 0.1);
    color: var(--brand-red-soft, #fcd34d);
    cursor: not-allowed;
    background-image: none;
    box-shadow: none;
}

.ed-btn-danger:hover {
    box-shadow: none;
}

.ed-rules-text {
    color: rgba(255,255,255,0.8);
}

.ed-winner-rank-wide {
    min-width: 65px;
}

.ed-no-results {
    text-align: center;
    color: rgba(255,255,255,0.6);
    padding: 2.5rem 0;
}

.ed-image-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-900);
}

.ed-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.ed-dates {
    display: flex;
    gap: 12px;
}

.ed-date-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ed-date-lbl {
    font-size: 10px;
    color: var(--text-gray);
    font-weight: 600;
}

.ed-date-val {
    font-size: 13px;
    color: var(--text-on-dark, #f1f5f9);
    font-weight: 700;
}

.ed-right {
    flex-grow: 1;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.6;
}

.ed-rules-content p {
    margin-top: 0;
    margin-bottom: 20px;
}

.ed-rules-content p:last-child {
    margin-bottom: 0;
}

.ed-rules-content strong {
    color: var(--text-light);
    font-weight: 700;
}

.ed-rules-content u {
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
}

.rule-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rule-check i {
    color: var(--success-color);
    font-size: 20px;
    margin-top: 2px;
}

@media (max-width: 992px) {
    .ed-content-area {
        flex-direction: column;
    }

    .ed-left {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .ed-wrapper {
        padding: 20px;
    }

    .ed-title {
        font-size: 18px;
    }
}

/* =========================================
   SONUÇLAR PANE
   ========================================= */
.ed-tab-pane {
    display: none;
}

.ed-tab-pane.active {
    display: block;
}

.ed-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.ed-podium-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    position: relative;
    width: 100px;
}

.ed-podium-card.rank-1 {
    width: 120px;
    padding: 24px 10px;
    border-color: rgba(var(--primary), 0.3);
    background: rgba(var(--primary), 0.05);
}

.ed-podium-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red, #f59e0b);
    color: var(--text-light);
    font-weight: 800;
    font-size: 11px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.ed-podium-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.ed-podium-card.rank-1 .ed-podium-avatar {
    width: 60px;
    height: 60px;
}

.ed-podium-name {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 700;
    text-align: center;
    word-break: break-all;
}

.ed-winners-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ed-winner-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ed-winner-rank {
    font-size: 11px;
    color: var(--text-secondary);
    width: 80px;
    font-weight: 600;
}

.ed-winner-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ed-winner-name {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 700;
}