/* ==========================================================================
   MOBILE CONTROLS — exclusivo mobile, não afeta PC
   ========================================================================== */

#mobile-controls {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9000;
    user-select: none;
    -webkit-user-select: none;
}

/* --------------------------------------------------------------------------
   JOYSTICK
   -------------------------------------------------------------------------- */

#joystick-zone {
    position: absolute;
    bottom: 20px; left: 20px;
    width: 150px; height: 150px;
    pointer-events: auto;
}

#joystick-base {
    position: absolute;
    top: 50%; left: 50%;
    width: 100px; height: 100px;
    margin-left: -50px; margin-top: -50px;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}

#joystick-stick {
    position: absolute;
    top: 50%; left: 50%;
    width: 50px; height: 50px;
    margin-left: -25px; margin-top: -25px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


/* --------------------------------------------------------------------------
   HOTBAR MOBILE — 4 slots acima do joystick
   -------------------------------------------------------------------------- */

#mob-hotbar {
    position: absolute;
    bottom: 185px; left: 20px;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.mob-slot {
    width: 52px; height: 52px;
    background: rgba(0,0,0,0.65);
    border: 2px solid #8d6e63;
    border-radius: 8px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
}

.mob-slot img {
    width: 80%; height: 80%;
    border-radius: 4px;
    object-fit: contain;
}

.mob-slot:active {
    background: rgba(255,215,0,0.3);
    border-color: gold;
}


/* --------------------------------------------------------------------------
   BOTÕES DE AÇÃO — MENU LATERAL DIREITO (Atributos, Skills, Bag)
   -------------------------------------------------------------------------- */

/* Menu lateral — topo direito fixo */
#mobile-actions {
    position: fixed;
    top: 30px;
    right: 12px;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    pointer-events: none;
    z-index: 9200;
}

.mob-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    box-shadow: none;
    pointer-events: auto;
    padding: 0;
    transition: transform 0.1s;
}

.mob-btn:active { transform: scale(0.92); }

/* Tamanho e estilo dos botões do menu lateral */
.mob-bag, .mob-btn-attr, .mob-btn-skills-open {
    width: 58px; height: 58px;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
}

.mob-bag img, .mob-btn-attr img, .mob-btn-skills-open img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}


/* --------------------------------------------------------------------------
   BOTÕES FLUTUANTES
   -------------------------------------------------------------------------- */

/* Ataque */
.mob-attack-btn {
    position: fixed;
    bottom: 50px; right: 50px;
    width: 90px; height: 90px;
    background: transparent;
    border: none;
    z-index: 9200;
    pointer-events: auto;
}

.mob-attack-btn img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.4));
}

/* Alvo */
.mob-target-btn {
    position: fixed;
    bottom: 165px; right: 120px;
    width: 60px; height: 60px;
    background: transparent;
    border: none;
    z-index: 9200;
    pointer-events: auto;
}

.mob-target-btn img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 100, 255, 0.4));
}

/* Sentar */
.mob-btn-sit {
    position: fixed;
    bottom: 250px; left: 25px;
    width: 48px; height: 48px;
    background: transparent;
    border: none;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-btn-sit img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.8));
}

/* Pegar item */
.mob-btn-pickup {
    position: fixed;
    bottom: 108px; right: 245px;
    width: 50px; height: 50px;
    background: transparent;
    border: none;
    z-index: 9200;
    display: none;
    align-items: center;
    justify-content: center;
    animation: floatHand 2s infinite ease-in-out;
}

.mob-btn-pickup img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

/* Interagir NPC */
.mob-btn-interact {
    position: fixed;
    bottom: 170px;
    right: 200px;
    width: 50px; height: 50px;
    background: transparent;
    border: none;
    z-index: 9200;
    display: none;
    animation: floatHand 2s infinite ease-in-out;
    animation-delay: 0.5s;
}

.mob-btn-interact img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(100, 255, 100, 0.6));
}

/* Interagir com Jogador */
.mob-btn-player-interact {
    position: fixed;
    bottom: 200px;
    right: 120px;
    width: 50px; height: 50px;
    background: transparent;
    border: none;
    z-index: 9200;
    display: none;
    animation: floatHand 2s infinite ease-in-out;
}

.mob-btn-player-interact img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.6));
}

@keyframes floatHand {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}


/* --------------------------------------------------------------------------
   CHAT MOBILE — centro/baixo, 40% da largura
   -------------------------------------------------------------------------- */

#mob-chat {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    z-index: 9500;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#mob-chat-history {
    width: 100%;
    max-height: 80px;
    overflow-y: auto;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 50%);
}

#mob-chat-history::-webkit-scrollbar { width: 0; }

#mob-chat-input-row {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 4px 8px 6px;
    gap: 6px;
    background: transparent;
    pointer-events: auto;
}

#mob-chat-input {
    flex: 1;
    height: 30px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 15px;
    color: white;
    font-size: 12px;
    padding: 0 12px;
    outline: none;
}

#mob-chat-input::placeholder { color: rgba(255,255,255,0.3); }

#mob-chat-send {
    width: 30px; height: 30px;
    background: rgba(46,125,50,0.85);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    flex-shrink: 0;
}

