/* ===================== /account & /account/manage ===================== */

.acc-frame { margin-bottom: 16px; }
.acc-header { display: flex; align-items: center; gap: 10px; }
.acc-header--split { justify-content: space-between; }
.acc-header-left { display: flex; align-items: center; gap: 10px; }
.acc-header-icon {
    color: var(--hydra-light);
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 0 4px rgba(74, 119, 212, 0.3));
}
.acc-inbox .acc-header {
    padding-right: 16px;
    gap: 12px;
}
.acc-inbox .content-frame-body--flush {
    padding: 16px 18px 18px;
}
.acc-inbox-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 0 14px;
    margin: 0 0 14px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.1);
}
.acc-inbox-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--frame-border);
    background: rgba(5, 16, 42, 0.45);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}
.acc-inbox-tab span {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(226, 86, 107, 0.2);
    color: #ff8a96;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.acc-inbox-tab.is-active {
    border-color: var(--hydra-light);
    color: var(--hydra-light);
    background: rgba(74, 119, 212, 0.08);
}
.acc-inbox .acc-ticket-list {
    padding: 0;
    gap: 10px;
}
.acc-inbox .acc-ticket-item {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 8px;
}
.acc-inbox .acc-ticket-empty {
    padding: 8px 4px 4px;
}
.acc-ticket-alert--transfer {
    border-color: rgba(226, 86, 107, 0.45);
}
.acc-header-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #e2566b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
}

