/* Belohnungen (public/dopamin.js): Pille, Widget, Toast, schwebende Punkte, großer Moment. Bei „weniger Bewegung“ ohne Animation. */
.dp-konfetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9990; }
.dp-schweben { position: fixed; left: 50%; bottom: 22%; z-index: 9980; pointer-events: none; transform: translateX(-50%); }
.dp-plus { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--night); color: var(--lime); font-size: 15px; font-weight: 700; white-space: nowrap; animation: dp-steigt 1.3s var(--ease) forwards; }
.dp-plus.stark { font-size: 22px; padding: 6px 16px; background: var(--lime); color: var(--ink); }
@keyframes dp-steigt { from { opacity: 0; transform: translate(-50%, 16px) scale(.8); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } to { opacity: 0; transform: translate(-50%, -70px) scale(1); } }
.dp-toast { position: fixed; left: 50%; top: max(14px, env(safe-area-inset-top)); z-index: 9985; display: flex; align-items: center; gap: 12px; width: min(380px, calc(100vw - 24px)); padding: 12px 16px; border-radius: 20px; background: var(--night); color: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translate(-50%, -18px); transition: opacity .25s, transform .35s var(--spring), visibility 0s .25s; }
.dp-toast.an { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dp-toast i { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--lime); color: var(--ink); font-style: normal; }
.dp-toast i svg { width: 22px; height: 22px; }
.dp-toast b { display: block; font-size: 16px; line-height: 1.2; }
.dp-toast small { display: block; font-size: 13.5px; color: var(--night-muted); line-height: 1.3; margin-top: 2px; }

.dp-pille { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.dp-lv { display: inline-flex; align-items: center; gap: 6px; }
.dp-lv > b { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--night); color: var(--lime); font-size: 13px; font-weight: 700; }
.dp-bar { display: block; width: 46px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.dp-bar > i { display: block; height: 100%; border-radius: 6px; background: var(--night); transition: width .5s var(--ease); }
.dp-bar.gross { width: 100%; height: 8px; margin-top: 8px; }
.dp-serie { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.dp-serie svg { width: 16px; height: 16px; }
.dp-serie.gross { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--soft); }

.dp-w { display: grid; gap: 14px; }
.dp-w-kopf { display: flex; align-items: center; gap: 14px; }
.dp-w-kopf > div { flex: 1; min-width: 0; }
.dp-w-lv { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--night); color: var(--lime); font-size: 26px; font-weight: 700; }
.dp-w-name { font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.dp-w-zeile { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dp-ziel { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; }
.dp-ziel svg { width: 17px; height: 17px; flex: none; }
.dp-ziel.ok { background: var(--lime); }
.dp-erf summary { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--t-s); font-weight: 600; cursor: pointer; }
.dp-erf summary b { color: var(--muted); font-weight: 600; }
.dp-erf[open] summary { margin-bottom: 6px; }
.dp-erfolge { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.dp-erfolge li { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 10px 6px; border-radius: 14px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; }
.dp-erfolge li svg { width: 22px; height: 22px; opacity: .45; }
.dp-erfolge li.an { background: var(--lime); color: var(--ink); }
.dp-erfolge li.an svg { opacity: 1; }

.dp-moment { position: fixed; inset: 0; z-index: 9970; display: grid; place-items: center; padding: 24px; background: rgba(12, 14, 12, .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; overflow: auto; animation: dp-ein .25s ease both; }
@keyframes dp-ein { from { opacity: 0; } }
.dp-moment-in { display: grid; justify-items: center; gap: 12px; text-align: center; width: min(420px, 100%); }
.dp-moment h2 { color: #fff; font-size: clamp(30px, 8.4vw, 44px); letter-spacing: -.035em; line-height: 1.06; outline: none; animation: dp-pop .5s var(--spring) both; overflow-wrap: anywhere; hyphens: auto; }
@keyframes dp-pop { from { transform: scale(.8); opacity: 0; } }
.dp-kicker { color: var(--lime); font-weight: 700; font-size: 16px; }
.dp-text { color: var(--night-muted); font-size: 16px; }
.dp-ring { --p: 90; position: relative; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255, 255, 255, .16) 0); animation: dp-pop .6s var(--spring) both; }
.dp-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--night); }
.dp-ring b { position: relative; font-size: 44px; letter-spacing: -.04em; line-height: 1; color: #fff; }
.dp-ring small { position: absolute; bottom: 26px; font-size: 12px; font-weight: 700; color: var(--lime); }
.dp-stempel { display: inline-grid; justify-items: center; gap: 2px; padding: 12px 26px; border: 4px solid var(--lime); border-radius: 14px; color: var(--lime); transform: rotate(-7deg); animation: dp-stempeln .55s cubic-bezier(.2, .9, .25, 1.3) both; }
@keyframes dp-stempeln { from { transform: rotate(-7deg) scale(2.6); opacity: 0; } }
.dp-stempel b { font-size: 34px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--lime); }
.dp-stempel small { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; }
.dp-knoepfe { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
.dp-knoepfe .btn { width: 100%; justify-content: center; }
.dp-weiter { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }
.dp-weiter:hover { background: rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce) { .dp-plus, .dp-moment, .dp-moment h2, .dp-ring, .dp-stempel { animation: none; } .dp-plus { opacity: 1; } }
