:root {
  --bg: #0e1716;
  --bg-soft: #162322;
  --card: rgba(23, 37, 36, 0.88);
  --line: rgba(170, 214, 194, 0.18);
  --text: #edf6f0;
  --muted: #a7bbb0;
  --accent: #7ce0b2;
  --accent-strong: #4cc994;
  --danger: #ff918f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 224, 178, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(76, 201, 148, 0.18), transparent 26%),
    linear-gradient(160deg, #081110, #13211f 42%, #0a1211);
}
.shell {
  width: min(920px, calc(100% - 32px));
  margin: 32px auto;
  display: grid;
  gap: 18px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.hero h1, .panel h2 { margin: 0 0 10px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}
.lead, p { color: var(--muted); }
.links a {
  color: var(--accent);
  text-decoration: none;
}
form { display: grid; gap: 14px; margin-top: 18px; }
label { display: grid; gap: 8px; color: var(--muted); }
input[type="text"], input[type="file"], input:not([type]) {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(7, 13, 13, 0.55);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 14px;
}
button {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #06261a;
  font-weight: 700;
}
button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.row.between {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.preview-wrap {
  margin: 18px 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  display: flex;
  justify-content: center;
}
#skin-preview {
  width: 128px;
  height: 128px;
  image-rendering: pixelated;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  display: none;
}
.message { min-height: 24px; }
.hidden { display: none; }
code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
@media (max-width: 640px) {
  .row.between { flex-direction: column; }
}
