:root{--c-deep-forest: hsla(196, 40%, 7%, 1);--c-shadow: hsla(191, 30%, 12%, 1);--c-text-muted: hsla(185, 20%, 25%, 1);--c-text-bright: hsla(185, 20%, 35%, 1);--c-night-sky: hsla(0, 0%, 4%, 1)}:root{--color-background: var(--c-night-sky);--color-background-soft: var(--c-deep-forest);--color-background-mute: var(--c-shadow);--color-border: var(--c-shadow);--color-border-hover: var(--c-text-muted);--color-heading: var(--c-text-bright);--color-text: var(--c-text-muted);--section-gap: 160px}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s;padding:3px}@media(hover:hover){a:hover{background-color:#00bd7e33}}@media(min-width:1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}:root{--c-deep-forest: hsla(196, 40%, 7%, 1);--c-shadow: hsla(191, 50%, 6%, 1);--c-text-muted: hsla(185, 30%, 35%, 1);--c-text-bright: hsla(185, 30%, 45%, 1);--c-night-sky: hsla(0, 0%, 4%, 1)}.header-content,.main-content{width:100%;max-width:800px;box-sizing:border-box;border-radius:8px}.header-content{background-color:var(--color-background-mute);border:1px solid var(--color-border);padding:1.5rem 2rem;text-align:center;margin-bottom:1rem}.title{color:var(--color-heading);margin:0 0 .5rem}.subtitle{color:var(--color-text);margin:0;font-weight:500}.main-content{background-color:var(--color-background-soft);padding:1rem;border:1px solid var(--color-border)}#game-canvas{width:100%;height:auto;aspect-ratio:1 / 1;display:block;border-radius:4px;border:2px solid var(--color-heading);box-sizing:border-box;image-rendering:crisp-edges}.controls-container{display:flex;flex-direction:column;gap:1rem;padding:.5rem}.controls-container label{color:var(--color-text);font-weight:500;font-size:.9rem}.controls-container input[type=range]{width:100%;cursor:pointer;margin-top:-.5rem}.button-group{display:flex;gap:.5rem}.button-group button{flex-grow:1;padding:.5rem .75rem;border:1px solid var(--color-border);background-color:var(--color-background-mute);color:var(--color-text);border-radius:4px;cursor:pointer;font-weight:500;font-size:.9rem;transition:background-color .2s}.button-group button:hover{background-color:var(--color-border-hover)}.game-layout{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-start}.game-column{flex:2;min-width:320px}.controls-column{flex:1;min-width:280px}.divider{border:none;height:1px;background-color:var(--color-border);margin:.25rem 0}.checkbox-group{display:flex;align-items:center;gap:.5rem;cursor:pointer}.checkbox-group label{cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-group input[type=checkbox]{cursor:pointer;width:1rem;height:1rem}.group-title{font-size:1rem;font-weight:600;color:var(--color-heading);margin:0 0 .5rem;padding-bottom:.25rem;border-bottom:1px solid var(--color-border)}.stats-group{display:flex;flex-direction:column;gap:.5rem}.stat-item{display:flex;justify-content:space-between;align-items:center;font-size:.9rem}.stat-item span{color:var(--color-text)}.stat-item strong{color:var(--color-heading);font-weight:600}.show-best-group{justify-content:space-between}.small-number-input{width:4rem;padding:.25rem .5rem;background-color:var(--color-background-mute);border:1px solid var(--color-border);color:var(--color-text);border-radius:4px;font-weight:500}.small-number-input:disabled{background-color:var(--color-background-soft);color:var(--c-text-muted);cursor:not-allowed}