#mob-chat-send:active { background: rgba(27,94,32,0.9); }

/* Estado ativo — quando o input está focado */
#mob-chat.mob-chat-active {
    width: 55%; /* expande um pouco ao digitar */
    bottom: 0;
}

#mob-chat.mob-chat-active #mob-chat-history {
    max-height: 130px;
    background: rgba(0,0,0,0.75);
    border-radius: 8px 8px 0 0;
    -webkit-mask-image: none;
    mask-image: none;
    pointer-events: auto;
}

#mob-chat.mob-chat-active #mob-chat-input-row {
    background: rgba(0,0,0,0.75);
    border-radius: 0 0 8px 8px;
}

#mob-chat.mob-chat-active #mob-chat-input {
    border-color: rgba(255,215,0,0.5);
    background: rgba(0,0,0,0.85);
}

.mob-chat-msg {
    font-size: 11px;
    line-height: 1.4;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
    word-break: break-word;
    pointer-events: none;
    text-align: center; /* centraliza as mensagens no histórico compacto */
}

.mob-msg-system  { color: #ffe082; }
.mob-msg-error   { color: #ef9a9a; }
.mob-msg-party   { color: #80cbc4; }
.mob-msg-pm      { color: #ce93d8; }
.mob-msg-local   { color: #e0e0e0; }


/* --------------------------------------------------------------------------
   JANELA DE GERENCIAMENTO (Mochila / Status / etc.)
   -------------------------------------------------------------------------- */

#mob-mgmt-window {
    position: fixed;
    top: 5%; left: 5%;
    width: 90%; height: 85%;
    background: #23150d;
    border: 3px solid #5d4037;
    border-radius: 12px;
    z-index: 10000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    touch-action: none;
    box-shadow: 0 0 40px rgba(0,0,0,0.95);
    color: white;
    font-family: sans-serif;
}

.mob-win-header {
    display: flex;
    height: 52px;
    background: #1a0f0a;
    border-bottom: 2px solid #5d4037;
    flex-shrink: 0;
}

.mob-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: #888;
    pointer-events: auto;
    padding: 0 2px;
    text-align: center;
}

.mob-tab-btn.active {
    color: #ffd700;
    border-top: 2px solid #ffd700;
    background: #23150d;
}

.mob-win-close {
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8b0000;
    font-size: 18px;
    font-weight: bold;
    pointer-events: auto;
    flex-shrink: 0;
}

.mob-win-body { flex: 1; display: flex; overflow: hidden; }

#mob-list-area {
    width: 42%;
    background: rgba(0,0,0,0.35);
    border-right: 1px solid #5d4037;
    overflow-y: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

#mob-list-area::-webkit-scrollbar { width: 0; }

.mob-list-item {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ddd;
    font-size: 13px;
    pointer-events: auto;
    cursor: pointer;
}

.mob-list-item:active { background: rgba(255,215,0,0.12); }

.mob-list-item img {
    width: 34px; height: 34px;
    margin-right: 10px;
    border-radius: 4px;
    background: rgba(0,0,0,0.5);
    flex-shrink: 0;
    object-fit: contain;
}

#mob-detail-area {
    width: 58%;
    padding: 14px;
    overflow-y: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    background: #23150d;
}

.mob-detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mob-detail-icon {
    width: 60px; height: 60px;
    border: 2px solid #ffd700;
    padding: 4px;
    background: #000;
    border-radius: 6px;
    margin-bottom: 8px;
    object-fit: contain;
}

.mob-detail-card h3 { color: #ffd700; margin: 4px 0 8px; font-size: 15px; }

.mob-stats-wrap {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
    text-align: left;
}

.mob-stats-block { font-size: 12px; line-height: 1.7; }

.mob-stats-block + .mob-stats-block {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mob-detail-desc {
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: left;
    width: 100%;
    font-style: italic;
}

.mob-assign-section {
    width: 100%;
    background: rgba(0,0,0,0.35);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: center;
}

.mob-assign-section small { color: #999; font-size: 11px; }

.mob-assign-btns { display: flex; gap: 6px; margin-top: 8px; }

.m-btn-assign {
    flex: 1;
    height: 42px;
    background: #3e2723;
    border: 1px solid #ffd700;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    pointer-events: auto;
}

.m-btn-assign:active { background: #5d4037; }

.mob-action-btn {
    width: 100%;
    padding: 13px;
    background: #2e7d32;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    pointer-events: auto;
}

.mob-action-btn:active { background: #1b5e20; }

.mob-empty-msg {
    text-align: center;
    color: #555;
    margin-top: 40px;
    font-size: 13px;
    padding: 10px;
}


/* --------------------------------------------------------------------------
   DISCLAIMER
   -------------------------------------------------------------------------- */

#mob-disclaimer {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.mob-disc-box {
    background: #23150d;
    border: 2px solid #ffd700;
    padding: 28px 22px;
    border-radius: 14px;
    text-align: center;
    width: 82%;
    max-width: 360px;
    color: white;
}

.mob-disc-box h2 { margin-bottom: 10px; font-size: 18px; }
.mob-disc-box p  { font-size: 13px; color: #ccc; line-height: 1.6; }

#mob-disc-btn {
    margin-top: 20px;
    padding: 13px 26px;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
}


/* --------------------------------------------------------------------------
   TOOLTIP
   -------------------------------------------------------------------------- */

#item-tooltip {
    z-index: 11000 !important;
    pointer-events: none;
}


/* --------------------------------------------------------------------------
   BOTÃO GERENCIAR LOJA
   -------------------------------------------------------------------------- */

.mob-btn-manage-shop {
    position: fixed;
    bottom: 250px;
    left: 85px;
    width: 48px; height: 48px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #ffd700;
    border-radius: 10px;
    z-index: 9200;
    display: none;
    animation: pulseGold 2s infinite;
}

.mob-btn-manage-shop img {
    width: 70%; height: 70%;
    object-fit: contain;
}

@keyframes pulseGold {
    0%   { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}


/* ============================================================
   MOBILE SHOP SYSTEM
   ============================================================ */

#mob-shop-window {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15, 10, 5, 0.98);
    z-index: 12000;
    display: none;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    pointer-events: auto !important;
}

.mob-shop-header {
    height: 50px; background: #23150d; border-bottom: 2px solid #ffd700;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 15px; flex-shrink: 0;
}

.mob-shop-title { color: #ffd700; font-size: 16px; font-weight: bold; text-transform: uppercase; }
.mob-shop-close { font-size: 24px; color: #ef5350; padding: 10px; font-weight: bold; }

.mob-shop-tabs {
    display: flex; height: 45px; background: #3e2723;
    border-bottom: 1px solid #5d4037; flex-shrink: 0;
}

.mob-shop-tab {
    flex: 1; display: flex; align-items: center; justify-content: center;
    color: #aaa; font-weight: bold; font-size: 13px; text-transform: uppercase;
    transition: 0.2s; border-bottom: 3px solid transparent;
}

.mob-shop-tab.active { color: #fff; background: rgba(255,255,255,0.1); border-bottom-color: #ffd700; }

.mob-shop-body {
    display: flex !important;
    flex-direction: row;
    flex: 1;
    height: calc(100% - 95px);
    overflow: hidden;
    background: #000;
}

#mob-shop-list {
    width: 45%;
    border-right: 2px solid #5d4037;
    overflow-y: auto;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
    gap: 6px;
    align-content: start;
    background: rgba(0,0,0,0.2);
}

.mob-shop-item {
    background: rgba(255,255,255,0.05); border: 1px solid #5d4037;
    border-radius: 6px; padding: 4px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; position: relative;
    height: 75px; cursor: pointer;
}

.mob-shop-item.selected { border-color: #ffd700; background: rgba(255,215,0,0.15); box-shadow: inset 0 0 10px rgba(255,215,0,0.2); }
.mob-shop-item img { width: 36px; height: 36px; object-fit: contain; margin-bottom: 4px; }

.mob-shop-item .qty {
    position: absolute; top: 2px; right: 4px;
    font-size: 10px; color: #fff; font-weight: bold; text-shadow: 1px 1px 0 #000;
}

.mob-shop-item .price-tag {
    font-size: 10px; color: #ffd700; background: rgba(0,0,0,0.6);
    padding: 2px 4px; border-radius: 4px; margin-top: auto;
}

#mob-shop-detail {
    width: 55%;
    display: flex !important;
    flex-direction: column;
    background: #1a0f0a;
    height: 100%;
}

#mob-shop-rich-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    padding-bottom: 30px;
    -webkit-overflow-scrolling: touch;
    background: #150a05;
    color: #e0e0e0;
    font-size: 12px;
    line-height: 1.5;
}

#mob-shop-rich-content h3 { color: #fff; font-size: 16px; margin: 0 0 5px 0; border-bottom: 1px solid #555; padding-bottom: 5px; }
#mob-shop-rich-content .desc { color: #aaa; font-style: italic; margin-bottom: 10px; font-size: 11px; }
#mob-shop-rich-content hr { border: 0; border-top: 1px solid #444; margin: 8px 0; }
#mob-shop-rich-content div { margin-bottom: 3px; }

.mob-shop-actions-area {
    padding: 10px;
    background: #23150d;
    border-top: 2px solid #5d4037;
    display: none;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.detail-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qty-selector { display: flex; align-items: center; gap: 8px; background: #3e2723; padding: 4px 8px; border-radius: 20px; border: 1px solid #5d4037; }

.qty-btn {
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: #5d4037; color: #fff; font-weight: bold; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}

.qty-btn:active { background: #ffd700; color: #000; }
#mob-shop-qty-val { min-width: 25px; text-align: center; color: #fff; font-weight: bold; font-size: 16px; }

#mob-shop-action-btn {
    flex: 1; padding: 12px; border: none; border-radius: 6px;
    font-weight: bold; font-size: 14px; color: #fff; text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.btn-buy { background: linear-gradient(to bottom, #2e7d32, #1b5e20); border: 1px solid #43a047; }
.btn-sell { background: linear-gradient(to bottom, #f57f17, #e65100); border: 1px solid #ff9800; }
.btn-buy:active, .btn-sell:active { transform: translateY(2px); }

.mob-select-msg {
    height: 100%; display: flex; align-items: center; justify-content: center;
    color: #555; font-style: italic; text-align: center; padding: 20px;
}


/* ============================================================
   MOBILE SHOP SETUP
   ============================================================ */

#mob-shop-setup-window {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 10, 5, 0.98); z-index: 13000;
    display: none; flex-direction: column;
    font-family: 'Roboto', sans-serif;
    pointer-events: auto !important;
}

.setup-body { display: flex; flex: 1; overflow: hidden; background: #000; }

.setup-col-inv {
    width: 30%; border-right: 2px solid #3e2723;
    display: flex; flex-direction: column;
}

.setup-col-inv h4 { background: #23150d; color: #ffd700; padding: 10px; font-size: 12px; text-align: center; margin: 0; }

#mob-setup-inv-list {
    flex: 1; overflow-y: auto; padding: 5px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 4px; align-content: start;
}

.setup-col-details {
    width: 40%; background: #1a0f0a; border-right: 2px solid #3e2723;
    display: flex; flex-direction: column; padding: 10px;
}

#mob-setup-rich-content { flex: 1; overflow-y: auto; font-size: 11px; color: #ccc; }

.setup-price-area { background: #23150d; padding: 10px; border-radius: 8px; border: 1px solid #5d4037; margin-top: 10px; }
.setup-price-area label { display: block; font-size: 11px; color: #ffd700; margin-bottom: 5px; }

.setup-price-area input {
    width: 100%; background: #000; border: 1px solid #ffd700;
    color: #fff; padding: 6px; border-radius: 4px;
    font-size: 14px; margin-bottom: 8px;
}

.setup-col-stall {
    width: 30%; background: #150a05; display: flex; flex-direction: column;
}

.setup-col-stall h4 { background: #23150d; color: #69f0ae; padding: 10px; font-size: 12px; text-align: center; margin: 0; }

#mob-setup-stall-list { flex: 1; overflow-y: auto; padding: 5px; display: flex; flex-direction: column; gap: 5px; }

.stall-item-row {
    background: rgba(255,255,255,0.05); border: 1px solid #4caf50; border-radius: 4px;
    padding: 5px; display: flex; align-items: center; justify-content: space-between;
}

.stall-item-row img { width: 24px; height: 24px; }
.stall-item-info { flex: 1; margin-left: 8px; font-size: 10px; color: #eee; }
.stall-remove-btn { color: #ef5350; font-weight: bold; padding: 5px; font-size: 14px; }

.setup-footer {
    height: 70px; background: #23150d; border-top: 2px solid #ffd700;
    display: flex; align-items: center; padding: 0 15px; gap: 15px;
}

.setup-footer input { flex: 1; background: #000; border: 1px solid #5d4037; color: #fff; padding: 10px; border-radius: 6px; }
#mob-setup-open-btn { padding: 12px 25px; background: #2e7d32; color: #fff; border: none; border-radius: 6px; font-weight: bold; }


/* ============================================================
   MOBILE SHOP ADMIN
   ============================================================ */

#mob-shop-admin-window {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 10, 5, 0.98); z-index: 14000;
    display: none; flex-direction: column;
    font-family: 'Roboto', sans-serif;
    pointer-events: auto !important;
}

.admin-main-container {
    display: flex; flex: 1; overflow: hidden; background: #110804;
}

.admin-col-info {
    width: 38%; padding: 15px; display: flex; flex-direction: column;
    gap: 12px; border-right: 2px solid #3e2723;
}

.admin-info-box { background: #1a0f0a; border: 1px solid #5d4037; border-radius: 8px; padding: 12px; }

.admin-info-box label, .admin-profit-card label, .list-label {
    display: block; font-size: 10px; color: #8d6e63; font-weight: bold; margin-bottom: 5px;
    text-transform: uppercase; letter-spacing: 1px;
}

.admin-meta-row { font-size: 13px; color: #ccc; margin-bottom: 5px; font-weight: bold; }

.admin-profit-card {
    background: linear-gradient(to bottom, #23150d, #000);
    border: 2px solid #ffd700; border-radius: 10px; padding: 15px; text-align: center;
}

#mob-admin-gold { font-size: 24px; color: #69f0ae; font-weight: bold; text-shadow: 0 0 10px rgba(105,240,174,0.3); }

.admin-col-items { width: 62%; padding: 15px; display: flex; flex-direction: column; }

.admin-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px 15px;
    gap: 10px;
}

.admin-item-list {
    background: rgba(0,0,0,0.3);
    border: 1px solid #5d4037;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-scroll-list {
    flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 5px;
}

.admin-profit-zone {
    text-align: center;
    background: linear-gradient(to bottom, #23150d, #000);
    border: 1px solid #ffd700;
    border-radius: 10px;
    padding: 10px;
    flex-shrink: 0;
}

.admin-footer {
    padding: 12px 20px; background: #23150d; border-top: 2px solid #ffd700;
    display: flex; gap: 20px; justify-content: center;
}

.admin-footer button { flex: 1; max-width: 250px; height: 45px; font-size: 14px; }

#mob-admin-title {
    color: #ffffff;
    font-size: 18px;
    margin: 5px 0;
    text-shadow: 1px 1px 2px #000;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.modal-overlay { z-index: 30000 !important; }


/* ============================================================
   MOBILE TRADE SYSTEM
   ============================================================ */

#mob-trade-window {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10, 5, 0, 0.98);
    z-index: 20000 !important;
    display: none;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    pointer-events: auto !important;
}

.trade-body { display: flex; flex: 1; overflow: hidden; background: #000; }

.trade-col-left {
    width: 40%; border-right: 2px solid #3e2723;
    display: flex; flex-direction: column; background: #000;
}

#mob-trade-inv-list {
    height: 85px;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px; padding: 10px;
    background: rgba(0,0,0,0.5);
    -webkit-overflow-scrolling: touch;
}

#mob-trade-inv-list .mob-shop-item { flex-shrink: 0; width: 50px; height: 50px; }

#mob-trade-description {
    flex: 1; overflow-y: auto; padding: 15px;
    background: #1a0f0a; border-top: 2px solid #ffd700;
    font-size: 11px; color: #ccc; display: flex; flex-direction: column;
}

.trade-col-right { width: 60%; display: flex; flex-direction: column; }

.trade-offer-zone { height: 50%; display: flex; flex-direction: column; padding: 10px; }
.zone-me { background: #1a1505; border-bottom: 1px solid #3e2723; }
.zone-them { background: #050a10; }

.trade-grid-small { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; min-height: 45px; }

.trade-slot-mini {
    width: 40px; height: 40px; background: rgba(255,255,255,0.05);
    border: 1px solid #555; border-radius: 4px; position: relative;
}

.trade-slot-mini img { width: 100%; height: 100%; object-fit: contain; }

.trade-row-gold { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.trade-gold-box { color: #ffd700; font-weight: bold; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.trade-gold-box input { width: 80px; background: #000; border: 1px solid #ffd700; color: #fff; padding: 4px; border-radius: 4px; font-size: 12px; }

.trade-status-badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: bold; text-transform: uppercase; }
.status-waiting { background: #555; color: #fff; }
.status-locked  { background: #f57f17; color: #fff; border: 1px solid #ffd700; }
.status-ready   { background: #2e7d32; color: #fff; border: 1px solid #69f0ae; }

.trade-footer {
    height: 60px; background: #23150d; border-top: 2px solid #ffd700;
    display: flex; align-items: center; padding: 0 15px; gap: 15px;
}


/* --------------------------------------------------------------------------
   MENU DE CONTEXTO SOCIAL
   -------------------------------------------------------------------------- */

#mob-player-menu {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 220px; background: rgba(20, 10, 5, 0.98);
    border: 2px solid #ffd700; border-radius: 12px;
    z-index: 26000; font-family: 'Roboto', sans-serif;
    display: none; flex-direction: column; overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.9);
}

.mob-menu-header {
    background: #23150d; color: #ffd700; padding: 12px;
    text-align: center; font-weight: bold; border-bottom: 1px solid #3e2723;
}

.mob-menu-btn {
    padding: 15px; color: #fff; text-align: center;
    border-bottom: 1px solid #3e2723; font-size: 14px;
}

.mob-menu-btn:active { background: #3e2723; color: #ffd700; }
.mob-menu-btn.cancel { color: #ef5350; border-bottom: none; }


/* ============================================================
   JANELA DE SKILLS MOBILE
   ============================================================ */

#mob-skills-window {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 10, 5, 0.98); z-index: 25000;
    display: none; flex-direction: column; font-family: 'Roboto', sans-serif;
}

#mob-skills-list-area {
    width: 40%; border-right: 2px solid #3e2723;
    overflow-y: auto; background: rgba(0,0,0,0.3); padding: 5px;
}

#mob-skills-detail-area {
    width: 60%; display: flex; flex-direction: column; background: #1a0f0a;
}

#mob-skills-rich-content { flex: 1; overflow-y: auto; padding: 15px; }

#mob-skills-actions-ui {
    padding: 15px; background: #23150d; border-top: 2px solid #5d4037;
    display: flex; flex-direction: column; gap: 12px;
}

.mob-sk-item {
    display: flex; align-items: center; padding: 8px; margin-bottom: 5px;
    background: rgba(255,255,255,0.05); border: 1px solid #3e2723; border-radius: 6px;
}

.mob-sk-item.selected { border-color: #ffd700; background: rgba(255,215,0,0.1); }
.mob-sk-item.locked   { opacity: 0.5; }

.mob-sk-item img { width: 34px; height: 34px; border-radius: 4px; margin-right: 10px; }
.mob-sk-name { font-size: 13px; font-weight: bold; color: #fff; }
.mob-sk-meta { font-size: 10px; color: #aaa; }

.mob-skill-slots { pointer-events: auto !important; }
.mob-skill-slots button { cursor: pointer; touch-action: manipulation; }

.skill-level-manager { display: flex; flex-direction: column; align-items: center; }
.skill-shortcut-row { display: flex; gap: 8px; justify-content: center; }

.sk-slot-btn {
    width: 42px; height: 42px; background: #3e2723; border: 2px solid #ffd700;
    color: #ffd700; border-radius: 8px; font-weight: bold; font-size: 18px;
}

.sk-slot-btn:active { background: #ffd700; color: #000; }

#mob-skills-upgrade-btn {
    width: 100%; padding: 12px; border: none; border-radius: 6px;
    background: linear-gradient(to bottom, #ffca28, #f57c00);
    color: #fff; font-weight: bold; text-transform: uppercase;
}


/* ============================================================
   MEDIA QUERIES — MOBILE (max-width: 900px)
   ============================================================ */

@media screen and (max-width: 900px) {

    /* Esconde janelas PC que têm versão mobile própria */
    #trade-window,
    #shop-window,
    #shop-setup-window,
    #shop-owner-window,
    #skills-window {
        display: none !important;
    }

    /* Janelas PC reutilizadas no mobile */
    #inventory-window, #status-window {
        margin: 0 !important;
        box-shadow: 0 0 20px rgba(0,0,0,0.8) !important;
        width: 92vw !important;
        max-width: 92vw !important;
    }

    #inventory-window .inv-left {
        width: 120px !important;
        flex-shrink: 0 !important;
    }

    #inventory-window .equip-slots-container {
        padding-left: 10px !important;
    }

    #inventory-window .bag-grid {
        grid-template-columns: repeat(6, 44px) !important;
        grid-auto-columns: 44px !important;
        gap: 4px !important;
        padding: 5px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        height: auto !important;
        max-height: 220px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #inventory-window .win-content {
        padding: 10px !important;
        gap: 6px !important;
    }

    /* Tooltip */
    #item-tooltip {
        z-index: 999999 !important;
        position: fixed !important;
        pointer-events: none !important;
        display: none;
        transform: translateZ(0);
    }

    /* Action Sheet */
    #mob-action-sheet { z-index: 40000 !important; }

    /* Janelas trade/loja */
    #mob-trade-window, #mob-shop-window, #mob-shop-setup-window, #mob-shop-admin-window {
        z-index: 30000 !important;
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100vw !important; height: 100vh !important;
    }

    /* Diálogos NPC */
    #dialogue-overlay { z-index: 35000 !important; }

    /* Ajuste do diálogo */
    #dialogue-overlay {
        width: 90% !important;
        bottom: 100px;
    }

    .dialogue-box { padding: 15px; }
    .dialogue-text { font-size: 16px; }
}

/* ==========================================================================
   ROTATE DEVICE OVERLAY
   ========================================================================== */

#mob-rotate-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #0d0800;
    z-index: 999999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    pointer-events: all;
}

#mob-rotate-overlay img {
    width: 80px;
    height: 80px;
    opacity: 0.85;
    animation: rotateHint 2s ease-in-out infinite;
}

#mob-rotate-overlay p {
    color: #e0c080;
    font-size: 15px;
    font-family: sans-serif;
    text-align: center;
    line-height: 1.6;
    max-width: 260px;
    opacity: 0.85;
}

@keyframes rotateHint {
    0%   { transform: rotate(0deg)   scale(1);    }
    30%  { transform: rotate(-90deg) scale(1.08); }
    60%  { transform: rotate(-90deg) scale(1);    }
    100% { transform: rotate(0deg)   scale(1);    }
}


/* ==========================================================================
   HOTBAR EM ARCO — slots ao redor do joystick
   ========================================================================== */

#mob-hotbar {
    /* Reseta o layout em linha anterior */
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 0;          /* âncora no canto do joystick-zone */
    display: block !important;
    pointer-events: auto;
}

/* Centro do joystick (joystick-zone é 150×150, bottom:20, left:20) */
/* O "origin" do arco fica no centro do joystick:
   center-x ≈ 20 + 75 = 95px from left edge of viewport
   center-y ≈ bottom: 20 + 75 = 95px from bottom of viewport
   Cada slot é posicionado absolutamente a partir daí via transform.       */

.mob-slot {
    position: fixed;
    width: 46px; height: 46px;
    border-radius: 50% !important;          /* circular */
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(180, 130, 80, 0.6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.06);
    color: rgba(180,160,120,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    overflow: hidden;
    backdrop-filter: blur(2px);
    transition: transform 0.12s, background 0.12s, border-color 0.12s;
    pointer-events: auto !important;
    cursor: pointer;
    position: fixed; /* já deve estar */
}

.mob-slot img {
    width: 78%; height: 78%;
    border-radius: 50%;
    object-fit: contain;
}

.mob-slot:active,
.mob-slot-drop-hover {
    background: rgba(255, 200, 60, 0.25);
    border-color: rgba(255, 215, 0, 0.9);
    transform: scale(1.15) !important;
}

/*
  Arco: 4 slots distribuídos entre ~140° e ~70° (partindo das 8h até as 11h)
  Raio do arco = 105px a partir do centro do joystick.
  Centro do joystick na tela:
    left-anchor = 20px (joystick-zone left) + 75px (metade) = 95px
    bottom-anchor = 20px (joystick-zone bottom) + 75px (metade) = 95px from bottom

  Ângulos (sentido anti-horário, 0° = direita):
    slot-0: 160°  (esquerda-baixo)
    slot-1: 125°
    slot-2:  95°
    slot-3:  65°  (quase em cima)

  left  = 95 + cos(θ) * R - 23    (23 = metade do slot 46px)
  bottom= 95 + sin(θ) * R - 23
*/
#mob-slot-0 { bottom: 175px; left: 50px; }  /* Topo do joystick */
#mob-slot-1 { bottom: 165px; left: 120px; } /* Nordeste */
#mob-slot-2 { bottom: 115px; left: 175px; }  /* Leste (Direita) */
#mob-slot-3 { bottom: 45px; left: 175px; }  /* Sudeste */

/* Slot 5 — espelho do slot-2 */
#mob-slot-5 {
    bottom: 115px;
    right: 175px;
}

/* Slot 4 — espelho do slot-1 */
#mob-slot-4 {
    bottom: 45px;
    right: 175px;
}

/* ==========================================================================
   VOICE CHAT
   ========================================================================== */

#mob-chat-voice {
    width: 30px; height: 30px;
    background: rgba(30, 80, 160, 0.85);
    border: none; border-radius: 50%;
    color: white; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: auto; flex-shrink: 0;
    margin-left: 2px;
    transition: background 0.2s, box-shadow 0.2s;
}

#mob-chat-voice.voice-active {
    background: rgba(180, 30, 30, 0.9) !important;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.6);
}

#mob-voice-overlay {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 5, 0, 0.95);
    border: 2px solid #ffd700;
    border-radius: 16px;
    padding: 24px 28px;
    color: #fff;
    font-size: 16px;
    font-family: sans-serif;
    text-align: center;
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 260px;
    max-width: 80vw;
    pointer-events: auto;
    box-shadow: 0 0 40px rgba(0,0,0,0.9);
}

/* Modo gravando */
#mob-voice-recording-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#mob-voice-mic-icon {
    font-size: 36px;
    animation: micPulse 1s infinite;
}

#mob-voice-recording-label {
    color: #ffd700;
    font-weight: bold;
}

#mob-voice-interim {
    font-size: 13px;
    color: #ccc;
    min-height: 20px;
    max-width: 220px;
    line-height: 1.4;
    font-style: italic;
}

#mob-voice-hint {
    font-size: 11px;
    color: #555;
}

/* Modo revisão */
#mob-voice-review-ui {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

#mob-voice-review-label {
    color: #ffd700;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#mob-voice-result-text {
    background: rgba(255,255,255,0.07);
    border: 1px solid #5d4037;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    color: #fff;
    width: 100%;
    min-height: 40px;
    line-height: 1.5;
    word-break: break-word;
    text-align: left;
    box-sizing: border-box;
}

#mob-voice-review-actions {
    display: flex;
    gap: 16px;
    width: 100%;
}

#mob-voice-discard {
    flex: 1; padding: 12px;
    background: #c62828;
    border: none; border-radius: 8px;
    color: #fff; font-size: 20px; font-weight: bold;
}

