:root{--ac-panel:rgba(10,14,20,.96);--ac-line:rgba(255,255,255,.075);--ac-gold:#e1b141;--ac-text:#edf1f6;--ac-muted:#8290a4}
.ashunt-character-page{position:relative;display:flex;flex-direction:column;gap:16px;color:var(--ac-text)}
.ashunt-character-page:before{content:"";position:absolute;inset:-30px;z-index:-1;background:radial-gradient(circle at 16% 0%,rgba(225,177,65,.1),transparent 30%),radial-gradient(circle at 82% 18%,rgba(92,54,22,.1),transparent 34%)}
.ashunt-character-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(470px,.9fr);gap:28px;align-items:center;min-height:190px;padding:30px 34px;overflow:hidden;background:linear-gradient(112deg,rgba(8,11,16,.985),rgba(14,19,27,.95));border:1px solid rgba(225,177,65,.3);border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 20px 50px rgba(0,0,0,.28)}
.ashunt-character-hero:after{content:"";position:absolute;right:-80px;top:-120px;width:360px;height:360px;border:1px solid rgba(225,177,65,.07);border-radius:50%;box-shadow:0 0 0 40px rgba(225,177,65,.022),0 0 0 80px rgba(225,177,65,.012)}
.ashunt-character-hero__content,.ashunt-character-hero__stats{position:relative;z-index:2}.ashunt-character-hero__eyebrow{display:block;margin-bottom:12px;color:var(--ac-gold);font-size:.66rem;font-weight:900;letter-spacing:.17em}.ashunt-character-hero__identity{display:flex;align-items:center;gap:18px}.ashunt-character-hero__avatar{display:inline-flex;width:92px;height:92px;flex:0 0 92px;overflow:hidden;border:1px solid rgba(225,177,65,.44);border-radius:16px;background:#090c11}.ashunt-character-hero__avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}.ashunt-character-hero h1{margin:0 0 12px;color:#fff;font-size:clamp(2rem,4vw,3.8rem);font-weight:900;line-height:.98;letter-spacing:-.04em}.ashunt-character-hero__meta{display:flex;flex-wrap:wrap;gap:8px}.ashunt-character-hero__meta span{display:inline-flex;min-height:31px;align-items:center;gap:7px;padding:0 10px;color:#aab4c3;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.065);border-radius:8px;font-size:.65rem;font-weight:800}.ashunt-character-hero__meta i{color:#c99b34}.ashunt-character-hero__meta .is-online{color:#6ce0a7}.ashunt-character-hero__meta .is-offline{color:#ff818b}
.ashunt-character-hero__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ashunt-character-stat{display:flex;min-height:76px;align-items:center;gap:12px;padding:13px 15px;background:rgba(255,255,255,.026);border:1px solid rgba(255,255,255,.065);border-radius:12px}.ashunt-character-stat__icon{display:inline-flex;width:39px;height:39px;flex:0 0 39px;align-items:center;justify-content:center;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}.ashunt-character-stat small,.ashunt-character-stat strong{display:block}.ashunt-character-stat small{margin-bottom:3px;color:#6f7d91;font-size:.56rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.ashunt-character-stat strong{font-size:.9rem}.ashunt-character-stat--hp .ashunt-character-stat__icon{color:#ff717d}.ashunt-character-stat--mp .ashunt-character-stat__icon{color:#4eb4ff}.ashunt-character-stat--str .ashunt-character-stat__icon{color:#f0a34a}.ashunt-character-stat--int .ashunt-character-stat__icon{color:#b996ff}
.ashunt-character-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);gap:16px}.ashunt-character-panel{overflow:hidden;background:var(--ac-panel);border:1px solid var(--ac-line);border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.02),0 18px 42px rgba(0,0,0,.18)}
.ashunt-character-tabs{padding:14px 14px 0;background:rgba(255,255,255,.012)}.ashunt-character-tabs .nav-tabs{display:flex;flex-wrap:wrap;gap:8px;border:0}.ashunt-character-tabs .nav-link{display:inline-flex;min-height:43px;align-items:center;gap:8px;padding:0 14px;color:#7f8b9f;background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.07);border-radius:9px;font-size:.66rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.ashunt-character-tabs .nav-link:hover{color:#d9ad49;border-color:rgba(225,177,65,.26)}.ashunt-character-tabs .nav-link.active{color:#f0c861;background:linear-gradient(180deg,rgba(225,177,65,.14),rgba(59,42,13,.1));border-color:rgba(225,177,65,.44);box-shadow:inset 0 -2px 0 rgba(225,177,65,.72)}.ashunt-character-tab-content{min-height:470px;padding:16px}
.ashunt-character-info-grid{display:grid;gap:9px}.ashunt-character-info-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1fr);align-items:center;min-height:56px;padding:10px 14px;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(255,255,255,.008));border:1px solid rgba(255,255,255,.055);border-radius:10px;transition:.18s}.ashunt-character-info-row:hover{transform:translateX(2px);border-color:rgba(225,177,65,.16)}.ashunt-character-info-row__label{display:inline-flex;align-items:center;gap:9px;color:#7b8799;font-size:.67rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.ashunt-character-info-row__label i{width:17px;color:#c7972f;text-align:center}.ashunt-character-info-row strong{font-size:.75rem}.ashunt-character-info-link{color:#e6b94d!important;text-decoration:none!important}.ashunt-character-info-race,.ashunt-character-status{display:inline-flex;align-items:center;gap:7px}.ashunt-character-status i{font-size:8px}.ashunt-character-status.is-online{color:#58d99a}.ashunt-character-status.is-offline{color:#ff7f89}
.ashunt-character-panel--viewer,.ashunt-character-viewer{min-height:620px}.ashunt-character-viewer{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 50% 43%,rgba(225,177,65,.095),transparent 34%),linear-gradient(180deg,rgba(13,18,26,.95),rgba(5,8,12,.985))}.ashunt-character-viewer:before{content:"";position:absolute;inset:20px;z-index:-2;border:1px solid rgba(225,177,65,.08);border-radius:16px}.ashunt-character-viewer__glow{position:absolute;top:13%;left:50%;z-index:-1;width:330px;height:430px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle,rgba(225,177,65,.14),rgba(225,177,65,.035) 40%,transparent 70%)}.ashunt-character-viewer__model{position:absolute;inset:32px 70px 70px;width:calc(100% - 140px);height:calc(100% - 102px);object-fit:contain;object-position:center bottom;z-index:1;filter:drop-shadow(0 20px 26px rgba(0,0,0,.5))}.ashunt-character-viewer__inventory{position:absolute;inset:54px 30px 88px;z-index:3;pointer-events:none}.ashunt-character-viewer__inventory .table-responsive,.ashunt-character-viewer__inventory table,.ashunt-character-viewer__inventory td{pointer-events:auto}.ashunt-character-viewer__platform{position:absolute;left:50%;bottom:61px;width:260px;height:42px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(225,177,65,.2),rgba(225,177,65,.05) 42%,transparent 72%)}.ashunt-character-switch{position:absolute;left:50%;bottom:24px;z-index:5;display:inline-flex;height:42px;align-items:center;justify-content:center;gap:8px;padding:0 18px;transform:translateX(-50%);color:#171108;background:linear-gradient(180deg,#efca62,#c4932d);border:1px solid rgba(255,229,153,.28);border-radius:9px;font-size:.68rem;font-weight:900}
.table.table-inventory{width:100%;height:100%;margin:0!important}.table.table-inventory tbody{display:flex;height:100%;flex-direction:column;justify-content:space-between}.table.table-inventory tr{display:flex;justify-content:space-between}.table.table-inventory td,.table.table-inventory th{padding:4px!important;background:transparent!important;border:0!important}.sro-item-detail{position:relative;width:44px;min-height:44px;margin:0 auto;background:transparent!important;border:1px solid rgba(225,177,65,.2);border-radius:9px;box-shadow:inset 0 0 14px rgba(0,0,0,.38),0 7px 16px rgba(0,0,0,.18)}.sro-item-detail.sro-item-special{border-color:rgba(255,167,48,.56)}.sro-item-detail .item{position:relative;width:38px;height:38px;float:none;margin:2px;padding:0!important;overflow:hidden;color:#fff;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.035),rgba(8,11,16,.95));border-radius:7px}.sro-item-detail .item>img{position:absolute;width:38px;height:38px;object-fit:contain}.sro-item-detail .item .amount{position:absolute;right:1px;bottom:1px;z-index:5;padding:0 3px;background:rgba(0,0,0,.68);border-radius:3px;font-size:9px}.sro-item-detail .info{display:none}.sro-item-detail .tooltip{position:fixed;z-index:9999;visibility:hidden;width:300px;min-height:160px;padding:8px;opacity:0;color:#fff;background:rgba(13,17,28,.96);border:1px solid rgba(128,139,186,.68);border-radius:7px;font-size:11px;line-height:15px;text-align:left!important;transition:opacity .18s}.sro-item-detail:hover{border-color:rgba(240,198,91,.6)}.sro-item-detail:hover .tooltip{visibility:visible;opacity:1}#display-inventory .d-none{display:none!important}
.ashunt-character-tab-content .table{margin:0;color:#cfd6e0}.ashunt-character-tab-content .table th,.ashunt-character-tab-content .table td{padding:13px 14px;background:rgba(255,255,255,.012);border-color:rgba(255,255,255,.055);font-size:.68rem}.ashunt-character-tab-content .table th{color:#6e7b90;font-size:.58rem;font-weight:900;text-transform:uppercase}
@media(max-width:1199.98px){.ashunt-character-hero{grid-template-columns:1fr}.ashunt-character-grid{grid-template-columns:1fr}.ashunt-character-panel--viewer,.ashunt-character-viewer{min-height:680px}}
@media(max-width:767.98px){.ashunt-character-hero{padding:24px 20px}.ashunt-character-hero__avatar{width:72px;height:72px;flex-basis:72px}.ashunt-character-hero__stats{grid-template-columns:1fr 1fr}.ashunt-character-info-row{grid-template-columns:1fr;gap:7px}.ashunt-character-viewer__model{inset:42px 40px 78px;width:calc(100% - 80px);height:calc(100% - 120px)}}
@media(max-width:575.98px){.ashunt-character-hero__identity{flex-direction:column;align-items:flex-start}.ashunt-character-hero__stats{grid-template-columns:1fr}.ashunt-character-tabs .nav-link{width:100%;justify-content:center}.ashunt-character-panel--viewer,.ashunt-character-viewer{min-height:560px}.ashunt-character-viewer__inventory{inset:44px 12px 88px}.sro-item-detail{width:40px;min-height:40px}.sro-item-detail .item,.sro-item-detail .item>img{width:34px;height:34px}}

/* =========================================================
   ASHUNT CHARACTER HISTORY TABLES
========================================================= */

.ashunt-history {
    width: 100%;
}

.ashunt-history .table-responsive {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 12px;
    background:
        linear-gradient(
            180deg,
            rgba(14, 18, 25, .94),
            rgba(9, 12, 17, .97)
        );
}

.ashunt-history-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ashunt-history-table th,
.ashunt-history-table td {
    padding: 15px 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    vertical-align: middle;
    text-align: left;
}

.ashunt-history-table th {
    color: #69768a;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .028),
            rgba(255, 255, 255, .012)
        );
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.ashunt-history-table tbody tr:not(.ashunt-history-empty-row) {
    transition:
        background .18s ease,
        box-shadow .18s ease;
}

.ashunt-history-table tbody tr:not(.ashunt-history-empty-row):hover {
    background:
        linear-gradient(
            90deg,
            rgba(225, 177, 65, .045),
            rgba(225, 177, 65, .012)
        );
    box-shadow:
        inset 3px 0 0 rgba(225, 177, 65, .62);
}

.ashunt-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.ashunt-history-message,
.ashunt-history-unique,
.ashunt-history-player,
.ashunt-history-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dce2eb;
    font-size: .69rem;
    font-weight: 700;
}

.ashunt-history-message i,
.ashunt-history-unique i {
    color: #d0a13a;
}

.ashunt-history-time {
    color: #7f8ca0;
    white-space: nowrap;
}

.ashunt-history-time i {
    color: #66758a;
}

.ashunt-history-points {
    display: inline-flex;
    min-width: 54px;
    min-height: 29px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    color: #f0c860;
    background: rgba(225, 177, 65, .08);
    border: 1px solid rgba(225, 177, 65, .19);
    border-radius: 7px;
    font-size: .68rem;
    font-weight: 900;
}

.ashunt-history-player--killer {
    color: #6bdca1;
}

.ashunt-history-player--killer i {
    color: #52cc91;
}

.ashunt-history-player--dead {
    color: #ff828c;
}

.ashunt-history-player--dead i {
    color: #ef6f7a;
}

/* Empty state */

.ashunt-history-empty-row td {
    padding: 0 !important;
    border-bottom: 0 !important;
}

.ashunt-history-empty {
    display: flex;
    min-height: 290px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 46px 20px;
    text-align: center;
}

.ashunt-history-empty__icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #d7aa42;
    background:
        radial-gradient(
            circle,
            rgba(225, 177, 65, .12),
            rgba(225, 177, 65, .035)
        );
    border: 1px solid rgba(225, 177, 65, .20);
    border-radius: 17px;
    box-shadow:
        inset 0 0 18px rgba(225, 177, 65, .035);
}

.ashunt-history-empty__icon i {
    font-size: 1.15rem;
}

.ashunt-history-empty strong {
    color: #edf1f6;
    font-size: .84rem;
    font-weight: 900;
}

.ashunt-history-empty small {
    max-width: 390px;
    margin-top: 6px;
    color: #718096;
    font-size: .64rem;
    line-height: 1.55;
}

/* Responsive card layout */

@media (max-width: 680px) {
    .ashunt-history .table-responsive {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .ashunt-history-table,
    .ashunt-history-table tbody,
    .ashunt-history-table tr,
    .ashunt-history-table td {
        display: block;
        width: 100%;
    }

    .ashunt-history-table thead {
        display: none;
    }

    .ashunt-history-table tbody {
        display: grid;
        gap: 10px;
    }

    .ashunt-history-table tbody tr:not(.ashunt-history-empty-row) {
        overflow: hidden;
        background:
            linear-gradient(
                180deg,
                rgba(17, 22, 30, .96),
                rgba(10, 14, 20, .98)
            );
        border: 1px solid rgba(255, 255, 255, .065);
        border-radius: 11px;
    }

    .ashunt-history-table td {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 11px 13px;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
    }

    .ashunt-history-table td::before {
        content: attr(data-label);
        color: #667489;
        font-size: .55rem;
        font-weight: 900;
        letter-spacing: .065em;
        text-transform: uppercase;
    }

    .ashunt-history-empty-row {
        display: block;
    }

    .ashunt-history-empty-row td {
        display: block;
    }

    .ashunt-history-empty-row td::before {
        display: none;
    }
}


/* =========================================================
   INVENTORY SLOT FINAL SIZE OVERRIDE
========================================================= */

.ashunt-character-viewer .sro-item-detail {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    overflow: hidden !important;
    border-radius: 7px !important;
}

.ashunt-character-viewer .sro-item-detail .item {
    width: 38px !important;
    height: 38px !important;
    margin: 1px !important;
    border-radius: 6px !important;
}

.ashunt-character-viewer .sro-item-detail .item > img {
    top: 50% !important;
    left: 50% !important;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
    transform: translate(-50%, -50%) !important;
}

.ashunt-character-viewer .sro-item-detail:hover .item > img {
    transform: translate(-50%, -50%) !important;
}

/* Character page default Metronic header */

.card.downloads > .card-header{
    display:none;
}

.ashunt-page-title{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:24px;
}

.ashunt-page-title i{
    color:#d8a53b;
    font-size:26px;
}

.ashunt-page-title h1{
    margin:0;
    color:#fff;
    font-size:38px;
    font-weight:800;
}

/* =========================================================
   CHARACTER PAGE — REMOVE METRONIC OUTER CARD
========================================================= */

/*
 * Yalnızca Character sayfasını saran Metronic kartını etkiler.
 * Diğer sayfalardaki .card.downloads yapıları değişmez.
 */
body:has(.ashunt-character-page) .card.downloads {
    overflow: visible !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* Eski Character - SROinfo / Sub title başlığı */
body:has(.ashunt-character-page)
.card.downloads > .card-header {
    display: none !important;
}

/* Siyah dış gövdeyi kaldırır */
body:has(.ashunt-character-page)
.card.downloads > .card-body {
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* İçerikte oluşabilecek Metronic siyah zeminleri temizler */
body:has(.ashunt-character-page)
.card.downloads,
body:has(.ashunt-character-page)
.card.downloads > .card-body,
body:has(.ashunt-character-page)
.card.downloads > .card-body > section {
    background-color: transparent !important;
}

/* =========================================================
   CHARACTER INFO PAGE TITLE
========================================================= */

.ashunt-character-page-title {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    min-height: 64px;

    margin: 0 0 22px;
    padding: 10px 18px 10px 12px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(13, 17, 24, .96) 0%,
            rgba(8, 11, 16, .90) 100%
        );

    border:
        1px solid rgba(225, 177, 65, .28);

    border-radius: 14px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        inset 3px 0 0 rgba(225, 177, 65, .78),
        0 12px 30px rgba(0, 0, 0, .30);
}

.ashunt-character-page-title::before {
    content: "";

    position: absolute;
    top: -60px;
    left: 45px;

    width: 180px;
    height: 140px;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(225, 177, 65, .12),
            transparent 68%
        );
}

.ashunt-character-page-title::after {
    content: "";

    position: absolute;
    right: 14px;
    bottom: 0;

    width: 92px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(225, 177, 65, .68)
        );
}

.ashunt-character-page-title__icon {
    position: relative;
    z-index: 1;

    display: inline-flex;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    align-items: center;
    justify-content: center;

    color: #efbe52;

    background:
        linear-gradient(
            180deg,
            rgba(225, 177, 65, .18),
            rgba(91, 62, 12, .08)
        );

    border:
        1px solid rgba(225, 177, 65, .34);

    border-radius: 11px;

    box-shadow:
        inset 0 0 14px rgba(225, 177, 65, .045),
        0 0 16px rgba(225, 177, 65, .07);
}

.ashunt-character-page-title__icon i {
    font-size: 16px;
}

.ashunt-character-page-title h1 {
    position: relative;
    z-index: 1;

    flex: 0 0 auto;

    margin: 0;

    color: #fff;

    font-size: 24px;
    font-weight: 900;
    line-height: 1;

    letter-spacing: -.025em;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, .40);
}

.ashunt-character-page-title__line {
    display: none;
}