/* BotÃ£o Criar Personagem no header */
.acc-create-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--cta-bg);
    color: var(--cta-text);
    border: 1px solid var(--cta-border);
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(169, 130, 27, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: background 0.15s, box-shadow 0.15s, transform 0.05s;
}
.acc-create-btn:hover {
    background: var(--cta-bg-hover);
    box-shadow: 0 2px 6px rgba(226, 182, 92, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.acc-create-btn:active { transform: translateY(1px); }

/* BotÃµes padrÃ£o */
.acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background 0.15s, box-shadow 0.15s, transform 0.05s;
}
.acc-btn:active { transform: translateY(1px); }
.acc-btn--blue {
    background: linear-gradient(180deg, #2a6da8 0%, #1f4e7d 100%);
    border-color: #4f8ec1;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.acc-btn--blue:hover {
    background: linear-gradient(180deg, #347fc0 0%, #265c93 100%);
    box-shadow: 0 2px 6px rgba(80, 140, 200, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.acc-btn--red {
    background: linear-gradient(180deg, #9f2d3a 0%, #6f1d27 100%);
    border-color: rgba(220, 70, 85, 0.6);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}
.acc-btn--red:hover {
    background: linear-gradient(180deg, #b3343f 0%, #82232e 100%);
}
.acc-btn--ghost {
    background: rgba(5, 16, 42, 0.6);
    border-color: var(--frame-border);
    color: var(--text-primary);
}
.acc-btn--ghost:hover {
    background: rgba(74, 119, 212, 0.08);
    border-color: var(--frame-border-strong);
    color: var(--hydra-light);
}

/* ===== Edit Character form ===== */
.char-edit-intro {
    margin: 0 0 18px;
    padding: 12px 16px;
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}
.char-edit-success {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 14px;
    background: rgba(30, 153, 104, 0.12);
    border: 1px solid rgba(30, 153, 104, 0.4);
    border-left: 3px solid var(--verdejante);
    border-radius: 4px;
    color: var(--verdejante);
    font-size: 13px;
    font-weight: 600;
}
.char-edit-form { display: flex; flex-direction: column; }
.char-edit-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    padding: 14px 0;
    align-items: center;
    border-bottom: 1px solid rgba(74, 119, 212, 0.08);
}
.char-edit-row--top { align-items: flex-start; }
.char-edit-row:last-of-type { border-bottom: none; }
@media (max-width: 700px) {
    .char-edit-row { grid-template-columns: 1fr; gap: 6px; }
}
.char-edit-label {
    color: var(--hydra-glow);
    font-size: 13px;
    font-weight: 600;
}
.char-edit-value {
    color: var(--text-primary);
    font-size: 13.5px;
}
.char-edit-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
}
.char-edit-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--hydra-glow);
}
.char-edit-textarea {
    width: 100%;
    min-height: 160px;
    background: rgba(5, 16, 42, 0.85);
    border: 1px solid var(--frame-border);
    color: var(--text-primary);
    padding: 10px 13px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.5;
    outline: none;
    resize: vertical;
    transition: border-color 0.15s, background 0.15s;
}
.char-edit-textarea::placeholder { color: var(--text-muted); }
.char-edit-textarea:focus {
    border-color: var(--frame-border-strong);
    background: rgba(5, 16, 42, 0.95);
}
.char-edit-hint {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 11.5px;
    font-style: italic;
}
.char-edit-actions {
    display: flex;
    gap: 10px;
    padding-top: 14px;
}

/* Linha genÃ©rica (Suporte, Produtos, HistÃ³rico, ExclusÃ£o) */
.acc-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.06);
}
.acc-row:last-child { border-bottom: none; }
.acc-row-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hydra-light);
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 4px;
    flex-shrink: 0;
}
.acc-row-icon--danger {
    color: #ff8993;
    border-color: rgba(220, 70, 85, 0.4);
    background: rgba(60, 12, 18, 0.4);
}
.acc-row-text { flex: 1; min-width: 0; }
.acc-row-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 2px;
}
.acc-row-desc {
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.4;
}
.acc-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ===== LISTA DE TICKETS NO PAINEL ===== */
.acc-ticket-list {
    list-style: none;
    margin: 0;
    padding: 0 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.acc-ticket-item {
    display: grid;
    grid-template-columns: 100px 80px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: rgba(5, 16, 42, 0.5);
    border: 1px solid var(--frame-border);
    border-radius: 4px;
}
.acc-ticket-code {
    font-size: 12px;
    font-weight: 700;
    color: var(--hydra-light);
    font-variant-numeric: tabular-nums;
}
.acc-ticket-subject {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.acc-ticket-cat {
    font-size: 11.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}
.acc-btn--mini { padding: 5px 12px; font-size: 11.5px; }
.acc-ticket-view { justify-self: end; margin-left: auto; }
.acc-ticket-empty {
    margin: 0;
    padding: 4px 18px 16px;
    color: var(--text-secondary);
    font-size: 12.5px;
    font-style: italic;
}

/* Banner de novas respostas da equipe */
.acc-ticket-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d8243d 0%, #a81b30 100%);
    border: 1px solid #ff5167;
    border-left: 4px solid #ff8593;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 14px rgba(216, 36, 61, 0.45);
    transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.acc-ticket-alert:hover {
    background: linear-gradient(135deg, #ec2c47 0%, #c01f38 100%);
    border-color: #ff8593;
    box-shadow: 0 4px 18px rgba(236, 44, 71, 0.55);
}
.acc-ticket-alert:active { transform: translateY(1px); }
.acc-ticket-alert-icon {
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    animation: acc-bell-shake 2.2s ease-in-out infinite;
}
@keyframes acc-bell-shake {
    0%, 92%, 100% { transform: rotate(0); }
    94% { transform: rotate(-12deg); }
    96% { transform: rotate(10deg); }
    98% { transform: rotate(-6deg); }
}
.acc-ticket-alert-text { flex: 1; font-size: 13.5px; font-weight: 700; }
.acc-ticket-alert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    background: #fff;
    color: #c01f38;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}
.acc-ticket-alert-cta {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 560px) {
    .acc-ticket-alert-cta { display: none; }
}

/* Item de ticket nÃ£o lido */
.acc-ticket-item--staff {
    border-color: rgba(226, 86, 107, 0.32);
}
.acc-ticket-item--unseen {
    border-color: rgba(226, 86, 107, 0.5);
    box-shadow: inset 3px 0 0 #e2566b;
}
.acc-ticket-new-badge,
.ticket-new-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 3px;
    background: #e2566b;
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    vertical-align: middle;
}
@media (max-width: 700px) {
    .acc-ticket-item {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "status subject view"
            "code cat cat";
        row-gap: 5px;
    }
    .acc-ticket-item .ticket-status { grid-area: status; }
    .acc-ticket-code { grid-area: code; }
    .acc-ticket-subject { grid-area: subject; white-space: normal; }
    .acc-ticket-cat { grid-area: cat; }
    .acc-ticket-item .acc-btn--mini { grid-area: view; }
    .acc-inbox .acc-ticket-item { row-gap: 8px; padding: 12px 14px; }
}

/* ===== STATUS DA CONTA ===== */
.acc-status-row {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.08);
    flex-wrap: wrap;
}

.acc-status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 280px;
    padding: 16px 18px;
    border-radius: 6px;
    border: 1px solid;
    position: relative;
    overflow: hidden;
}
.acc-status-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background:
        radial-gradient(circle at 100% 0%, currentColor 0%, transparent 60%);
}
.acc-status-card--vip {
    background: linear-gradient(135deg, rgba(30, 153, 104, 0.12) 0%, rgba(5, 16, 42, 0.55) 100%);
    border-color: rgba(30, 153, 104, 0.35);
    color: var(--verdejante);
    box-shadow: 0 0 18px rgba(30, 153, 104, 0.08);
}
.acc-status-card--free {
    background: linear-gradient(135deg, rgba(159, 45, 58, 0.12) 0%, rgba(5, 16, 42, 0.55) 100%);
    border-color: rgba(159, 45, 58, 0.35);
    color: var(--vinho);
    box-shadow: 0 0 18px rgba(159, 45, 58, 0.08);
}

