/* Edgework – Statistik & Erfolge, Lila als Akzent */
:root {
  --violet-soft: rgba(140,141,255,0.16);
  --violet-ink: #B9BAFF;
  --grad-cool: linear-gradient(90deg, #3E8FF0, #8C8DFF);
}
.tone-violet { color: var(--violet-ink); }
.link-btn.violet { color: var(--violet-ink); }

/* Reiter mit angehängtem Zeitraum */
.tabbar { display: flex; flex-direction: column; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 16px; padding: 4px; }
.tabbar > .seg { background: transparent; border: none; padding: 0; }
.tabbar > .seg button { font-size: 13px; }
.subseg { display: flex; gap: 4px; margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-soft); animation: fade 0.25s ease backwards; }
.subseg button { flex: 1 1 0; height: 28px; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.subseg button.on { background: var(--violet-soft); color: var(--violet-ink); box-shadow: inset 0 0 0 1px rgba(140,141,255,0.35); }

/* Filter-Chips über die volle Breite */
.chips.fill > .chip { flex: 1 1 auto; justify-content: center; }

/* Kennzahlen-Kacheln */
.kpi { --tc: var(--accent); --ts: var(--accent-soft); font: inherit; color: var(--ink); text-align: left; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; background: radial-gradient(120% 90% at 0% 0%, var(--ts), transparent 60%), var(--card-grad), var(--surface); position: relative; overflow: hidden; }
.kpi::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--tc); opacity: 0.55; }
.kpi.tone-blue { --tc: #3E8FF0; --ts: rgba(62,143,240,0.18); }
.kpi.tone-violet { --tc: #8C8DFF; --ts: rgba(140,141,255,0.2); }
.kpi.tone-green { --tc: #4ADE9B; --ts: rgba(74,222,155,0.15); }
.kpi.tone-orange { --tc: #F2A33A; --ts: rgba(242,163,58,0.16); }
.kpi-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.kpi-ico { width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--tc); background: var(--ts); }
.kpi-val { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; margin-top: 4px; }
.kpi-lab { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Verlauf */
.trend-delta { font-family: var(--display); font-weight: 700; font-size: 14px; }
.trend-delta.up { color: var(--violet-ink); }
.trend-delta.down { color: var(--warm); }
.trend-line { stroke-dasharray: 100 100; animation: arc-in 1.2s var(--ease) 0.1s backwards; }
.trend-area { animation: fade 0.8s ease 0.5s backwards; }
.week-info { border-left: 3px solid #8C8DFF; }

/* Erfolge (Karte im Überblick + Liste) */
.violet-card { border-color: rgba(140,141,255,0.35); background: radial-gradient(120% 80% at 100% 0%, rgba(140,141,255,0.14), transparent 60%), var(--surface); }
.medal-ico { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.medal-ico.gold { background: rgba(245,196,81,0.16); color: #F5C451; }
.medal-ico.warm { background: var(--warm-soft); color: var(--warm-ink); }
.medal-ico.violet { background: var(--violet-soft); color: var(--violet-ink); }
.medal-ico.cool { background: var(--accent-soft); color: var(--accent-light); }

.ach-hero { align-items: center; text-align: center; gap: 12px; padding: 22px 18px 18px; background: radial-gradient(110% 80% at 50% 0%, rgba(140,141,255,0.28), rgba(140,141,255,0) 62%), linear-gradient(180deg, #26323F, #171E26); }
.ach-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
.ach-facts > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ach-facts .stat-num { font-size: 22px; }
.ach-next { font: inherit; color: var(--ink); text-align: left; width: 100%; cursor: pointer; }
.bar.violet > span { background: linear-gradient(90deg, #6F70F0, #B9BAFF); }

.badge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.badge { font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: var(--card-grad), var(--surface); padding: 14px 6px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: pop 0.45s var(--ease) backwards; }
.badge.locked .medal-core { color: #5C6874; background: rgba(255,255,255,0.04); box-shadow: none; }
.badge-title { font-size: 13px; font-weight: 700; text-align: center; }
.badge-tier { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.medal { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.medal > svg { position: absolute; inset: 0; }
.medal-core { width: 68%; height: 68%; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tc); background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tc) 35%, transparent), color-mix(in srgb, var(--tc) 10%, transparent)); box-shadow: 0 0 18px color-mix(in srgb, var(--tc) 30%, transparent); }
.medal-lvl { position: absolute; right: -2px; bottom: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--tc); color: var(--on-light); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }
.tier-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line-soft); }
.tier-row:last-child { border-bottom: none; }
.tier-row.next { background: var(--violet-soft); border-radius: 10px; padding: 10px 8px; margin: 0 -6px; }
.tier-dot { width: 14px; height: 14px; border-radius: 7px; border: 2px solid; flex: 0 0 auto; }
.ach-month { gap: 4px; }
.ach-month .overline { color: var(--violet-ink); margin-bottom: 4px; }
.ring-card > .tiny.muted.plain { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 11.5px; }

/* Level & Punkte */
.ach-hero { background: radial-gradient(110% 80% at 50% 0%, color-mix(in srgb, var(--rc, #8C8DFF) 30%, transparent), transparent 62%), linear-gradient(180deg, #26323F, #171E26); }
.rank-medal { margin: 4px auto 0; animation: pop 0.5s var(--ease) backwards; }
.rank-core { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rank-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.rank-num { font-family: var(--display); font-size: 52px; font-weight: 800; line-height: 1; color: #fff; }
.rank-name { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: 0.02em; }
.ach-hero .ink { color: var(--ink); }
.xp-chip { flex: 0 0 auto; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11.5px; font-weight: 800; color: #B9BAFF; background: rgba(140,141,255,0.16); white-space: nowrap; }
.xp-chip::after { content: var(--pts-label, ' Pkt.'); margin-left: 2px; opacity: 0.8; }
.xp-chip.dim { opacity: 0.45; }

/* Erfolge mit Abzeichen-Symbol */
.ms-ico { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--mc); background: color-mix(in srgb, var(--mc) 16%, transparent); }
.ms-ico.sm { width: 24px; height: 24px; border-radius: 8px; }
.ms-row.tier .ms-ico { box-shadow: inset 0 0 0 1.5px var(--mc); }
.ms-filter { flex: 0 0 auto; flex-wrap: nowrap; overflow-x: auto; margin: 0 -2px; padding: 2px; scrollbar-width: none; }
.ms-filter::-webkit-scrollbar { display: none; }
.ms-filter .chip { flex: 0 0 auto; gap: 6px; }

/* 3D-Avatar (Erfolge) */
.ach-top { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.ach-top .rank-medal { margin: 0; }
.ach-medal { flex: 0 0 auto; display: flex; }
.av-stage { position: relative; flex: 1 1 0; min-width: 0; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 2px; animation: pop 0.5s var(--ease) backwards; }
.av-canvas { width: 100%; height: 100%; display: block; cursor: grab; outline: none; }
.av-canvas:active { cursor: grabbing; }
.av-canvas.big { height: 240px; }
.av-fallback { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; border: 1px dashed var(--line); border-radius: 18px; }
.av-dress { position: absolute; top: 4px; left: 4px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 20px; border: 1px solid rgba(255,255,255,0.16); background: rgba(15,20,25,0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); }
.av-dress:active { transform: scale(0.94); }
.av-empty { font: inherit; color: var(--ink); border: 1px dashed rgba(255,255,255,0.22); border-radius: 22px; background: rgba(255,255,255,0.03); justify-content: center; gap: 10px; height: 180px; }
.av-empty-ring { width: 64px; height: 64px; border-radius: 32px; display: inline-flex; align-items: center; justify-content: center; background: rgba(140,141,255,0.18); color: #B9BAFF; }
.av-news { font: inherit; color: var(--ink); text-align: left; width: 100%; display: flex; flex-direction: column; gap: 3px; border-color: rgba(245,196,81,0.45); background: rgba(245,196,81,0.08); cursor: pointer; }
.av-hint { margin-top: -6px; }
.av-preview { flex: 0 0 auto; border-radius: 20px; background: radial-gradient(90% 80% at 50% 20%, rgba(140,141,255,0.22), transparent 70%), linear-gradient(180deg, #26323F, #171E26); border: 1px solid var(--line); }
.av-tabs { flex: 0 0 auto; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; touch-action: pan-x; margin: 0 -20px; padding: 3px 20px; scrollbar-width: none; }
.av-tabs::-webkit-scrollbar { display: none; }
.av-tabs .chip { flex: 0 0 auto; }
.av-animals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.av-animal { font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); padding: 4px 2px 7px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.av-animal.on { border-color: #B9BAFF; background: rgba(140,141,255,0.16); box-shadow: 0 0 0 1px #B9BAFF inset; }
.av-animal img, .av-thumb-ph { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.av-thumb-ph { border-radius: 12px; background: rgba(255,255,255,0.03); }
.av-animal { position: relative; }
.av-animal.locked { opacity: 0.5; }
.av-animal.locked img { filter: grayscale(0.7) brightness(0.8); }
.av-animal-lock { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 8px; background: rgba(15,20,25,0.75); color: var(--warm-ink); font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.av-animal-name { font-size: 11px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.av-swatch { width: 34px; height: 34px; border-radius: 17px; border: 2px solid rgba(255,255,255,0.14); background: var(--sw); padding: 0; }
.av-swatch.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.18); }
.av-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.av-item { font: inherit; color: var(--ink); text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; min-height: 62px; }
.av-item.on { border-color: #fff; background: rgba(255,255,255,0.1); }
.av-item.locked { opacity: 0.6; border-style: dashed; }
.av-item.locked.on { opacity: 1; border-color: var(--warm-ink); background: rgba(242,163,58,0.1); }
.av-how, .av-lock { display: inline-flex; align-items: flex-start; gap: 4px; line-height: 1.35; }
.av-how svg, .av-lock svg { flex: 0 0 auto; margin-top: 2px; }
.av-tag { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 8px; background: rgba(242,163,58,0.2); color: var(--warm-ink); font-size: 10.5px; font-weight: 700; vertical-align: 2px; }
.av-preview-note { display: flex; align-items: center; gap: 5px; color: var(--warm-ink); margin-bottom: 8px; line-height: 1.35; }
.av-animal.locked.on { opacity: 1; }
.av-animal.locked.on img { filter: none; }
.sheet-top { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.av-canvas.mid { height: 190px; }
@media (min-height: 760px) { .av-canvas.mid { height: 220px; } }
.av-item:disabled { cursor: default; }
.av-item-name { font-weight: 700; font-size: 14px; }
.av-lock { color: var(--warm-ink); }
.av-foot { flex: 0 0 auto; }
.avatar.av-img { background: radial-gradient(circle at 50% 30%, rgba(140,141,255,0.45), rgba(62,143,240,0.25)); overflow: hidden; }
.avatar.av-img img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .av-stage { animation: none; } }

.av-box { position: relative; width: 100%; height: 214px; }
.av-name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Im Fenster nichts zusammenschieben (sonst überdecken die Kacheln die Reiter) */
.sheet-scroll > .av-preview, .sheet-scroll > .av-animals, .sheet-scroll > .av-items, .sheet-scroll > .av-swatches, .sheet-scroll > .field { flex-shrink: 0; }

/* Avatar im Reiter Training und in der Trainings-Zusammenfassung (nur Standbild) */
.av-badge { position: relative; flex: 0 0 auto; margin-left: auto; padding: 0; border: none; background: none; color: #B9BAFF; display: inline-flex; animation: pop 0.5s var(--ease) backwards; }
.av-cheer { font: inherit; color: var(--ink); text-align: left; flex-direction: row; align-items: center; gap: 14px; cursor: pointer; border-color: rgba(140,141,255,0.35); background: radial-gradient(80% 120% at 0% 50%, rgba(140,141,255,0.18), transparent 70%), var(--card-grad), var(--surface); }
.av-cheer.up { border-color: rgba(245,196,81,0.55); background: radial-gradient(80% 120% at 0% 50%, rgba(245,196,81,0.2), transparent 70%), var(--card-grad), var(--surface); }
.av-cheer-fig { flex: 0 0 auto; display: inline-flex; color: #B9BAFF; animation: av-jump 1.6s var(--ease) 0.3s 2 both; }
.av-cheer-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.av-bubble { position: relative; font-size: 14px; line-height: 1.4; background: rgba(255,255,255,0.07); border-radius: 14px; padding: 8px 11px; }
.av-bubble::before { content: ''; position: absolute; left: -6px; top: 14px; border: 6px solid transparent; border-left: 0; border-right-color: rgba(255,255,255,0.07); }
@keyframes av-jump { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-10px) rotate(-6deg); } 50% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-5px) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .av-cheer-fig, .av-badge { animation: none; } }

/* Level-Rahmen (rank-frame.js) */
.rank-frame { position: relative; display: inline-flex; flex: 0 0 auto; }
.rf-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rf-content { position: absolute; left: 17%; top: 17%; width: 66%; height: 66%; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc) 42%, transparent), color-mix(in srgb, var(--rc) 10%, #10161D)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16); }
.rf-content img { width: 100%; height: 100%; object-fit: cover; }
.rf-chip { position: absolute; left: 50%; bottom: -1%; transform: translateX(-50%); min-width: 36%; height: 27%; max-height: 26px; min-height: 17px; padding: 0 0.45em; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(10px, 1.1em, 15px); line-height: 1; color: #10161D; border: 2px solid var(--bg, #0F1419);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 55%, #fff), var(--rc)); box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.rank-frame.r5 .rf-chip { background: linear-gradient(90deg, #FF8AD0, #9B6BFF, #3EC8F0, #4ADE9B, #F5C451); }
.rank-frame.r4 .rf-content, .rank-frame.r5 .rf-content { box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 18px color-mix(in srgb, var(--rc) 45%, transparent); }
.rf-spin { transform-origin: 50px 50px; animation: rf-spin 9s linear infinite; }
.rf-twinkle { transform-box: fill-box; transform-origin: center; animation: rf-tw 2.6s ease-in-out infinite; }
.rf-glow { animation: rf-glow 3.2s ease-in-out infinite; }
.rf-crown { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,0.4)); }
@keyframes rf-spin { to { transform: rotate(360deg); } }
@keyframes rf-tw { 0%, 100% { opacity: 0.15; transform: scale(0.55); } 50% { opacity: 1; transform: scale(1); } }
@keyframes rf-glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rf-spin, .rf-twinkle, .rf-glow { animation: none; } .rf-twinkle { opacity: 0.8; } }
.av-pic { font-size: 14px; }
.rank-btn { padding: 0; border: none; background: none; color: inherit; cursor: pointer; border-radius: 50%; display: inline-flex; }
.rank-btn:active { transform: scale(0.96); }
.rank-btn:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; }
.lvl-now { flex-direction: row; align-items: center; gap: 14px; background: radial-gradient(90% 120% at 0% 50%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 70%), linear-gradient(180deg, #26323F, #171E26); }
.rank-card { gap: 10px; }
.rank-card.here { border-color: color-mix(in srgb, var(--rc) 55%, transparent); background: radial-gradient(90% 80% at 0% 0%, color-mix(in srgb, var(--rc) 16%, transparent), transparent 70%), var(--card-grad), var(--surface); }
.rank-card.future { opacity: 0.85; }
.lvl-list { display: flex; flex-direction: column; }
.lvl-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-soft); color: var(--muted); }
.lvl-row.done { color: var(--ink); }
.lvl-row.done svg { color: var(--rc); }
.lvl-row.here { color: var(--ink); background: color-mix(in srgb, var(--rc) 14%, transparent); margin: 0 -10px; padding: 7px 10px; border-radius: 10px; border-top-color: transparent; }
.lvl-n { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 13px; border: 1.5px solid color-mix(in srgb, var(--rc) 60%, transparent); color: var(--ink); }
.lvl-row.done .lvl-n, .lvl-row.here .lvl-n { background: var(--rc); color: #10161D; border-color: transparent; }

/* Freunde */
.divider { height: 1px; background: var(--line-soft); margin: 2px 0; }
.friend-list { display: flex; flex-direction: column; gap: 10px; }
.friend-row { gap: 12px; }
.friend-row > svg:last-child { color: var(--muted); flex: 0 0 auto; }
.friend-head { flex-direction: row; align-items: center; gap: 16px; background: radial-gradient(90% 120% at 0% 50%, color-mix(in srgb, var(--rc) 24%, transparent), transparent 70%), linear-gradient(180deg, #26323F, #171E26); }
.friend-session { gap: 8px; }
.friend-el { font-size: 12px; padding: 5px 10px; cursor: default; }
.friend-el.good { border-color: color-mix(in srgb, var(--m3) 60%, transparent); color: var(--m3); }
.friend-el.ok { border-color: color-mix(in srgb, var(--m2) 60%, transparent); color: var(--m2); }
.friend-el.low { border-color: color-mix(in srgb, var(--m1) 55%, transparent); color: #8CC0FF; }
.friend-top { gap: 14px; }
.friend-fig { width: 128px; height: 128px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc, #8C8DFF) 40%, transparent), color-mix(in srgb, var(--rc, #8C8DFF) 8%, #10161D)); }
.friend-fig img { width: 100%; height: 100%; object-fit: cover; }
.list-card.ro { cursor: default; }
.list-card.ro:active { transform: none; }

/* Kalender-Export */
a.btn.disabled { opacity: 0.5; pointer-events: none; }
.cal-title { white-space: nowrap; font-size: clamp(24px, 7.4vw, 32px); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cal-year { color: var(--muted); font-weight: 600; }

/* Glocke & Mitteilungen */
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.head-actions .av-badge { margin-left: 0; }
.bell-btn { position: relative; width: 46px; height: 46px; border-radius: 23px; }
.bell-count { position: absolute; top: -3px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #F0476A; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center; border: 2px solid var(--bg, #0F1419); animation: pop 0.35s var(--ease) backwards; }
.inbox-list { display: flex; flex-direction: column; gap: 8px; }
.inbox-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; }
.inbox-item.unread { border-color: rgba(140,141,255,0.45); background: radial-gradient(90% 120% at 0% 50%, rgba(140,141,255,0.14), transparent 70%), var(--surface); }
.inbox-item:active { transform: scale(0.99); }
.inbox-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.inbox-item:not(.unread) .inbox-title { font-weight: 500; color: rgba(255,255,255,0.82); }
.inbox-sub { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.inbox-dot { width: 10px; height: 10px; border-radius: 5px; background: #8C8DFF; flex: 0 0 auto; box-shadow: 0 0 8px rgba(140,141,255,0.7); }

/* Daumen hoch */
.like-bar { display: flex; align-items: center; gap: 10px; padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--line); }
.like-faces { display: inline-flex; align-items: center; }
.like-faces .like-face + .like-face { margin-left: -12px; }
.like-face { position: relative; display: inline-flex; }
.like-thumb { position: absolute; right: -4px; bottom: -2px; font-size: 14px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.like-initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-weight: 800; color: var(--ink); background: var(--surface-3); border-radius: 50%; }
.like-text { min-width: 0; line-height: 1.35; }
.like-btn { flex: none; width: 46px; height: 46px; border-radius: 23px; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; filter: grayscale(.85) opacity(.75); transition: transform .15s, filter .15s, background .15s; }
.like-btn.on { filter: none; background: rgba(245,196,81,.16); border-color: rgba(245,196,81,.55); animation: like-pop .35s ease-out; }
.like-btn:active { transform: scale(.9); }
@keyframes like-pop { 0% { transform: scale(.8); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.like-card .like-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.like-person { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 70px; text-align: center; }

.feed-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; }
.feed-row + .feed-row { border-top: 1px solid var(--line); }
.like-btn.sm { width: 40px; height: 40px; border-radius: 20px; font-size: 19px; }