#mob-voice-send {
    flex: 1; padding: 12px;
    background: #2e7d32;
    border: none; border-radius: 8px;
    color: #fff; font-size: 20px; font-weight: bold;
}

#mob-voice-discard:active { background: #b71c1c; }
#mob-voice-send:active    { background: #1b5e20; }

@keyframes micPulse {
    0%, 100% { transform: scale(1);    opacity: 1;   }
    50%       { transform: scale(1.25); opacity: 0.6; }
}

/* ==========================================================================
   STATUS CONTAINER (BUFFS/DEBUFFS) — REPOSICIONAMENTO MOBILE
   ========================================================================== */

@media screen and (max-width: 900px) {

    #status-container {
        /* Solta do HUD do PC e reposiciona para topo central */
        position: fixed !important;
        top: 12px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;

        /* Muda direção para horizontal — ícones em linha no topo */
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;

        /* Reseta padding do PC */
        padding-left: 0 !important;

        /* Garante que fica acima do HUD mas abaixo das janelas */
        z-index: 9100 !important;
        pointer-events: none !important;

        /* Limita largura para não conflitar com bordas */
        max-width: 50vw !important;
    }

    .status-icon {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 0 !important;
    }

    /* Timer fica abaixo do ícone no mobile (não mais à esquerda) */
    .status-timer {
        position: absolute !important;
        right: auto !important;
        left: 50% !important;
        top: auto !important;
        bottom: -16px !important;
        transform: translateX(-50%) !important;
        margin-right: 0 !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    /* Stacks mantém posição */
    .status-stacks {
        font-size: 9px !important;
        padding: 1px 4px !important;
        top: -4px !important;
        right: -4px !important;
    }

    
    /* Remove filters pesados — substitui por border simples */
    .status-img {
        filter: none !important;
        border-radius: 50% !important;
    }

    .status-icon.buff .status-img {
        filter: none !important;
        box-shadow: 0 0 4px rgba(105,240,174,0.6) !important;
    }

    .status-icon.debuff .status-img {
        filter: none !important;
        box-shadow: 0 0 4px rgba(239,83,80,0.6) !important;
    }

    /* Força GPU layer dedicada para o container — evita repaint do resto da tela */
    #status-container {
        will-change: contents !important;
        transform: translateX(-50%) translateZ(0) !important;
    }
}

