First commit, phased 1 and 2 created but untested

This commit is contained in:
bepis
2026-10-20 07:40:35 +11:00
commit 7a3e408ffc
66 changed files with 5639 additions and 0 deletions
+176
View File
@@ -0,0 +1,176 @@
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
background: #1a1a2e;
color: #e0e0e0;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.auth-container {
background: #16213e;
padding: 2rem 2.5rem;
border-radius: 8px;
width: 100%;
max-width: 360px;
}
h1 { text-align: center; color: #e94560; margin-bottom: 0.25rem; }
h2 { text-align: center; color: #a0a0a0; font-weight: 400; margin-bottom: 1.5rem; }
label {
display: block;
margin-top: 1rem;
margin-bottom: 0.25rem;
font-size: 0.875rem;
color: #a0a0a0;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 0.5rem 0.75rem;
border: 1px solid #333;
border-radius: 4px;
background: #0f3460;
color: #e0e0e0;
font-size: 1rem;
}
input:focus { outline: none; border-color: #e94560; }
button {
width: 100%;
margin-top: 1.25rem;
padding: 0.625rem;
background: #e94560;
color: #fff;
border: none;
border-radius: 4px;
font-size: 1rem;
cursor: pointer;
}
button:hover { background: #c73650; }
.error {
background: #5c1111;
color: #ff8888;
padding: 0.5rem 0.75rem;
border-radius: 4px;
margin-bottom: 1rem;
font-size: 0.875rem;
}
.redirect {
text-align: center;
margin-top: 1rem;
font-size: 0.875rem;
}
.redirect a { color: #e94560; }
/* Game dashboard layout */
.game-container {
width: 100%;
max-width: 800px;
margin: 0 auto;
padding: 1rem;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
background: #16213e;
border-radius: 8px;
margin-bottom: 1rem;
}
.logo { color: #e94560; font-size: 1.25rem; font-weight: bold; }
.user-info { display: flex; align-items: center; gap: 1rem; }
.user-info span { color: #a0a0a0; }
.user-info a { color: #e94560; text-decoration: none; }
.main-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
@media (max-width: 600px) {
.main-content { grid-template-columns: 1fr; }
}
.panel {
background: #16213e;
padding: 1.25rem;
border-radius: 8px;
}
.panel h3 {
color: #e94560;
margin-bottom: 0.75rem;
font-size: 1rem;
}
.stat-row {
display: flex;
justify-content: space-between;
padding: 0.25rem 0;
border-bottom: 1px solid #1a1a2e;
font-size: 0.875rem;
}
.stat-row .label { color: #a0a0a0; }
.stat-row.derived {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 0.5rem;
padding-top: 0.5rem;
border-top: 1px solid #333;
color: #88cc88;
}
.loading {
text-align: center;
color: #a0a0a0;
padding: 2rem;
}
.placeholder {
color: #666;
font-size: 0.875rem;
padding: 1rem 0;
}
/* Energy bar */
.energy-bar-container {
width: 100%;
height: 12px;
background: #0f3460;
border-radius: 6px;
overflow: hidden;
margin-top: 0.25rem;
}
.energy-bar {
height: 100%;
background: linear-gradient(90deg, #4a90d9, #67b8f7);
border-radius: 6px;
transition: width 0.3s ease;
}
.energy-timer {
font-size: 0.75rem;
color: #666;
margin-top: 0.25rem;
text-align: right;
}