.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
}

.head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.detail-titles { min-width: 0; }

.detail-title {
  font-size: clamp(20px, 3vw + 0.5rem, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-server-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  margin: 2px 0 0;
}

.server-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(18px, 4vw, 32px);
  box-shadow: var(--shadow);
}

@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
  .copy-btn { width: 100%; padding: 10px 16px; }
}

.howto, .mods {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.howto-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 10px;
}

.howto ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.howto li {
  counter-increment: step;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.howto li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--code-bg);
  border: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
}

.offline-note {
  background: var(--offline-bg);
  color: var(--offline);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 20px;
}
