.od-container { display: flex; width: 100%; height: 100%; background: radial-gradient(circle at top right, #1a0a1a, #050505); font-family: var(--font-palatino, 'Georgia', serif); overflow: hidden; }

/* SIDEBAR E TOGGLE */
.od-sidebar { width: 260px; background: rgba(10,5,5,0.9); border-right: 2px solid #e91e63; padding: 20px; display: flex; flex-direction: column; overflow-y: auto; box-shadow: 10px 0 20px rgba(0,0,0,0.8); z-index: 5; }
.od-title { color: #e91e63; font-size: 24px; text-align: center; margin: 0 0 15px 0; text-shadow: 0 0 15px rgba(233,30,99,0.6); text-transform: uppercase; letter-spacing: 1px;}

.od-source-toggle { display: flex; gap: 5px; margin-bottom: 15px; background: #000; padding: 4px; border-radius: 6px; border: 1px solid #333; }
.od-source-toggle button { flex: 1; background: transparent; color: #888; border: none; padding: 8px 0; font-size: 11px; font-weight: bold; text-transform: uppercase; cursor: pointer; transition: 0.3s; border-radius: 4px; }
.od-source-toggle button:hover { color: #fff; background: #111; }
.od-source-toggle button.active { background: #e91e63; color: #fff; box-shadow: 0 0 10px rgba(233,30,99,0.5); }

.od-char-list { display: flex; flex-direction: column; gap: 10px; }
.od-toggle-btn { background: #111; border: 1px solid #333; color: #aaa; padding: 10px; border-radius: 6px; cursor: pointer; text-align: left; font-family: sans-serif; font-weight: bold; transition: 0.2s; display: flex; align-items: center; gap: 10px; }
.od-toggle-btn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid #555; }
.od-toggle-btn:hover { background: #222; color: #fff; }
.od-toggle-btn.active { background: linear-gradient(to right, #4a148c, #111); border-color: #e91e63; color: #fff; box-shadow: inset 0 0 10px rgba(233,30,99,0.3); }
.od-toggle-btn.active img { border-color: #e91e63; box-shadow: 0 0 10px #e91e63; }

/* MAIN AREA */
.od-main { flex: 1; padding: 30px; display: flex; flex-direction: column; overflow-y: auto; }
.od-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.od-btn { background: transparent; border: 1px solid #ffca28; color: #ffca28; padding: 8px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase; transition: 0.2s; }
.od-btn:hover { background: #ffca28; color: #000; box-shadow: 0 0 15px #ffca28; }

/* GRID DE CARTAS */
.od-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 25px; align-items: start; }

.od-card { background: rgba(20,15,15,0.9); border: 1px solid #4a3623; border-radius: 8px; padding: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.8); display: flex; flex-direction: column; gap: 15px; transition: 0.3s; position: relative; overflow: hidden;}
.od-card:hover { border-color: #ffca28; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,0.9), inset 0 0 20px rgba(255,202,40,0.1); }
.od-card::before { content:''; position:absolute; top:0; left:0; width:100%; height:4px; background: linear-gradient(to right, #ffca28, #e91e63); }

/* HEADER DA CARTA */
.od-card-header { display: flex; gap: 15px; align-items: center; border-bottom: 1px dashed #333; padding-bottom: 10px; }
.od-card-header img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #ffca28; box-shadow: 0 0 10px rgba(255,202,40,0.5); }
.od-name { font-size: 20px; font-weight: bold; color: #fff; margin: 0; text-shadow: 1px 1px 3px #000; letter-spacing: 1px;}
.od-alias { font-size: 13px; color: #ff9800; font-style: italic; margin: 0; }
.od-prof { background: #000; border: 1px solid #555; color: #4caf50; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-family: monospace; font-weight: bold; margin-top: 4px; display: inline-block;}

/* BARRAS DE STATUS */
.od-bar-group { display: flex; flex-direction: column; gap: 8px; }
.od-bar-wrap { display: flex; align-items: center; gap: 10px; font-family: sans-serif; font-size: 11px; font-weight: bold; color: #aaa; text-transform: uppercase; }
.od-bar-lbl { width: 55px; text-align: right; }
.od-bar-bg { flex: 1; height: 12px; background: #000; border: 1px solid #333; border-radius: 6px; position: relative; overflow: hidden; }
.od-bar-fill { height: 100%; position: absolute; top: 0; left: 0; transition: width 0.5s ease; }
.od-bar-fill.hp { background: linear-gradient(to right, #d32f2f, #ff5252); box-shadow: 0 0 10px #ff5252; }
.od-bar-fill.en { background: linear-gradient(to right, #f57f17, #ffeb3b); box-shadow: 0 0 10px #ffeb3b; }
.od-bar-fill.in { background: linear-gradient(to right, #1976d2, #4fc3f7); box-shadow: 0 0 10px #4fc3f7; }
.od-bar-val { width: 65px; text-align: left; color: #fff; font-family: monospace; font-size: 13px;}

/* SURVIVAL (Fome e Sede) */
.od-survival { display: flex; justify-content: space-between; background: #0a0a0a; padding: 8px 15px; border-radius: 4px; border: 1px solid #222; }
.od-surv-item { display: flex; flex-direction: column; align-items: center; font-family: sans-serif; font-size: 11px; font-weight: bold; color: #888; text-transform: uppercase;}
.od-surv-item b { font-size: 16px; color: #fff; font-family: monospace; margin-top: 2px;}
.od-surv-item.warning b { color: #ff9800; text-shadow: 0 0 5px #ff9800;}
.od-surv-item.danger b { color: #f44336; text-shadow: 0 0 8px #f44336; animation: odPulse 1s infinite alternate;}

/* ATRIBUTOS */
.od-attrs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; text-align: center; }
.od-attr-box { background: #050505; border: 1px solid #444; border-radius: 4px; padding: 5px 0; }
.od-attr-lbl { display: block; font-size: 9px; color: #ffca28; font-weight: bold; font-family: sans-serif;}
.od-attr-val { display: block; font-size: 15px; color: #fff; font-weight: bold; }
.od-attr-mod { display: block; font-size: 10px; color: #aaa; font-family: monospace;}

/* PERÍCIAS */
.od-skills { background: rgba(0,0,0,0.5); padding: 10px; border-radius: 4px; border: 1px solid #333; }
.od-skills-title { font-size: 11px; color: #4fc3f7; text-transform: uppercase; margin: 0 0 5px 0; font-family: sans-serif; font-weight: bold;}
.od-skills-list { font-size: 12px; color: #ccc; line-height: 1.5; }
.od-skill-tag { background: #1a1a1a; border: 1px solid #555; padding: 2px 6px; border-radius: 10px; display: inline-block; margin: 2px; }

/* BOTÃO DE ABRIR FICHA */
.od-btn-ficha {
    background: linear-gradient(135deg, #2196f3, #0d47a1);
    border: 1px solid #64b5f6;
    color: #fff;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-family: sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: 0.2s;
    margin-left: auto;
}
.od-btn-ficha:hover {
    background: linear-gradient(135deg, #64b5f6, #1976d2);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.6);
    transform: translateY(-1px);
}

@keyframes odPulse { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 1; transform: scale(1.1); } }

/* --------------------------------------------------------------------------
   Migrado de olhodeus.html (inline style=)
   -------------------------------------------------------------------------- */
.od-search-input {
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 1px solid #e91e63;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    font-family: var(--font-palatino);
    font-size: 13px;
    box-shadow: inset 0 0 5px rgba(233,30,99,0.3);
    box-sizing: border-box;
}

.od-sidebar-hint {
    color: #aaa;
    font-size: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.od-header-title {
    color: #ffca28;
    margin: 0;
    font-family: var(--font-palatino);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,202,40,0.5);
}

.od-header-sub {
    color: #aaa;
    font-size: 13px;
}

/* Modal de detalhes — display controlado por JS via style.display (flex/none) */
.od-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.od-modal-box {
    background: #111;
    border: 2px solid #9c27b0;
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.4);
    font-family: var(--font-palatino, sans-serif);
}

.od-modal-header {
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #1a0524, #111);
}

.od-modal-title {
    color: #ffca28;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #000;
}

.od-modal-close {
    background: transparent;
    border: none;
    color: #f44336;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
    text-shadow: 0 0 5px #f44336;
}

.od-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}