/* Spazierclub Agentur – Handy zuerst, heller Look in Weiß und Spazierclub-Orange. */
:root {
  --bg: #FFFFFF; --soft: #FFF3EA; --fg: #16120F; --muted: #7A6F67; --line: #EFE6DE;
  --acc: #E96B2A; --acc-ink: #B4501B; --ok: #1F8A50; --ok-soft: #E3F4EA; --bad: #B42318; --bad-soft: #FDECEA;
  --display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
#app { max-width: 560px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); }
.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
  padding: 14px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.top small { color: var(--muted); font-size: 12px; }
.top h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 27px; letter-spacing: -.01em; line-height: 1.1; }
.flags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.flag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: var(--soft); color: var(--acc-ink); white-space: nowrap; }
.flag.red { background: var(--bad-soft); color: var(--bad); }
.flag.green { background: var(--ok-soft); color: var(--ok); }
main { flex: 1; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 110px max(16px, env(safe-area-inset-left, 0px)); }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line); padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  backdrop-filter: blur(10px); }
.tabs button { all: unset; cursor: pointer; flex: 1; max-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 600; color: var(--muted); position: relative; padding: 4px 0; }
.tabs svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.on { color: var(--acc); }
.tabs button:focus-visible { outline: 2px solid var(--acc); border-radius: 8px; }
.badge { position: absolute; top: 0; left: calc(50% + 7px); background: var(--acc); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; border-radius: 10px; padding: 0 5px; line-height: 16px; }

/* Buttons & Felder */
.btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--acc); color: #fff;
  font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: 12px; text-align: center; }
