/* Dataset generator — public taste UI */

.ds-page { padding-bottom: 2rem; }
.ds-hero { padding: 1.75rem 0 1rem; }
.ds-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.4rem; }
.ds-hero .lede { font-size: 0.98rem; max-width: 54ch; }
.ds-hero .lede a { font-weight: 600; }

/* Hard to miss: not real player data */
.synth-banner {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--accent-soft);
  background: linear-gradient(135deg, var(--accent-soft), #e0f2fe);
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 52rem;
}
.synth-banner strong {
  color: var(--accent);
  font-weight: 750;
}

.ds-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 860px) {
  .ds-layout { grid-template-columns: 1fr; }
}

.ds-form.panel {
  padding: 1rem 1.05rem 1.1rem;
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.5rem);
}
@media (max-width: 860px) {
  .ds-form.panel { position: static; }
}
.ds-form h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.ds-form label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 550;
}
.ds-form label.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.88rem;
}
.ds-form label.check input {
  margin-top: 0.2rem;
  width: auto;
  accent-color: var(--accent);
}
.ds-form select {
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  width: 100%;
}
.ds-form .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.ds-form .fine {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Principles panel */
.method-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.tag-taste {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.method-lead {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.method-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  color: var(--text-2);
  font-size: 0.9rem;
}
.method-steps li { margin-bottom: 0.35rem; }
.method-steps strong { color: var(--text); }
.method-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}
.method-table th,
.method-table td {
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.method-table th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-2);
}
.method-table td:first-child {
  white-space: nowrap;
  color: var(--text);
  width: 8.5rem;
}
.method-foot {
  margin: 0;
  font-size: 0.88rem;
}

.preview-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.preview-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}
.summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}
.summary-pills .pill {
  font-size: 0.78rem;
  padding: 0.3rem 0.6rem;
}
.summary-pills .pill strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 0.2rem;
}

.gate-box {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.gate-box h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}
.gate-box p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.gate-box label { margin-bottom: 0.55rem; }
.gate-box .check { margin-bottom: 0.75rem; }
.gate-status {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.table-scroll th,
.table-scroll td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
.table-scroll th {
  background: var(--bg-2);
  color: var(--muted);
  font-weight: 650;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:nth-child(even) td { background: var(--panel-2); }

.about-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.about-list {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.about-list li { margin-bottom: 0.35rem; }
.about-list strong { color: var(--text); }
.about-note {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .ds-form select,
  .gate-box input[type="email"],
  .gate-box input[type="text"] {
    font-size: 16px;
    min-height: 44px;
  }
  .ds-form .actions .btn,
  .gate-box .btn {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  .ds-hero { padding: 1.25rem 0 0.75rem; }
  .ds-hero .lede { font-size: 0.94rem; max-width: none; }
  .ds-form.panel { padding: 0.95rem 1rem; }
  .ds-form .actions { flex-direction: column; }
  .ds-form .actions .btn {
    width: 100%;
    justify-content: center;
  }
  .gate-box .btn {
    width: 100%;
    min-height: 44px;
  }
  .method-table td:first-child { white-space: normal; width: auto; }
}
