/* Community: Schaltfläche in der Kopfzeile und Discord-Karte (runtime/community.js) */
.hdr-community { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px 0 11px; border: 1px solid rgba(88, 101, 242, .38); border-radius: 999px; background: linear-gradient(180deg, rgba(88, 101, 242, .16), rgba(88, 101, 242, .06)); color: #dfe3ff; font: 600 13px var(--sans); letter-spacing: -.005em; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .25s, color .2s; }
.hdr-community svg { width: 16px; height: 16px; flex: none; color: #8f9bff; transition: transform .35s var(--spring); }
.hdr-community:hover { border-color: rgba(120, 132, 255, .75); color: #fff; box-shadow: 0 0 0 4px rgba(88, 101, 242, .12), 0 8px 24px -10px rgba(88, 101, 242, .8); }
.hdr-community:hover svg { transform: rotate(-8deg) scale(1.08); }
.hdr-community:focus-visible { outline: 2px solid #8f9bff; outline-offset: 2px; }
/* Pro-Knopf in der Kopfzeile: hell, metallisch wie der Kauf-Knopf der Pro-Karte */
.hdr-pro { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 15px 0 12px; border-radius: 999px; background: linear-gradient(180deg, #ffffff 0%, #eef1f7 45%, #cdd4e2 100%); color: #07080c; font: 680 13px var(--sans); letter-spacing: -.005em; white-space: nowrap; text-decoration: none; overflow: hidden; isolation: isolate; box-shadow: 0 10px 26px -12px rgba(205, 220, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .9); transition: box-shadow .25s, transform .2s var(--ease); }
.hdr-pro::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); transform: translateX(-120%); animation: hdrProShine 5s var(--ease) 2s infinite; }
@keyframes hdrProShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.hdr-pro svg { width: 13px; height: 13px; flex: none; fill: currentColor; }
.hdr-end > a.hdr-pro, .hdr-end > a.hdr-pro:hover { color: #07080c; }
.hdr-pro:hover { box-shadow: 0 0 0 4px rgba(205, 220, 255, .12), 0 14px 32px -12px rgba(205, 220, 255, .85), inset 0 1px 0 rgba(255, 255, 255, 1); }
.hdr-pro:active { transform: scale(.97); }
.hdr-pro:focus-visible { outline: 2px solid #dce2ee; outline-offset: 3px; }
.hdr-pro .l-short { display: none; }
/* Bereits Pro: nur ein ruhiger Status, kein Verkaufsknopf */
.hdr-pro.is-pro { height: 28px; padding: 0 11px 0 9px; gap: 6px; background: rgba(220, 226, 238, .06); border: 1px solid rgba(220, 226, 238, .28); box-shadow: none; font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hdr-end > a.hdr-pro.is-pro, .hdr-pro.is-pro { color: var(--plat); }
.hdr-pro.is-pro::after { display: none; }
.hdr-pro.is-pro svg { width: 11px; height: 11px; }
.hdr-pro--m { display: none; }
@media (max-width: 1180px) { .hdr-pro--d .l-full { display: none; } .hdr-pro--d .l-short { display: inline; } }
/* Mittlere Breiten (Tablet): Community nur als Symbol, engere Abstände – damit Pro, Neue Analyse und Konto Platz haben */
@media (max-width: 960px) and (min-width: 761px) {
  .hdr-in { gap: 20px; }
  .hdr-end { gap: 12px; }
  .nav { gap: 18px; }
  .hdr-community { width: 34px; padding: 0; justify-content: center; }
  .hdr-community span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 760px) {
  .hdr-pro--m { display: inline-flex; margin-left: auto; height: 36px; }
  .hdr-pro--m + .menu-btn { margin-left: 0; }
}
@media (max-width: 380px) { .hdr-pro--m .l-full { display: none; } .hdr-pro--m .l-short { display: inline; } }
@media (prefers-reduced-motion: reduce) { .hdr-pro::after { animation: none; } }
.mnav-community { display: flex; align-items: center; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: #b9c0ff; font: inherit; text-align: left; cursor: pointer; }

html.cm-open, html.cm-open body { overflow: hidden; }
.cm-modal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(30, 34, 80, .35), rgba(3, 4, 8, .84)); -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%); animation: cmFade .3s var(--ease) both; }
.cm-modal.is-closing { animation: cmFadeOut .18s ease both; }
.cm-card { position: relative; width: min(400px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; align-items: center; padding: 34px 28px 24px; border-radius: 26px; text-align: center; outline: none; background: radial-gradient(120% 60% at 50% -10%, rgba(88, 101, 242, .38), transparent 60%), radial-gradient(70% 40% at 50% 115%, rgba(88, 101, 242, .14), transparent 70%), linear-gradient(180deg, #14162a 0%, #0b0c16 100%); box-shadow: 0 60px 140px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(140, 150, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .1); animation: cmIn .55s var(--spring) both; }
.cm-card::-webkit-scrollbar { display: none; }
.cm-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(160, 170, 255, .7), rgba(88, 101, 242, .1) 40%, rgba(160, 170, 255, .35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cm-card svg { flex: none; }
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmFadeOut { to { opacity: 0; } }
@keyframes cmIn { from { opacity: 0; transform: translateY(14px) scale(.965); } to { opacity: 1; transform: none; } }

.cm-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(160, 170, 255, .2); border-radius: 50%; background: rgba(255, 255, 255, .03); color: #a7adcf; cursor: pointer; transition: color .2s, border-color .2s; }
.cm-x:hover { color: #fff; border-color: rgba(160, 170, 255, .5); }
.cm-x svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.cm-logo { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(160deg, #7480ff, #5865f2 55%, #4450d6); color: #fff; box-shadow: 0 22px 50px -14px rgba(88, 101, 242, .85), inset 0 1px 0 rgba(255, 255, 255, .35); animation: cmFloat 4.5s ease-in-out infinite; }
.cm-logo > svg { width: 40px; height: 40px; }
.cm-ring { position: absolute; inset: -10px; border-radius: 30px; border: 1px solid rgba(140, 150, 255, .35); opacity: 0; animation: cmRing 3s var(--ease) infinite; }
.cm-ring--2 { animation-delay: 1.5s; }
@keyframes cmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes cmRing { 0% { opacity: 0; transform: scale(.85); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }

.cm-kicker { margin-top: 30px; font: 500 10px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: #a9b1ff; }
.cm-card h2 { margin: 10px 0 0; font-size: 30px; font-weight: 740; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.04; color: #fff; text-wrap: balance; }
.cm-sub { margin: 10px 0 0; max-width: 33ch; font-size: 13.5px; line-height: 1.55; color: #a3a8c3; text-wrap: balance; }
.cm-perks { list-style: none; margin: 22px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.cm-perks li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid rgba(140, 150, 255, .14); border-radius: 14px; background: rgba(88, 101, 242, .06); font-size: 13px; color: #d8dcf5; }
.cm-perks svg { width: 16px; height: 16px; fill: none; stroke: #9aa4ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cm-join { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 22px; padding: 0 22px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #6b77ff, #5865f2 60%, #4f5be6); color: #fff; font: 680 15.5px var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; box-shadow: 0 18px 44px -16px rgba(88, 101, 242, .95), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s var(--ease), box-shadow .25s; }
.cm-join::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); animation: cmShine 3.6s var(--ease) 1s infinite; }
@keyframes cmShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.cm-join:hover { box-shadow: 0 22px 54px -14px rgba(88, 101, 242, 1), inset 0 1px 0 rgba(255, 255, 255, .45); }
.cm-join:active { transform: scale(.985); }
.cm-join:focus-visible { outline: 2px solid #c3c9ff; outline-offset: 3px; }
.cm-join > svg:first-child { width: 20px; height: 20px; }
.cm-join > svg:last-child { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.cm-join[disabled] { cursor: default; background: rgba(88, 101, 242, .22); color: #c7ccf2; box-shadow: none; }
.cm-join[disabled]::after { display: none; }
.cm-note { margin: 10px 0 0; font-size: 11px; color: #7d83a3; }

@media (max-width: 480px) {
  .cm-modal { padding: 10px; place-items: end center; }
  .cm-card { padding: 30px 18px 20px; border-radius: 24px; }
  .cm-card h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-modal, .cm-card, .cm-logo, .cm-ring, .cm-join::after { animation: none; }
}
