.create-shell {
  width: 100%;
  padding: 0 0 42px;
}

.create-shell .admin-header {
  width: min(1220px, calc(100% - 32px));
  margin: 14px auto 0;
}

.create-workspace {
  display: grid;
  width: min(1220px, 100%);
  gap: 18px;
  margin: 0 auto;
}

.create-shell .create-workspace {
  padding: 34px 16px 0;
}

.create-title {
  align-items: start;
  margin-bottom: 0;
}

.create-title h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}

.create-card,
.import-result {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 90, 43, 0.08), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: var(--shadow);
}

.create-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
}

.create-card-head {
  display: grid;
  gap: 8px;
}

.create-card-head h2,
.result-head h2 {
  margin: 0;
  max-width: 760px;
  font-size: 20px;
  line-height: 1.2;
}

.create-form {
  display: grid;
  gap: 16px;
}

.create-form .field {
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

.input-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0d0e0e;
  padding: 0 12px;
}

.input-row .icon {
  width: 18px;
  height: 18px;
  color: var(--fire);
}

.input-row input {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  padding: 0;
}

.input-row input::placeholder {
  color: var(--muted);
}

.input-row:focus-within {
  border-color: var(--court);
  box-shadow: 0 0 0 3px rgba(31, 183, 166, 0.18);
}

.create-submit {
  min-height: 44px;
  justify-self: start;
  padding-inline: 18px;
  font-size: 14px;
  font-weight: 900;
}

.create-submit .icon {
  width: 18px;
  height: 18px;
}

.create-message {
  border: 1px solid rgba(31, 183, 166, 0.35);
  border-radius: 8px;
  background: rgba(31, 183, 166, 0.1);
  color: var(--soft);
  padding: 13px 15px;
  font-weight: 900;
}

.create-message.error {
  border-color: rgba(255, 90, 43, 0.45);
  background: rgba(255, 90, 43, 0.1);
  color: var(--danger);
}

.import-result {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
}

.result-head {
  display: grid;
  gap: 8px;
}

.run-summary,
.tournament-fields {
  display: grid;
  gap: 10px;
  margin: 0;
}

.run-summary div,
.tournament-fields div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.run-summary dt,
.tournament-fields dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.run-summary dd,
.tournament-fields dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.run-summary a {
  color: var(--soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tournament-preview {
  display: grid;
  gap: 12px;
}

.waiting-state {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  padding: 16px;
  font-weight: 900;
}

.waiting-state .icon {
  color: var(--court);
}

@media (max-width: 980px) {
  .create-workspace {
    width: 100%;
  }

  .create-submit {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .create-shell .admin-header {
    width: calc(100% - 24px);
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .create-shell .create-workspace {
    padding-top: 24px;
  }

  .create-title h1 {
    font-size: 30px;
  }

  .create-card,
  .import-result {
    padding: 20px;
  }

  .create-card-head h2,
  .result-head h2 {
    font-size: 20px;
  }

  .input-row {
    min-height: 48px;
    padding-inline: 12px;
  }

  .input-row input {
    min-height: 44px;
    font-size: 14px;
  }

  .run-summary div,
  .tournament-fields div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
