/* FCBinside Kommentare – Aussehen nach App-Screenshot (Faktor 402/921) */

.fcbk { --fcbk-pink: #e6197a; --fcbk-muted: #6b6f76; --fcbk-line: #e3e5e6; margin: 18px 15px 0; padding-bottom: 20px; color: #111; font-size: 16px; }
.has-fcbk.fcbk-floating { padding-bottom: 76px; } /* Platz für die mitlaufende Leiste */

.fcbk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 12px; border-bottom: 1px solid #d9dbde; }
.fcbk-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fcbk-write { padding: 6px 0; border: 0; background: none; color: var(--fcbk-pink); cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.fcbk-list, .fcbk-replies { margin: 0; padding: 0; list-style: none; }
.fcbk-showall { list-style: none; padding: 16px 0 4px; }
.fcbk-showall button { display: block; width: 100%; height: 46px; border: 1px solid var(--fcbk-line, #e3e5e6); background: none; color: var(--fcbk-pink); cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: border-color .15s, background .15s; }
.fcbk-showall button:hover { border-color: var(--fcbk-pink); background: rgba(230, 25, 122, .06); }
.fcbk-empty { padding: 24px 0; color: var(--fcbk-muted); text-align: center; list-style: none; }
.fcbk-c { padding: 16px 0 12px; border-bottom: 1px solid #f0f1f1; }
.fcbk-replies { margin: 10px 0 0 22px; padding-left: 14px; border-left: 2px solid #f0f1f1; }
.fcbk-replies .fcbk-c { padding: 10px 0 8px; border-bottom: 0; }
.fcbk-c-top { display: flex; align-items: center; gap: 12px; }
.fcbk-c-avatar { display: grid; place-items: end center; flex: none; width: 38px; height: 38px; overflow: hidden; background: #e3e4e7; color: #a3a6ab; }
.fcbk-c-avatar img { width: 100%; height: 100%; object-fit: cover; }
.is-reply .fcbk-c-avatar { width: 30px; height: 30px; }
.fcbk-c-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fcbk-c-who b { overflow: hidden; font-size: 16px; font-weight: 800; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.fcbk-c-who small { color: var(--fcbk-muted); font-size: 13px; font-weight: 600; }
.fcbk-c-more { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: none; color: #9a9ca1; cursor: pointer; }
.fcbk-c-text { margin: 10px 0 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.fcbk-c-actions { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.fcbk-c-reply, .fcbk-c-count { display: flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fcbk-c-reply { color: var(--fcbk-pink); }
.fcbk-c-count { color: #3a3a40; }
.fcbk-vote { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.fcbk-vote button { display: flex; align-items: center; gap: 3px; min-width: 44px; height: 32px; padding: 0 6px; border: 0; background: none; color: #9a9ca1; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fcbk-up[aria-pressed="true"] { color: #1e9e57; }
.fcbk-down[aria-pressed="true"] { color: #d6283b; }

/* Mitreden-Leiste unten */
.fcbk-bar-slot { margin: 12px -15px 0; }
.fcbk-bar { background: #fff; border-top: 1px solid var(--fcbk-line, #e3e5e6); border-bottom: 1px solid var(--fcbk-line, #e3e5e6); } /* eingerastet am Ende der Kommentare */
.fcbk-bar.is-floating { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-width: 640px; margin: 0 auto; padding-bottom: env(safe-area-inset-bottom); border-bottom: 0; box-shadow: 0 -2px 10px rgba(0, 0, 0, .04); }
.fcbk-bar-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 15px; }
.fcbk-me { display: grid; place-items: center; flex: none; width: 38px; height: 38px; overflow: hidden; border: 1px solid #e3e5e6; background: #f2f3f5; color: #a3a6ab; }
.fcbk-me img { width: 100%; height: 100%; object-fit: cover; }
.fcbk-me i { display: grid; place-items: center; width: 100%; height: 100%; background: #e6197a; color: #fff; font-size: 16px; font-style: normal; font-weight: 800; }
.fcbk-bar textarea { flex: 1; min-width: 0; max-height: 140px; padding: 9px 0; border: 0; background: none; color: #111; font-family: inherit; font-size: 16px; line-height: 1.35; resize: none; }
.fcbk-bar textarea:focus { outline: none; }
.fcbk-bar textarea::placeholder { color: #6b6f76; }
.fcbk-send { flex: none; padding: 8px 0; border: 0; background: none; color: #e6197a; cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fcbk-send:disabled { color: #f2a3c8; cursor: default; }
.fcbk-bar.is-saving { opacity: .6; pointer-events: none; }
.fcbk-reply { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 8px 0 15px; background: #f4f4f6; color: #6b6f76; font-size: 13.5px; }
.fcbk-reply[hidden] { display: none; }
.fcbk-reply b { color: #111; }
.fcbk-reply button { width: 34px; height: 34px; border: 0; background: none; color: #6b6f76; cursor: pointer; font-size: 16px; }

/* Blatt von unten */
.fcbk-sheet { position: fixed; inset: 0; z-index: 90; }
.fcbk-sheet[hidden] { display: none; }
.fcbk-sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.fcbk-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 640px; max-height: 92dvh; margin: 0 auto; padding: 10px 0 calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; border-radius: 16px 16px 0 0; background: #fff; color: #111; animation: fcbk-in .2s ease-out; }
@keyframes fcbk-in { from { transform: translateY(40px); } }
.fcbk-sheet-handle { display: block; width: 34px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: #d6d7da; }
.fcbk-opt { display: flex; align-items: center; gap: 20px; width: 100%; height: 56px; padding: 0 20px; border: 0; background: none; color: #111; cursor: pointer; font-family: inherit; font-size: 17px; text-align: left; }
.fcbk-opt.is-red { color: #e5364f; }
.fcbk-opt:hover { background: #f6f6f7; }
.fcbk-rep-title { margin: 4px 20px 2px; font-size: 18px; font-weight: 800; text-align: center; }
.fcbk-rep-sub { margin: 0 20px 10px; color: #6b6f76; font-size: 14px; text-align: center; }
.fcbk-rep-reason { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 20px; border: 0; border-bottom: 1px solid #f0f1f1; background: none; color: #111; cursor: pointer; font-family: inherit; font-size: 15.5px; text-align: left; }
.fcbk-rep-reason::after { content: ""; flex: none; width: 18px; height: 18px; margin-left: auto; border: 2px solid #c8cacd; border-radius: 50%; }
.fcbk-rep-reason[aria-pressed="true"]::after { border: 6px solid #e6197a; }
.fcbk-rep-note { margin: 12px 20px; color: #6b6f76; font-size: 12.5px; line-height: 1.4; text-align: center; }
.fcbk-rep-send { display: block; width: calc(100% - 40px); height: 48px; margin: 0 20px; border: 0; border-radius: 24px; background: #e6197a; color: #fff; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; }
.fcbk-rep-send:disabled { background: #e9e9ec; color: #9a9ca1; cursor: default; }

/* Anmelde-Fenster (fcbk-login.js) */
.fi-login { padding: 4px 20px 0; text-align: center; }
.fi-login.is-busy { opacity: .6; pointer-events: none; }
.fi-login-logo { display: block; width: 120px; height: auto; margin: 6px auto 12px; }
.fi-login-title { margin: 0; color: #111; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.fi-login-sub { margin: 6px 0 18px; color: #6b6f76; font-size: 15px; }
.fi-login-main, .fi-login-mail { display: grid; gap: 10px; text-align: left; }
.fi-login-main[hidden], .fi-login-mail[hidden] { display: none; }
.fi-login-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 16px; border: 1px solid #dadce0; border-radius: 25px; background: #fff; color: #111; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 600; }
.fi-login-btn svg { position: absolute; left: 18px; }
.fi-login-btn.is-apple { border-color: #000; background: #000; color: #fff; }
.fi-login-mail label { display: grid; gap: 5px; color: #3a3a40; font-size: 13px; font-weight: 600; }
.fi-login-mail input { height: 48px; padding: 0 14px; border: 1px solid #dadce0; border-radius: 12px; font-family: inherit; font-size: 16px; }
.fi-login-mail input:focus { outline: 2px solid #e6197a; outline-offset: -1px; border-color: transparent; }
.fi-login-submit { height: 50px; margin-top: 4px; border: 0; border-radius: 25px; background: #e6197a; color: #fff; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 700; }
.fi-login-links { display: flex; justify-content: space-between; gap: 10px; }
.fi-login-links button { padding: 6px 0; border: 0; background: none; color: #e6197a; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; }
.fi-login-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecee; color: #b3261e; font-size: 14px; text-align: left; }
.fi-login-msg.is-ok { background: #e8f6ee; color: #1e7a45; }
.fi-login-msg[hidden] { display: none; }
.fi-login-fine { margin: 16px 0 0; color: #8a8d93; font-size: 12.5px; line-height: 1.4; }
.fi-login-fine a { color: #6b6f76; }

.fcbk-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 95; max-width: calc(100% - 32px); margin: 0; padding: 12px 16px; transform: translateX(-50%); background: #111; color: #fff; font-size: 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); }
.fcbk-toast[hidden] { display: none; }
.fcbk-head h2, .fcbk-write { white-space: nowrap; }
.fcbk-head h2 { font-size: 13.5px; letter-spacing: .1em; }
.fcbk-write { font-size: 12.5px; letter-spacing: .08em; }
.fcbk-c-reply, .fcbk-c-count { white-space: nowrap; }
.fcbk-c-actions { gap: 14px; }

/* Aus der Glocke angesprungener Kommentar */
.fcbk-c { transition: background-color .6s; }
.fcbk-c.is-target { margin: 0 -15px; padding-left: 15px; padding-right: 15px; background: #fdeef5; }
.fcbk-at { color: #e6197a; font-weight: 700; }
.fcbk-mod-title { margin: 12px 20px 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9a9ca1; }

/* GIFs – im Stil des Feeds: kantiges GIF-Symbol, Vorschau über dem Feld, Auswahl als Blatt (PC: Fenster in der Mitte) */
.fcbk-gifbtn { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #9a9ca1; cursor: pointer; transition: color .15s; }
.fcbk-gifbtn span { display: grid; place-items: center; width: 27px; height: 20px; border: 1.8px solid currentColor; font-size: 10.5px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.fcbk-gifbtn:hover, .fcbk-gifbtn:focus-visible { color: #e6197a; }
.fcbk-gifbtn[hidden] { display: none; }
.fcbk-gifpick { position: relative; display: block; width: max-content; margin: 10px 15px 0; }
.fcbk-gifpick[hidden] { display: none; }
.fcbk-gifpick img { display: block; max-width: 150px; max-height: 110px; }
.fcbk-gifpick button { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 26px; height: 26px; border: 0; background: #121212; color: #fff; font-size: 12px; cursor: pointer; }
.fcbk-gifpick button:hover { background: #e6197a; }

.fcbk-gifsheet { display: flex; flex-direction: column; }
.fcbk-gifsheet-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 10px 16px; border-bottom: 1px solid #ececef; }
.fcbk-gifsheet-head b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.fcbk-gifsheet-head button { width: 40px; height: 40px; border: 0; background: none; color: #6b6f76; font-size: 18px; cursor: pointer; }
.fcbk-gifsheet-head button:hover { color: #e6197a; }
.fcbk-gifsearch { display: flex; align-items: center; gap: 10px; margin: 14px 16px 0; padding: 0 12px; height: 44px; background: #f4f4f6; color: #8a8d93; border-bottom: 2px solid transparent; }
.fcbk-gifsearch:focus-within { border-bottom-color: #e6197a; color: #e6197a; }
.fcbk-gifsearch input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: #121212; font: inherit; font-size: 16px; outline: 0 !important; box-shadow: none !important; }
.fcbk-giftags { display: flex; gap: 6px; padding: 12px 16px 12px; overflow-x: auto; scrollbar-width: none; }
.fcbk-giftags::-webkit-scrollbar { display: none; }
.fcbk-giftags button { flex: none; height: 30px; padding: 0 12px; border: 1px solid #e3e5e8; background: #fff; color: #3a3a40; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fcbk-giftags button:hover { border-color: #e6197a; color: #e6197a; }
.fcbk-giftags button.is-on { border-color: #e6197a; background: #e6197a; color: #fff; }
.fcbk-gifgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; min-height: 200px; max-height: 52dvh; padding: 0 16px; overflow-y: auto; }
.fcbk-gifgrid button { position: relative; padding: 0; border: 0; background: #ececef; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.fcbk-gifgrid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.fcbk-gifgrid button::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 #e6197a; transition: box-shadow .15s; }
.fcbk-gifgrid button:hover img { transform: scale(1.05); }
.fcbk-gifgrid button:hover::after, .fcbk-gifgrid button:focus-visible::after { box-shadow: inset 0 0 0 3px #e6197a; }
.fcbk-gif-empty { grid-column: 1 / -1; align-self: center; margin: 0; padding: 30px 0; color: #6b6f76; text-align: center; }
.fcbk-giphy { margin: 10px 0 0; color: #9a9ca1; font-size: 11px; letter-spacing: .04em; text-align: center; }
.fcbk-giphy b { color: #121212; font-weight: 900; letter-spacing: .08em; }
.fcbk-c-gif { display: block; max-width: min(260px, 100%); height: auto; margin: 8px 0 2px; }

@media (min-width: 1024px) {
	.fcbk-sheet.is-gif .fcbk-sheet-panel { top: 50%; bottom: auto; width: 560px; max-height: 80vh; padding: 14px 0 16px; border-radius: 0; transform: translateY(-50%); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: none; }
	.fcbk-sheet.is-gif .fcbk-sheet-handle { display: none; }
	.fcbk-gifgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 420px; }
}
