.altin-sayfa {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem 40px;
    width: 100%;
}

.altin-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0 1.25rem;
    flex-wrap: wrap;
}

.altin-baslik-sol {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.altin-ikon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a9791d, #f5c518 45%, #d4af37);
    box-shadow: 0 0 24px rgba(245, 197, 24, 0.45);
}

.altin-ikon i {
    font-size: 24px;
    color: #1a1406;
}

.altin-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 3px 0;
    letter-spacing: -0.3px;
    background: linear-gradient(95deg, #a9791d, #f5c518 38%, #ffe98a 55%, #d4af37 78%, #a9791d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.altin-spark {
    -webkit-text-fill-color: #fff0b3;
    color: #fff0b3;
    font-size: 0.7em;
}

.altin-alt-baslik {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.altin-son-tarama {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.altin-son-tarama i {
    color: #f5c518;
}

.altin-son-tarama b {
    color: var(--text-primary);
    font-weight: 700;
}

.altin-bos {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.altin-bos i {
    color: #f5c518;
    margin-right: 6px;
}

.altin-filtre {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 1rem;
}

.altin-filtre > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.altin-filtre label {
    font-size: 10.5px;
    color: #f5c518;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.altin-filtre select,
.altin-filtre input {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    min-width: 150px;
    transition: border-color .2s;
}

.altin-filtre input[type="number"] {
    min-width: 0;
    width: 100px;
}

.altin-filtre select:focus,
.altin-filtre input:focus {
    outline: none;
    border-color: rgba(245, 197, 24, 0.6);
}

.altin-filtre select option {
    background: var(--secondary-bg, #1a1a2e);
    color: var(--text-primary);
}

.kaynak-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kaynak-chk {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 9px;
    border-radius: 10px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    user-select: none;
    white-space: nowrap;
    transition: border-color .2s, color .2s, background-color .2s;
}

.altin-filtre .kaynak-chk {
    text-transform: none;
    letter-spacing: normal;
    font-size: 12px;
    color: var(--text-secondary);
}

.kaynak-chk:hover {
    border-color: rgba(245, 197, 24, 0.4);
}

.kaynak-chk input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.kaynak-kutu {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: transparent;
    font-size: 9px;
    transition: all .2s;
}

.kaynak-chk:has(input:checked) {
    border-color: rgba(245, 197, 24, 0.55);
    color: var(--text-primary);
    background: rgba(245, 197, 24, 0.1);
}

.kaynak-chk:has(input:checked) .kaynak-kutu {
    background: linear-gradient(135deg, #a9791d, #f5c518);
    border-color: transparent;
    color: #1a1406;
}

.kaynak-chk:has(input:focus-visible) {
    outline: 2px solid #f5c518;
    outline-offset: 2px;
}

.altin-tablo-sar {
    overflow-x: auto;
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
}

.altin-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}

.altin-tablo thead th {
    background: rgba(245, 197, 24, 0.1);
    color: #f5c518;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(245, 197, 24, 0.25);
}

.altin-tablo tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    vertical-align: middle;
}

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

.altin-tablo tbody tr:hover {
    background: rgba(245, 197, 24, 0.05);
}

.altin-tablo .t-sayi {
    text-align: center;
}

.altin-tablo .t-islem {
    text-align: right;
}

.altin-market {
    font-weight: 700;
    white-space: normal;
    min-width: 140px;
}

.altin-market small {
    display: block;
    font-weight: 500;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.kombo-kosul {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 2px 0;
}

.kombo-kosul + .kombo-kosul {
    border-top: 1px dashed rgba(245, 197, 24, 0.18);
    margin-top: 3px;
    padding-top: 5px;
}

.kombo-market {
    font-weight: 700;
    min-width: 110px;
}

.kombo-kosul .altin-deger {
    font-size: 13px;
}

.altin-tablo tbody tr.kombo-satir {
    background: rgba(245, 197, 24, 0.035);
}

.altin-tablo tbody tr.kombo-satir td:first-child {
    box-shadow: inset 3px 0 0 #f5c518;
}

.altin-tur-rozet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .3px;
    white-space: nowrap;
}

.altin-tur-rozet.tur-2 {
    background: rgba(245, 197, 24, 0.14);
    border: 1px solid rgba(245, 197, 24, 0.4);
    color: #f5c518;
}

.altin-tur-rozet.tur-3 {
    background: linear-gradient(135deg, #a9791d, #f5c518 55%, #d4af37);
    color: #1a1406;
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.35);
}

.altin-tur-rozet.tur-4 {
    background: linear-gradient(135deg, #ffe98a, #f5c518 40%, #a9791d);
    color: #1a1406;
    border: 1px solid #fff0b3;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.6);
}

.altin-kaynak-pill {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.altin-sonuc-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 7px;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.3);
    color: #f5c518;
    font-size: 12px;
    font-weight: 700;
}

.altin-deger {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    color: #ffe98a;
}

.altin-isabet {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 7px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: #4ade80;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.altin-isabet.orta {
    background: rgba(245, 197, 24, 0.1);
    border-color: rgba(245, 197, 24, 0.35);
    color: #f5c518;
}

.altin-eslesme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    border-radius: 7px;
    background: linear-gradient(135deg, #a9791d, #f5c518);
    color: #1a1406;
    font-weight: 800;
    font-size: 12px;
}

.altin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, opacity .2s;
}

.altin-btn-ikincil {
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.3);
    color: #f5c518;
}

.altin-btn-ikincil:hover {
    background: rgba(245, 197, 24, 0.22);
}

.altin-git-btn {
    background: linear-gradient(135deg, #a9791d, #f5c518 55%, #d4af37);
    border: 1px solid transparent;
    color: #1a1406;
}

.altin-git-btn:hover {
    opacity: .88;
}

.altin-islemler {
    display: inline-flex;
    gap: 6px;
}

.altin-tablo td.altin-yukleniyor {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text-secondary);
    white-space: normal;
}

.altin-tablo td.altin-yukleniyor i {
    color: #f5c518;
    margin-right: 6px;
}

.altin-sayfa-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.altin-sayfa-nav button {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 197, 24, 0.25);
    color: var(--text-primary);
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: background .2s;
}

.altin-sayfa-nav button:hover:not(:disabled) {
    background: rgba(245, 197, 24, 0.22);
}

.altin-sayfa-nav button:disabled {
    opacity: .35;
    cursor: default;
}

.altin-sayfa-uyari {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.altin-sayfa-uyari i {
    color: #f5c518;
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.altin-sayfa-uyari p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.strat-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}

.strat-modal.acik {
    display: flex;
}

.strat-modal .box {
    position: relative;
    background: var(--bg-secondary, #1a1a2e);
    border: 1px solid rgba(245, 197, 24, 0.3);
    border-radius: 16px;
    width: 100%;
    max-width: 820px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 197, 24, 0.08);
    overflow: hidden;
}

.strat-modal .box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.1), rgba(245, 197, 24, 0));
    border-bottom: 1px solid rgba(245, 197, 24, 0.2);
}

