75 lines
2.3 KiB
CSS
75 lines
2.3 KiB
CSS
.game-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 14px;
|
|
margin: 22px 0;
|
|
}
|
|
|
|
.game-stat {
|
|
padding: 18px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.game-stat strong { display: block; font-size: 1.65rem; line-height: 1.1; }
|
|
.game-stat span { color: #c6e8eb; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
|
|
|
|
.xp-track {
|
|
overflow: hidden;
|
|
height: 12px;
|
|
margin: 10px 0 6px;
|
|
background: #dce7ea;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.xp-fill { width: 24%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--warm)); }
|
|
|
|
.mission-map { display: grid; gap: 12px; }
|
|
|
|
.mission {
|
|
display: grid;
|
|
grid-template-columns: 42px 1fr auto;
|
|
gap: 14px;
|
|
align-items: center;
|
|
padding: 14px 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.mission:last-child { border-bottom: 0; }
|
|
|
|
.mission-mark {
|
|
display: grid;
|
|
width: 38px;
|
|
height: 38px;
|
|
place-items: center;
|
|
color: #fff;
|
|
background: var(--accent);
|
|
border-radius: 50%;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.mission.locked .mission-mark { color: var(--muted); background: #e4e9ef; }
|
|
.mission.active .mission-mark { color: var(--ink); background: var(--warm); }
|
|
.mission h3 { margin: 0 0 2px; }
|
|
.mission p { margin: 0; color: var(--muted); font-size: 0.88rem; }
|
|
.mission-status { color: var(--accent-dark); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; }
|
|
|
|
.achievement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
|
.achievement { padding: 16px; background: #edf7f7; border-radius: 14px; }
|
|
.achievement.locked { color: var(--muted); background: #f1f3f6; filter: grayscale(1); }
|
|
.achievement strong { display: block; margin-bottom: 4px; }
|
|
|
|
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding: 0; list-style: none; }
|
|
.rules li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
|
|
.hero-note { color: #d9f1f2; }
|
|
.light-eyebrow { color: var(--accent-dark); }
|
|
.light-pill { color: var(--ink); border-color: var(--line); }
|
|
.button-secondary { background: var(--ink); }
|
|
|
|
@media (max-width: 720px) {
|
|
.game-grid, .achievement-grid, .rules { grid-template-columns: 1fr; }
|
|
.mission { grid-template-columns: 42px 1fr; }
|
|
.mission-status { grid-column: 2; }
|
|
}
|