/* mjstc.studio – Community- & Service-Seiten (Newsletter, Support, Showcase, Bio-Galerie, Status, Hilfe) */
.hub-main { padding: calc(var(--nav-h, 88px) + 28px) 0 80px; min-height: 72vh; }
.hub-wrap { max-width: 1120px; display: grid; gap: 18px; }
#hub-app { display: grid; gap: 18px; }
.hub-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel, 16px); padding: 22px 24px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.8); }
.hub-card h1 { margin: 6px 0 8px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.08; font-style: italic; font-weight: 850; }
.hub-card h2 { margin: 0 0 10px; font-size: 19px; }
.hub-card h3 { margin: 18px 0 8px; font-size: 15px; }
.hub-lead { margin: 0 0 14px; color: var(--muted); }
.hub-small { margin: 10px 0 0; color: var(--faint); font-size: 13px; }
.hub-small a, .hub-lead a { color: var(--gold); }
.hub-center { display: grid; justify-items: center; gap: 6px; padding: 40px 26px; text-align: center; }
.hub-center .hub-lead { max-width: 520px; }
.hub-narrow { max-width: 680px; margin: 0 auto; width: 100%; }
.hub-loading { display: grid; place-items: center; min-height: 180px; }
.hub-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--gold); animation: hub-spin 0.9s linear infinite; }
@keyframes hub-spin { to { transform: rotate(360deg); } }
.hub-sticker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-weight: 800; font-size: 12.5px; letter-spacing: 0.02em; }
.hub-ok { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-size: 28px; font-weight: 900; }
.hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.hub-head h1 { margin: 8px 0 6px; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.04; font-style: italic; font-weight: 850; }
.hub-head .hub-lead { max-width: 620px; margin: 0; }
.hub-head-c { justify-content: center; text-align: center; }
.hub-logins { display: grid; gap: 10px; width: min(340px, 100%); margin-top: 8px; }
.hub-logins .btn { justify-content: center; }
.g-dot { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); }
.hub-grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.hub-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hub-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px) { .hub-grid2, .hub-grid3, .hub-row2 { grid-template-columns: 1fr; } }

/* Formulare */
.hub-f { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.hub-f em { font-style: normal; color: var(--faint); font-weight: 400; }
.hub-f input, .hub-f select, .hub-f textarea, .hub-notify input, .hub-notify select, #hub-reply textarea, .hub-search {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: 14.5px;
}
.hub-f textarea, #hub-reply textarea { resize: vertical; }
.hub-f :focus, .hub-notify :focus, #hub-reply textarea:focus, .hub-search:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.hub-msg { margin: 0 0 12px; padding: 10px 13px; border-radius: 10px; font-size: 14px; }
.hub-msg.is-ok { background: rgba(34, 197, 94, 0.12); color: #6ee7a0; }
.hub-msg.is-bad { background: rgba(255, 90, 90, 0.12); color: #ff9a9a; }
.hub-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hub-notify { position: relative; }
.hub-notify-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 190px) auto; gap: 8px; }
.hub-notify-row select { width: auto; }
.hub-notify .hub-msg { margin: 10px 0 0; }
@media (max-width: 640px) { .hub-notify-row { grid-template-columns: 1fr; } .hub-notify-row select { width: 100%; } }
.hub-search { margin: 0; }
.hub-search.big { padding: 15px 18px; font-size: 16px; border-radius: 14px; }
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-chips button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.hub-chips button.is-on { border-color: var(--gold); background: var(--gold-soft); color: var(--text); }