/* ==========================================================================
   AREA SKILL TARGETING
   ========================================================================== */

#mob-area-label {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    border: 1px solid #ffd700;
    border-radius: 10px;
    color: #ffd700;
    font-size: 15px;
    padding: 8px 16px;
    z-index: 19000;
    pointer-events: auto;
    text-align: center;
    white-space: nowrap;
}

#mob-area-cancel {
    cursor: pointer;
    margin-left: 10px;
    font-size: 13px;
    color: #ef5350;
    font-weight: bold;
    vertical-align: top;
}

/* ==============================================================
   OTIMIZAÇÃO DA TELA DE CRIAÇÃO DE PERSONAGEM (MOBILE)
============================================================== */
@media screen and (max-width: 900px), screen and (max-height: 600px) {
    
    /* 1. LIMPEZA TOTAL DA COLUNA ESQUERDA */
    /* Oculta os itens diretos (Slots e botões) */
    body.is-creating-char #char-slots-container,
    body.is-creating-char #btn-enter-game,
    body.is-creating-char button[onclick*="logout"] {
        display: none !important;
    }

    /* Como não sabemos o nome exato da classe da esquerda, usamos um truque: 
       A primeira DIV dentro da tela de seleção geralmente é a coluna da esquerda. */
    body.is-creating-char #char-selection-screen > div:first-child {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Oculta os títulos H1 ou H2 (A palavra "Personagens") dentro da coluna da esquerda */
    body.is-creating-char #char-selection-screen > div:first-child h1,
    body.is-creating-char #char-selection-screen > div:first-child h2 {
        display: none !important;
    }

    /* 2. PAINEL DE CRIAÇÃO (DIREITA) */
    body.is-creating-char #char-create-panel {
        position: fixed !important;
        right: 2% !important;
        top: 5% !important;
        width: 45% !important;
        max-width: 320px !important;
        height: 90% !important;
        overflow-y: auto !important;
        padding: 15px !important;
        background: rgba(20, 10, 5, 0.95) !important;
        border: 2px solid #ffd700 !important;
        border-radius: 12px !important;
        z-index: 100 !important;
    }

    body.is-creating-char #char-create-panel h2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    body.is-creating-char #char-create-panel h3, 
    body.is-creating-char #char-create-panel label {
        font-size: 13px !important;
        margin-top: 10px !important;
    }

    body.is-creating-char #new-char-name {
        width: 100% !important;
        font-size: 14px !important;
        padding: 8px !important;
    }

    body.is-creating-char .gender-selectors {
        transform: scale(0.85);
        transform-origin: left center;
        margin: 5px 0 !important;
    }

    body.is-creating-char .classes-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    body.is-creating-char .class-btn {
        padding: 6px !important;
        font-size: 11px !important;
    }

    body.is-creating-char .color-swatch {
        width: 22px !important;
        height: 22px !important;
        margin: 2px !important;
    }

    body.is-creating-char .create-actions {
        display: flex !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }
    body.is-creating-char .create-actions button {
        padding: 10px !important;
        font-size: 13px !important;
        width: 100% !important;
    }

    /* 3. CAIXA DE INFORMAÇÃO DA CLASSE (MOVIDA PARA ESQUERDA-BAIXO) */
    body.is-creating-char #center-class-info {
        position: fixed !important;
        left: 2% !important;
        bottom: 5% !important;
        width: 45% !important;
        max-width: 320px !important;
        transform: none !important;
        padding: 10px !important;
        background: rgba(0, 0, 0, 0.8) !important;
        z-index: 90 !important;
    }

    body.is-creating-char #center-class-info h3 {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    body.is-creating-char #class-description {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* 4. SETAS DE CABELO (MOVIDAS PARA ESQUERDA-CIMA) */
    body.is-creating-char #creation-arrows {
        position: fixed !important;
        
        /* 1️⃣ Posição da "caixa" na tela */
        left: 42% !important;   /* Ajuste de 0 a 100% para mover horizontalmente */
        top: 70% !important;    /* Ajuste de 0 a 100% para mover verticalmente */
        
        /* 2️⃣ Tamanho e Espaçamento */
        width: max-content !important; /* Força a caixa a ter exatamente o tamanho das duas setas juntas */
        gap: 30px !important;          /* Distância entre as setas (NUNCA use negativo) */
        
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        padding-top: 25px !important;
        z-index: 100 !important;
    }

    /* 3️⃣ O SEGREDO: O "> *" pega as setas independente se são div, button ou img */
    body.is-creating-char #creation-arrows > * {
        position: static !important; /* MATA o left/right absoluto do PC que estava jogando elas longe */
        margin: 0 !important;
        transform: none !important;
        
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
        
        background: rgba(20, 10, 5, 0.95) !important;
        border: 2px solid #ffd700 !important;
        border-radius: 10px !important;
        color: #ffd700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Texto "Estilo de Cabelo" */
    body.is-creating-char #creation-arrows::before {
        content: "Estilo de Cabelo";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        color: #ffd700;
        font-size: 14px;
        font-weight: bold;
        text-shadow: 1px 1px 3px black;
        white-space: nowrap;
    }
}