/* ════════════════════════════════════════════════════════════════════
   community-center.css — Sneak Peek Community Center (community-center.html)
   Nur Oberfläche mit Beispieldaten. Kein Konto, keine Datenbank.
   ════════════════════════════════════════════════════════════════════ */
.cc-note {
  border: 1px solid rgba(224, 48, 48, 0.35);
  border-left: 4px solid var(--accent);
  background: rgba(224, 48, 48, 0.06);
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.cc-nav {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.82rem; color: var(--muted);
  border: 1px dashed var(--border); border-radius: 12px; padding: 8px 12px; margin: 0 0 1.2rem;
}
.cc-nav-l { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cc-nav-on { color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 10px; }

.cc-tabs { display: none; flex-wrap: wrap; gap: 6px; margin: 0 0 1rem; }
.js .cc-tabs { display: flex; }
.cc-tab {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.86rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 15px; min-height: 40px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.cc-tab:hover { color: var(--text); border-color: rgba(224, 48, 48, 0.4); }
.cc-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.cc-tab:focus-visible, .cc-chip:focus-visible, .cc-btn:focus-visible, .cc-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.js .cc-panel { display: none; }
.js .cc-panel.is-active { display: block; }
.cc-lead { color: var(--muted); font-size: 0.98rem; line-height: 1.65; margin: 0 0 1rem; }
.cc-lead b { color: var(--text); }
.cc-small { color: var(--muted); font-size: 0.85rem; margin: 0.6rem 0 0; }

.cc-card {
  background: rgba(26, 26, 36, 0.6); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.1rem 1.3rem; margin: 0 0 0.9rem; backdrop-filter: blur(12px);
}
:root[data-theme="light"] .cc-card, [data-theme="light"] .cc-card { background: rgba(255, 255, 255, 0.75); }
.cc-card h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; margin: 0 0 0.4rem; }
.cc-card p, .cc-card li { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.cc-card p { margin: 0 0 0.6rem; }
.cc-card ul { margin: 0 0 0.4rem; padding-left: 1.2rem; }
.cc-tag {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--muted); border-radius: 999px; padding: 2px 9px; margin: 0 4px 4px 0;
}
.cc-tag.warn { color: #e0a030; border-color: #e0a030; }
.cc-tag.ok { color: #4caf82; border-color: #4caf82; }

.cc-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1rem; }
.cc-chip {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; min-height: 38px; cursor: pointer;
}
.cc-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.cc-posts { display: grid; gap: 0.9rem; }
.cc-post { background: rgba(26, 26, 36, 0.6); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1.2rem; }
:root[data-theme="light"] .cc-post, [data-theme="light"] .cc-post { background: rgba(255, 255, 255, 0.75); }
.cc-post[hidden] { display: none; }
.cc-post h4 { font-family: 'Syne', sans-serif; font-size: 1rem; margin: 0.4rem 0 0.3rem; }
.cc-post p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 0.7rem; }
.cc-by { font-size: 0.78rem; color: var(--muted); margin-left: 4px; }
.cc-fb { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-btn {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--text);
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 13px; min-height: 38px; cursor: pointer;
}
.cc-btn b { font-family: 'DM Sans', sans-serif; font-weight: 500; margin-left: 4px; color: var(--muted); }
.cc-btn:hover { border-color: var(--accent); }
.cc-btn.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cc-btn.is-on b { color: #fff; }
.cc-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.cc-report { margin-left: auto; color: var(--muted); }
.cc-msg { min-height: 1.4em; color: var(--muted); font-size: 0.88rem; margin: 0.8rem 0 0; }
.cc-hint { border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 0.7rem 1rem; margin: 0 0 1rem; font-size: 0.92rem; color: var(--muted); }
.cc-hint b { color: var(--text); }
.cc-link { font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0; margin-left: 4px; text-decoration: underline; cursor: pointer; min-height: 32px; }

.cc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }
.cc-grid .cc-card { margin: 0; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 0.7rem; }
.cc-bars { display: grid; gap: 8px; margin-top: 0.6rem; }
.cc-bar { display: grid; grid-template-columns: 90px 1fr 28px; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.cc-bar i { display: block; height: 10px; border-radius: 999px; background: var(--accent); }
.cc-bar b { font-weight: 500; text-align: right; }
.cc-blur p { filter: blur(2.5px); user-select: none; }
.cc-flow { font-size: 0.88rem; color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin: 0.4rem 0 0.7rem; line-height: 1.8; }

@media (max-width: 600px) {
  .cc-bar { grid-template-columns: 76px 1fr 24px; }
  .cc-report { margin-left: 0; }
}
@media print {
  .cc-tabs, .cc-filter { display: none !important; }
  .cc-panel { display: block !important; }
}