/* Listen, Pillen */
.hub-list { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.hub-list li > a, .hub-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hub-list li > a { width: 100%; padding: 11px 13px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.hub-list li > a:hover { border-color: rgba(255, 200, 61, 0.45); }
.hub-list span { display: grid; gap: 2px; min-width: 0; }
.hub-list small { color: var(--faint); font-size: 12.5px; }
.hub-new { color: var(--gold); font-style: normal; font-weight: 700; }
.hub-pill { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-hi); color: var(--muted); }
.hub-pill.is-ok { background: rgba(34, 197, 94, 0.14); color: #4ade80; }
.hub-pill.is-warn { background: var(--gold-soft); color: var(--gold); }

/* Ticket */
.hub-ticket { display: grid; gap: 14px; }
.hub-ticket-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.hub-ticket-h h1 { font-size: clamp(22px, 3vw, 30px); }
.hub-ticket-h small { color: var(--faint); }
.hub-back { color: var(--muted); font-size: 13.5px; text-decoration: none; }
.hub-back:hover { color: var(--gold); }
.hub-msgs { display: grid; gap: 10px; max-height: 60vh; overflow: auto; padding-right: 4px; }
.hub-msgx { max-width: 84%; padding: 12px 15px; border-radius: 16px 16px 16px 5px; background: var(--surface-hi); }
.hub-msgx.is-staff { justify-self: end; border-radius: 16px 16px 5px 16px; background: var(--gold-soft); border: 1px solid rgba(255, 200, 61, 0.25); }
.hub-msgx-h { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.hub-msgx-h small { color: var(--faint); font-size: 12px; }
.hub-msgx-b { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
#hub-reply { display: grid; gap: 10px; }
.hub-reply-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Showcase */
.hub-gallery { columns: 3 300px; column-gap: 16px; }
.hub-shot { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.hub-shot.is-feat { border-color: rgba(255, 200, 61, 0.55); box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.25), 0 20px 50px -30px rgba(255, 200, 61, 0.4); }
.hub-shot-img { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-hi); cursor: zoom-in; }
.hub-shot-img img { display: block; width: 100%; height: auto; }
.hub-shot-b { display: grid; gap: 6px; padding: 12px 14px 14px; }
.hub-shot-b p { margin: 0; color: var(--muted); font-size: 13.5px; }
.hub-shot-f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.hub-by { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.hub-by img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.hub-by a { color: inherit; }
.hub-tag { padding: 2px 8px; border-radius: 6px; background: var(--surface-hi); color: var(--faint); font-size: 12px; }
.hub-ext { color: var(--gold); text-decoration: none; font-weight: 800; }
.hub-like { margin-left: auto; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.hub-like.is-on { border-color: #ff2e9a; color: #ff5cb0; background: rgba(255, 46, 154, 0.1); }
.hub-zoom { max-width: 94vw; max-height: 94vh; padding: 0; border: 0; background: transparent; }
.hub-zoom::backdrop { background: rgba(0, 0, 0, 0.85); }
.hub-zoom img { max-width: 94vw; max-height: 90vh; border-radius: 12px; }
.hub-zoom button { position: fixed; top: 16px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 26px; cursor: pointer; }
.hub-dialog { width: min(640px, 94vw); padding: 0; border: 0; background: transparent; color: var(--text); }
.hub-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.hub-drop { position: relative; display: grid; place-items: center; min-height: 150px; margin-bottom: 14px; border: 2px dashed var(--line-strong); border-radius: 14px; color: var(--faint); text-align: center; padding: 16px; cursor: pointer; overflow: hidden; }
.hub-drop.is-over { border-color: var(--gold); background: var(--gold-soft); }
.hub-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Bio-Galerie */
.hub-bios { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hub-bio { --acc: var(--gold); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 12%, var(--surface)), var(--surface) 60%); color: inherit; text-decoration: none; transition: transform 0.15s, border-color 0.15s; }
.hub-bio:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--acc) 60%, transparent); }
.hub-bio-ava { grid-row: span 2; width: 58px; height: 58px; border-radius: 16px; overflow: hidden; background: var(--surface-hi); display: grid; place-items: center; border: 2px solid var(--acc); }
.hub-bio-ava img { width: 100%; height: 100%; object-fit: cover; }
.hub-bio-ava b { font-size: 24px; }
.hub-bio-t { display: grid; gap: 1px; min-width: 0; }
.hub-bio-t b { font-size: 17px; }
.hub-bio-t small { color: var(--faint); font-size: 12.5px; }
.hub-bio-t em { color: var(--muted); font-style: normal; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-bio-f { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.hub-bio-f i { padding: 2px 7px; border-radius: 6px; background: var(--surface-hi); color: var(--muted); font-style: normal; font-size: 11.5px; }
.hub-bio-n { margin-left: auto; color: var(--faint); font-size: 12px; }

/* Status */
.hub-status-top { display: flex; align-items: center; gap: 18px; }
.hub-status-top h1 { margin: 0 0 4px; font-size: clamp(22px, 3vw, 30px); }
.hub-status-top .hub-lead { margin: 0; }
.hub-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--faint); flex: none; }
.hub-dot.big { width: 22px; height: 22px; }
.hub-dot.is-ok { background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.15); }
.hub-dot.is-warn { background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.hub-dot.is-bad { background: #ff5c5c; box-shadow: 0 0 0 5px rgba(255, 92, 92, 0.15); }
.hub-svc { list-style: none; margin: 0; padding: 0; display: grid; }
.hub-svc li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.hub-svc li:last-child { border-bottom: 0; }
.hub-svc-s { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.hub-soon { padding: 1px 8px; border-radius: 6px; background: var(--gold-soft); color: var(--gold); font-style: normal; font-size: 12px; }

/* Hilfe */
.hub-faq { border-bottom: 1px solid var(--line); }
.hub-faq:last-child { border-bottom: 0; }
.hub-faq summary { padding: 15px 4px; font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hub-faq summary::-webkit-details-marker { display: none; }
.hub-faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; transition: transform 0.2s; }
.hub-faq[open] summary::after { transform: rotate(45deg); }
.hub-faq p { margin: 0 4px 16px; color: var(--muted); line-height: 1.65; }
.hub-cta { display: grid; gap: 4px; color: inherit; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.hub-cta:hover { border-color: rgba(255, 200, 61, 0.45); transform: translateY(-2px); }
.hub-cta span { color: var(--muted); font-size: 13.5px; }

/* „Benachrichtige mich“ auf anderen Seiten */
.notify-band { --surface: #17171b; --surface-hi: #1f1f24; --bg: #0d0d0f; --bg-alt: #111114; --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.18); --text: #f3f2ee; --muted: #b2b0a9; --faint: #8c8a84; --gold: #ffc83d; --gold-ink: #1b1403; --gold-soft: rgba(255, 200, 61, 0.12);
  width: min(880px, 100% - 32px); margin: 56px auto; color: var(--text); text-align: left; }
.notify-band h2 { margin: 6px 0 6px; font-size: clamp(22px, 3vw, 30px); font-style: italic; font-weight: 850; }
.notify-band .btn-gold { background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 10px; padding: 0 18px; min-height: 44px; font-weight: 800; cursor: pointer; }
.notify-band .hub-card { display: grid; gap: 6px; }
#hub-toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; z-index: 90; padding: 12px 18px; border-radius: 12px; background: var(--surface-hi); border: 1px solid var(--line-strong); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.2s, translate 0.2s; font-weight: 600; }
#hub-toast.is-on { opacity: 1; translate: -50% 0; }
#hub-toast.is-bad { border-color: rgba(255, 90, 90, 0.6); color: #ffb4b4; }
