/* ================= 4411 : ORDINAL RUNES - STYLES ================= */

body {
    margin: 0;
    background: black;
    color: #00ff00;
    font-family: 'VT323', monospace;
}

.header { 
    text-align: center; 
    padding: 10px; 
    border-bottom: 1px solid #00ff00; 
}

.game-container { 
    display: flex; 
    padding: 10px; 
    gap: 10px; 
}

.terminal { 
    flex: 2; 
    border: 2px solid #00ff00; 
    padding: 10px; 
    min-height: 420px; 
}

.game-view {
    flex: 2;
    border: 2px solid #00ff00;
    padding: 10px;
    min-height: 580px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

#gameCanvas {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 560px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    border: 1px solid #003300;
    display: block;
}

.tavern { 
    flex: 1; 
    border: 2px solid #00ff00; 
    padding: 10px; 
    min-height: 420px; 
}

.ascii-btn { 
    width: 100%; 
    margin: 4px 0; 
    background: black; 
    color: #00ff00; 
    border: 1px solid #00ff00; 
    font-family: inherit; 
    font-size: 16px; 
    text-align: left; 
    padding: 5px; 
    cursor: pointer; 
}

.ascii-btn:hover { 
    background: #00ff00; 
    color: black; 
}

.log { 
    border-top: 1px solid #00ff00; 
    margin-top: 10px; 
    padding-top: 10px; 
    max-height: 200px; 
    overflow-y: auto; 
    white-space: pre-wrap; 
}

.character-slot { 
    border: 1px solid #00ff00; 
    padding: 5px; 
    margin: 4px 0; 
    cursor: pointer; 
}

.character-slot:hover { 
    background: #00ff00; 
    color: black; 
}

.item-slot { 
    border: 1px dashed #00ff00; 
    padding: 3px; 
    margin: 2px 0; 
    cursor: pointer; 
}

.item-slot:hover { 
    background: #00ff00; 
    color: black; 
}

.selected { 
    background: #00ff00; 
    color: black; 
}

.hidden { 
    display: none; 
}

.hp-bar { 
    font-family: monospace; 
}

.ranking-section {
    border-top: 1px solid #00ff00;
    margin-top: 10px;
    padding-top: 10px;
}

.ranking-section h3 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #00ff00;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    font-size: 12px;
    color: #00ff00;
}

.ranking-list li {
    padding: 3px 0;
    border-bottom: 1px dashed #003300;
}

.ranking-list li:last-child {
    border-bottom: none;
}
