
.arena-qw {
    position: fixed;
    z-index: 9999;
    width: 218px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    box-sizing: border-box;
    overflow: auto;
    padding: 11px 12px;
    border: 1px solid rgba(184,95,215,.38);
    border-radius: 10px;
    background: rgba(21,15,28,.98);
    color: #eee5f5;
    font: 11px/1.45 Arial,sans-serif;
    box-shadow: 0 8px 26px #0009,
                0 0 12px #a000d01a;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(3px);
    transition: opacity .15s,transform .15s,
                visibility .15s;
}

.arena-qw.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.arena-qw-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 8px;
    margin-bottom: 3px;
    border-bottom: 1px solid #ffffff14;
}

.arena-qw-title strong {
    font-size: 13px;
    color: #fff;
    overflow-wrap: anywhere;
}

.arena-qw-title small {
    color: #bc87d0;
    font-size: 8px;
    letter-spacing: .5px;
    white-space: nowrap;
}

.arena-qw-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
}

.arena-qw-label {
    color: #b19bbf;
    flex-shrink: 0;
    max-width: 46%;
}

.arena-qw-value {
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #f0e5f6;
}

.arena-qw-date {
    border-top: 1px solid #ffffff14;
    margin-top: 6px;
    padding-top: 8px;
}

.arena-qw-extra {
    border-top: 1px solid #ffffff14;
    margin-top: 6px;
    padding-top: 8px;
    color: #c3afce;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.arena-qw-extra summary {
    cursor: pointer;
    color: #d58be9;
}

.arena-qw-info {
    display: none;
    position: absolute;
    top: 49px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #ab79c455;
    border-radius: 8px;
    background: #100b19ed;
    color: #e9c9f8;
    font: 16px Arial,sans-serif;
    cursor: pointer;
    z-index: 8;
}

@media (hover:none), (pointer:coarse) {
    .arena-qw-info {
        display: grid;
        place-items: center;
    }
}

@media (prefers-reduced-motion:reduce) {
    .arena-qw {
        transition: none;
    }
}


/* ===== ARENA SPEC V2 / CYBER HUD ===== */

.arena-qw {
    --hud-shape: polygon(
        13px 0,
        calc(100% - 19px) 0,
        100% 19px,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%,
        0 13px
    );

    width:218px;
    padding:13px 12px 11px;
    border:0;
    border-radius:0;
    background:transparent;
    isolation:isolate;
    overflow:auto;
    clip-path:var(--hud-shape);

    color:#f3eaf8;
    font:11px/1.45 Arial,sans-serif;
    backdrop-filter:none;
    box-shadow:none;

    scrollbar-width:thin;
    scrollbar-color:#71338c #170e20;

    transform:translateX(-5px);
    transition:opacity .16s ease,
               transform .16s ease,
               visibility .16s;
}

.arena-qw::before,
.arena-qw::after {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    clip-path:var(--hud-shape);
}

.arena-qw::before {
    z-index:-2;

    background:linear-gradient(
        140deg,
        #e345ff 0%,
        #8e3bab 9%,
        #502761 32%,
        #623478 72%,
        #dc37f5 100%
    );
}

.arena-qw::after {
    z-index:-1;
    inset:1px;

    background:
        radial-gradient(
            ellipse at 95% 0%,
            #32153e 0%,
            transparent 55%
        ),
        linear-gradient(
            155deg,
            #1b1024,
            #140d1b 65%,
            #1d1027
        );
}

.arena-qw.is-open {
    transform:translateX(0);
}

.arena-qw-title {
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    padding:0 28px 8px 0;
    margin:0 0 5px;
    border-bottom:1px solid #66367b;

    background:transparent;
}

.arena-qw-title small {
    order:-1;
    color:#bd81d4;
    font-size:8px;
    font-weight:500;
    letter-spacing:2px;
    line-height:1.4;
}

.arena-qw-title strong {
    color:#fff;
    font-size:22px;
    font-weight:800;
    line-height:1.15;
    letter-spacing:-.6px;
}

