38 lines
2.1 KiB
CSS
38 lines
2.1 KiB
CSS
* { box-sizing: border-box; }
|
|
:root {
|
|
--bg: #0e0f13;
|
|
--panel: #171923;
|
|
--muted: #9aa4b2;
|
|
--text: #e6e9ef;
|
|
--accent: #4f8cff;
|
|
--accent-2: #7c4dff;
|
|
--border: #262a34;
|
|
}
|
|
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); }
|
|
header { padding: 24px 24px 8px; }
|
|
header h1 { margin: 0 0 6px; font-size: 24px; }
|
|
header .subtitle { margin: 0; color: var(--muted); font-size: 14px; }
|
|
|
|
.controls { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px 24px; max-width: 800px; margin: 0 auto; min-height: 50vh; }
|
|
.control { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 560px; }
|
|
.control.grow { width: 100%; max-width: 560px; }
|
|
label { font-size: 12px; color: var(--muted); }
|
|
select, input[type="text"] { height: 48px; color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; outline: none; }
|
|
select:focus, input[type="text"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,140,255,0.15); }
|
|
button { height: 48px; border: none; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; font-weight: 600; cursor: pointer; padding: 0 16px; width: 200px; align-self: center; }
|
|
button:hover { filter: brightness(1.05); }
|
|
|
|
.results { padding: 20px 24px 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
|
|
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
|
|
.card-img { width: 100%; height: 300px; object-fit: cover; background: #111; }
|
|
.meta { padding: 10px 12px 12px; }
|
|
.meta .line { line-height: 1.2; }
|
|
.meta .player { font-weight: 700; }
|
|
.meta .secondary { color: var(--muted); margin-top: 2px; font-size: 14px; }
|
|
|
|
.empty { color: var(--muted); text-align: center; grid-column: 1/-1; padding: 40px 0; }
|
|
|
|
@media (max-width: 820px) {
|
|
.controls { min-height: 40vh; padding: 28px 16px; }
|
|
}
|