.box-baslik {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.box-ikon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a9791d, #f5c518 45%, #d4af37);
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.35);
}

.box-ikon i {
    color: #1a1406;
    font-size: 16px;
}

.strat-modal .box-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
}

.strat-modal .box-head .x {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
    transition: background .2s;
}

.strat-modal .box-head .x:hover {
    background: rgba(245, 197, 24, 0.25);
}

.strat-modal .box-body {
    padding: 18px 20px 20px;
}

.mac-ozet {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.oz-kart {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
}

.oz-kart b {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.oz-kart small {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--text-secondary);
}

.oz-kart.yesil b { color: #4ade80; }
.oz-kart.kirmizi b { color: #f87171; }
.oz-kart.altin { border-color: rgba(245, 197, 24, 0.35); background: rgba(245, 197, 24, 0.08); }
.oz-kart.altin b { color: #f5c518; }

.mac-durum-sec {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
}

.mac-durum-sec button {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.mac-durum-sec button:hover {
    color: var(--text-primary);
}

.mac-durum-sec button.on {
    background: linear-gradient(135deg, #a9791d, #f5c518);
    color: #1a1406;
}

.strat-bos {
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
}

.strat-bos i {
    color: #f5c518;
    margin-right: 6px;
}

.mac-tarih-bas {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #f5c518;
    padding: 14px 2px 6px;
}

.mac-tarih-bas::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(245, 197, 24, 0.2);
}

.mac-tarih-bas:first-child {
    padding-top: 0;
}

.mac-tarih-bas .gun-etiket {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(245, 197, 24, 0.15);
    font-size: 10px;
}

.mac-satir {
    display: grid;
    grid-template-columns: 46px 1fr auto 86px;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    margin-bottom: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    font-size: 13px;
    transition: background .2s;
}

.mac-satir:hover {
    background: rgba(245, 197, 24, 0.05);
}

.mac-satir.kazandi { border-left-color: rgba(74, 222, 128, 0.7); }
.mac-satir.kaybetti { border-left-color: rgba(248, 113, 113, 0.6); }
.mac-satir.bekliyor {
    border-left-color: #f5c518;
    background: rgba(245, 197, 24, 0.07);
    border-color: rgba(245, 197, 24, 0.22);
    border-left-color: #f5c518;
}

.mac-satir .s-saat {
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: 12px;
}

.mac-satir .s-mac {
    min-width: 0;
}

.mac-satir .s-mac .takimlar {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mac-satir .s-mac .takimlar b {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 3px;
}

.mac-satir .s-mac small {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
}

.mac-skor {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.mac-skor .sk {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-variant-numeric: tabular-nums;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.mac-skor .sk i {
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: .5px;
}

.mac-skor .bekle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f5c518;
    font-size: 12px;
    font-weight: 700;
}

.mac-sonuc {
    text-align: right;
}

.mac-satir .b {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .3px;
}

.b.kazandi { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.b.kaybetti { background: rgba(248, 113, 113, 0.14); color: #f87171; }
.b.bekliyor { background: rgba(245, 197, 24, 0.18); color: #f5c518; }
.b.iptal { background: rgba(148, 163, 184, 0.12); color: #94a3b8; text-decoration: line-through; }

.mac-uyari {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-secondary);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .altin-sayfa {
        padding: 0 16px 32px;
    }

    .altin-baslik {
        flex-direction: column;
        align-items: flex-start;
    }

    .altin-filtre {
        flex-direction: column;
        align-items: stretch;
    }

    .altin-filtre select,
    .altin-filtre input,
    .altin-filtre input[type="number"] {
        min-width: 0;
        width: 100%;
    }

    .altin-tablo {
        font-size: 12px;
    }

    .mac-ozet {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .strat-modal {
        padding: 16px 10px;
    }

    .strat-modal .box-body {
        padding: 14px;
    }

    .mac-satir {
        grid-template-columns: 40px 1fr auto;
        row-gap: 6px;
    }

    .mac-satir .mac-skor {
        grid-column: 2 / 3;
        justify-content: flex-start;
    }

    .mac-satir .mac-sonuc {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }
}
