/* ════════════════════════════════════════════════
   PLAYER DETAIL — SRO Themed Character Card
   ════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   TOKENS DE DESIGN (espelhados da home)
   ────────────────────────────────────────────── */
:root {
    --gold-100: #fff8e7;
    --gold-300: #f0c96b;
    --gold-500: #c9a227;
    --gold-700: #8a6d1a;
    --gold-900: #4a3a0a;

    --bg-void: #050407;
    --bg-deep: #08070a;
    --bg-panel: rgba(14, 12, 18, 0.94);

    --crimson: #9b1a1a;
    --crimson-glow: rgba(155, 26, 26, 0.4);

    --ink: #e8e4d8;
    --ink-dim: #a09688;
    --ink-faint: #5a5248;

    --radius: 12px;
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Custom Cursor for Silkroad theme */
body, a, button, select, input, textarea, [role="button"], .equip-slot, .avatar-slot, .player-back, .guild-tag {
    cursor: url('/static/cursor/cursor_2.cur'), auto !important;
}

/* ──────────────────────────────────────────────
   SRO PANEL — Base (idêntico à home)
   ────────────────────────────────────────────── */
.sro-panel {
    background: linear-gradient(145deg, rgba(20, 16, 26, 0.98) 0%, rgba(12, 10, 16, 0.98) 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: visible;
    margin-bottom: 1.75rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Linha dourada no topo de cada card */
.sro-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-500) 30%, var(--gold-300) 50%, var(--gold-500) 70%, transparent 100%);
    opacity: 0.7;
}

.sro-panel:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: var(--shadow-card), 0 0 30px rgba(201, 162, 39, 0.08);
}

/* Padrão sutil de escamas/seda */
.sro-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 30px,
            rgba(201, 162, 39, 0.012) 30px,
            rgba(201, 162, 39, 0.012) 31px);
    pointer-events: none;
    z-index: 0;
}

.sro-panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    position: relative;
    z-index: 1;
}

.sro-panel-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.05));
    border: 1px solid rgba(201, 162, 39, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    font-size: 1rem;
    flex-shrink: 0;
}

.sro-panel-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-300);
    margin: 0;
}

.sro-panel-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: #08070a;
    background-image: url('/static/img/backgrounds/panel-bg_silkroad.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.player-detail-wrap .sro-panel {
    overflow: visible;
}

/* ── Equipment Panel ── */
.equipment-section {
    background: #08070a;
    overflow: visible;
}

.equipment-section .sro-panel-body {
    overflow: visible;
    border-radius: 0 0 var(--radius) var(--radius);
}

.equipment-section::after {
    display: none;
}

.equipment-header {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.25rem;
    background: rgba(5, 4, 7, 0.96);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.equipment-icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
}

.equipment-title {
    font-size: 0.9rem !important;
    letter-spacing: 1.5px;
}

.equipment-body {
    padding: 2rem;
}

/* Container de scroll para feeds */
.chat-container {
    max-height: 380px;
    overflow-y: auto;
}

.player-detail-wrap {
    width: 100%;
    max-width: 100%;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Full-width single column — left-aligned content */
.grid-single .main-column .player-detail-wrap {
    margin: 0;
}

/* ── Hero Card ── */
.player-hero {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 16, 26, 0.98) 0%, rgba(10, 8, 14, 0.98) 100%);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.5);
}

.player-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-300), var(--gold-500), transparent);
}

.player-hero-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* Avatar column */
.player-avatar-col {
    width: 220px;
    flex-shrink: 0;
    border-right: 1px solid rgba(201, 162, 39, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
    background-color: #0c0a0e;
    background-image: url('/static/img/backgrounds/geral_bg_2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 100px rgba(2, 2, 4, 0.76), inset 0 0 60px rgba(2, 2, 4, 0.62);
}

.player-avatar-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 2, 4, 0.68) 0%, rgba(5, 4, 7, 0.48) 45%, rgba(2, 2, 4, 0.74) 100%),
        linear-gradient(90deg, rgba(2, 2, 4, 0.64) 0%, rgba(5, 4, 7, 0.38) 50%, rgba(2, 2, 4, 0.68) 100%);
    pointer-events: none;
    z-index: 0;
}

.player-avatar-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid rgba(201, 162, 39, 0.4);
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.3));
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: rgba(5, 4, 7, 0.5);
}

.player-race-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(201, 162, 39, 0.45);
    color: var(--gold-100);
    background: rgba(5, 4, 7, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.player-race-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Info column */
.player-info-col {
    flex: 1;
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 16px 16px 0;
    background-color: #08070a;
    background-image: url('/static/img/backgrounds/card-bg_char_header.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 90px rgba(2, 2, 4, 0.7), inset 0 0 140px rgba(2, 2, 4, 0.45);
}

.player-info-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 2, 4, 0.55) 0%, rgba(5, 4, 7, 0.72) 45%, rgba(2, 2, 4, 0.88) 100%),
        linear-gradient(90deg, rgba(2, 2, 4, 0.92) 0%, rgba(5, 4, 7, 0.78) 40%, rgba(5, 4, 7, 0.5) 70%, rgba(5, 4, 7, 0.25) 100%);
    pointer-events: none;
    z-index: 0;
}

