:root {
  --bg: #f6f6f4;
  --fg: #16161a;
  --mut: #6c6c74;
  --line: #e2e2dd;
  --card: #ffffff;
  --tint: #ecece8;
  --acc: #2f62d9;
  --ok: #1f8a4c;
  --alarm: #c2341d;
  --alarm-bg: #fbe9e6;
  --warn: #8a5d00;
  --warn-bg: #fdf3d8;
  --info: #2f62d9;
  --info-bg: #e8effd;
  --pad: 16px;
  --w: 560px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16161a;
    --fg: #ececef;
    --mut: #9b9ba4;
    --line: #2a2a31;
    --card: #1e1e23;
    --tint: #24242a;
    --acc: #86a8ff;
    --ok: #52c486;
    --alarm: #ff8370;
    --alarm-bg: #3b1f1b;
    --warn: #f1c45a;
    --warn-bg: #352c14;
    --info: #86a8ff;
    --info-bg: #1c2742;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2 { margin: 0; }
img, video { display: block; }
button {
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
}
button.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
code {
  font: 13px ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--tint);
  padding: 2px 5px;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

/* Spalte: alles hat dieselbe linke Kante (var(--pad) innerhalb der Spalte) */
main, .banner, .flash { max-width: var(--w); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 10px) max(var(--pad), calc((100% - var(--w)) / 2 + var(--pad))) 10px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a { display: flex; align-items: center; gap: 6px; color: var(--mut); font-size: 14px; }
.top nav a.on { color: var(--fg); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.st-warnung .dot, .st-drossel .dot, .st-login .dot { background: var(--alarm); }
.st-kaputt .dot { background: var(--warn); }
.st-pause .dot, .st-neu .dot { background: var(--mut); }

/* Hinweise */
.banner { padding: 14px var(--pad); }
.banner h2 { font-size: 16px; margin-bottom: 4px; }
.banner p + p { margin-top: 6px; }
.banner .why { font-size: 13px; color: var(--mut); }
.banner .acts { display: flex; gap: 16px; font-size: 14px; font-weight: 600; }
.banner.alarm { background: var(--alarm-bg); }
.banner.alarm h2, .banner.alarm .acts { color: var(--alarm); }
.banner.warn { background: var(--warn-bg); }
.banner.warn h2, .banner.warn .acts { color: var(--warn); }
.banner.info { background: var(--info-bg); }
.banner.info h2, .banner.info .acts { color: var(--info); }
.banner.muted { background: var(--tint); }
.flash { padding: 10px var(--pad); background: var(--tint); font-size: 14px; }

/* Story-Leiste */
.tray {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tray::-webkit-scrollbar { display: none; }
.story { flex: none; width: 64px; font-size: 11px; color: var(--mut); text-align: center; }
.story img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  padding: 2px;
  border: 2px solid var(--acc);
  background: var(--bg);
}
.story.seen img { border-color: var(--line); }
.story span { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Stand / Aktualisieren */
.sync {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--pad);
  font-size: 13px;
  color: var(--mut);
  border-bottom: 1px solid var(--line);
}
.sync.inline { padding: 12px 0 0; border: 0; }
.sync-text { flex: 1; min-width: 0; }
.sync-text small { display: block; font-size: 12px; opacity: 0.85; }
.sync button { padding: 5px 12px; font-size: 13px; }
.sync[data-busy="1"] button { opacity: 0.4; pointer-events: none; }
.spin {
  display: none;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex: none;
}
.sync[data-busy="1"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.fresh {
  position: sticky;
  top: calc(env(safe-area-inset-top) + 58px);
  z-index: 9;
  display: block;
  width: max-content;
  margin: 10px auto -44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--acc);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px #0003;
}
.fresh[hidden] { display: none; }

.empty { padding: 28px var(--pad); color: var(--mut); }
.empty a { color: var(--acc); }

/* Beitrag */
.post { padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.post > header { display: flex; align-items: center; gap: 10px; padding: 0 var(--pad) 10px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ver { color: var(--acc); flex: none; vertical-align: -2px; }
.av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--tint); flex: none; }
.when { color: var(--mut); font-size: 13px; white-space: nowrap; }
.ext { display: flex; padding: 4px; margin-right: -4px; color: var(--mut); }

.media { position: relative; overflow: hidden; background: var(--tint); max-height: 85vh; width: 100%; }
.car {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.car::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #ffffff80; box-shadow: 0 0 2px #0006; }
.dots i.on { background: #fff; }
.count { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 10px; background: #000a; color: #fff; font-size: 12px; pointer-events: none; }
.snd {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='m22 9-6 6M16 9l6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ton-an .snd {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");
}
.slide.video:not(.spielt)::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0008 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
  pointer-events: none;
}

.body { padding: 10px var(--pad) 0; }
.meta { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.paid { font-size: 13px; color: var(--mut); margin-bottom: 4px; }
.cap {
  white-space: pre-line;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.cap.full { display: block; cursor: auto; }
.cap a { color: var(--acc); }
.cap a.u { color: inherit; font-weight: 600; }
.capmore { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--mut); font-size: 14px; }
.loc { margin-top: 6px; font-size: 13px; color: var(--mut); }

.mark { display: flex; align-items: center; gap: 12px; padding: 18px var(--pad); color: var(--mut); font-size: 13px; }
.mark::before, .mark::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.more { height: 1px; }

/* Profil */
.prof { padding: 16px var(--pad); border-bottom: 1px solid var(--line); }
.prof-h { display: flex; align-items: center; gap: 20px; }
.av-l { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--tint); flex: none; }
.counts { display: flex; flex: 1; justify-content: space-around; text-align: center; }
.counts b { display: block; font-size: 17px; }
.counts span { font-size: 12px; color: var(--mut); }
.prof h1 { font-size: 17px; margin-top: 12px; }
.fn { font-weight: 600; }
.bio { white-space: pre-line; overflow-wrap: anywhere; margin-top: 2px; }
.bio a, .link a { color: var(--acc); }
.link { margin-top: 2px; overflow-wrap: anywhere; }
.sub { margin-top: 8px; font-size: 13px; color: var(--mut); }
.sub a { color: var(--acc); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.cell { position: relative; aspect-ratio: 3 / 4; background: var(--tint); overflow: hidden; }
.cell img { width: 100%; height: 100%; object-fit: cover; }
.ic { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; filter: drop-shadow(0 0 2px #0008); }
.ic.multi { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Crect x='7' y='7' width='14' height='14' rx='2'/%3E%3Cpath d='M5 17V5h12' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.ic.vid { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.moreform { padding: 16px var(--pad); }
.prof-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prof-btns button { min-width: 112px; }
.why-box { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.grid-more { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 16px var(--pad); color: var(--mut); font-size: 14px; text-align: center; }
.grid-more[data-busy="1"] .spin { display: inline-block; }
.prof-acts { display: flex; gap: 8px; padding: 0 var(--pad) 12px; border-bottom: 1px solid var(--line); margin-top: -4px; }
.prof-acts button, .banner .acts button { padding: 5px 12px; font-size: 13px; }
.alarm-text { color: var(--alarm); }

/* Geräte koppeln */
.pair { display: flex; gap: 8px; margin-top: 14px; }
.pair input {
  flex: 1;
  min-width: 0;
  font: 600 20px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
}
.pair-error { margin-top: 12px; color: var(--alarm); font-weight: 600; }
.pair-code { margin-top: 12px; }
.pair-code code { font-size: 26px; letter-spacing: 0.2em; padding: 6px 12px; }
.devices { list-style: none; margin: 14px 0 0; padding: 0; }
.devices li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.devices li span { flex: 1; min-width: 0; }
.devices small { display: block; color: var(--mut); font-size: 13px; }
.devices button { padding: 5px 12px; font-size: 13px; }

/* Listen */
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs a { flex: 1; padding: 12px var(--pad); text-align: center; color: var(--mut); font-weight: 600; border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--fg); border-bottom-color: var(--fg); }

/* Suche */
.search { display: flex; gap: 8px; padding: 12px var(--pad); border-bottom: 1px solid var(--line); }
.search input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
}
.openuser { display: block; padding: 14px var(--pad); color: var(--acc); font-weight: 600; border-bottom: 1px solid var(--line); }
.users { list-style: none; margin: 0; padding: 0; }
.users a { display: flex; align-items: center; gap: 12px; padding: 10px var(--pad); border-bottom: 1px solid var(--line); }
.users .av { width: 40px; height: 40px; }
.users small { display: block; color: var(--mut); font-size: 13px; }

/* Status */
.card { padding: 18px var(--pad); border-bottom: 1px solid var(--line); }
.card h1 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 6px; }
.card h1 .dot { width: 10px; height: 10px; }
.card h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mut); margin-bottom: 10px; }
.card > p + p, .card > p + form, .card > form + p { margin-top: 10px; }
.card a { color: var(--acc); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btns:empty { display: none; }
.steps { margin: 12px 0; padding-left: 0; list-style-position: inside; }
.steps li + li { margin-top: 6px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.facts dt { color: var(--mut); }
.facts dd { margin: 0; }
.runs { width: 100%; border-collapse: collapse; font-size: 13px; }
.runs td { padding: 6px 12px 6px 0; border-top: 1px solid var(--line); vertical-align: top; }
.runs td:last-child { padding-right: 0; }
.runs tr:first-child td { border-top: 0; }
.runs td:first-child { white-space: nowrap; color: var(--mut); }
.runs tr.bad td:last-child { color: var(--alarm); }
.runs small { color: var(--mut); }
.events, .shots { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.events li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.events li:first-child { border-top: 0; }
.events time { color: var(--mut); white-space: nowrap; }
.events li.alarm span { color: var(--alarm); }
.events li.warn span { color: var(--warn); }
.shots li { padding: 4px 0; }

button.wartet { opacity: 0.6; }

/* Story-Viewer */
.story-page { background: #000; color: #fff; overflow: hidden; }
.storyv { position: fixed; inset: 0; display: flex; flex-direction: column; background: #000; }
.bars { position: absolute; top: calc(env(safe-area-inset-top) + 8px); left: 8px; right: 8px; display: flex; gap: 3px; z-index: 3; }
.bars i { flex: 1; height: 2.5px; border-radius: 2px; background: #ffffff55; overflow: hidden; }
.bars b { display: block; height: 100%; width: 0; background: #fff; }
.story-h { position: absolute; top: calc(env(safe-area-inset-top) + 18px); left: 12px; right: 8px; display: flex; align-items: center; gap: 10px; z-index: 3; text-shadow: 0 0 4px #0008; }
.story-h .av { width: 32px; height: 32px; }
.story-name { font-weight: 600; color: #fff; }
.story-h time { color: #ffffffb0; font-size: 13px; flex: 1; }
.story-close { display: flex; padding: 6px; }
.story-media { flex: 1; display: flex; align-items: center; justify-content: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.storyv .bars, .storyv .story-h, .storyv .snd { transition: opacity 0.2s; }
.storyv.gehalten .bars, .storyv.gehalten .story-h, .storyv.gehalten .snd { opacity: 0; }
.story-media img, .story-media video { width: 100%; height: 100%; object-fit: contain; }
.story-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 15px; padding: 0 var(--pad); text-align: center; }
.story-msg .spin { display: inline-block; }
.storyv .snd { z-index: 3; bottom: calc(env(safe-area-inset-bottom) + 18px); right: 16px; }
.storyv .snd[hidden] { display: none; }

/* Ziehen zum Neuladen */
.ptr {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 56px);
  left: 50%;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 2px 10px #0003;
  transform: translate(-50%, -48px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ptr-icon {
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s;
}
.ptr.bereit .ptr-icon { transform: rotate(180deg); }
.ptr.laedt .ptr-icon {
  background: none;
  border: 2.4px solid var(--mut);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 24px);
  transform: translateX(-50%);
  z-index: 30;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  text-align: center;
}

.ig-search { padding: 12px var(--pad); border-bottom: 1px solid var(--line); }
.ig-search .sync.inline { padding: 0; }
.list-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mut); padding: 16px var(--pad) 6px; margin: 0; }
.list-h small { text-transform: none; letter-spacing: 0; font-weight: 400; }

.list-h .spin { display: none; width: 10px; height: 10px; margin-left: 6px; vertical-align: -1px; }
.list-h[data-busy="1"] .spin { display: inline-block; }

/* Nachrichten */
.nav-dm { position: relative; }
.badge { position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--alarm); color: #fff; font: 600 10px/16px -apple-system, system-ui, sans-serif; text-align: center; font-style: normal; }
.threads { list-style: none; margin: 0; padding: 0; }
.threads a, .thread-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px var(--pad); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--fg); text-align: left; font: inherit; }
.threads .av { width: 48px; height: 48px; }
.thread-text { flex: 1; min-width: 0; }
.thread-text b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-text small { display: block; color: var(--mut); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.threads li.unread b { font-weight: 700; }
.threads li.unread small { color: var(--fg); font-weight: 600; }
.unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); flex: none; }
.share-state { color: var(--acc); font-size: 14px; font-weight: 600; white-space: nowrap; }
.share-url { padding: 0 var(--pad) 10px; color: var(--mut); font-size: 13px; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
.chat-h { position: sticky; top: calc(env(safe-area-inset-top) + 51px); z-index: 8; display: flex; align-items: center; gap: 10px; padding: 8px var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); }
.chat-h .back { display: flex; margin-left: -6px; color: var(--fg); }
.chat-h .av { width: 32px; height: 32px; }
.msgs { display: flex; flex-direction: column; gap: 4px; padding: 12px var(--pad) 90px; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 18px; background: var(--tint); align-self: flex-start; overflow-wrap: anywhere; white-space: pre-line; position: relative; }
.msg.mine { align-self: flex-end; background: var(--acc); color: #fff; }
.msg.mine a { color: #fff; text-decoration: underline; }
.msg.pending { opacity: 0.6; }
.msg p { margin: 0; }
.msg-note { font-style: italic; opacity: 0.8; }
.msg-img { max-width: 220px; border-radius: 12px; }
.msg-card { display: block; width: 200px; color: inherit; }
.msg-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 6px; background: #0002; }
.msg-card span { display: block; font-size: 13px; font-weight: 600; }
.msg-react { position: absolute; bottom: -10px; right: 8px; font-size: 13px; background: var(--card); border-radius: 10px; padding: 0 4px; box-shadow: 0 1px 3px #0003; }
.msg-day { align-self: center; margin: 12px 0 6px; color: var(--mut); font-size: 12px; }
.composer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: flex; gap: 8px; align-items: flex-end; max-width: var(--w); margin: 0 auto; padding: 8px var(--pad) calc(env(safe-area-inset-bottom) + 8px); background: var(--bg); border-top: 1px solid var(--line); }
.composer textarea { flex: 1; min-width: 0; resize: none; font: inherit; font-size: 16px; line-height: 1.35; padding: 8px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--fg); max-height: 140px; }
.story-share { display: flex; padding: 6px; }