.acc-status-shield {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}
.acc-status-shield--free {
    background: linear-gradient(180deg, #b32d3a 0%, #761b25 100%);
    border: 1px solid rgba(220, 70, 85, 0.6);
}
.acc-status-shield--vip {
    background: linear-gradient(180deg, #1ea870 0%, #136a47 100%);
    border: 1px solid rgba(80, 220, 160, 0.6);
}

.acc-status-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.acc-status-label {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.acc-status-label--free {
    color: var(--vinho);
    text-shadow: 0 0 12px rgba(159, 45, 58, 0.3);
}
.acc-status-label--vip  {
    color: var(--verdejante);
    text-shadow: 0 0 14px rgba(30, 153, 104, 0.35);
}

.acc-status-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    color: var(--text-secondary);
}
.acc-status-meta--free {
    font-style: italic;
    color: var(--text-muted);
    max-width: 360px;
    line-height: 1.45;
}
.acc-vip-meta-row {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.acc-vip-meta-row svg { color: var(--verdejante); flex-shrink: 0; }
.acc-vip-meta-row strong { color: var(--text-primary); font-variant-numeric: tabular-nums; }
.acc-vip-days {
    color: var(--gold-light) !important;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-right: 2px;
}

.acc-status-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    align-self: center;
}
.acc-btn--icon svg { color: var(--hydra-light); }

/* Benefits */
.acc-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}
@media (max-width: 700px) {
    .acc-benefits { grid-template-columns: 1fr; }
}
.acc-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 4px;
}
.acc-benefit-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.acc-benefit-icon--orange { background: linear-gradient(180deg, #d97a2b 0%, #a1561d 100%); }
.acc-benefit-icon--blue   { background: linear-gradient(180deg, #3b7dc0 0%, #245586 100%); }
.acc-benefit-icon--purple { background: linear-gradient(180deg, #7a4cc6 0%, #4f2e87 100%); }
.acc-benefit-text {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
}

.acc-benefit-link-wrap { text-align: center; margin-top: 14px; }

/* Conecte seu Discord â€” banner compacto */
.acc-discord-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(74, 119, 212, 0.06);
    border: 1px solid rgba(74, 119, 212, 0.28);
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.acc-discord-cta:hover { background: rgba(74, 119, 212, 0.11); border-color: rgba(74, 119, 212, 0.5); }
.acc-discord-cta-icon { flex: none; display: inline-flex; color: var(--hydra-light); }
.acc-discord-cta-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.acc-discord-cta-text strong { font-size: 14px; color: var(--hydra-light); }
.acc-discord-cta-text span { font-size: 12.5px; color: #9aa7b0; }
.acc-discord-cta-arrow { flex: none; font-size: 13px; font-weight: 700; color: var(--hydra-glow); white-space: nowrap; }
@media (max-width: 560px) { .acc-discord-cta-arrow { display: none; } }

/* Hover: preview da montaria exclusiva */
.disc-mount { color: var(--hydra-light); font-weight: 700; cursor: help; border-bottom: 1px dotted currentColor; }
.disc-mount-tip {
    position: fixed;
    transform: translate(-50%, calc(-100% - 8px));
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 10px 12px;
    background: #0a1a21;
    border: 1px solid rgba(74, 119, 212, 0.45);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    z-index: 9999;
    pointer-events: none;
}
.disc-mount-tip img { width: 72px; height: 72px; object-fit: contain; image-rendering: pixelated; }
.disc-mount-tip span { font-size: 12px; font-weight: 700; color: var(--hydra-light); white-space: nowrap; }

/* "Como fazer isso?" â€” modal com player */
.tag-help-link { color: var(--hydra-light); white-space: nowrap; cursor: pointer; text-decoration: underline; }
.tag-modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, 0.72); align-items: center; justify-content: center; padding: 20px; }
.tag-modal.open { display: flex; }
.tag-modal-box { position: relative; width: 100%; max-width: 720px; background: #0a1a21; border: 1px solid rgba(74, 119, 212, 0.35); border-radius: 14px; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.tag-modal-title { font-family: 'Cinzel', serif; font-size: 18px; color: var(--hydra-light); margin: 0 24px 14px 0; }
.tag-modal-close { position: absolute; top: 8px; right: 12px; background: none; border: none; color: #9aa7b0; font-size: 26px; line-height: 1; cursor: pointer; }
.tag-modal-close:hover { color: #fff; }
.tag-modal-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; color: #9aa7b0; font-size: 15px; border: 1px dashed rgba(74, 119, 212, 0.3); }
.tag-modal-video video { width: 100%; height: 100%; }
.acc-benefit-link {
    color: var(--hydra-light);
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.15s;
}
.acc-benefit-link:hover { color: var(--hydra-glow); }

/* ===== MEUS PERSONAGENS ===== */
.acc-chars { padding: 6px 0; }
.acc-char {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.06);
    transition: background 0.12s;
}
.acc-char:last-child { border-bottom: none; }
.acc-char:hover { background: rgba(74, 119, 212, 0.045); }
.acc-char-info { flex: 1; min-width: 0; }
.acc-char-name {
    color: var(--hydra-light);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}
.acc-char-name:hover { color: var(--hydra-glow); }
.acc-char-meta {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 2px;
}
.acc-char-online {
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 2px;
    background: rgba(30, 153, 104, 0.15);
    color: var(--verdejante);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(30, 153, 104, 0.4);
}
.acc-char-actions { display: flex; gap: 6px; }
.acc-char-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.acc-char-action:hover {
    background: rgba(74, 119, 212, 0.12);
    color: var(--hydra-glow);
    border-color: var(--frame-border-strong);
}
.acc-char-action--danger:hover {
    background: rgba(159, 45, 58, 0.15);
    color: #ff8993;
    border-color: rgba(220, 70, 85, 0.5);
}

/* Personagem agendado pra exclusÃ£o */
.acc-char--pending {
    background: linear-gradient(90deg, rgba(226, 160, 64, 0.07) 0%, transparent 100%);
    border-left: 3px solid #E2A040;
}
.acc-char-deletion {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #E2A040;
    font-size: 12px;
    font-weight: 600;
}
.acc-char-deletion strong {
    color: #ffd28a;
    font-variant-numeric: tabular-nums;
}
.acc-char-undelete-btn {
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Personagem namelocked */
.acc-char--namelock {
    background: linear-gradient(90deg, rgba(220, 70, 85, 0.08) 0%, transparent 100%);
    border-left: 3px solid #dc4655;
}
.acc-char-namelock-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 2px;
    background: rgba(220, 70, 85, 0.16);
    color: #ff8993;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(220, 70, 85, 0.45);
    vertical-align: middle;
}
.acc-char-namelock {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff8993;
    font-size: 12px;
    font-weight: 600;
}
.acc-char-namelock strong {
    color: #ffc4c9;
}
.acc-char-rename-btn {
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
}
.acc-namelock-alert {
    background: linear-gradient(135deg, #8a1f2c 0%, #5c141d 100%);
    border-color: rgba(255, 137, 147, 0.55);
    color: #ffd6da;
    box-shadow: 0 3px 14px rgba(92, 20, 29, 0.45);
}
.acc-namelock-alert:hover {
    background: linear-gradient(135deg, #a32636 0%, #6f1a24 100%);
    border-color: #ff8993;
}

/* Aviso na tela de delete */
.char-delete-warn {
    margin: 0 0 18px;
    padding: 14px 16px;
    background: rgba(226, 160, 64, 0.12);
    border: 1px solid rgba(226, 160, 64, 0.4);
    border-left: 3px solid #E2A040;
    border-radius: 4px;
    color: var(--text-primary);
}
.char-delete-warn-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E2A040;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}
.char-delete-warn-body {
    margin: 0;
    color: #f3d6a0;
    font-size: 13.5px;
    line-height: 1.55;
}
.char-delete-warn-body strong { color: #fff; }

.char-namelock-warn {
    background: rgba(220, 70, 85, 0.12);
    border-color: rgba(220, 70, 85, 0.4);
    border-left-color: #dc4655;
}
.char-namelock-warn .char-delete-warn-header { color: #ff8993; }
.char-namelock-warn .char-delete-warn-body { color: #ffc4c9; }
.char-namelock-reason {
    margin: 10px 0 0;
    color: #ff8993;
    font-size: 13.5px;
}
.char-namelock-reason strong { color: #fff; }

.char-edit-actions--center {
    justify-content: center;
}

/* ===== Recovery Key ===== */
.acc-reckey-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 5px;
    border: 1px solid;
    margin-bottom: 10px;
}
.acc-reckey-card--ok {
    background: rgba(30, 153, 104, 0.08);
    border-color: rgba(30, 153, 104, 0.35);
}
.acc-reckey-card--ok .acc-reckey-card-icon { color: var(--verdejante); }
.acc-reckey-card--ok .acc-reckey-card-title { color: var(--verdejante); }

.acc-reckey-card--missing {
    background: rgba(226, 160, 64, 0.08);
    border-color: rgba(226, 160, 64, 0.4);
    border-left: 3px solid #E2A040;
}
.acc-reckey-card--missing .acc-reckey-card-icon { color: #E2A040; }
.acc-reckey-card--missing .acc-reckey-card-title { color: #ffd28a; }

.acc-reckey-card-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 16, 42, 0.6);
    border: 1px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
}
.acc-reckey-card-text { flex: 1; min-width: 0; }
.acc-reckey-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.acc-reckey-card-desc {
    color: var(--text-secondary);
    font-size: 12.5px;
    margin-top: 2px;
    line-height: 1.4;
}

/* Tela de display da chave gerada */
.reckey-success {
    margin: 0 0 18px;
    padding: 12px 16px;
    background: rgba(30, 153, 104, 0.12);
    border: 1px solid rgba(30, 153, 104, 0.4);
    border-left: 3px solid var(--verdejante);
    border-radius: 4px;
}
.reckey-success-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--verdejante);
    font-weight: 700;
    font-size: 14px;
}
.reckey-success-sub {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(30, 153, 104, 0.25);
    color: var(--text-secondary);
    font-size: 12.5px;
}
.reckey-success-sub strong { color: var(--hydra-light); }
.reckey-success-sub svg { color: var(--verdejante); }

.reckey-display {
    text-align: center;
    padding: 22px 20px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, rgba(5, 16, 42, 0.75) 0%, rgba(5, 16, 42, 0.55) 100%);
    border: 1px solid var(--frame-border-strong);
    border-radius: 6px;
    box-shadow: inset 0 0 24px rgba(74, 119, 212, 0.06);
}
.reckey-display-label {
    color: var(--hydra-glow);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}
.reckey-display-value {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold-light);
    text-shadow: 0 0 12px rgba(201, 155, 46, 0.35);
    user-select: all;
    cursor: text;
    padding: 8px 0;
}
.reckey-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 14px;
    background: rgba(5, 16, 42, 0.7);
    border: 1px solid var(--frame-border);
    color: var(--text-primary);
    border-radius: 3px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.reckey-copy-btn:hover {
    background: rgba(74, 119, 212, 0.12);
    color: var(--hydra-light);
    border-color: var(--frame-border-strong);
}

.reckey-warn-list {
    margin: 4px 0 0;
    padding-left: 22px;
    color: #f3d6a0;
    font-size: 13px;
    line-height: 1.6;
}
.reckey-warn-list li { margin-bottom: 4px; }

/* ===== 2FA setup ===== */
.tfa-steps {
    counter-reset: tfa-step;
    list-style: none;
    padding: 0;
    margin: 0;
}
.tfa-steps > li {
    position: relative;
    padding: 14px 14px 14px 56px;
    margin-bottom: 14px;
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 5px;
    counter-increment: tfa-step;
}
.tfa-steps > li::before {
    content: counter(tfa-step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: linear-gradient(180deg, #2a6da8 0%, #1f4e7d 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #4f8ec1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.tfa-steps > li strong {
    display: block;
    color: var(--hydra-glow);
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 2px;
}
.tfa-step-text {
    margin: 0 0 10px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.tfa-qr-wrap {
    text-align: center;
    padding: 14px 0 6px;
}
.tfa-qr {
    background: #fff;
    border-radius: 4px;
    padding: 6px;
    width: 200px;
    height: 200px;
}

.tfa-secret-box {
    padding: 14px 16px;
    background: rgba(5, 16, 42, 0.7);
    border: 1px solid var(--frame-border-strong);
    border-radius: 4px;
    text-align: center;
}
.tfa-secret-label {
    color: var(--hydra-glow);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.tfa-secret-value {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(201, 155, 46, 0.25);
    user-select: all;
    padding: 6px 0 10px;
}

.tfa-confirm-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tfa-confirm-form .login-input--token {
    max-width: 240px;
}

/* ===== Redeem / Admin Codes ===== */
.redeem-input {
    text-align: center;
    font-size: 16px;
}

.admin-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 14px;
    align-items: end;
    padding: 14px;
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 5px;
}
@media (max-width: 800px) {
    .admin-form { grid-template-columns: repeat(2, 1fr); }
}
.admin-form-row { display: flex; flex-direction: column; gap: 5px; }
.admin-form-row--wide { grid-column: 1 / -1; }
.admin-form-row label {
    color: var(--hydra-glow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.admin-form-row input,
.admin-form-row select {
    background: rgba(5, 16, 42, 0.85);
    border: 1px solid var(--frame-border);
    color: var(--text-primary);
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}
.admin-form-row input:focus,
.admin-form-row select:focus {
    border-color: var(--frame-border-strong);
}
.admin-form .char-edit-actions {
    grid-column: 1 / -1;
    padding-top: 0;
}

.admin-generated-list {
    margin: 12px 0 18px;
    padding: 12px 14px;
    background: rgba(5, 16, 42, 0.7);
    border: 1px solid var(--frame-border-strong);
    border-radius: 4px;
    max-height: 280px;
    overflow-y: auto;
}
.admin-generated-row {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-generated-code {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 13px;
    color: var(--gold-light);
    letter-spacing: 1px;
    user-select: all;
}
.admin-generated-meta { color: var(--text-secondary); font-size: 12.5px; }
.admin-backup-tag {
    display: inline-block;
    padding: 1px 6px;
    background: rgba(91, 63, 184, 0.15);
    color: var(--royal-light);
    border: 1px solid rgba(142, 123, 224, 0.4);
    border-radius: 3px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-form-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
}
.admin-form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--hydra-glow);
}

.admin-form-row textarea {
    background: rgba(5, 16, 42, 0.85);
    border: 1px solid var(--frame-border);
    color: var(--text-primary);
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    resize: vertical;
}
.admin-form-row textarea:focus { border-color: var(--frame-border-strong); }

.admin-subnav {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.15);
}
.admin-subnav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: color 0.12s, border-color 0.12s;
}
.admin-subnav-link:hover { color: var(--hydra-light); }
.admin-subnav-link--active {
    color: var(--hydra-glow);
    border-bottom-color: var(--hydra-glow);
}

.admin-code-mono {
    font-family: 'Courier New', Consolas, monospace;
    color: var(--hydra-light);
    letter-spacing: 1.5px;
    font-size: 12.5px;
}

.admin-filter-tabs {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 8px;
}
.admin-filter-tab {
    padding: 6px 14px;
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    color: var(--text-secondary);
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.12s, color 0.12s;
}
.admin-filter-tab:hover { color: var(--hydra-light); background: rgba(74, 119, 212, 0.08); }
.admin-filter-tab--active {
    background: var(--hydra-deep);
    color: var(--white);
    border-color: var(--hydra-glow);
}

.admin-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.admin-badge--available {
    color: var(--verdejante);
    background: rgba(30, 153, 104, 0.12);
    border: 1px solid rgba(30, 153, 104, 0.3);
}
.admin-badge--used {
    color: var(--text-muted);
    background: rgba(74, 119, 212, 0.05);
    border: 1px solid var(--frame-border);
}
.admin-badge--used strong { color: var(--hydra-light); font-weight: 600; }
.admin-badge--expired {
    color: #E2A040;
    background: rgba(226, 160, 64, 0.1);
    border: 1px solid rgba(226, 160, 64, 0.35);
}

.acc-empty {
    margin: 0;
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 13px;
}

/* ===== /account/manage - INFO ===== */
.acc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(180deg, #2a6da8 0%, #1f4e7d 100%);
    border: 1px solid #4f8ec1;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 14px;
    transition: background 0.15s, box-shadow 0.15s;
}
.acc-back-btn:hover { background: linear-gradient(180deg, #347fc0 0%, #265c93 100%); }

.acc-info-list { display: flex; flex-direction: column; }
.acc-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(74, 119, 212, 0.08);
}
.acc-info-row:last-child { border-bottom: none; }
.acc-info-key {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--hydra-glow);
    font-size: 13px;
    font-weight: 600;
    min-width: 200px;
}
.acc-info-val { color: var(--text-primary); font-size: 13px; flex: 1; }
.acc-info-val--gold { color: var(--gold-light); font-variant-numeric: tabular-nums; font-weight: 600; }
.acc-info-vip-meta {
    color: var(--text-secondary);
    font-size: 12.5px;
    margin-left: 4px;
}
.acc-info-vip-meta strong { color: var(--text-primary); font-variant-numeric: tabular-nums; }
.acc-info-vip-days { color: var(--gold-light) !important; font-weight: 700; }

.acc-coin-val--ok   { color: var(--verdejante); font-weight: 700; font-variant-numeric: tabular-nums; }
.acc-coin-val--zero { color: var(--vinho);      font-weight: 700; font-variant-numeric: tabular-nums; }

.acc-coin-buy {
    color: var(--hydra-light);
    font-weight: 500;
    font-size: 12px;
    text-decoration: none;
    margin-left: 6px;
    transition: color 0.15s;
}
.acc-coin-buy:hover { color: var(--hydra-glow); text-decoration: underline; }

/* Atalho admin no /account/manage */
.acc-admin-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, rgba(91, 63, 184, 0.18) 0%, rgba(5, 16, 42, 0.55) 100%);
    border: 1px solid rgba(142, 123, 224, 0.35);
    border-left: 3px solid var(--royal-light);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.acc-admin-link:hover {
    background: linear-gradient(90deg, rgba(91, 63, 184, 0.28) 0%, rgba(5, 16, 42, 0.55) 100%);
    border-color: var(--royal-light);
}
.acc-admin-link-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-light);
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid rgba(142, 123, 224, 0.4);
    border-radius: 6px;
    flex-shrink: 0;
}
.acc-admin-link-text { flex: 1; min-width: 0; }
.acc-admin-link-title {
    color: var(--royal-light);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.acc-admin-link-desc {
    color: var(--text-secondary);
    font-size: 12.5px;
    margin-top: 2px;
}
.acc-admin-link-arrow {
    color: var(--royal-light);
    font-size: 22px;
    font-weight: 700;
    transition: transform 0.15s;
}
.acc-admin-link:hover .acc-admin-link-arrow { transform: translateX(3px); }

/* Link Admin no header */
.site-header-link--admin {
    color: var(--royal-light) !important;
    border: 1px solid rgba(142, 123, 224, 0.4);
    border-radius: 3px;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s, border-color 0.15s;
}
.site-header-link--admin:hover {
    background: rgba(91, 63, 184, 0.2);
    border-color: var(--royal-light);
}
.acc-info-sub { color: var(--text-muted); font-size: 12px; margin-left: 6px; font-weight: 400; }
.acc-info-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}
.acc-info-action:hover {
    background: rgba(74, 119, 212, 0.12);
    color: var(--hydra-glow);
}

.acc-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 12px;
    color: var(--hydra-glow);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding-top: 14px;
    border-top: 1px solid rgba(74, 119, 212, 0.1);
}

/* Security buttons grid */
.acc-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}
.acc-security-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    background: rgba(5, 16, 42, 0.6);
    border: 1px solid var(--frame-border);
    color: var(--text-primary);
    border-radius: 4px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.acc-security-btn:hover {
    background: rgba(74, 119, 212, 0.08);
    border-color: var(--frame-border-strong);
    color: var(--hydra-light);
}
.acc-security-btn svg { color: var(--hydra-light); }

/* ===== 2FA ===== */
.acc-2fa-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.08);
}
.acc-2fa-banner--on .acc-2fa-banner-icon { color: var(--verdejante); }
.acc-2fa-banner--off .acc-2fa-banner-icon { color: #E2A040; }
.acc-2fa-banner-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 16, 42, 0.6);
    border-radius: 50%;
    border: 1px solid currentColor;
    flex-shrink: 0;
}
.acc-2fa-banner-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}
.acc-2fa-banner--on .acc-2fa-banner-title { color: var(--verdejante); }
.acc-2fa-banner--off .acc-2fa-banner-title { color: #E2A040; }
.acc-2fa-banner-desc {
    color: var(--text-secondary);
    font-size: 12.5px;
    margin-top: 2px;
}

.acc-2fa-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.06);
}
.acc-2fa-method-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hydra-light);
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 4px;
    flex-shrink: 0;
}
.acc-2fa-method-text { flex: 1; }
.acc-2fa-method-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13.5px;
}
.acc-2fa-method-desc {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 2px;
}
.acc-2fa-status {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
}
.acc-2fa-status--on {
    color: var(--verdejante);
    background: rgba(30, 153, 104, 0.12);
    border: 1px solid rgba(30, 153, 104, 0.3);
}
.acc-2fa-footer {
    margin: 0;
    padding: 12px 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
}

