/* CHARAKTERBOGEN-2 — categorised trait grid with warn-signal styling (mobile-first). */ .trait-category { margin-bottom: 0.25rem; } .trait-category__heading { font-size: 0.78rem; font-weight: 600; color: var(--color-muted, #666); text-transform: uppercase; letter-spacing: 0.04em; margin: 0.75rem 0 0.35rem; } .charakterbogen .trait-grid { list-style: none; margin: 0 0 0.5rem; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.3rem; } @media (min-width: 480px) { .charakterbogen .trait-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 768px) { .charakterbogen .trait-grid { grid-template-columns: 1fr 1fr 1fr; } } .trait-chip { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.6rem; border: 1px solid var(--color-border); border-radius: 0.5rem; background: var(--color-surface); cursor: pointer; min-height: 44px; } .trait-chip input { width: 1.1rem; height: 1.1rem; min-height: 0; flex: 0 0 auto; } .trait-chip--warn { border-color: #d97706; background: #fff7ed; } .trait-warn-badge { margin-left: auto; font-size: 0.68rem; font-weight: 600; color: #d97706; white-space: nowrap; } /* Collapsible details styling for the Charakter & Eigenschaften section */ .charakter-details { border: 1px solid var(--color-border, #ddd); border-radius: 8px; background: var(--color-surface, #fff); margin-top: 1.5rem; margin-bottom: 1.5rem; overflow: hidden; } .charakter-summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; cursor: pointer; list-style: none; user-select: none; background: var(--color-accent-soft, #f9f9f9); transition: background 0.2s ease; } .charakter-summary::-webkit-details-marker { display: none; } .charakter-summary:hover { background: var(--color-hover, #f5f5f5); } .charakter-summary h3 { margin: 0; font-size: 1.25rem; color: var(--color-text, #333); } .charakter-chevron { font-size: 1.1rem; transition: transform 0.2s ease; flex-shrink: 0; } .charakter-details[open] > .charakter-summary .charakter-chevron { transform: rotate(180deg); } .charakter-body { padding: 1.25rem; border-top: 1px solid var(--color-border, #ddd); }