.player-info-col > * {
    position: relative;
    z-index: 1;
}

.player-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--gold-100);
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.player-guild {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--gold-500);
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.player-guild a {
    color: var(--gold-500);
    text-decoration: none;
    transition: color 0.2s;
}

.player-guild a:hover {
    color: var(--gold-300);
    text-decoration: underline;
}

/* Status dot */
.status-online-text {
    color: #14dc50;
    text-shadow: 0 0 8px rgba(20, 220, 80, 0.4);
}

.status-offline-text {
    color: #e05252;
}

/* ── Stats Grid with Icons ── */
.player-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.player-stat-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(5, 4, 7, 0.82);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.player-stat-cell:hover {
    background: rgba(201, 162, 39, 0.06);
    border-color: rgba(201, 162, 39, 0.25);
}

.stat-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.05));
    border: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-wrap img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.stat-icon-wrap i {
    color: var(--gold-500);
    font-size: 0.85rem;
}

.stat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.player-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ink-faint);
    font-family: 'Cinzel', serif;
    line-height: 1.2;
}

.player-stat-val {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-300);
    line-height: 1.3;
}

/* ── HP / MP Bars with Icons ── */
.player-bars {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bar-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.bar-track {
    flex: 1;
    height: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.bar-fill-hp {
    height: 100%;
    background: linear-gradient(90deg, #7a1515, #c83a3a);
    border-radius: 7px;
    width: 100%;
    transition: width 0.8s ease;
    box-shadow: 0 0 10px rgba(200, 58, 58, 0.3);
}

.bar-fill-mp {
    height: 100%;
    background: linear-gradient(90deg, #154a7a, #3a8ac8);
    border-radius: 7px;
    width: 100%;
    transition: width 0.8s ease;
    box-shadow: 0 0 10px rgba(58, 138, 200, 0.3);
}

.bar-val {
    min-width: 72px;
    flex-shrink: 0;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.3px;
}

.bar-row:first-child .bar-val {
    color: #f5c4c4;
    text-shadow: 0 0 10px rgba(200, 58, 58, 0.5), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.bar-row:last-child .bar-val {
    color: #b8daf5;
    text-shadow: 0 0 10px rgba(58, 138, 200, 0.5), 0 1px 4px rgba(0, 0, 0, 0.95);
}

/* ── Equipment Frame ── */
.equipment-section {
    margin-bottom: 2rem;
}

.equip-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

/* Equipment grid — character sits BETWEEN the columns */
.equip-grid-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    grid-template-rows: repeat(6, auto);
    gap: 0.6rem;
    align-items: center;
    background-color: #08070a;
    background-image:
        linear-gradient(180deg, rgba(5, 4, 7, 0.55) 0%, rgba(5, 4, 7, 0.78) 40%, rgba(5, 4, 7, 0.96) 100%),
        url('/static/img/backgrounds/card-bg_char.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    box-shadow: inset 0 -80px 70px -10px rgba(2, 2, 4, 0.95);
    overflow: visible;
}

.equip-grid-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, transparent, var(--gold-500) 35%, var(--gold-300) 50%, var(--gold-500) 65%, transparent);
    opacity: 0.75;
    z-index: 1;
}

.equip-grid-wrap > * {
    position: relative;
    z-index: 2;
}

/* Center character — placed in middle column spanning all rows */
.equip-center-char {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2;
    grid-row: 1 / -1;
    z-index: 2;
    pointer-events: none;
    min-height: 280px;
}

.equip-center-char img {
    max-width: 220px;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.9));
}

.equip-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.equip-col-left {
    align-items: flex-end;
}

.equip-col-right {
    align-items: flex-start;
}

.equip-col-top {
    display: flex;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.equip-col-bottom {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
}

.equip-slot {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(10, 8, 14, 0.9);
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
}

.equip-slot:hover {
    border-color: var(--gold-500);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.35);
    transform: scale(1.1);
    z-index: 999;
}

.equip-slot.empty {
    opacity: 0.45;
}

.equip-slot-inner {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

/* Fallback para imagem não encontrada */
.equip-slot-noimg {
    width: 100%;
    height: 100%;
    background: rgba(155, 26, 26, 0.35);
    border: 1px solid rgba(155, 26, 26, 0.5);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 700;
    color: #e05252;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-align: center;
}

.equip-slot .plus-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #f2e43d;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.6);
    padding: 0 4px;
    border-radius: 3px;
    line-height: 1.3;
}

/* Tooltip */
.equip-tooltip {
    position: absolute;
    top: 50%;
    background: linear-gradient(155deg, rgba(20, 16, 26, 0.98), rgba(10, 8, 14, 0.98));
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    min-width: 220px;
    max-width: 300px;
    font-size: 0.75rem;
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 9999;
    text-align: left;
}

/* Classes explícitas de direção */
.equip-tooltip.tooltip-left {
    right: calc(100% + 15px);
    left: auto;
    transform: translateY(-50%) scale(0.95);
}

.equip-slot:hover .equip-tooltip.tooltip-left {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.equip-tooltip.tooltip-right {
    left: calc(100% + 15px);
    right: auto;
    transform: translateY(-50%) scale(0.95);
}

.equip-slot:hover .equip-tooltip.tooltip-right {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.equip-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(201, 162, 39, 0.35);
}

/* Avatar accessories */
.avatar-section {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    position: relative;
    border-top: none;
}

.avatar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(201, 162, 39, 0.35) 18%,
        rgba(240, 201, 107, 0.75) 50%,
        rgba(201, 162, 39, 0.35) 82%,
        transparent 100%
    );
}

