/* Gästebuch – im Stil von Twitter für iOS 7 (js/apps/guestbook.js) */
.gb-feed, .gb-detail { padding-bottom: 30px; }
.gb-prompt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-bottom: .5px solid var(--sep); background: var(--bg); text-align: left; }
.gb-prompt .gb-av { width: 36px; height: 36px; font-size: 14px; border-radius: 5px; }
.gb-prompt > .gb-ph { flex: 1; padding: 9px 12px; border-radius: 18px; background: var(--group); color: var(--text2); font-size: 15px; letter-spacing: 0; }
.gb-prompt > .gb-pcam { flex: none; width: 24px; height: 24px; color: #55acee; }

/* Beitrag */
.gb-post { padding: 10px 12px 2px; border-bottom: .5px solid var(--sep); background: var(--bg); cursor: pointer; }
.gb-post.detail { cursor: default; padding-top: 14px; }
.gb-post:not(.detail):active { background: var(--hl); }
.gb-post.pending { background: rgba(255, 204, 0, .09); }
.gb-row { display: flex; align-items: flex-start; gap: 10px; }
.gb-av { flex: none; width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: 0; object-fit: cover; cursor: pointer; }
.gb-av.big { width: 72px; height: 72px; border-radius: 9px; font-size: 26px; }
.gb-main { flex: 1; min-width: 0; }
.gb-head { display: flex; align-items: baseline; gap: 5px; font-size: 15px; white-space: nowrap; letter-spacing: 0; }
.gb-head b { max-width: 50%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.gb-ver { display: inline-flex; align-self: center; width: 15px; height: 15px; }
.gb-ver svg { width: 100%; height: 100%; }
.gb-handle { flex: 1; overflow: hidden; text-overflow: ellipsis; color: var(--text2); font-size: 14px; }
.gb-time { color: var(--text2); font-size: 13px; }
.gb-text { margin-top: 2px; font-size: 15px; line-height: 1.38; white-space: pre-wrap; word-wrap: break-word; letter-spacing: 0; user-select: text; -webkit-user-select: text; }
.gb-post.detail .gb-text { margin-top: 8px; font-size: 19px; line-height: 1.35; }
.gb-at { color: #55acee; font: inherit; }
.gb-img { display: block; width: 100%; margin-top: 8px; overflow: hidden; border: .5px solid var(--sep); border-radius: 6px; }
.gb-img img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.gb-post.detail .gb-img img { max-height: 70vh; object-fit: contain; background: #000; }
.gb-pend { margin-top: 6px; font-size: 12px; color: #a67c00; }
.gb-edited, .gb-reto { margin-top: 3px; font-size: 12px; color: var(--text2); }
.gb-date { margin-top: 10px; font-size: 13px; color: var(--text2); }
.gb-stats { display: flex; gap: 16px; margin-top: 10px; padding: 9px 0; border-top: .5px solid var(--sep); border-bottom: .5px solid var(--sep); font-size: 11px; color: var(--text2); letter-spacing: .03em; }
.gb-stats b { color: var(--text); font-size: 14px; }
.gb-acts { display: flex; gap: 6px; margin: 2px 0 0 -8px; }
.gb-act { display: inline-flex; align-items: center; gap: 4px; min-width: 64px; height: 32px; padding: 0 8px; color: #8899a6; font-size: 13px; }
.gb-act .gi { width: 17px; height: 17px; }
.gb-act.gb-like.on { color: #ffac33; }
.gb-pin { display: flex; align-items: center; gap: 5px; margin: 0 0 4px 58px; font-size: 12px; color: var(--text2); }
.gb-pin .gi { width: 12px; height: 12px; }

/* Listen, Zustände */
.gb-sub { padding: 16px 12px 6px; border-bottom: .5px solid var(--sep); background: var(--group); color: var(--text2); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.gb-sub.small { padding-top: 12px; }
.gb-empty { padding: 30px 20px; color: var(--text2); font-size: 15px; line-height: 1.4; text-align: center; }
.gb-empty.small { padding: 14px; font-size: 13px; }
.gb-loading { display: grid; place-items: center; padding: 30px; }
.gb-more { display: block; width: 100%; padding: 14px; color: #55acee; font-size: 15px; }
.gb-link { padding: 8px; color: #55acee; font-size: 15px; }
.gb-center { text-align: center; }
.gb-banner { padding: 10px 12px; background: rgba(255, 149, 0, .14); color: #b35f00; font-size: 13px; text-align: center; }
html.night .gb-banner { color: #ffb340; }
.gb-replybar { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px; border-bottom: .5px solid var(--sep); background: var(--bg); color: #55acee; font-size: 15px; }
.gb-replybar .gi { width: 18px; height: 18px; }

/* Profil */
.gb-prof { position: relative; padding: 0 14px 14px; border-bottom: .5px solid var(--sep); background: var(--bg); }
.gb-cover { height: 86px; margin: 0 -14px; background: linear-gradient(135deg, #55acee, #1d62f0); }
.gb-prof .gb-av.big { margin-top: -36px; border: 3px solid var(--bg); box-sizing: content-box; }
.gb-pname { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 20px; }
.gb-pname b { font-weight: 700; }
.gb-phandle { color: var(--text2); font-size: 14px; }
.gb-pbio { margin-top: 8px; font-size: 15px; line-height: 1.4; }
.gb-pstats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; color: var(--text2); font-size: 13px; }
.gb-pstats b { color: var(--text); }
.gb-pacts { display: flex; gap: 8px; margin-top: 12px; }
.gb-pacts button { flex: 1; height: 32px; padding: 0 8px; border: 1px solid #55acee; border-radius: 6px; color: #55acee; font-size: 13px; }
.gb-pacts button:last-child { flex: none; width: 40px; }
.gb-onboard { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 28px; text-align: center; }
.gb-obic .appicon { width: 72px; height: 72px; }
.gb-onboard b { font-size: 21px; font-weight: 600; }
.gb-onboard p { margin: 0 0 8px; color: var(--text3); font-size: 15px; line-height: 1.4; }
.gb-onboard .bk-send, .gb-new .bk-send { max-width: 320px; margin: 0 auto; background: #55acee; }

/* Regeln */
.gb-rulescard { margin: 12px; padding: 12px 14px; border-radius: 10px; background: var(--group); font-size: 14px; line-height: 1.4; }
.gb-rulescard b { font-size: 15px; }
.gb-rulescard p { margin: 8px 0 0; color: var(--text3); font-size: 13px; }
.gb-rules { margin: 6px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.4; }
.gb-rules li { margin: 3px 0; }

/* Profil erstellen */
.gb-prev { display: flex; align-items: center; gap: 12px; padding: 18px 15px 4px; }
.gb-prev b { display: block; font-size: 18px; }
.gb-prev span { color: var(--text2); font-size: 14px; }
.gb-at-in { display: flex; align-items: center; border: .5px solid var(--sep); border-radius: 8px; background: var(--field); }
.gb-at-in > span { padding-left: 10px; color: var(--text2); font-size: 16px; }
.gb-at-in .bk-in { border: 0; background: transparent; padding-left: 2px; box-shadow: none; }
.gb-note { padding: 4px 18px 8px; color: var(--text2); font-size: 12px; line-height: 1.4; text-align: center; }

/* Schreiben */
.gb-compose { display: flex; flex-direction: column; min-height: 100%; background: var(--bg); }
.gb-replyctx { padding: 10px 14px 0; color: var(--text2); font-size: 13px; }
.gb-replyctx b { color: #55acee; font-weight: 400; }
.gb-crow { display: flex; gap: 10px; padding: 12px 14px; }
.gb-ta { flex: 1; min-height: 150px; border: 0; outline: 0; resize: none; background: transparent; color: var(--text); font: inherit; font-size: 17px; line-height: 1.4; letter-spacing: 0; user-select: text; -webkit-user-select: text; }
.gb-thumbs { display: flex; padding: 0 14px 0 72px; }
.gb-thumb { position: relative; display: grid; place-items: center; width: 120px; height: 120px; overflow: hidden; border-radius: 8px; background: var(--group); }
.gb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gb-cbar { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 14px; border-top: .5px solid var(--sep); }
.gb-photo { width: 34px; height: 30px; color: #55acee; }
.gb-photo .gi { width: 24px; height: 24px; }
.gb-cinfo { flex: 1; color: var(--text2); font-size: 12px; }
.gb-count { color: var(--text2); font-size: 14px; }
.gb-count.neg { color: #ff3b30; font-weight: 600; }

/* Moderation (Admin) */
.gb-modrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: .5px solid var(--sep); }
.gb-modrow > div { flex: 1; display: flex; flex-direction: column; }
.gb-modrow b { font-size: 15px; font-weight: 500; }
.gb-modrow span { color: var(--text2); font-size: 12px; }
.gb-modbtns { display: flex; gap: 8px; padding: 0 0 10px 58px; }
.gb-modbtns button { height: 30px; padding: 0 14px; border-radius: 6px; color: #fff; font-size: 13px; }
.gb-modbtns .ok { background: #4cd964; }
.gb-modbtns .no { background: #ff3b30; }
.gb-repinfo { margin: 0 0 6px 58px; color: #ff3b30; font-size: 12px; }

/* Foto groß */
.gb-lb { position: absolute; inset: 0; z-index: 800; display: grid; place-items: center; background: rgba(0, 0, 0, .94); cursor: zoom-out; }
.gb-lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
