/* =========================================================
   GERMANIA ARCHIVE - RETRO WEB 1.0 THEME
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

/* --- 1. DYNMAP MÜLL AUSBLENDEN --- */
/* .chat wurde hinzugefügt, um den blauen Balken unten restlos zu vernichten */
.sidebar, .coord-control, .largeclock, .compass, .hitbar, .leaflet-control-container, .dynmap-link, .leaflet-bottom, .chat {
    display: none !important;
}

body, html {
    margin: 0; padding: 0; width: 100%; height: 100%;
    background-color: #000; overflow: hidden;
    font-family: 'Courier Prime', monospace !important;
}

/* --- 2. DAS OMNISCIENCE SLIDE-OUT MENU --- */
#omni-wrapper {
    position: fixed;
    left: 0; top: 0;
    width: 350px; /* Etwas breiter für die größere Schrift */
    height: 100%;
    transform: translateX(-350px); 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Weicher Stopp */
    z-index: 9999;
}

#omni-wrapper.open {
    transform: translateX(0);
}

/* --- 3. DAS MENÜ DESIGN (WEB 1.0 STYLE) --- */
#omni-sidebar {
    width: 100%; height: 100%;
    background-color: #000000; /* Pure Black wie im DOS-Terminal */
    border-right: 2px solid #0055ff;
    display: flex; flex-direction: column;
    color: #88aacc;
    font-size: 16px; /* GRÖSSERE SCHRIFT! */
}

.omni-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px dashed #0055ff; /* Eckig & Gestrichelt */
    background: #000a1a;
}

.omni-header h2 {
    color: #ffffff;
    letter-spacing: 4px;
    margin: 10px 0 0 0;
    font-size: 24px;
}

.omni-logo {
    max-width: 150px;
    image-rendering: pixelated; /* Für pixelperfekte Logos */
}

.omni-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px 20px;
}

/* Kantige Scrollbar */
.omni-content::-webkit-scrollbar { width: 6px; }
.omni-content::-webkit-scrollbar-track { background: #000; border-left: 1px solid #002244; }
.omni-content::-webkit-scrollbar-thumb { background: #0055ff; border-radius: 0; }

/* --- 4. BUTTONS UND LINKS --- */
.map-controls {
    display: flex; justify-content: space-between;
    margin-bottom: 25px;
}

.btn-map {
    color: #0055ff;
    cursor: pointer;
    font-weight: bold;
    padding: 5px;
    border: 1px dashed transparent;
}

.btn-map:hover {
    color: #00ff00;
    border: 1px dashed #00ff00;
}

.menu-item, .menu-category {
    color: #88aacc;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: none;
    display: block;
}

.menu-item:hover, .menu-category:hover {
    color: #ffaa00;
    background: #001133; /* Klassischer Hover-Hintergrund statt "Slider" Effekt */
    padding-left: 5px;
}

.sub-list {
    padding-left: 15px;
    border-left: 1px dotted #0055ff;
    margin-left: 5px;
    margin-bottom: 10px;
}

.sub-item {
    color: #5588aa;
    cursor: pointer;
    padding: 5px 0;
    font-size: 15px;
}

.sub-item:hover { color: #00ff00; background: #001122; }

.divider {
    color: #004488;
    overflow: hidden;
    white-space: nowrap;
    margin: 15px 0;
}

/* --- 5. KOORDINATEN EINGABE (STAPEL-DESIGN) --- */
.menu-label {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.coord-input-box {
    display: flex;
    flex-direction: column; /* Setzt X, Z und Button untereinander */
    gap: 10px;
}

.coord-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.omni-input {
    background: #000;
    border: 1px dashed #0055ff;
    color: #00ff00;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    width: 70%;
    padding: 5px;
    outline: none;
    border-radius: 0; /* ECKIG! */
}

.btn-go {
    background: #002255;
    border: 1px solid #0055ff;
    color: #ffffff;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px;
    width: 100%;
    border-radius: 0; /* ECKIG! */
    margin-top: 5px;
}

.btn-go:hover { background: #0055ff; }

/* --- 6. STATS BEREICH UNTEN --- */
.omni-stats {
    padding: 20px;
    border-top: 2px dashed #0055ff;
    background: #000a1a;
    font-size: 15px;
}

.stat-line { margin-bottom: 8px; }
.txt-orange { color: #ffaa00; font-weight: bold; }
.txt-green { color: #00ff00; font-weight: bold; }

/* --- 7. DER PFEIL UND DIE KOORDINATEN-BOX --- */
#omni-handle {
    position: absolute;
    left: 100%; 
    top: 50%;
    transform: translateY(-50%);
    width: 35px; height: 90px;
    background-color: #000000;
    border: 2px solid #0055ff;
    border-left: none;
    color: #0055ff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border-radius: 0; /* ECKIG! */
}

#omni-coords {
    position: absolute;
    left: 100%; 
    top: 20px;
    margin-left: 15px; 
    width: 110px;
    background-color: #000000;
    border: 1px solid #ffaa00;
    padding: 10px;
    color: #ffaa00;
    line-height: 1.6;
    font-size: 16px;
    box-shadow: 5px 5px 0px rgba(255, 170, 0, 0.15); /* Harter Web 1.0 Drop-Shadow */
    border-radius: 0; /* ECKIG! */
}

/* --- 8. DIE NEUE SPIELERLISTE --- */
.custom-player-item {
    color: #88aacc;
    cursor: pointer;
    padding: 8px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px dotted #003366; /* Web 1.0 Trennlinie */
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-player-item:hover {
    color: #00ff00;
    background: #001122;
    padding-left: 5px;
}

.custom-player-item img {
    border: 1px solid #0055ff;
    image-rendering: pixelated; /* Gestochen scharfe Retro-Pixel */
}

/* --- 9. ZOOM BUTTONS (NEUE POSITION) --- */
#omni-zoom {
    position: absolute;
    left: 100%;
    top: 20px; /* Auf gleicher Höhe wie die Koordinaten-Box */
    margin-left: 155px; /* Präzise neben der Box platziert */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-zoom {
    background-color: #000000;
    border: 1px solid #ffaa00;
    color: #ffaa00;
    font-family: 'Courier Prime', monospace;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    width: 45px;
    height: 45px;
    box-shadow: 5px 5px 0px rgba(255, 170, 0, 0.15); /* Harter Web 1.0 Drop-Shadow */
    border-radius: 0; /* ECKIG! */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}

.btn-zoom:hover {
    color: #00ff00;
    border-color: #00ff00;
    box-shadow: 5px 5px 0px rgba(0, 255, 0, 0.15);
}

/* --- 10. SHARE BUTTON (NEU & UNTEN LINKS) --- */
#omni-share-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background-color: #000000;
    border: 1px solid #ffaa00;
    color: #ffaa00;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 15px;
    box-shadow: 5px 5px 0px rgba(255, 170, 0, 0.15);
    border-radius: 0; /* ECKIG! */
    z-index: 9990; /* Liegt tiefer als das Menü, wird also überdeckt wenn offen */
    transition: all 0.2s;
}

#omni-share-btn:hover {
    color: #00ff00;
    border-color: #00ff00;
    box-shadow: 5px 5px 0px rgba(0, 255, 0, 0.15);
}