* { box-sizing: border-box; }

body {
    margin: 0;
    background: #101b20;
    color: #edf5ed;
    font-family: Arial, sans-serif;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 5%;
    background: #17272b;
    border-bottom: 1px solid #304448;
}

.eyebrow {
    color: #8fbd91;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

h1 { margin: 7px 0 0; font-size: 25px; }
h2 { margin: 0 0 9px; }

.world-status {
    color: #a9d9a7;
    font-size: 12px;
    letter-spacing: 1px;
}

.world-status span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 7px;
    border-radius: 50%;
    background: #7bd88b;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    max-width: 1450px;
    margin: 30px auto;
    padding: 0 22px;
}

.world-panel, .info-panel {
    background: #192a2e;
    border: 1px solid #304448;
    border-radius: 12px;
    overflow: hidden;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.panel-heading p, .info-panel p {
    color: #b2c5bd;
    line-height: 1.6;
    font-size: 14px;
}

.map-legend {
    color: #a9c7b1;
    font-size: 12px;
}

.map-legend span {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 5px;
    border-radius: 50%;
    background: #79c78b;
}

.canvas-wrap {
    width: 100%;
    background: #6da96b;
    overflow: hidden;
}

canvas {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
    cursor: pointer;
}

.map-footer {
    display: flex;
    justify-content: space-between;
    padding: 13px 20px;
    color: #9bb5aa;
    font-size: 11px;
    letter-spacing: 1px;
}

.info-panel {
    padding: 25px;
    align-self: start;
    min-height: 270px;
}

.info-icon {
    font-size: 35px;
    color: #a9d9a7;
    margin-bottom: 20px;
}

.info-panel h2 {
    margin-top: 12px;
    font-size: 21px;
}

.info-hint {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #304448;
    color: #8fbd91;
    font-size: 12px;
}

.info-hint span { float: right; }

footer {
    padding: 20px;
    text-align: center;
    color: #819991;
    font-size: 12px;
}

@media (max-width: 800px) {
    .layout { grid-template-columns: 1fr; }
    .topbar { padding: 18px; }
    h1 { font-size: 20px; }
}
