:root {
  --bg: #f5f6f8;
  --fg: #1c1e21;
  --muted: #6b7280;
  --line: #d7dade;
  --acc: #1a56db;
  --err: #c0392b;
  --card: #ffffff;
  --btn-bg: #e7eefc;
  --btn-border: #b9c6dd;
  --scam-bg: #fdecea;
  --input-bg: #ffffff;
  --row-hover: #dbe7ff;
  --sticker-bg: #f3f5f9;
  --modal-bg: #ffffff;
  --avatar-ph-start: #667eea;
  --avatar-ph-end: #a78bfa;
  --avatar-ph-f-start: #f093fb;
  --avatar-ph-f-end: #f5576c;
}

body.dark {
  --bg: #1a1a2e;
  --fg: #e0e0e0;
  --muted: #9ca3af;
  --line: #374151;
  --acc: #60a5fa;
  --err: #ef4444;
  --card: #16213e;
  --btn-bg: #1e3a5f;
  --btn-border: #2d5a8e;
  --scam-bg: #3b1515;
  --input-bg: #0f3460;
  --row-hover: #1e3a5f;
  --sticker-bg: #1e293b;
  --modal-bg: #16213e;
  --avatar-ph-start: #4f46e5;
  --avatar-ph-end: #7c3aed;
  --avatar-ph-f-start: #c026d3;
  --avatar-ph-f-end: #e11d48;
}

* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  background: var(--bg);
  color: var(--fg);
  margin: 0;
  transition: background 0.3s, color 0.3s;
}
a { color: var(--acc); }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; text-decoration: none; color: var(--fg); }
.top nav a { margin-left: 1rem; }
.who { color: var(--muted); margin-left: 1rem; }
main { padding: 1.4rem; }
h1 { margin: 0 0 0.4rem; font-size: 1.4rem; }
.muted { color: var(--muted); }
.err { color: var(--err); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.2rem;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.card label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.card input {
  background: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 0.45rem 0.5rem;
}
.card button {
  background: var(--btn-bg);
  color: var(--fg);
  border: 1px solid var(--btn-border);
  padding: 0.5rem;
  cursor: pointer;
}
table.list { width: 100%; border-collapse: collapse; margin-top: 1rem; }
table.list th, table.list td {
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
table.list th { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.mono { font-family: ui-monospace, monospace; font-size: 0.9rem; }
.flash { color: #1a7f37; }
form.inline { display: inline; margin: 0; }
.bar { margin: 0.8rem 0 1rem; }
.split { display: grid; grid-template-columns: 16rem 1fr; gap: 1.2rem; }
.convos { list-style: none; margin: 0; padding: 0; }
.convos li { border-bottom: 1px solid var(--line); }
.convos a { display: block; padding: 0.45rem 0.2rem; text-decoration: none; color: var(--fg); }
.convos a span { display: block; color: var(--muted); font-size: 0.8rem; }
.convos .on { background: var(--row-hover); }
.convos .scam strong { color: #c0392b; }
.thread { max-height: 28rem; overflow: auto; display: flex; flex-direction: column; gap: 0.45rem; }
.bubble { max-width: 80%; padding: 0.4rem 0.6rem; border-radius: 8px; background: var(--sticker-bg); }
.bubble.me { align-self: flex-end; background: var(--btn-bg); }
.bubble time { display: block; font-size: 0.7rem; color: var(--muted); }
.msg-hunter-label { font-size: 0.7rem; color: var(--muted); margin-bottom: 0.2rem; font-weight: 500; }
.send { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.send textarea { flex: 1; background: var(--input-bg); color: var(--fg); border: 1px solid var(--line); padding: 0.4rem; }
.send button { background: var(--btn-bg); color: var(--fg); border: 1px solid var(--btn-border); padding: 0.4rem 0.8rem; cursor: pointer; }
.photo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn-bg); color: var(--fg); border: 1px solid var(--btn-border);
  padding: 0.4rem 0.6rem; cursor: pointer; font-size: 1rem;
}
.photo-btn input { display: none; }
.skull-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.skull-row[hidden] { display: none; }
.skull-row input { flex: 1; background: var(--input-bg); color: var(--fg); border: 1px solid var(--line); padding: 0.4rem; }
.skull-row button { background: var(--btn-bg); color: var(--fg); border: 1px solid var(--btn-border); padding: 0.4rem 0.8rem; cursor: pointer; }
form.inline button {
  background: var(--btn-bg);
  color: var(--fg);
  border: 1px solid var(--btn-border);
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
}

/* ---------- SPA ---------- */
.spa-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tabs { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.tabs button {
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-size: 0.85rem;
}
.tabs button.on { background: var(--btn-bg); border-color: var(--acc); }
.badge {
  display: inline-block;
  margin-left: 0.3rem;
  background: #c0392b;
  color: #fff;
  border-radius: 9px;
  font-size: 0.7rem;
  padding: 0 0.4rem;
  line-height: 1.2;
}
.spa-hunter { display: flex; align-items: center; gap: 0.6rem; }
.spa-hunter label { color: var(--muted); font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.hunter-sel {
  background: var(--input-bg); color: var(--fg); border: 1px solid var(--line); padding: 0.35rem 0.5rem;
}
button.mini {
  background: var(--btn-bg); color: var(--fg); border: 1px solid var(--btn-border);
  padding: 0.25rem 0.6rem; cursor: pointer; font-size: 0.8rem;
}
button.mini[disabled] { opacity: 0.5; cursor: not-allowed; }
.alert {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
  background: var(--card);
}
.alert.err { border-color: var(--err); color: var(--err); }
.alert.scam { border-color: var(--err); color: #c0392b; background: var(--scam-bg); }
.statrow { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.stat {
  background: var(--card); border: 1px solid var(--line);
  padding: 0.7rem 1.1rem; min-width: 7rem; text-align: center;
}
.stat-num { font-size: 1.4rem; font-weight: 700; }
.stat-lbl { color: var(--muted); font-size: 0.75rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.8rem; }
.card.mini-card { padding: 0.8rem; }
.c-name { font-weight: 600; margin-top: 0.4rem; }
.c-actions { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: inline-block; }
.avatar.ph {
  background: linear-gradient(135deg, var(--avatar-ph-start), var(--avatar-ph-end));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.avatar.ph.f { background: linear-gradient(135deg, var(--avatar-ph-f-start), var(--avatar-ph-f-end)); }
.row-on { background: var(--row-hover); }
.scam-row td:first-child { border-left: 3px solid var(--err); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.scam-tag { display: inline-block; background: var(--err); color: #fff; border-radius: 4px; padding: 0 0.4rem; font-weight: 600; }
.bilder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; align-items: start; }
.bilder-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.bilder-card h3 { margin: 0 0 0.75rem; font-size: 15px; }
.bilder-main { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid var(--line); display: block; margin: 0 auto 0.5rem; }
.bilder-key { font-size: 11px; word-break: break-all; text-align: center; }
#uploadForm { display: flex; flex-direction: column; gap: 0.75rem; }
.up-target { display: flex; align-items: center; gap: 0.4rem; font-size: 14px; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.5rem; }
.album-photo { position: relative; }
.album-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.album-del { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.6); color: #fff; border: 0; border-radius: 6px; cursor: pointer; padding: 2px 6px; }
.album-miss { width: 100%; aspect-ratio: 1; border-radius: 8px; border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.acc-actions { white-space: nowrap; }
.acc-actions .btn { margin-left: 0.25rem; }
.btn.sm { padding: 2px 8px; font-size: 12px; }
.btn.danger { background: var(--err); color: #fff; }
.btn.danger:hover { filter: brightness(1.1); }
#accEditForm { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
#accEditForm label { font-size: 13px; color: var(--muted); margin-bottom: -0.25rem; }
#addAccForm { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.t-head h2 { margin: 0 0 0.4rem; }
.bubble.scam-b { border: 1px solid var(--err); }

/* Media in messages */
.message-media {
  margin: 0.4rem 0;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.message-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.message-sticker {
  max-width: 120px;
}

.sticker-badge {
  display: inline-block;
  background: var(--sticker-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 1.4rem;
}

.media-miss {
  color: var(--muted);
  font-size: 0.8rem;
}

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center; z-index: 50;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--modal-bg); border: 1px solid var(--line);
  max-width: 42rem; width: 92%; max-height: 84vh; overflow: auto;
  padding: 1.2rem; position: relative;
}
.modal-close {
  position: absolute; top: 0.4rem; right: 0.6rem;
  background: none; border: none; color: var(--fg); font-size: 1.3rem; cursor: pointer;
}
.peer-msgs-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 0.75rem; padding-right: 1.6rem;
}
.peer-msgs-head h2 { margin: 0; }
.peer-thread {
  display: flex; flex-direction: column; gap: 0.35rem;
  max-height: 50vh; overflow: auto; padding: 0.5rem; border: 1px solid var(--line); border-radius: 8px;
}
.peer-thread.verlauf-focus { border-color: var(--acc, #3498db); box-shadow: 0 0 0 2px rgba(52,152,219,0.25); }
.copy-thread { font-weight: 600; white-space: nowrap; }
.peer-msgs-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; flex-shrink: 0; }
.eros-classify { font-weight: 600; white-space: nowrap; }
.eros-classify-results { margin: 0 0 0.75rem; }
.eros-proposal {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent, #3498db);
  border-radius: 8px; padding: 0.6rem 0.75rem; font-size: 0.9rem;
}
.eros-reason { margin: 0.4rem 0 0.6rem; color: var(--fg); line-height: 1.4; }
.eros-proposal-actions { display: flex; gap: 0.5rem; }
.eros-proposal-actions .btn { padding: 0.3rem 0.8rem; font-size: 0.85rem; }
.eros-proposal code { background: rgba(128,128,128,0.15); border-radius: 4px; padding: 0 0.3em; }
.reason-sugg { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.6rem; }
.reason-chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.2rem 0.6rem; font-size: 0.8rem; cursor: pointer; color: var(--fg); text-align: left;
}
.reason-chip:hover { border-color: var(--accent, #3498db); }
.reason-chip.auto { border-style: dashed; }
.search-bar { display: flex; gap: 0.5rem; margin: 0.75rem 0 1rem; align-items: center; }
.thread.small { max-height: 24rem; overflow: auto; }
.member {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}
.member .avatar { width: 30px; height: 30px; font-size: 14px; }
.m-title { color: var(--muted); font-size: 0.75rem; margin: 0.6rem 0 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.wheel-box { text-align: center; max-width: 22rem; margin: 0 auto; }
.wheel {
  width: 14rem; height: 14rem; border-radius: 50%; margin: 1rem auto;
  border: 6px solid #c7ccd3; position: relative;
  background: conic-gradient(
    #e74c3c 0deg 72deg, #f1c40f 72deg 144deg, #2ecc71 144deg 216deg,
    #3498db 216deg 288deg, #9b59b6 288deg 360deg);
}
.wheel-center {
  position: absolute; inset: 0; margin: auto; width: 3rem; height: 3rem;
  border-radius: 50%; background: var(--card); border: 3px solid #c7ccd3;
}
.cooldown { margin-top: 0.6rem; color: var(--muted); }
.wheel-info { margin-top: 1rem; text-align: left; }
.wheel-info-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.wheel-info-label { color: var(--muted); }
.wheel-history-wrap { margin-top: 1.2rem; text-align: left; }
.wheel-history-wrap h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.wheel-hist { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.wheel-hist th, .wheel-hist td { text-align: left; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--line); }
.wheel-hist th { color: var(--muted); font-weight: 600; }
.wheel-hist .ok { color: #1a7f37; font-weight: 600; }
.wheel-hist .err { color: var(--err); }
.ok { color: #1a7f37; font-weight: 600; }
.unread { color: var(--err); }
.i-hunter-link { color: var(--err); font-weight: 700; text-decoration: none; cursor: pointer; }
.i-hunter-link:hover { text-decoration: underline; }
.h-link { color: var(--acc); text-decoration: none; cursor: pointer; }
.h-link:hover { text-decoration: underline; }
.nearby-header { margin-bottom: 0.8rem; display: flex; gap: 0.4rem; }
.view-toggle { padding: 0.2rem 0.6rem; font-size: 0.9rem; border-radius: 4px; background: var(--line); border: 1px solid var(--line); cursor: pointer; }
.view-toggle.on { background: var(--acc); color: white; border-color: var(--acc); }
.gender-sel { padding: 0.2rem 0.4rem; font-size: 0.9rem; border-radius: 4px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.cooldown-active { color: var(--muted); }
.cooldown-ready { color: #1a7f37; font-weight: 600; }
.flash { color: #1a7f37; }
.profile-card { text-align: left; display: flex; flex-direction: column; gap: 0.75rem; }
.profile-card .avatar { width: 84px; height: 84px; font-size: 34px; flex-shrink: 0; }
.p-top { display: flex; gap: 1rem; align-items: center; }
.p-info h3 { margin: 0; font-size: 1.25rem; }
.p-pts { color: var(--acc); font-weight: 600; }
.p-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.25rem; }
.p-actions button { flex: 1; min-width: 9rem; }
.p-status { background: var(--sticker-bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.8rem; white-space: pre-wrap; }
.p-photos { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.p-photo { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.p-fields { width: 100%; border-collapse: collapse; }
.p-fields th, .p-fields td { text-align: left; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.p-fields th { color: var(--muted); font-weight: 600; white-space: nowrap; width: 40%; }
.page-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.page-head h2 { margin: 0; font-size: 1.3rem; }

/* ---------- OPTIONEN ---------- */
.opts-section { margin-bottom: 2rem; }
.opts-section h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.opts-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.2rem; max-width: 32rem;
}
.opts-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--line);
}
.opts-row:last-child { border-bottom: none; }
.opts-label { font-size: 0.95rem; }
.opts-desc { color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.opt-input {
  width: 14rem; max-width: 100%;
  background: var(--bg); color: var(--fg); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.5rem 0.7rem; font-size: 0.9rem;
}
.opt-input:focus { outline: none; border-color: var(--acc); }
.opts-card .btn { margin-top: 0.9rem; }

/* Toggle-Switch */
.toggle {
  position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--line); border-radius: 13px;
  transition: background 0.3s;
}
.toggle .slider::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform 0.3s;
}
.toggle input:checked + .slider { background: var(--acc); }
.toggle input:checked + .slider::before { transform: translateX(22px); }

.theme-preview {
  margin-top: 1.5rem; padding: 1rem; border-radius: 8px;
  border: 1px dashed var(--line);
}
.theme-preview .tp-row { display: flex; gap: 0.6rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.theme-preview .tp-box {
  width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}

/* ---------- GRID CARDS (Besucher/Kontakte Grid) ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
.grid-cards .card { text-align: center; padding: 1rem 0.6rem 0.8rem; }
.grid-cards .card .avatar,
.grid-cards .card .card-avatar { width: 100px !important; height: 100px !important; font-size: 40px !important; margin: 0 auto 0.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.card-status { background: var(--sticker-bg); border: 1px solid var(--line); border-radius: 6px; padding: 0.3rem 0.5rem; font-size: 0.8rem; margin: 0.3rem 0; white-space: pre-wrap; }
.card-profile .c-name { font-size: 1rem; font-weight: 600; }
.card-profile .card-meta { font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0; }
.card-profile .c-actions { margin-top: 0.5rem; display: flex; gap: 0.3rem; justify-content: center; }
.sort-th { cursor: pointer; user-select: none; white-space: nowrap; }
.sort-th:hover { color: var(--acc); text-decoration: underline; }
.deleted-badge { color: var(--err); font-size: 0.8rem; font-weight: 600; }
.card-deleted { opacity: 0.6; border-style: dashed; }

/* ---------- Groups ---------- */
.groups-toolbar { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.groups-toolbar .mini.active { background: var(--acc); color: #fff; }
.g-chat-title { font-weight: 600; font-size: 1rem; align-self: center; margin-left: 0.5rem; }

.group-list { display: flex; flex-direction: column; gap: 0.5rem; }
.g-card { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; transition: border-color 0.15s; }
.g-card:hover { border-color: var(--acc); }
.g-card-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--card-bg); display: flex; align-items: center; justify-content: center; }
.g-card-img--placeholder { font-size: 1.5rem; }
.g-card-body { flex: 1; min-width: 0; }
.g-card-name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-card-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.6rem; margin-top: 0.15rem; flex-wrap: wrap; }
.g-card-meta span { white-space: nowrap; }
.g-card .mini.acc { flex-shrink: 0; }

/* group chat */
.group-thread { max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 0.4rem; padding: 0.5rem 0; }
.g-msg { background: var(--card-bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.6rem; max-width: 85%; }
.g-msg-sender { font-size: 0.75rem; font-weight: 600; color: var(--acc); margin-bottom: 0.1rem; }
.g-msg-text { font-size: 0.9rem; word-break: break-word; }
.g-msg-sys { text-align: center; font-size: 0.78rem; color: var(--muted); padding: 0.2rem 0; }
.g-sys { font-style: italic; }
.g-send-row { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.g-send-row input { flex: 1; }

/* dark mode overrides */
body.dark .g-card-img { background: #222; }

/* ---------- Rewards / Rad ---------- */
.reward-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.reward-tabs .mini.active { background: var(--acc); color: #fff; }
.reward-section { max-width: 600px; }
.reward-section h2 { margin-bottom: 0.3rem; }
.reward-section h3 { margin-top: 1rem; margin-bottom: 0.3rem; }
.reward-note { background: var(--card-bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.8rem; margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted); }
.reward-note code { background: var(--code-bg, #1a1a2e); padding: 0.1rem 0.3rem; border-radius: 3px; font-size: 0.8rem; }
.reward-note ul { margin: 0.3rem 0 0 1rem; }
.fps-grid { display: flex; gap: 1rem; margin: 0.5rem 0; flex-wrap: wrap; }
.fps-item { background: var(--card-bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.8rem; min-width: 120px; }
.fps-label { display: block; font-size: 0.75rem; color: var(--muted); }
.fps-value { font-size: 1.1rem; font-weight: 600; }
.offer-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.offer-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.offer-pkg { font-weight: 600; font-size: 0.9rem; }
.offer-pts { color: var(--acc); font-weight: 600; }
.offer-token { font-size: 0.75rem; }
.offer-claim { margin-left: auto; }
.flash { margin-top: 0.5rem; font-weight: 600; min-height: 1.2em; }

.log-box { background: #0d1117; color: #c9d1d9; border: 1px solid #30363d; border-radius: 6px; padding: 0.6rem; font-size: 0.75rem; max-height: 300px; overflow-y: auto; white-space: pre-wrap; word-break: break-all; margin-top: 0.5rem; font-family: monospace; }

/* EROS Ton-Chips — nur aktueller Chat */
.eros-tone { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-top: 0.4rem; }
.eros-tone .tone-chip.on { border-color: var(--accent, #3498db); background: rgba(52,152,219,0.15); font-weight: 600; }
.eros-tone .eros-tone-active { font-size: 0.85em; }

/* Globaler KI-Killswitch (Dashboard-Top) */
.ki-kill {
  margin-left: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.ki-kill.ki-on {
  background: #c62828;
  color: #fff;
  border-color: #8e0000;
  box-shadow: 0 0 0 2px rgba(198,40,40,0.25);
}
.ki-kill.ki-off {
  background: #2e7d32;
  color: #fff;
  border-color: #1b5e20;
}
.ki-kill:disabled { opacity: 0.6; cursor: wait; }
