body {
    font-family: monospace;
    background-color: #333;
    color: #EEE;
    padding: 0 25% 10% 25%;
}
a, .fn-result {
    color: #91ff00;
    text-decoration: none;
    font-family: monospace;
}
ul {
    list-style-type: none;
}
li {
    margin-bottom: 10px;
    /* position: relative;
    padding-left: 18px; */
}
/* li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #EEE;
    font-size: 1.2em;
    line-height: 1;
} */
.index {
    margin-top: 20px;
}

.tag {
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

@media (max-width: 600px) {
    body {
        padding: 0 6% 6% 6%;
    }
    ul {
        padding-left: 0;
    }
}

/* Estilos para modales reutilizables (nxCreateModal) */
.nx-modal {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.nx-modal-box {
    background: #222;
    color: #EEE;
    padding: 18px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 80%;
    overflow: auto;
    font-family: monospace;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.nx-modal-close {
    float: right;
    margin-left: 10px;
    background: transparent;
    color: #EEE;
    border: 1px solid #444;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.nx-modal-close:hover { background: rgba(255,255,255,0.03); }

.nx-modal-title { margin: 0 0 8px 0; }
.nx-modal-body { margin-top: 6px; }

/* Estilos para elementos de logros dentro del modal */
.nx-ach-locked {
    color: #9aa0a6;
    opacity: 0.95;
}
.nx-ach-new {
    color: #91ff00;
    margin-left: 6px;
    font-weight: normal;
}

/* Toasts (integrados con estilo de modal) */
.nx-toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
    pointer-events: none;
}
.nx-toast {
    pointer-events: auto;
    background: #222;
    color: #EEE;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    padding: 10px 14px;
    max-width: 320px;
    font-family: monospace;
    opacity: 0;
    transform: translateY(-6px) scale(0.995);
    transition: opacity 280ms ease, transform 280ms ease;
}
.nx-toast-enter { opacity: 1; transform: translateY(0) scale(1); }
.nx-toast-leave { opacity: 0; transform: translateY(-6px) scale(0.995); }
.nx-toast-title { font-weight: bold; margin-bottom: 4px; font-size: 13px; color: #91ff00; }
.nx-toast-message { font-size: 13px; color: #cfd6d8; }
