@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap');

:root { --bg:#000; --fg:#fff; --dim:#8a8a8a; --line:#2a2a2a; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: 'Chakra Petch', system-ui, sans-serif; }
body { min-height: 100vh; }
a { color: var(--fg); }
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 80px; }

h1 { font-size: 22px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
h2 { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin: 40px 0 14px; }
.top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--fg); padding-bottom: 16px; }

label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 18px 0 6px; }
input[type=text], input[type=password], select {
  width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--fg);
  border-radius: 2px; padding: 12px 14px; font: inherit; font-size: 15px; outline: none;
}
input:focus, select:focus { box-shadow: 0 0 0 1px var(--fg); }
input[type=file] { width: 100%; color: var(--dim); font: inherit; font-size: 13px; padding: 12px; border: 1px dashed var(--dim); border-radius: 2px; }

button, .btn {
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg); border-radius: 2px;
  padding: 11px 18px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block;
}
button:hover, .btn:hover { background: var(--bg); color: var(--fg); }
button.ghost { background: var(--bg); color: var(--fg); }
button.ghost:hover { background: var(--fg); color: var(--bg); }
button:disabled { opacity: .35; cursor: not-allowed; }

.game { border: 1px solid var(--line); padding: 16px; margin-bottom: 10px; }
.game:hover { border-color: var(--fg); }
.game .name { font-size: 17px; font-weight: 600; }
.game .meta { font-size: 12px; color: var(--dim); margin-top: 4px; letter-spacing: .04em; word-break: break-all; }
.actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.actions button, .actions .btn { padding: 8px 12px; font-size: 11px; }

.bar { height: 3px; background: var(--line); margin-top: 14px; display: none; }
.bar i { display: block; height: 100%; width: 0; background: var(--fg); }
.msg { font-size: 13px; margin-top: 12px; min-height: 18px; }
.center { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.empty { color: var(--dim); font-size: 14px; border: 1px dashed var(--line); padding: 24px; text-align: center; }

/* marca */
.logo { display: block; height: 26px; width: auto; }
.logo.lg { height: 34px; margin: 0 auto 22px; }
.top .logo { height: 20px; }
