.gen-card { border-radius: 8px; box-shadow: var(--shadow-pop-sm); }
.preview-box { background: #f1f5f9; border-radius: 8px; }
.gen-input { min-width: 0; width: 100%; background: #fff; color: #0f172a; border-color: #94a3b8; border-radius: 8px; }
.gen-input:focus-visible { outline: 2px solid #0369a1; outline-offset: 2px; }
.tier-pill.tier-s, .tier-pill.tier-boss { color: #be123c; background: #ffe4e6; border-color: #be123c; }
.tier-pill.tier-a { color: #9a3412; background: #ffedd5; border-color: #9a3412; }
.tier-pill.tier-b { color: #1d4ed8; background: #dbeafe; border-color: #1d4ed8; }
.tier-pill.tier-c { color: #475569; background: #e2e8f0; border-color: #475569; }
.tier-pill, .tier-pill:hover { transform: none; box-shadow: none; position: static; overflow: visible; }
.tier-pill::after { content: none; }
.stat-bar-track { background: #cbd5e1; }
.stat-labels { gap: 8px; align-items: flex-start; }
.stat-labels > span { min-width: 0; overflow-wrap: anywhere; }
.stat-labels > strong { flex-shrink: 0; white-space: nowrap; }
.gen-actions > * { flex: 1 1 220px; text-align: center; }
[hidden] { display: none !important; }
.gen-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 16px; }
.compare-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.compare-switch input { width: 18px; height: 18px; accent-color: #0369a1; }
.gen-swap { width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; border: 1px solid #94a3b8; background: #fff; color: #0f172a; font-size: 24px; cursor: pointer; }
.gen-swap:focus-visible, .quick-chip:focus-visible { outline: 2px solid #0369a1; outline-offset: 2px; }
.gen-pickers { display: grid; gap: 16px; }
.gen-pickers.is-comparing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gen-picker { min-width: 0; padding: 0; margin: 0; border: 0; }
.gen-picker legend { font-size: 13px; font-weight: 700; color: #334155; }
.gen-picker .gen-input-row { margin: 8px 0 12px; }
.gen-picker .quick-chips { justify-content: flex-start; gap: 6px; margin-bottom: 20px; }
.gen-picker .quick-chip { padding: 6px 10px; min-width: 40px; min-height: 40px; }
.comparison-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 4px 0 24px; font-size: 14px; }
.comparison-table caption { caption-side: bottom; text-align: left; padding-top: 14px; color: #475569; font-size: 12px; line-height: 1.6; }
.comparison-table th, .comparison-table td { padding: 16px 12px; border-bottom: 1px solid #cbd5e1; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.comparison-table th:first-child { width: 30%; }
.comparison-table thead th { background: #f1f5f9; text-align: center; }
.comparison-table thead th:first-child { background: transparent; vertical-align: bottom; }
.comparison-table thead th:nth-child(2) { border-top: 3px solid #0284c7; }
.comparison-table thead th:nth-child(3) { border-top: 3px solid #be185d; }
.compare-avatar { display: block; font-size: 42px; line-height: 1.3; height: 55px; }
.compare-name { display: block; min-height: 42px; line-height: 1.5; margin: 8px 0; }
.comparison-table .tier-pill { margin: 0; padding: 4px 8px; font-size: 12px; }
.compare-bar { height: 6px; margin-top: 8px; background: #e2e8f0; overflow: hidden; border-radius: 3px; }
.compare-bar span { display: block; height: 100%; background: #0284c7; }
.comparison-table td:last-child .compare-bar span { background: #be185d; }
@media (max-width: 560px) {
  .gen-pickers.is-comparing { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .comparison-table th, .comparison-table td { padding: 12px 6px; }
  .comparison-table { font-size: 12px; }
  .comparison-table tbody th { font-size: 11px; overflow-wrap: normal; }
  .comparison-table .tier-pill { padding: 3px 5px; font-size: 11px; }
  .compare-name { min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .spinning-top-preview { animation: none; }
  .stat-bar-fill, .quick-chip { transition: none; }
}
