<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* style.css - Updated */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Press Start 2P', cursive;
    background: #0a0a14;
    color: #fff;
    overflow: hidden; /* Prevents scrollbars on the main body */
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

#game-container {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

h1, h2, p {
    margin: 0; /* Keep margin 0 to avoid unexpected spacing */
    text-shadow: 2px 2px #0008;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* --- CHANGE HERE: Align content to the top instead of centering the whole block --- */
    justify-content: flex-start; /* Was: center */
    align-items: center;
    background: rgba(0, 0, 10, 0.88);
    backdrop-filter: blur(6px);
    z-index: 100;
    /* --- CHANGE HERE: Add padding top/bottom for spacing --- */
    padding: 5vh 20px; /* Added vertical padding (viewport height units), kept horizontal */
    box-sizing: border-box; /* Keep this! */
    text-align: center;
    overflow-y: auto; /* Keep this to allow scrolling if content overflows */
}

.hidden {
    display: none;
}

button, .button-like {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(145deg, #55eeff, #33ccdd);
    color: #0a0a14;
    border: 2px solid #77ffff;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 10px #55eeff, 0 0 20px #55eeff, 0 4px 8px #000a;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.1s ease-out;
    margin-top: 20px; /* Spacing between elements */
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    flex-shrink: 0; /* Prevent buttons shrinking too much */
}

button:hover, .button-like:hover {
    box-shadow: 0 0 15px #66ffff, 0 0 30px #66ffff, 0 6px 12px #000c;
    background: linear-gradient(145deg, #66ffff, #44dddd);
}

button:active, .button-like:active {
    transform: scale(0.96);
    box-shadow: 0 0 5px #55eeff, 0 0 10px #55eeff, 0 2px 4px #0008;
}

.button-like.selected {
    background: linear-gradient(145deg, #ffcc00, #ffaa00);
    color: #331a00;
    border-color: #ffeeaa;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00, 0 4px 8px #000a;
}

.button-like.selected:hover {
    box-shadow: 0 0 15px #ffdd55, 0 0 30px #ffdd55, 0 6px 12px #000c;
    background: linear-gradient(145deg, #ffdd55, #ffbb33);
}

.button-group {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure button group can take width */
    max-width: 650px; /* Optional: Limit max width */
}

#muteBtn {
    position: absolute; /* Use absolute if game-container is relative, or fixed */
    top: 15px;
    right: 15px;
    z-index: 101; /* Ensure it's above the overlay if needed, though should be fine */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: none;
    text-shadow: none;
}

#muteBtn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Specific Overlay Content Styling */
#startScreen h1,
#overScreen h1,
#pauseScreen h1,
#instructionsScreen h2,
#customizeScreen h2,
#upgradesScreen h2 {
    margin-bottom: 0.7em; /* Consistent spacing below titles */
    width: 100%; /* Ensure titles take width for text-align */
    max-width: 700px; /* Limit width of text blocks */
}

#startScreen p,
#overScreen p,
#pauseScreen p,
#instructionsScreen p,
#instructionsScreen li,
#customizeScreen p,
#upgradesScreen p {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 650px; /* Limit width */
    margin-bottom: 0.8em; /* Spacing below paragraphs */
    color: #ccc;
    width: 100%; /* Ensure paragraphs take width for text-align */
}

#startScreen h1 {
    font-size: 2.8rem;
    color: #66ffff;
    text-shadow: 3px 3px #000, 0 0 15px #66ffff;
}

#bestInfo {
    font-size: 0.9rem;
    color: #ffcc00;
    margin-bottom: 1em;
}

#overScreen h1 {
    font-size: 2.5rem;
    color: #ff4466;
    text-shadow: 3px 3px #000, 0 0 15px #ff4466;
}

#overScreen p {
    font-size: 1.1rem;
    margin-top: 0.6em; /* Use margin-top/bottom instead of margin shorthand */
    margin-bottom: 0.6em;
}

#finalScore { color: #eee; }
#finalBestScore { color: #ffcc00; }
#finalMaxLevel { color: #aaaaff; }

#pauseScreen h1 {
    font-size: 2.5rem;
    color: #ffff99;
    text-shadow: 3px 3px #000, 0 0 15px #ffff99;
}

#pauseScreen p {
    font-size: 1rem;
    margin-bottom: 1.5em;
    color: #ccc;
}

#instructionsScreen h2 {
    font-size: 1.8rem;
    color: #aaffaa;
    text-shadow: 3px 3px #000, 0 0 15px #aaffaa;
}

#instructionsScreen p, #instructionsScreen li {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #ddd;
    text-align: left; /* Keep instructions list aligned left */
}

#instructionsScreen ul {
    list-style: none;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1.5em;
    max-width: 650px; /* Match paragraph width */
    width: 100%; /* Take width */
}

