/* ===== Select Screen (Sutra Set Selection) ===== */

.select-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: var(--space-md);
}

.select-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xs);
}

.select-subtitle {
  font-family: var(--font-gothic);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-md);
}

/* Sutra set list */
.kotodama-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
  overflow-y: auto;
  margin-bottom: var(--space-md);
  padding-right: var(--space-xs);
}

.kotodama-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.kotodama-item:active {
  transform: scale(0.98);
}

.kotodama-item.selected {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--color-button);
}

/* Radio circle (replaces checkbox) */
.kotodama-radio {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.kotodama-item.selected .kotodama-radio {
  background: var(--color-button);
  border-color: var(--color-button);
}

.kotodama-item.selected .kotodama-radio::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-button-text);
}

/* Sutra set text */
.kotodama-text {
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  flex: 1;
}

/* Sutra set description (phrase count) */
.kotodama-desc {
  font-family: var(--font-gothic);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

/* Warning */
.select-warning {
  color: var(--color-accent);
  font-family: var(--font-gothic);
  font-size: var(--font-size-sm);
  text-align: center;
  min-height: 1.2em;
  margin-bottom: var(--space-sm);
}

/* Footer */
.select-footer {
  padding-top: var(--space-sm);
}

.select-footer .btn:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