.avatar-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-300) 35%, var(--gold-100) 50%, var(--gold-300) 65%, transparent);
    box-shadow: 0 0 14px rgba(201, 162, 39, 0.45);
}

.avatar-section .player-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-100);
    margin-bottom: 1.35rem;
    gap: 0.7rem;
    text-shadow: 0 0 18px rgba(201, 162, 39, 0.3), 0 2px 6px rgba(0, 0, 0, 0.85);
}

.avatar-section .player-section-title i {
    font-size: 1.25rem;
    color: var(--gold-300);
    filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.5));
}

.avatar-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.avatar-slot {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(10, 8, 14, 0.9);
    border: 1px solid rgba(201, 162, 39, 0.2);
    overflow: visible;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
}

.avatar-slot:hover {
    border-color: var(--gold-500);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.35);
    transform: scale(1.1);
    z-index: 999;
}

.avatar-slot.empty {
    opacity: 0.45;
}

.avatar-slot-inner {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Avatar Tooltip Placement */
.avatar-slot .equip-tooltip {
    bottom: calc(100% + 10px);
    left: 50%;
    top: auto;
    transform: translateX(-50%) scale(0.95);
    text-align: center;
}

.avatar-slot:hover .equip-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ── Activity Panels ── */
.player-activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .player-hero-inner {
        flex-direction: column;
    }

    .player-avatar-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(201, 162, 39, 0.15);
        border-radius: 16px 16px 0 0;
        padding: 1.5rem;
    }

    .player-avatar-img {
        width: 120px;
        height: 120px;
    }

    .player-info-col {
        padding: 1.5rem;
        border-radius: 0 0 16px 16px;
    }

    .player-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-activity-grid {
        grid-template-columns: 1fr;
    }

    .equip-frame {
        max-width: 340px;
    }

    .equip-grid-wrap {
        grid-template-columns: 48px 1fr 48px;
        padding: 1.25rem 1rem;
    }

    .equip-slot,
    .avatar-slot {
        width: 48px;
        height: 48px;
    }

    .equip-center-char img {
        max-width: 130px;
        max-height: 160px;
    }
}

/* Section title */
.player-section-title {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-300);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.player-section-title i {
    color: var(--gold-500);
}

/* ════════════════════════════════════════════════
   CHAT & KILLS — Same style as home page
   ════════════════════════════════════════════════ */

/* Chat Global */
.chat-feed {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.chat-entry {
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.chat-avatar {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    padding: 3px;
    flex-shrink: 0;
    object-fit: contain;
}

.chat-body {
    flex: 1;
    min-width: 0;
}

.chat-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.2rem;
}

.chat-player {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-500);
}

.chat-time {
    font-size: 0.7rem;
    color: var(--ink-faint);
}

.chat-msg {
    font-size: 0.82rem;
    color: var(--ink-dim);
    line-height: 1.4;
    word-break: break-word;
}

/* ── Recent Globals Panel ── */
.recent-globals-panel {
    background: #08070a;
    overflow: hidden;
}

.recent-globals-panel::after {
    display: none;
}

.recent-globals-header {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.25rem;
    background: rgba(5, 4, 7, 0.96);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.recent-globals-icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
}

.recent-globals-title {
    font-size: 0.9rem !important;
    letter-spacing: 1.5px;
}