.btn.ghost { background: var(--soft); color: var(--acc-ink); }
.btn.dark { background: var(--fg); color: #fff; }
.btn.small { padding: 7px 11px; font-size: 13px; border-radius: 10px; }
.btn.red { background: var(--bad-soft); color: var(--bad); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
input[type=text], input[type=password], input[type=number], textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; color: var(--fg); background: #fff; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--acc); }
textarea { resize: vertical; min-height: 84px; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.muted { color: var(--muted); }
.lbl { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.empty b { font-family: var(--display); font-size: 21px; color: var(--fg); }

/* Swipe */
.who { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; font-size: 12.5px; color: var(--muted); }
.deck { position: relative; height: clamp(360px, calc(100dvh - 340px), 640px); }
.sc { position: absolute; inset: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 14px 34px -14px rgba(60,30,10,.28); touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .25s ease, opacity .25s; }
.sc.drag { transition: none; }
.sc.back { transform: translateY(10px) scale(.96); }
.sc.back2 { transform: translateY(20px) scale(.92); }
.vid { position: relative; flex: 1; min-height: 0; background: #000; display: flex; justify-content: center; }
.vid video { height: 100%; max-width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; }
.vid .play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.vid .play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 20px; padding-left: 4px; }
.score { position: absolute; top: 12px; left: 12px; font-weight: 800; font-size: 13px; background: #fff; border-radius: 10px; padding: 4px 9px; }
.score.lo { color: var(--bad); } .score.hi { color: var(--ok); }
.tags { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.tag { font-size: 10.5px; font-weight: 700; background: rgba(0,0,0,.62); color: #fff; padding: 3px 8px; border-radius: 8px; }
.stamp { position: absolute; top: 40%; padding: 6px 12px; border: 4px solid; border-radius: 10px; font-family: var(--display); font-weight: 900; font-size: 24px;
  background: rgba(255,255,255,.9); opacity: 0; z-index: 4; pointer-events: none; }
.stamp.r { left: 16px; color: var(--ok); transform: rotate(-12deg); }
.stamp.l { right: 16px; color: var(--acc); transform: rotate(12deg); }
.stamp.u { left: 50%; top: 18%; transform: translateX(-50%); color: var(--acc); }
.stamp.d { left: 50%; top: 62%; transform: translateX(-50%); color: var(--bad); }
.tl { position: relative; height: 34px; margin: 0 14px; touch-action: none; cursor: pointer; }
.tl .bar { position: absolute; left: 0; right: 0; top: 14px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.tl .bar i { display: block; height: 100%; width: 0; background: var(--acc); }
.tl .mk { position: absolute; top: 9px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; background: var(--fg); }
.tl .avg { position: absolute; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; background: var(--bad); }
.tl .avg::after { content: attr(data-l); position: absolute; top: -2px; left: 4px; font-size: 10px; font-weight: 700; color: var(--bad); white-space: nowrap; }
.info { padding: 2px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.info b.t { font-size: 16px; line-height: 1.25; }
.info .meta { font-size: 12px; color: var(--muted); }
.qa { font-size: 13px; background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.more { all: unset; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--acc-ink); }
.acts { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 14px; }
.round { all: unset; cursor: pointer; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; font-weight: 800;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -8px rgba(60,30,10,.35); }
.round.yes { background: var(--acc); border-color: var(--acc); color: #fff; width: 62px; height: 62px; font-size: 25px; }
.round.sm { width: 44px; height: 44px; font-size: 16px; color: var(--muted); }
.round.up { color: var(--acc-ink); } .round.down { color: var(--bad); } .round.left { color: var(--acc-ink); }
.round:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.hint { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.netnums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.netnums div { background: var(--soft); border-radius: 10px; padding: 7px 9px; font-size: 12px; }
.netnums b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }

/* Sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 40; background: rgba(22,18,15,.35); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 12px; max-height: 88vh; overflow: auto; }
.grab { width: 42px; height: 5px; border-radius: 5px; background: var(--line); align-self: center; }
.sheet h2 { margin: 0; font-family: var(--display); font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { all: unset; cursor: pointer; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 20px; background: var(--soft); color: var(--acc-ink); }
.chip.on { background: var(--acc); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--fg); }
.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; background: var(--fg); color: #fff;
  padding: 10px 16px; border-radius: 30px; font-weight: 600; font-size: 13px; max-width: 92vw; text-align: center; }

/* Listen */
.seg { display: flex; background: var(--soft); border-radius: 12px; padding: 3px; margin: 4px 0 12px; }
.seg button { all: unset; cursor: pointer; flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 0; border-radius: 9px; color: var(--acc-ink); }
.seg button.on { background: #fff; color: var(--fg); box-shadow: 0 1px 4px rgba(60,30,10,.15); }
.item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border: 0; }
.item img { width: 56px; aspect-ratio: 9/16; object-fit: cover; border-radius: 8px; background: var(--line); max-width: 100%; }
.item b { display: block; font-size: 14px; line-height: 1.25; }
.item small { color: var(--muted); font-size: 12px; display: block; }
.st { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 10px; white-space: nowrap; }
.st.scheduled { background: var(--soft); color: var(--acc-ink); } .st.posted { background: var(--ok-soft); color: var(--ok); }
.st.failed { background: var(--bad-soft); color: var(--bad); } .st.approved { background: #EEF; color: #3730A3; }
.day { font-family: var(--display); font-weight: 800; font-size: 16px; margin: 18px 0 4px; }
.notaus { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--fg); color: #fff; }
.notaus.on { background: var(--bad); }
.notaus b { display: block; font-size: 15px; }
.notaus small { opacity: .8; font-size: 12.5px; }
.idea { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
.idea .k { font-size: 10.5px; font-weight: 700; color: var(--acc-ink); text-transform: uppercase; letter-spacing: .05em; }
.idea p { margin: 2px 0 4px; font-size: 14px; }
.idea small { color: var(--muted); font-size: 12px; }
.vote { all: unset; cursor: pointer; min-width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px;
  background: var(--soft); color: var(--acc-ink); font-weight: 800; font-size: 13px; line-height: 1.1; }
.vote.on { background: var(--acc); color: #fff; }
.job { border-bottom: 1px solid var(--line); padding: 10px 0; }
.job summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job pre { white-space: pre-wrap; word-break: break-word; font-size: 11.5px; background: var(--soft); padding: 10px; border-radius: 10px; max-height: 260px; overflow: auto; margin: 8px 0 0; }
.ev { display: grid; grid-template-columns: 70px 1fr; gap: 8px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ev time { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 2px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis div { background: var(--soft); border-radius: 12px; padding: 10px; }
.kpis b { display: block; font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 11.5px; color: var(--muted); }
.upbox { border: 2px dashed var(--line); border-radius: 16px; padding: 22px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.prog { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; } .prog i { display: block; height: 100%; background: var(--acc); width: 0; }
.switch { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.switch input { width: 22px; height: 22px; accent-color: var(--acc); }
.login { max-width: 360px; margin: 10vh auto 0; display: flex; flex-direction: column; gap: 14px; }
.login h2 { font-family: var(--display); font-size: 30px; margin: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* --- Atze lebt: Figur, Sprechblase, Feiern ------------------------------------------ */
.atze { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: end; margin: 2px 0 10px; }
.atze-btn { all: unset; cursor: pointer; display: block; line-height: 0; }
.atze-btn:focus-visible { outline: 3px solid var(--fg); border-radius: 50%; }
.atze-face { display: block; transform-origin: 50% 90%; animation: bob 3.2s ease-in-out infinite; }
.atze-face.work { animation: work .5s ease-in-out infinite alternate; }
.atze-face.sleep { animation: breathe 3.6s ease-in-out infinite; }
.atze-face.party { animation: hop .9s ease-in-out infinite; }
.atze-btn:active .atze-face { transform: scale(.9) rotate(-6deg); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-2deg); } }
@keyframes work { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04, .97); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px) rotate(4deg); } }
.bubble { position: relative; background: var(--soft); color: var(--fg); font-size: 14.5px; line-height: 1.4; font-weight: 500;
  padding: 10px 13px; border-radius: 16px 16px 16px 4px; animation: pop .35s cubic-bezier(.2, 1.4, .4, 1) both; }
.bubble::before { content: ""; position: absolute; left: -6px; bottom: 6px; width: 12px; height: 12px; background: var(--soft); transform: rotate(45deg); border-radius: 2px; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.chipsrow { display: flex; gap: 6px; flex-wrap: wrap; margin: -2px 0 8px; }
.chipsrow span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--line); color: var(--muted); }
.chipsrow .streak, .streak { border-color: transparent; background: var(--fg); color: #fff; font-weight: 700; }
.streak.big { display: inline-block; font-size: 15px; padding: 8px 16px; border-radius: 20px; }
.sc.enter { animation: deal .38s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes deal { from { transform: translateY(26px) scale(.94); opacity: .2; } to { transform: none; opacity: 1; } }
.stamp { transition: opacity .08s; }
.score { box-shadow: 0 4px 12px -4px rgba(0,0,0,.35); }
.feier { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 34px 8px 20px; }
.feier b { font-family: var(--display); font-weight: 900; font-size: 34px; letter-spacing: -.02em; line-height: 1; }
.feier > span { color: var(--muted); max-width: 32ch; }
.feier .atze-face { animation: hop 1.1s ease-in-out infinite; }
.feier .atze-face.sleep { animation: breathe 3.6s ease-in-out infinite; }
.verdict { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -.01em; }
.verdict small { font-family: var(--body); font-weight: 600; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }
.verdict.brett { color: var(--acc); } .verdict.solide { color: var(--ok); } .verdict.lau { color: var(--muted); }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }
.login-atze { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.login-atze .bubble { font-size: 17px; font-weight: 600; }
.round { transition: transform .12s; }
.round:active { transform: scale(.9); }
.round.yes:active { transform: scale(.88) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .atze-face, .bubble, .sc.enter { animation: none !important; } }
/* kompakter mit Atze oben */
.atze { gap: 8px; margin-bottom: 8px; }
.bubble { font-size: 13.5px; padding: 8px 11px; }
.deck { height: clamp(330px, calc(100dvh - 420px), 620px); }
.netnums div { font-size: 11px; padding: 6px 8px; line-height: 1.3; }
.netnums b { font-size: 13.5px; }
.verdict { font-size: 19px; }
.info { gap: 5px; }

/* --- Schritt 1: Videos & Stellen ------------------------------------------------------- */
#app.wide { max-width: 1240px; }
.tiny { font-size: 12px; margin: 4px 0 0; }
.vfilters { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.vfilters::-webkit-scrollbar { display: none; }
.vfilters .chip { flex: none; }
.chip.ghost { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.vfilters .chip[style*="--c"].on { background: var(--c); color: #fff; }
.vgroup { margin-top: 14px; }
.vgh { font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.vitem { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.vitem:last-child { border-bottom: 0; }
.vitem:focus-visible { outline: 2px solid var(--acc); border-radius: 10px; }
.vthumb { position: relative; width: 96px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--acc-ink); max-width: 100%; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb i { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 10.5px; font-weight: 700; background: rgba(0,0,0,.7); color: #fff; padding: 1px 5px; border-radius: 5px; }
.vmid { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vmid b { font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vmid small { color: var(--muted); font-size: 12px; }
.vmid .err { color: var(--bad); }
.catdots { display: flex; gap: 4px; flex-wrap: wrap; }
.catdots span { font-size: 10.5px; font-weight: 700; color: var(--c); border: 1.5px solid var(--c); border-radius: 20px; padding: 0 7px; }
.vres { display: flex; flex-direction: column; align-items: center; min-width: 54px; line-height: 1.1; }
.vres b { font-family: var(--display); font-size: 22px; font-weight: 900; color: var(--acc); }
.vres span { font-size: 11px; color: var(--muted); }
.vres em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ok); margin-top: 2px; }
.vres.busy { flex-direction: row; gap: 6px; font-size: 12px; color: var(--muted); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--acc); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

button.back { all: unset; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--acc-ink); margin: 2px 0 10px; display: inline-block; }
.vdetail { display: grid; grid-template-columns: 1fr; gap: 18px; }
.vplayer { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vplayer video { width: 100%; max-height: 62vh; background: #000; border-radius: 14px; display: block; }
.heat { position: relative; height: 30px; border-radius: 8px; background: var(--soft); cursor: pointer; overflow: hidden; }
.heat span { position: absolute; top: 4px; bottom: 4px; background: var(--c); border-radius: 4px; min-width: 4px; }
.heat span:hover { filter: brightness(1.1); top: 2px; bottom: 2px; }
.heat i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--fg); left: 0; pointer-events: none; }
.legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: 5px; vertical-align: -1px; }
.atze.small .bubble { font-size: 13px; }
.vacts { gap: 6px; }
.vlist { min-width: 0; }
.vlist-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.vlist-head b { font-family: var(--display); font-size: 20px; font-weight: 900; }
.hl { border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 0 14px 14px 0; padding: 12px 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 7px; background: #fff; }
.hl.playing { box-shadow: 0 0 0 2px var(--c); }
.hl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hl-time { all: unset; cursor: pointer; font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--soft); color: var(--acc-ink); padding: 4px 9px; border-radius: 8px; }
.hl-time span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.hl-time:focus-visible { outline: 2px solid var(--fg); }
.hl-score { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; color: var(--c); }
.hl-score::after { content: "/10"; font-size: 12px; color: var(--muted); font-family: var(--body); font-weight: 600; margin-left: 1px; }
.hl-title { font-size: 16px; line-height: 1.25; }
.hl q { font-style: italic; color: var(--fg); font-size: 14px; quotes: "„" "“"; }
.bars { display: flex; flex-direction: column; gap: 4px; }
.bars div { display: grid; grid-template-columns: 118px 1fr 18px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.bars i { display: block; height: 7px; border-radius: 6px; background: linear-gradient(90deg, var(--c) var(--w), var(--line) var(--w)); }
.bars em { font-style: normal; font-weight: 700; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.hl-why, .hl-idea { margin: 0; font-size: 13.5px; color: var(--muted); }
.hl-idea b { color: var(--fg); }
.hl-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.hl-acts .btn.on { background: var(--fg); color: #fff; }
@media (min-width: 900px) {
  .vdetail { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .vplayer { position: sticky; top: 10px; }
  .vlist { max-height: calc(100vh - 140px); overflow: auto; padding-right: 4px; }
}

/* --- Trends ------------------------------------------------------------------------------ */
.tpat, .tidea { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.tpat p { margin: 0; color: var(--muted); }
.tidea { background: var(--soft); border-color: transparent; }
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tgrid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpost { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; min-width: 0; color: inherit; text-decoration: none; }
.tpost > *:not(.tthumb) { margin: 0 10px; }
.tthumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--soft); color: var(--acc-ink); overflow: hidden; max-width: 100%; }
.tthumb img { width: 100%; height: 100%; object-fit: cover; }
.tthumb i { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 11px; font-weight: 800; background: #fff; color: var(--fg); padding: 3px 8px; border-radius: 10px; }
.tthumb i.hot { background: var(--acc); color: #fff; }
.tmeta { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.tmeta b { color: var(--fg); font-size: 13px; }
.tnums { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tcap { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chip .x { all: unset; cursor: pointer; margin-left: 4px; font-weight: 800; }
.cutbox { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.cutnums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cutnums span { display: flex; flex-direction: column; color: var(--muted); font-size: 11.5px; }
.cutnums em { font-style: normal; font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--fg); }
.heat .cut { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--fg); opacity: .35; pointer-events: none; }
@media (min-width: 700px) { .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --- Fortschritt ----------------------------------------------------------------------- */
.prog2 { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.prog2-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.prog2-top b { color: var(--fg); font-weight: 600; }
.prog2-bar { height: 7px; border-radius: 7px; background: var(--line); overflow: hidden; position: relative; }
.prog2-bar i { display: block; height: 100%; background: var(--acc); border-radius: 7px; transition: width .6s ease; }
.prog2-bar.indet i { position: absolute; animation: indet 1.4s ease-in-out infinite; }
@keyframes indet { 0% { left: -30%; } 100% { left: 100%; } }
.prog2-sub { font-size: 11.5px; color: var(--muted); min-height: 14px; }
.prog2.big .prog2-top { font-size: 14px; }
.prog2.big .prog2-bar { height: 12px; }
.prog2.big .prog2-sub { font-size: 13px; }
.phases { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); text-align: left; }
.phases li.done { color: var(--ok); }
.phases li.now { color: var(--fg); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .prog2-bar.indet i { animation: none; left: 0; } }

/* --- Eure Beiträge (Insights) ------------------------------------------------------------ */
.chip b { margin-left: 3px; font-weight: 800; }
.ikpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0 4px; }
.ikpis div { background: var(--soft); border-radius: 12px; padding: 10px; }
.ikpis b { display: block; font-family: var(--display); font-weight: 900; font-size: 20px; font-variant-numeric: tabular-nums; }
.ikpis span { font-size: 11.5px; color: var(--muted); }
.themes { display: flex; flex-direction: column; gap: 6px; }
.theme { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 13.5px; }
.theme .thl small { color: var(--muted); font-size: 11.5px; }
.theme .tb { height: 10px; background: var(--line); border-radius: 6px; overflow: hidden; }
.theme .tb i { display: block; height: 100%; background: var(--muted); border-radius: 6px; }
.theme .tb i.up { background: var(--acc); }
.theme .tb i.down { background: #C9BFB7; }
.theme b { text-align: right; font-variant-numeric: tabular-nums; }
.lessons { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.ilist { display: flex; flex-direction: column; gap: 10px; }
.ipost { display: grid; grid-template-columns: 92px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-width: 0; }
.ithumb { display: grid; place-items: center; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--soft); color: var(--acc-ink); max-width: 100%; align-self: start; }
.ithumb img { width: 100%; height: 100%; object-fit: cover; }
.ibody { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ihead { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 12px; }
.ivd { font-family: var(--display); font-weight: 900; font-size: 17px; }
.ivd em { font-style: normal; font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.ivd.brett { color: var(--acc); } .ivd.solide { color: var(--ok); } .ivd.mittel { color: var(--fg); } .ivd.lau { color: var(--muted); }
.icap { margin: 0; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.inums { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--muted); }
.inums b { color: var(--fg); font-size: 13px; margin-right: 3px; font-variant-numeric: tabular-nums; }
.ig { font-size: 13px; color: var(--ok); }
.ib { font-size: 13px; color: var(--bad); }
.iai { font-size: 13px; background: var(--soft); border-radius: 10px; padding: 7px 9px; }
.tag2 { font-size: 10.5px; font-weight: 700; border: 1px solid var(--line); border-radius: 20px; padding: 1px 8px; color: var(--muted); }
@media (max-width: 480px) { .ikpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ipost { grid-template-columns: 74px 1fr; } }

/* --- Reel verstehen ---------------------------------------------------------------------- */
.rbox { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.rbox.busy { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.rhook { font-size: 15px; font-weight: 600; line-height: 1.35; }
.rhook span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-ink); font-weight: 600; margin-bottom: 2px; }
.rphase { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; }
.rphase i { display: block; }
.rphases { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.rphases div { margin-top: 1px; }
.rsheet { width: 100%; border-radius: 8px; max-width: 100%; }

/* Stil-Varianten */
.varbox:empty { display: none; }
.vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; margin-top: 4px; }
.var { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.var video, .var.wait > div { width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; background: #111; object-fit: cover; display: block; }
.var.wait > div { display: grid; place-items: center; background: var(--soft, #f3efe9); font-size: 28px; }
.var.err > div { background: #fde8e4; }
.var figcaption { font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.var figcaption span { font-weight: 400; color: var(--muted); }
.var figcaption a { text-decoration: none; font-size: 15px; }
.varpick { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: var(--soft, #f3efe9); margin-top: 4px; }
.varstyles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.vstyle { display: flex; gap: 8px; align-items: flex-start; padding: 8px; border-radius: 10px; background: #fff; cursor: pointer; }
.vstyle span { display: flex; flex-direction: column; }
.vstyle em { font-style: normal; font-size: 12px; color: var(--muted); }
.reuse { border-radius: 12px; background: var(--soft); padding: 8px 10px; font-size: 13.5px; }
.reuse summary { cursor: pointer; font-weight: 700; }
.reuse ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.vtitle { display: flex; flex-direction: column; gap: 3px; }
.vtitle textarea { font: inherit; font-weight: 600; border: 1px solid var(--line); border-radius: 10px; padding: 8px; resize: vertical; }

/* --- Kopfzeile: Atzes Puls links, Konto rechts --------------------------------------- */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(10px, env(safe-area-inset-left, 0px));
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.pulse { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 2px 10px 2px 2px; border-radius: 40px; }
.pulse:hover { background: var(--soft); }
.pulse:focus-visible, .me:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.phead { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.pface { line-height: 0; position: relative; z-index: 1; }
.pface .atze-face { animation: none; }
.pulse.busy .pface .atze-face { animation: work .45s ease-in-out infinite alternate; }
.pring { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.pring circle { fill: none; stroke-width: 3.2; }
.pring .track { stroke: var(--line); }
.pring.idle .track { stroke: transparent; }
.pring .fill { stroke: var(--acc); stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.3,.7,.2,1); }
.pring.spin { animation: rot 1.4s linear infinite; }
.ptext { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ptext b { font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: -.01em; }
.ptext span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(56vw, 360px); }
.pulse.busy .ptext span { color: var(--acc-ink); font-weight: 600; }
/* Augen: blinzeln alle paar Sekunden, schauen dem Finger hinterher (Transform kommt aus pulse.js) */
.pface .look { transition: transform .18s ease-out; }
.pface .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5.5s infinite; }
.pface .sleep .eyes { animation: none; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.pulse.bump .pface { animation: bump .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 0% { transform: scale(.7) rotate(-10deg); } 100% { transform: none; } }

.me { all: unset; cursor: pointer; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fg); color: #fff; font-weight: 700; font-size: 14px; }
.pop { position: absolute; top: calc(100% + 6px); z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(60,30,10,.35); padding: 12px; animation: pop .16s ease-out; }
.pulse-pop { left: max(10px, env(safe-area-inset-left, 0px)); width: min(360px, calc(100vw - 20px)); }
.me-pop { right: max(12px, env(safe-area-inset-right, 0px)); min-width: 190px; display: flex; flex-direction: column; gap: 2px; }
.who2 { margin: 0 0 6px; padding: 2px 6px 8px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.who2 span { color: var(--muted); font-size: 13px; }
.mi { all: unset; cursor: pointer; padding: 8px 6px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.mi:hover, .mi:focus-visible { background: var(--soft); }
.pnow, .pmode { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.pnow a { color: inherit; text-decoration: none; display: block; }
.pnow .bad { color: var(--bad); }
.pbar { display: block; height: 5px; border-radius: 4px; background: var(--line); margin-top: 5px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--acc); border-radius: 4px; }
.pbar.indet i { width: 30%; animation: slide 1.3s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.pidle { margin: 0; color: var(--muted); font-size: 13.5px; }
.pmode { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); gap: 4px; color: var(--muted); font-size: 12.5px; }
.top { display: block; padding: 18px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.top small { display: block; margin-top: 3px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
  .pface .eyes, .pulse.busy .pface .atze-face, .pring.spin, .pulse.bump .pface, .pbar.indet i, .pop { animation: none !important; }
}
/* Atze steht oben in der Leiste. Auf den Seiten spricht er nur noch als Notiz, ohne zweiten Kopf. */
main .atze:not(#atze) { display: block; margin: 0 0 14px; }
main .atze:not(#atze) .atze-btn { display: none; }
main .atze:not(#atze) .bubble { border-radius: 14px; padding: 12px 14px; font-size: 14.5px; animation: none; }
main .atze:not(#atze) .bubble::before { content: "Atze: "; position: static; display: inline; width: auto; height: auto; background: none; transform: none; font-weight: 800; }
.theme { padding: 4px 0; }
.thl { line-height: 1.25; }
main .atze:not(#atze) .bubble { font-weight: 400; }
#pline { display: flex; gap: 6px; align-items: baseline; min-width: 0; overflow: visible; max-width: none; }
#pline .pl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(48vw, 340px); }
#pline .pp { flex: none; font-style: normal; font-weight: 800; color: var(--acc); font-variant-numeric: tabular-nums; }

/* --- Werkbank: eigene Stelle markieren, bauen oder roh exportieren -------------------- */
.heat .mk { position: absolute; top: 0; bottom: 0; background: rgba(22,18,15,.14); border-left: 3px solid var(--fg); border-right: 3px solid var(--fg); pointer-events: none; }
.bench { border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 80px; }
.bench-row { display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; }
.tcf { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tcf input { width: 104px; padding: 7px 9px; border-radius: 10px; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--fg); }
.blen { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; align-self: center; }
.blen.bad, .bench .bad { color: var(--bad); }
.bhint { margin: 0; }
.bench-acts { gap: 6px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.builder { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 14px; background: var(--soft); }
.bl { display: block; font-size: 13px; margin-bottom: 6px; }
.bstyles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.bstyle { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 12px; background: #fff; border: 2px solid transparent; }
.bstyle b { font-size: 13.5px; }
.bstyle em { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.3; }
.bstyle.on { border-color: var(--acc); }
.bstyle.data b::before { content: "📈 "; }
.bstyle:focus-visible { outline: 2px solid var(--fg); }
.bprof { margin-top: 8px; font-size: 12.5px; }
.bprof summary { cursor: pointer; font-weight: 700; color: var(--acc-ink); }
.bprof ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; color: var(--fg); }
.boutros { display: flex; gap: 6px; flex-wrap: wrap; }
.builtlist { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.bgt { all: unset; cursor: pointer; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--acc-ink); margin-bottom: 4px; display: inline-block; }
.vst { font-weight: 400; color: var(--muted); }
.vst.review { color: var(--acc-ink); font-weight: 700; }
.vst.scheduled, .vst.posted { color: var(--ok); font-weight: 700; }
.var figcaption > span { min-width: 0; }
.hl-built { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--ok); }

/* Transkript: Suche + mitlaufend */
.tr { border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.tr-head { display: flex; gap: 8px; align-items: center; }
.tr-head input { flex: 1; padding: 9px 12px; border-radius: 12px; }
.tr-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; max-height: 300px; overflow-y: auto; }
.tr-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; padding: 6px 4px; border-radius: 8px; font-size: 13.5px; line-height: 1.4; }
.tr-list li.now { background: var(--soft); }
.tr-list li:hover .tra { opacity: 1; }
.trt { all: unset; cursor: pointer; font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 700; color: var(--acc-ink); }
.tr-list mark { background: #FFE2A8; color: inherit; border-radius: 3px; padding: 0 1px; }
.tra { display: flex; gap: 2px; opacity: .55; }
.tra button { all: unset; cursor: pointer; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 13px; }
.tra button:hover, .tra button:focus-visible { background: var(--fg); color: #fff; }
@media (hover: none) { .tra { opacity: 1; } }

/* Vorschaubild auf hinteren Stapel-Karten in Kartengröße halten */
.vid { overflow: hidden; }
.vid img { height: 100%; max-width: 100%; aspect-ratio: 9 / 16; object-fit: contain; display: block; }