/* ===== HISTÃ“RICO DE PUNIÃ‡Ã•ES ===== */
.acc-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    gap: 12px;
}
.acc-empty-icon {
    color: var(--hydra-deep);
    filter: drop-shadow(0 0 6px rgba(74, 119, 212, 0.2));
    opacity: 0.7;
}
.acc-empty-text { margin: 0; color: var(--text-secondary); font-size: 13.5px; }

.acc-punish-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-primary);
}
.acc-punish-table thead th {
    background: linear-gradient(180deg, rgba(27, 58, 122, 0.35) 0%, rgba(27, 58, 122, 0.2) 100%);
    color: var(--hydra-light);
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--frame-border-strong);
    letter-spacing: 0.3px;
}
.acc-punish-table td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.06);
    vertical-align: middle;
}
.acc-punish-date {
    color: var(--text-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.acc-punish-perma { color: var(--vinho); font-weight: 700; }

/* ===== HISTÃ“RICO DA LOJA ===== */
.acc-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-primary);
    margin-top: 14px;
}
.acc-history-table thead th {
    background: linear-gradient(180deg, rgba(27, 58, 122, 0.35) 0%, rgba(27, 58, 122, 0.2) 100%);
    color: var(--hydra-light);
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--frame-border-strong);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.acc-history-table tbody tr:nth-child(even) td {
    background: rgba(74, 119, 212, 0.025);
}
.acc-history-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(74, 119, 212, 0.06);
    vertical-align: middle;
}
.acc-history-table tbody tr:last-child td { border-bottom: none; }
.acc-history-col-date   { width: 200px; }
.acc-history-col-amount { width: 140px; text-align: right; }

