.char-frame { margin-bottom: 16px; }

.char-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.char-icon {
    color: var(--gold-mid);
    font-size: 18px;
    text-shadow: 0 0 8px rgba(226, 182, 92, 0.5);
}

.char-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}
.char-search-input {
    flex: 1;
    background: rgba(5, 16, 42, 0.8);
    border: 1px solid var(--frame-border);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}
.char-search-input::placeholder { color: var(--text-muted); }
.char-search-input:focus {
    border-color: var(--frame-border-strong);
    background: rgba(5, 16, 42, 0.95);
}
.char-search-btn { white-space: nowrap; }

.char-info-wrap { display: block; }

.char-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.char-info-table tbody tr {
    border-bottom: 1px solid rgba(74, 119, 212, 0.08);
}
.char-info-table tbody tr:nth-child(even) td {
    background: rgba(74, 119, 212, 0.04);
}
.char-info-table td {
    padding: 9px 14px;
    color: var(--text-primary);
    vertical-align: middle;
}
.char-kv-key {
    color: var(--hydra-glow);
    font-weight: 600;
    width: 36%;
}
.char-level {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 15px;
}
.char-title {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(91, 63, 184, 0.25);
    color: var(--royal-light);
    border: 1px solid rgba(142, 123, 224, 0.4);
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
}
.char-vip {
    color: var(--verdejante);
    font-weight: 700;
}
.char-free {
    color: var(--vinho);
    font-weight: 700;
}
.char-guild-nick {
    color: var(--text-muted);
    font-style: italic;
    margin-left: 4px;
}

.char-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
}
.char-badge--online  { background: var(--verdejante); color: #fff; }
.char-badge--offline { background: rgba(159, 180, 184, 0.25); color: var(--text-secondary); }
.char-badge--prem    { background: var(--gold-base); color: #1A1208; margin-left: 0; }
.char-badge--namelock { background: rgba(220, 70, 85, 0.16); color: #ff8993; border: 1px solid rgba(220, 70, 85, 0.55); text-transform: none; cursor: help; position: relative; }
.char-badge--traded  { background: rgba(214, 158, 46, 0.16); color: #e0a948; border: 1px solid rgba(214, 158, 46, 0.55); text-transform: none; cursor: help; position: relative; }
.char-badge--namelock::after,
.char-badge--traded::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    top: calc(100% + 7px);
    transform: translateX(-50%);
    white-space: nowrap;
    background: #1f3b59;
    color: #e9f1f7;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease;
    z-index: 20;
    pointer-events: none;
}
.char-badge--namelock:hover::after,
.char-badge--traded:hover::after { opacity: 1; visibility: visible; }

.char-deaths-table, .char-account-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-primary);
}
.char-deaths-table thead th, .char-account-table thead th {
    background: rgba(27, 58, 122, 0.25);
    color: var(--hydra-light);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 14px;
    text-align: left;
    border-bottom: 1px solid var(--frame-border-strong);
}
.char-deaths-table td, .char-account-table td {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.08);
}
.char-deaths-table tbody tr:nth-child(even) td,
.char-account-table tbody tr:nth-child(even) td {
    background: rgba(74, 119, 212, 0.04);
}
.char-deaths-table tbody tr:hover td,
.char-account-table tbody tr:hover td {
    background: rgba(74, 119, 212, 0.1);
}
.char-deaths-date-col { width: 200px; }
.char-death-date {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.char-death-desc {
    color: var(--text-primary);
    line-height: 1.5;
}
.char-death-desc strong { color: var(--hydra-light); font-weight: 600; }
.char-death-level-inline {
    color: var(--gold-light) !important;
    font-weight: 700 !important;
}
.char-death-link {
    color: var(--hydra-light);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(156, 192, 245, 0.4);
    transition: color 0.15s, border-color 0.15s;
}
.char-death-link:hover {
    color: var(--hydra-glow);
    border-bottom-color: var(--hydra-glow);
}

.char-col-action { width: 70px; }
.char-view-btn {
    display: inline-block;
    padding: 4px 12px;
    background: var(--cta-bg);
    color: var(--cta-text);
    border: 1px solid var(--cta-border);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 1px 3px rgba(169, 130, 27, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: background 0.15s, box-shadow 0.15s;
}
.char-view-btn:hover {
    background: var(--cta-bg-hover);
    color: var(--cta-text);
    box-shadow: 0 2px 6px rgba(226, 182, 92, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Card BANIDO â€” destaque visual forte */
.char-banned-card {
    position: relative;
    margin-bottom: 16px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(45, 8, 14, 0.92) 0%, rgba(20, 5, 8, 0.92) 100%);
    border: 1px solid rgba(220, 70, 85, 0.35);
    box-shadow:
        0 0 0 1px rgba(220, 70, 85, 0.12),
        0 4px 18px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(255, 80, 95, 0.08);
}
.char-banned-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 14px,
            rgba(255, 80, 95, 0.025) 14px,
            rgba(255, 80, 95, 0.025) 28px
        );
}

.char-banned-stripe {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    background: linear-gradient(90deg, #7a1822 0%, #b22e3d 50%, #7a1822 100%);
    border-bottom: 2px solid rgba(255, 100, 115, 0.4);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.char-banned-stripe::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 120, 130, 0.5) 50%, transparent 100%);
}
.char-banned-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    filter: drop-shadow(0 0 4px rgba(255, 100, 115, 0.6));
}
.char-banned-heading {
    flex: 1;
    margin: 0;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.char-banned-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.char-banned-badge--perma {
    background: rgba(20, 0, 0, 0.5);
    color: #ffb3bd;
    border-color: rgba(255, 100, 115, 0.6);
    text-shadow: 0 0 6px rgba(255, 80, 95, 0.7);
}
.char-banned-badge--temp {
    background: rgba(60, 30, 0, 0.5);
    color: #ffd28a;
    border-color: rgba(226, 160, 64, 0.6);
}

.char-banned-body {
    position: relative;
    padding: 18px 20px 16px;
}
.char-banned-reason {
    padding: 14px 16px;
    margin-bottom: 14px;
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid #ff5060;
    border-radius: 3px;
}
.char-banned-reason-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ff8993;
    margin-bottom: 4px;
}
.char-banned-reason-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #ffe2e6;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(255, 80, 95, 0.25);
}

.char-banned-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}
@media (max-width: 700px) {
    .char-banned-meta { grid-template-columns: 1fr; }
}
.char-banned-meta-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(220, 70, 85, 0.15);
    border-radius: 3px;
    font-size: 13px;
}
.char-banned-meta-icon {
    display: inline-flex;
    align-items: center;
    color: #ff8993;
    flex-shrink: 0;
}
.char-banned-meta-label {
    color: #ffb3bd;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.char-banned-meta-value {
    margin-left: auto;
    color: #fff;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}
.char-banned-perma-text {
    color: #ff8993;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.char-comment {
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    max-width: 600px;
}