.recent-globals-feed {
    position: relative;
    min-height: 380px;
    max-height: 380px;
    background-color: #08070a;
    background-image: url('/static/img/backgrounds/card-bg_global.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: inset 0 0 90px rgba(2, 2, 4, 0.75), inset 140px 0 100px rgba(2, 2, 4, 0.55);
}

.recent-globals-feed::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 2, 4, 0.55) 0%, rgba(2, 2, 4, 0.25) 100%),
        linear-gradient(90deg, rgba(2, 2, 4, 0.96) 0%, rgba(5, 4, 7, 0.9) 30%, rgba(5, 4, 7, 0.72) 50%, rgba(5, 4, 7, 0.4) 72%, rgba(5, 4, 7, 0.12) 100%);
    pointer-events: none;
    z-index: 0;
}

.recent-globals-feed > * {
    position: relative;
    z-index: 1;
}

.recent-globals-feed .chat-player,
.recent-globals-feed .chat-time,
.recent-globals-feed .chat-msg {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.recent-globals-feed .chat-time {
    color: var(--ink-dim);
}

/* ── Unique Kills Panel ── */
.unique-kills-panel {
    background: #08070a;
    border-color: rgba(155, 26, 26, 0.35);
    overflow: hidden;
}

.unique-kills-panel::before {
    background: linear-gradient(90deg, transparent 0%, rgba(155, 26, 26, 0.85) 30%, #e05252 50%, rgba(155, 26, 26, 0.85) 70%, transparent 100%);
    opacity: 0.65;
}

.unique-kills-panel::after {
    display: none;
}

.unique-kills-panel:hover {
    border-color: rgba(224, 82, 82, 0.45);
    box-shadow: var(--shadow-card), 0 0 28px rgba(155, 26, 26, 0.15);
}

.unique-kills-header {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.25rem;
    background: rgba(5, 4, 7, 0.96);
    border-bottom: 1px solid rgba(155, 26, 26, 0.25);
}

.unique-kills-icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
    background: rgba(155, 26, 26, 0.2);
    border-color: rgba(155, 26, 26, 0.4);
    color: #e05252;
}

.unique-kills-title {
    font-size: 0.9rem !important;
    color: #e05252 !important;
    letter-spacing: 1.5px;
}

.unique-kills-feed {
    position: relative;
    min-height: 380px;
    background-color: #08070a;
    background-image: url('/static/img/backgrounds/card-bg_unique.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: inset 0 0 90px rgba(2, 2, 4, 0.75), inset 140px 0 100px rgba(2, 2, 4, 0.55);
}

.unique-kills-feed::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 2, 4, 0.55) 0%, rgba(2, 2, 4, 0.25) 100%),
        linear-gradient(90deg, rgba(2, 2, 4, 0.96) 0%, rgba(5, 4, 7, 0.9) 30%, rgba(5, 4, 7, 0.72) 50%, rgba(5, 4, 7, 0.4) 72%, rgba(5, 4, 7, 0.12) 100%);
    pointer-events: none;
    z-index: 0;
}

.unique-kills-feed > * {
    position: relative;
    z-index: 1;
}

.unique-kills-feed .kill-boss,
.unique-kills-feed .kill-hunter,
.unique-kills-feed .kill-time {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.unique-kills-feed .kill-time {
    color: var(--ink-dim);
}

/* Kills */
.kills-feed {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.kill-entry {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.kill-entry:hover {
    background: rgba(155, 26, 26, 0.05);
}

.kill-boss {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #e05252;
    text-shadow: 0 0 10px rgba(155, 26, 26, 0.4);
    margin-bottom: 0.25rem;
}

.kill-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kill-hunter {
    font-size: 0.82rem;
    color: var(--ink-dim);
}

.kill-hunter .hunter-name {
    color: var(--gold-500);
    font-weight: 600;
}

.kill-time {
    font-size: 0.7rem;
    color: var(--ink-faint);
}

.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--ink-faint);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 10px;
    border: 1px dashed rgba(201, 162, 39, 0.1);
}

/* Back link */
.player-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold-700);
    font-size: 0.8rem;
    font-family: 'Cinzel', serif;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.player-back:hover {
    color: var(--gold-300);
}

/* Inline fixes moved to classes */
.guild-separator {
    color: var(--ink-faint);
}

.status-dot {
    font-size: 0.45rem;
    vertical-align: middle;
}

.status-dot.online {
    color: #14dc50;
}

.status-dot.offline {
    color: #e05252;
}

/* Efeito SOX - Animação itemplus.png clássica de Silkroad para slots de 56x56px */
.equip-slot-inner,
.avatar-slot-inner {
    position: relative;
}
.equip-slot-inner span.plus,
.avatar-slot-inner span.plus {
    display: block;
    width: 56px;
    height: 56px;
    background: url('/static/img/sro/equipment/itemplus.png') left top no-repeat;
    background-size: 1792px 56px;
    animation: play-56 1.8s steps(32) infinite;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
}
@keyframes play-56 {
    100% {
        background-position: -1792px;
    }
}