body {
    font-family: "ibm-plex-mono", "Turret Road", cursive;
    font-weight: 400;
    font-style: normal;
    background-color: #1A1A2E;
    background-image: url('../img/seamless-starfield-texture.jpg');
    background-attachment: fixed;
    background-repeat: repeat;
    color: #e6e6e6;
    margin: 0;
    padding: 2em;
}
.system { max-width: 1200px; margin: 0 auto; }
.header {
    font-family: "nasalization", "Bruno Ace SC", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5em;
    text-align: center;
    padding-bottom: 20px;
    color: #DFFF00;
    border-bottom: 3px solid #DFFF00;
    margin-bottom: 2em;
}
h1, h2 { margin: 0; display: inline; font-size: 1em; } /* Allow input to sit alongside */
h1 { font-size: 1em; }
.star, .body { margin-bottom: 20px; padding: 20px; border: 2px solid #DFFF00; background-color: #1E1E1E; border-radius: 10px; }
.star { border: 3px solid #DFFF00; box-shadow: 0 0 10px #DFFF00; }
.body.is-anchor { border-style: dashed; border-color: #00FF00; }
.body.is-locked-anchor { border-style: solid; border-color: #ffff00; box-shadow: 0 0 15px #ffff00; }
.body-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
    font-family: "ethnocentric", "Bruno Ace SC", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2em;
    color: #DFFF00;
}
.body-header .tag {
    font-family: "oxanium", "Turret Road", cursive;
    background-color: #DFFF00;
    color: #1a1a1a;
    padding: 0.4em 0.8em;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
}
.body-header .tag.anchor { background-color: #00FF00; }
.details {
    font-family: "ibm-plex-mono", "Turret Road", cursive;
    font-weight: 400;
    font-style: normal;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
    font-size: 1.1em;
}
.details div { background-color: #000000; padding: 1em; border-radius: 5px; border-left: 3px solid #DFFF00; }
.details strong { color: #aaa; display: block; margin-bottom: 0.3em; font-size: 0.8em; text-transform: uppercase; letter-spacing: 1px; }
.details .hazardous { color: #ff8080; }
.action-btn {
    font-family: "ethnocentric", "Bruno Ace SC", cursive;
    font-weight: 400;
    font-style: normal;
    background-color: #00ffff;
    color: #1a1a1a;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1em;
}
.action-btn:disabled { background-color: #555; color: #888; cursor: not-allowed; }
.body-controls { display: flex; gap: 1em; margin-top: 1em; }
.header-controls { text-align: center; margin-bottom: 2em; display: flex; justify-content: center; gap: 1em; }
.notification { padding: 1em; margin-bottom: 1em; border-radius: 5px; text-align: center; background-color: #000000; border: 1px solid #00FF00; }

/* Name Input Styles */
.name-input {
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    margin: 0;
    width: auto;
}
.name-input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #DFFF00;
    outline: none;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Footer Styles */
.footer {
    text-align: center;
    margin-top: 3em;
    padding-top: 1em;
    border-top: 1px solid #444;
    font-size: 0.9em;
}
.footer a {
    color: #DFFF00;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* Moon Display Styles */
.moon-container.expanded { grid-column: 1 / -1; }
.moon-details-summary { cursor: pointer; }
.moon-list { list-style: none; padding: 0; margin-top: 10px; }
.moon-list li { margin-bottom: 10px; }
.moon-card { background-color: #000000; border-left: 3px solid #00FF00; padding: 1em; border-radius: 5px; }
.moon-header { font-size: 1.1em; font-weight: bold; margin-bottom: 0.75em; }
.moon-card .details { font-size: 0.9em; grid-template-columns: 1fr 1fr; gap: 1em; }
.moon-card .details div { background-color: transparent; border: none; padding: 0; }
