:root {
  color-scheme: dark;
  --bg: #080b0f;
  --panel: #111821;
  --panel-2: #162331;
  --text: #edf6ff;
  --muted: #9db0c1;
  --line: #25384a;
  --accent: #37d0ff;
  --accent-2: #8ee66b;
  --danger: #ff6868;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 70% 10%, rgba(55, 208, 255, 0.16), transparent 32rem),
    linear-gradient(135deg, #080b0f, #10161e 55%, #0a1116);
  color: var(--text);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.navlink,
.button,
button {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  text-decoration: none;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.button.primary,
button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041018;
  border: 0;
  font-weight: 700;
}

.hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 10vw, 118px);
  line-height: 0.9;
}

h2 {
  margin: 0 0 14px;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.status,
.panel {
  background: rgba(17, 24, 33, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
}

.skin-box {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.skin-preview {
  width: 148px;
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(55, 208, 255, .22), rgba(142, 230, 107, .14));
  font-size: 56px;
  font-weight: 900;
  overflow: hidden;
}

.skin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}

.upload input {
  display: none;
}

.status {
  display: grid;
  gap: 8px;
}

.status span,
.status small,
.panel p {
  color: var(--muted);
}

.status strong {
  font-size: 26px;
}

.panel {
  margin: 24px 0;
}

form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

input {
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1219;
  color: var(--text);
  padding: 11px 12px;
}

pre {
  white-space: pre-wrap;
  color: var(--accent-2);
}

.telegram-login {
  height: 1px;
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.row.order {
  grid-template-columns: 1fr auto auto;
}

.danger {
  color: var(--danger);
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .row,
  .row.order,
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