#instructionsScreen li {
    margin-bottom: 0.8em;
}

#instructionsScreen strong {
    font-size: 1.2em;
    color: #ffdd44;
    margin-right: 0.5em;
    display: inline-block;
    vertical-align: middle;
}

#customizeScreen h2, #upgradesScreen h2 {
    font-size: 1.8rem;
    color: #ffaaee;
    text-shadow: 3px 3px #000, 0 0 15px #ffaaee;
}

#customizeScreen p, #upgradesScreen p {
    font-size: 0.9rem;
    margin-bottom: 1.5em;
    color: #ccc;
}

.skin-options, .trail-options, .ring-options, .background-options, .particles-options, .upgrade-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    width: 100%;
    max-width: 700px; /* Limit width */
}

.skin-option, .trail-option, .ring-option, .background-option, .particles-option {
    padding: 10px 20px;
    font-size: 1rem;
}

.upgrade-option {
    background: #222244;
    border: 2px solid #444488;
    border-radius: 10px;
    padding: 15px;
    width: 200px; /* Fixed width might be okay here */
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 10px; /* Add gap for wrapping */
}

.upgrade-option h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #aaaaff;
}

.upgrade-option p {
    font-size: 0.8rem;
    margin: 5px 0;
    color: #ccc;
    text-align: center; /* Ensure text is centered */
    width: auto; /* Override general p width */
    max-width: none; /* Override general p max-width */
}

.upgradeBtn {
    font-family: 'Press Start 2P', cursive;
    background: #55eeff;
    color: #0a0a14;
    border: 2px solid #77ffff;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px; /* Spacing above upgrade button */
}

.upgradeBtn:hover {
    background: #66ffff;
}

.upgradeBtn:disabled {
    background: #555555;
    color: #888888;
    cursor: not-allowed;
}

.locked {
    opacity: 0.6; /* Adjust as needed */
    cursor: not-allowed;
    position: relative; /* Needed for pseudo-element potentially */
}
.locked:hover {
     opacity: 0.7;
}

.button-like small, .button-like.locked small {
  font-size: 0.65em;
  opacity: 0.85;
  margin-left: 6px;
  color: #534402;
  display: inline;
  white-space: nowrap;
  vertical-align: middle; /* Align small text better */
}

#moreGamesBtn {
    text-decoration: none;
}

/* Responsive Adjustments */

@media (max-width: 700px) {
    .button-group { flex-direction: column; gap: 10px; }
    .upgrade-option { width: 180px; } /* Slightly smaller upgrade boxes */
    #startScreen h1, #overScreen h1, #pauseScreen h1 { font-size: 2.2rem; }
     #instructionsScreen h2, #customizeScreen h2, #upgradesScreen h2 { font-size: 1.6rem; }
     button, .button-like { padding: 12px 25px; font-size: 1.1rem;}
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    #startScreen h1 { font-size: 2.2rem; }
    #startScreen p { font-size: 0.7rem; line-height: 1.5;}
    #overScreen h1 { font-size: 1.8rem; }
    #overScreen p { font-size: 1rem; }
    #pauseScreen h1 { font-size: 1.8rem; }
    #instructionsScreen h2 { font-size: 1.5rem; }
    #instructionsScreen p, #instructionsScreen li { font-size: 0.7rem; }
    #customizeScreen h2, #upgradesScreen h2 { font-size: 1.5rem; }
    button, .button-like { font-size: 1rem; padding: 12px 24px; }
    #muteBtn { font-size: 1.3rem; top: 10px; right: 10px; padding: 6px 8px; }
    .overlay { padding: 4vh 15px; } /* Adjust padding */
    .upgrade-option { width: 160px; }
}

@media (max-width: 400px) {
    h1 { font-size: 1.6rem; }
    #startScreen h1 { font-size: 1.8rem; }
    #startScreen p { font-size: 0.6rem; line-height: 1.4; }
    #overScreen h1 { font-size: 1.5rem; }
    #overScreen p { font-size: 0.9rem; }
    #pauseScreen h1 { font-size: 1.5rem; }
    #instructionsScreen h2 { font-size: 1.3rem; }
    #instructionsScreen p, #instructionsScreen li { font-size: 0.65rem; }
    #customizeScreen h2, #upgradesScreen h2 { font-size: 1.3rem; }
    button, .button-like { font-size: 0.9rem; padding: 10px 20px; }
    #muteBtn { font-size: 1.2rem; }
    .overlay { padding: 3vh 10px; } /* Further adjust padding */
    .upgrade-option { width: 140px; padding: 10px;}
    .upgrade-option h3 { font-size: 1.1rem; }
    .upgrade-option p { font-size: 0.7rem; }
    .upgradeBtn { font-size: 0.8rem; padding: 8px 15px;}
}</pre></body></html>