.arena-qw-title::after {
    content:"";
    position:absolute;
    right:8px;
    top:6px;
    width:23px;
    height:12px;
    transform:skewX(-35deg);

    background:linear-gradient(
        90deg,
        #bd2fe5 0 30%,
        transparent 30% 46%,
        #bd2fe5 46% 76%,
        transparent 76%
    );
}

.arena-qw-row {
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:8px;
    padding:4px 0 4px 10px;
    font-size:10px;
    line-height:1.35;
}

.arena-qw-row::before {
    content:"";
    position:absolute;
    left:0;
    top:6px;
    width:3px;
    height:9px;

    background:linear-gradient(
        180deg,#c154e6,#793394
    );
}

.arena-qw-label {
    color:#b5a0c4;
    font-weight:400;
    max-width:45%;
}

.arena-qw-value {
    color:#f5ecfa;
    font-weight:500;
    text-align:right;
    overflow-wrap:anywhere;
}

.arena-qw-extra {
    margin-top:7px;
    padding-top:7px;
    border-top:1px solid #653779;
    font-size:10px;
    color:#c7afd4;
}

.arena-qw-extra summary {
    list-style:none;
    color:#d694ec;
    font-size:10px;
    cursor:pointer;
}

.arena-qw-extra summary::-webkit-details-marker {
    display:none;
}

.arena-qw-extra summary::before {
    content:"+ ";
    color:#e080ff;
    font-weight:bold;
}

.arena-qw-extra[open] summary::before {
    content:"− ";
}

.arena-qw-extra[open] summary {
    margin-bottom:8px;
}

.arena-qw-extra > div {
    max-height:130px;
    overflow:auto;
    line-height:1.5;
    padding:5px 0;
}

.arena-qw-date {
    margin-top:4px;
    padding:5px 0 0;
    border-top:0;
    font-size:9px;
}

.arena-qw-date::before {
    display:none;
}

.arena-qw-date .arena-qw-label {
    max-width:55%;
    color:#a68cb6;
}

@media (prefers-reduced-motion:reduce) {
    .arena-qw {
        transition:none;
    }
}



/* ARENA SPEC V2.1 - INSTANT RESPONSE */

.arena-qw {
    transform: translateX(-3px);
    transition: opacity .06s ease-out,
                transform .06s ease-out,
                visibility .06s;
}

.arena-qw.is-open {
    transform: translateX(0);
}

@media (prefers-reduced-motion:reduce) {
    .arena-qw {
        transition:none;
    }
}


/* ARENA SPEC V2.4 — GRAPHITE */

.arena-qw {
    color:#f3f3f6;
    scrollbar-color:#71338c #101116;
}

.arena-qw::before {
    background:linear-gradient(
        140deg,
        #d04aff 0%,
        #9252b5 12%,
        #45334f 35%,
        #594064 75%,
        #d04aff 100%
    );
}

.arena-qw::after {
    background:linear-gradient(
        145deg,
        #14151b,
        #101116 55%,
        #121218
    );
}

.arena-qw-title {
    border-bottom-color:#493452;
}

.arena-qw-title strong {
    color:#ffffff;
}

.arena-qw-title small {
    color:#d04aff;
}

.arena-qw-title::after {
    background:linear-gradient(
        90deg,
        #d04aff 0 30%,
        transparent 30% 46%,
        #d04aff 46% 76%,
        transparent 76%
    );
}

.arena-qw-row::before {
    background:#d04aff;
}

.arena-qw-label {
    color:#9d9ba8;
}

.arena-qw-value {
    color:#f3f3f6;
}

.arena-qw-extra {
    border-top-color:#493452;
    color:#c0bdc9;
}

.arena-qw-extra summary {
    color:#d98af5;
}

.arena-qw-date .arena-qw-label {
    color:#9d9ba8;
}



/* ARENA SPEC V2.6 - INSTANT ANCHOR */
#arena-quickview {
    position:fixed !important;
    margin:0 !important;
    transform:none !important;
    transition:none !important;
    animation:none !important;
}