.acc-history-date {
    color: var(--text-muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.acc-history-date-day  { display: inline-block; }
.acc-history-date-time { display: inline-block; margin-left: 8px; color: var(--text-secondary); opacity: 0.75; }

.acc-history-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
}

.acc-history-amount {
    text-align: right;
    font-family: var(--font-display, 'Georgia', serif);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
}
.acc-history-amount--credit { color: #5fcf7a; }
.acc-history-amount--debit  { color: #ff7a85; }

.acc-history-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(74, 119, 212, 0.08);
}
.acc-history-pager-info {
    color: var(--text-muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

.acc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 10px;
    color: var(--text-muted);
}
.acc-empty svg { color: var(--hydra-deep); opacity: 0.6; }
.acc-empty p { margin: 0; font-size: 13.5px; }

/* ===== CRIAR PERSONAGEM ===== */
.char-create-voc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 8px 0 4px;
}
.char-create-voc-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: rgba(5, 16, 42, 0.55);
    border: 1px solid var(--frame-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 140ms, background 140ms, box-shadow 140ms;
    text-align: center;
    user-select: none;
}
.char-create-voc-card:hover {
    border-color: var(--hydra-light);
    background: rgba(74, 119, 212, 0.06);
}
.char-create-voc-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.char-create-voc-card--selected {
    border-color: var(--hydra-light);
    background: rgba(74, 119, 212, 0.12);
    box-shadow: 0 0 0 1px var(--hydra-light) inset, 0 0 12px rgba(74, 119, 212, 0.25);
}
.char-create-voc-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.4px;
    transition: color 140ms;
}
.char-create-voc-card:hover .char-create-voc-name,
.char-create-voc-card--selected .char-create-voc-name {
    color: var(--hydra-light);
}
.char-create-hint {
    margin: 14px 0 0;
    padding: 12px 14px;
    background: rgba(5, 16, 42, 0.55);
    border-left: 3px solid var(--hydra-light);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .char-create-voc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
