/* Öffentliche DAXS-Website: Startanimation, Startseite, 503-Seite, Entwicklertools-Sperre */

@font-face { font-family:'Anton'; src:url('assets/fonts/anton-latin-400-normal.woff2') format('woff2'); font-display:swap; }
@font-face { font-family:'Barlow'; font-weight:400; src:url('assets/fonts/barlow-latin-400-normal.woff2') format('woff2'); font-display:swap; }
@font-face { font-family:'Barlow'; font-weight:600; src:url('assets/fonts/barlow-latin-600-normal.woff2') format('woff2'); font-display:swap; }
@font-face { font-family:'Barlow Condensed'; font-weight:700; src:url('assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-display:swap; }

:root {
  --dx-red: #e92324;
  --dx-red-deep: #a90f13;
  --dx-ink: #0a0a0c;
  --dx-ink-2: #121216;
  --dx-ink-3: #1b1b21;
  --dx-line: #2c2c34;
  --dx-text: #f5f5f7;
  --dx-muted: #a7a7b2;
  --dx-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --dx-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --dx-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --dx-gutter: clamp(16px, 5vw, 64px);
}

/* ==================== STARTANIMATION ==================== */
#dxIntro { position:fixed; inset:0; z-index:10000; overflow:hidden; pointer-events:none; }
#dxIntro .dx-intro-panel { position:absolute; left:-10%; right:-10%; height:56%; background:var(--dx-red); }
#dxIntro .dx-intro-top { top:0; animation:dxPanelUp .55s cubic-bezier(.76,0,.24,1) 1.55s forwards; }
#dxIntro .dx-intro-bottom { bottom:0; animation:dxPanelDown .55s cubic-bezier(.76,0,.24,1) 1.55s forwards; }
#dxIntro .dx-intro-logo {
  position:absolute; top:50%; left:50%; width:min(46vmin,340px); height:auto; margin:0;
  transform:translate(-50%,-50%) scale(2.4); opacity:0;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.45));
  animation:dxSlam .42s cubic-bezier(.2,.9,.25,1.1) .2s forwards, dxShake .3s linear .62s, dxLogoOut .32s ease-in 1.45s forwards;
}
@keyframes dxSlam { to { transform:translate(-50%,-50%) scale(1); opacity:1; } }
@keyframes dxShake {
  0%,100% { margin-left:0; margin-top:0; } 20% { margin-left:-7px; margin-top:4px; } 40% { margin-left:6px; margin-top:-5px; }
  60% { margin-left:-4px; margin-top:3px; } 80% { margin-left:3px; margin-top:-2px; }
}
@keyframes dxLogoOut { to { transform:translate(-50%,-50%) scale(1.25); opacity:0; } }
@keyframes dxPanelUp { to { transform:translateY(-105%) rotate(-3deg); } }
@keyframes dxPanelDown { to { transform:translateY(105%) rotate(-3deg); } }

/* ==================== GRUNDGERÜST ==================== */
html:has(#communityApp:not(.hidden)) { scroll-behavior:smooth; scroll-padding-top:84px; }
#communityApp { background:var(--dx-ink); color:var(--dx-text); font-family:var(--dx-body); min-height:100vh; overflow-x:clip; }
#communityApp a { color:inherit; text-decoration:none; }
#communityApp :is(h1,h2,h3) { font-family:var(--dx-display); font-weight:400; letter-spacing:.01em; text-transform:uppercase; }

#communityApp .dx-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 24px; margin:0;
  font-family:var(--dx-label); font-weight:700; font-size:17px; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap;
  color:#fff; background:transparent; border:1px solid #4a4a55; border-radius:0; cursor:pointer;
  clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);
  transition:background .15s, color .15s, border-color .15s, transform .15s;
}
#communityApp .dx-btn:hover { background:#fff; border-color:#fff; color:var(--dx-ink); transform:translateY(-1px); }
#communityApp .dx-btn-primary { background:var(--dx-red); border-color:var(--dx-red); }
#communityApp .dx-btn-primary:hover { background:#fff; border-color:#fff; color:var(--dx-red-deep); }
#communityApp .dx-btn-lg { min-height:58px; padding:0 36px; font-size:21px; }
#communityApp .dx-eyebrow { display:block; font-family:var(--dx-label); font-weight:700; font-size:15px; letter-spacing:.24em; text-transform:uppercase; color:var(--dx-red); }

/* ==================== HEADER ==================== */
#communityApp .dx-header {
  position:sticky; top:0; z-index:50; display:flex; align-items:center; gap:clamp(14px,3vw,36px);
  min-height:72px; padding:10px var(--dx-gutter); background:rgba(10,10,12,.86); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.07);
}
#communityApp .dx-brand { display:flex; align-items:center; gap:10px; font-family:var(--dx-display); font-size:26px; letter-spacing:.04em; }
#communityApp .dx-brand img { width:42px; height:auto; display:block; }
#communityApp .dx-nav { display:flex; gap:clamp(14px,2.4vw,30px); margin-right:auto; }
#communityApp .dx-nav a { font-family:var(--dx-label); font-weight:700; font-size:16px; letter-spacing:.12em; text-transform:uppercase; color:#c9c9d2; padding:6px 0; border-bottom:2px solid transparent; transition:color .15s, border-color .15s; }
#communityApp .dx-nav a:hover { color:#fff; border-color:var(--dx-red); }
#communityApp .dx-actions { display:flex; align-items:center; gap:10px; }
#communityApp .dx-account { position:relative; }
#communityApp .dx-account summary { display:flex; align-items:center; gap:8px; cursor:pointer; list-style:none; font-weight:600; font-size:14px; }
#communityApp .dx-account summary::-webkit-details-marker { display:none; }
#communityApp .dx-account summary .avatar { width:36px; height:36px; min-width:36px; border-radius:50%; object-fit:cover; background:var(--dx-ink-3); }
#communityApp .dx-account .dx-account-name { max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#communityApp .dx-account-menu { position:absolute; right:0; top:calc(100% + 12px); min-width:190px; padding:14px; display:grid; gap:10px; background:var(--dx-ink-2); border:1px solid var(--dx-line); }
#communityApp .dx-account-menu button { width:100%; }

/* ==================== HERO ==================== */
#communityApp .dx-hero { position:relative; isolation:isolate; display:grid; align-items:center; min-height:calc(100vh - 72px); padding:clamp(40px,7vw,90px) var(--dx-gutter) clamp(84px,10vw,130px); overflow:hidden; background:radial-gradient(90% 90% at 78% 40%, #2a070a 0%, var(--dx-ink) 62%); }
#communityApp .dx-hero::before { /* harte rote Diagonale hinter dem Logo */
  content:''; position:absolute; z-index:-2; top:-30%; bottom:-30%; right:-6%; width:44%; background:var(--dx-red); transform:rotate(14deg);
  box-shadow:-34px 0 0 var(--dx-red-deep), -46px 0 0 var(--dx-ink), -56px 0 0 var(--dx-red);
}
#communityApp .dx-hero-word { /* riesiger Schriftzug als Textur */
  position:absolute; z-index:-1; left:-1vw; bottom:-5vw; font-family:var(--dx-display); font-size:30vw; line-height:.8; letter-spacing:.01em; color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.07); user-select:none; pointer-events:none;
}
#communityApp .dx-hero-copy { position:relative; max-width:min(760px,52%); animation:dxRise .7s ease both 2s; }
#communityApp .dx-hero h1 { margin:22px 0 18px; font-size:clamp(58px,9.5vw,150px); line-height:1.1; letter-spacing:.005em; }
#communityApp .dx-hero h1 em { display:block; font-style:normal; color:var(--dx-red); }
#communityApp .dx-hero-lead { max-width:520px; margin:0 0 30px; font-size:clamp(17px,1.6vw,20px); line-height:1.55; color:#d6d6de; }
#communityApp .dx-hero-cta { display:flex; flex-wrap:wrap; gap:12px; }
#communityApp .dx-hero-logo { position:absolute; z-index:-1; right:clamp(0px,5vw,90px); top:50%; width:min(40vw,580px); height:auto; transform:translateY(-52%); filter:drop-shadow(0 30px 50px rgba(0,0,0,.6)); animation:dxLogoIn .8s cubic-bezier(.2,.9,.25,1.05) both 1.85s; }
@keyframes dxRise { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes dxLogoIn { from { opacity:0; transform:translateY(-52%) scale(.86) rotate(-4deg); } to { opacity:1; transform:translateY(-52%); } }

/* ==================== LAUFBAND ==================== */
#communityApp .dx-ticker { overflow:hidden; background:var(--dx-red); transform:rotate(-1.2deg) scale(1.02); margin:-34px 0 0; position:relative; z-index:2; }
#communityApp .dx-ticker-track { display:flex; width:max-content; animation:dxTicker 34s linear infinite; }
#communityApp .dx-ticker span { padding:12px 26px; font-family:var(--dx-display); font-size:clamp(20px,2.4vw,28px); letter-spacing:.06em; text-transform:uppercase; color:#fff; white-space:nowrap; }
#communityApp .dx-ticker span:nth-child(even) { color:var(--dx-ink); }
@keyframes dxTicker { to { transform:translateX(-50%); } }

/* ==================== STATS ==================== */
#communityApp .dx-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); align-items:center; gap:24px; padding:0 var(--dx-gutter); margin:clamp(48px,7vw,84px) 0 0; }
#communityApp .dx-stat { padding:6px 24px 6px 20px; border-left:4px solid var(--dx-red); }
#communityApp .dx-stat strong { display:block; font-family:var(--dx-display); font-weight:400; font-size:clamp(46px,6vw,76px); line-height:1.05; }
#communityApp .dx-stat span { font-family:var(--dx-label); font-weight:700; font-size:15px; letter-spacing:.16em; text-transform:uppercase; color:var(--dx-muted); }

/* ==================== SEKTIONEN ==================== */
#communityApp .dx-section { padding:clamp(64px,9vw,120px) var(--dx-gutter) 0; }
#communityApp .dx-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:clamp(26px,3vw,40px); }
#communityApp .dx-section-head h2 { margin:16px 0 0; font-size:clamp(40px,6vw,76px); line-height:1.12; }

#communityApp .dx-pillars { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
#communityApp .dx-pillar { position:relative; padding:30px 26px 32px; background:var(--dx-ink-2); border:1px solid var(--dx-line); border-top:4px solid var(--dx-red); transition:transform .2s, border-color .2s; }
#communityApp .dx-pillar:hover { transform:translateY(-4px); border-color:var(--dx-red); }
#communityApp .dx-pillar b { font-family:var(--dx-display); font-weight:400; font-size:40px; color:var(--dx-red); }
#communityApp .dx-pillar h3 { margin:8px 0 10px; font-size:30px; line-height:1.08; }
#communityApp .dx-pillar p { margin:0; color:#c2c2cc; font-size:16px; line-height:1.6; }

/* ==================== NEWS ==================== */
#communityApp .dx-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
#communityApp .dx-tabs .feed-tab-btn { min-height:42px; padding:0 18px; margin:0; font-family:var(--dx-label); font-weight:700; font-size:16px; letter-spacing:.1em; text-transform:uppercase; color:#c9c9d2; background:var(--dx-ink-2); border:1px solid var(--dx-line); border-radius:0; cursor:pointer; }
#communityApp .dx-tabs .feed-tab-btn:hover { color:#fff; border-color:#5a5a66; background:var(--dx-ink-3); }
#communityApp .dx-tabs .feed-tab-btn.active { color:#fff; background:var(--dx-red); border-color:var(--dx-red); }
#communityApp .dx-news-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr)); gap:14px; }
#communityApp .dx-card { display:flex; flex-direction:column; min-width:0; background:var(--dx-ink-2); border:1px solid var(--dx-line); transition:transform .2s, border-color .2s; }
#communityApp .dx-card:hover { transform:translateY(-4px); border-color:var(--dx-red); }
#communityApp .dx-card-media { display:block; aspect-ratio:16/9; background:var(--dx-ink-3); overflow:hidden; }
#communityApp .dx-card-media img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s; }
#communityApp .dx-card:hover .dx-card-media img { transform:scale(1.04); }
#communityApp .dx-card-body { display:flex; flex-direction:column; gap:10px; flex:1; padding:20px 22px 22px; }
#communityApp .dx-card-meta { display:flex; justify-content:space-between; gap:10px; font-family:var(--dx-label); font-weight:700; font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:var(--dx-muted); }
#communityApp .dx-card-meta span:first-child { color:var(--dx-red); }
#communityApp .dx-card h3 { margin:0; font-size:26px; line-height:1.12; }
#communityApp .dx-card-text { margin:0; color:#c2c2cc; font-size:15px; line-height:1.55; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
#communityApp .dx-card-text a { color:#fff; text-decoration:underline; text-decoration-color:var(--dx-red); text-underline-offset:3px; }
#communityApp .dx-card-link { margin-top:auto; padding-top:6px; align-self:flex-start; font-family:var(--dx-label); font-weight:700; font-size:16px; letter-spacing:.1em; text-transform:uppercase; color:#fff; border-bottom:2px solid var(--dx-red); }
#communityApp .dx-card-link:hover { color:var(--dx-red); }

/* ==================== WEG ZUM CLAN ==================== */
#communityApp .dx-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; counter-reset:step; }
#communityApp .dx-step { padding:8px 28px 8px 0; margin-right:28px; border-right:1px solid var(--dx-line); }
#communityApp .dx-step:last-child { border-right:0; margin-right:0; }
#communityApp .dx-step::before { counter-increment:step; content:'0' counter(step); display:block; font-family:var(--dx-display); font-size:54px; line-height:1.1; color:transparent; -webkit-text-stroke:1px var(--dx-red); }
#communityApp .dx-step h3 { margin:6px 0 8px; font-size:28px; }
#communityApp .dx-step p { margin:0; color:#c2c2cc; line-height:1.6; }

/* ==================== MITGLIEDER-BEREICH ==================== */
#communityApp .member-only .event-grid { margin:0; }

/* ==================== ABSCHLUSS & FOOTER ==================== */
#communityApp .dx-cta { position:relative; isolation:isolate; margin-top:clamp(70px,10vw,130px); padding:clamp(60px,9vw,110px) var(--dx-gutter); background:var(--dx-red); overflow:hidden; clip-path:polygon(0 34px,100% 0,100% 100%,0 100%); }
#communityApp .dx-cta img { position:absolute; z-index:-1; right:-4%; top:50%; width:min(44vw,520px); height:auto; transform:translateY(-50%) rotate(8deg); opacity:.22; }
#communityApp .dx-cta h2 { margin:0 0 14px; font-size:clamp(50px,9vw,120px); line-height:1.16; color:#fff; }
#communityApp .dx-cta p { max-width:540px; margin:0 0 26px; font-size:19px; line-height:1.5; color:#fff; }
#communityApp .dx-cta .dx-btn { background:var(--dx-ink); border-color:var(--dx-ink); }
#communityApp .dx-cta .dx-btn:hover { background:#fff; border-color:#fff; color:var(--dx-red-deep); }
#communityApp .dx-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding:26px var(--dx-gutter); background:var(--dx-ink); color:var(--dx-muted); font-size:14px; }
#communityApp .dx-footer nav { display:flex; flex-wrap:wrap; gap:20px; }
#communityApp .dx-footer a:hover { color:#fff; }
#communityApp .dx-footer small { font-size:13px; }
#communityApp .dx-footer small a { color:#d6d6de; text-decoration:underline; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1000px) {
  #communityApp .dx-nav { display:none; }
  #communityApp .dx-actions { margin-left:auto; }
  #communityApp .dx-hero { min-height:auto; }
  #communityApp .dx-hero h1 { font-size:clamp(58px,14vw,120px); }
  #communityApp .dx-hero-copy { max-width:none; }
  #communityApp .dx-hero::before { top:auto; bottom:-30%; right:-30%; width:80%; height:60%; }
  #communityApp .dx-hero-logo { position:relative; right:auto; top:auto; order:-1; justify-self:center; width:min(62vw,340px); margin-bottom:12px; transform:none; animation:none; }
  #communityApp .dx-pillars, #communityApp .dx-steps { grid-template-columns:1fr; }
  #communityApp .dx-step { border-right:0; margin:0; padding:0 0 22px; }
}
@media (max-width: 560px) {
  #communityApp .dx-actions .dx-discord { display:none; }
  #communityApp .dx-btn { padding:0 16px; font-size:15px; }
  #communityApp .dx-btn-lg { width:100%; }
  #communityApp .dx-account .dx-account-name { display:none; }
  #communityApp .dx-brand span { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(#communityApp:not(.hidden)) { scroll-behavior:auto; }
  #dxIntro { display:none; }
  #communityApp .dx-hero-copy, #communityApp .dx-hero-logo { animation:none; }
  #communityApp .dx-ticker-track { animation:none; }
}

/* ==================== 503 ==================== */
#dxError { position:fixed; inset:0; z-index:9000; display:grid; place-items:center; padding:24px; background:var(--dx-ink); color:var(--dx-text); font-family:var(--dx-body); text-align:center; }
#dxError h1 { margin:0; font-family:var(--dx-display); font-weight:400; font-size:clamp(110px,26vw,240px); line-height:1; color:var(--dx-red); }
#dxError h2 { margin:6px 0 10px; font-family:var(--dx-label); font-size:26px; letter-spacing:.14em; text-transform:uppercase; }
#dxError p { margin:0 0 24px; color:var(--dx-muted); }
#dxError a { font-family:var(--dx-label); font-weight:700; font-size:17px; letter-spacing:.1em; text-transform:uppercase; color:#fff; border-bottom:2px solid var(--dx-red); text-decoration:none; }

/* ==================== ENTWICKLERTOOLS-SPERRE ==================== */
html.dx-locked body > *:not(#dxGuard) { visibility:hidden !important; }
html.dx-locked, html.dx-locked body { overflow:hidden !important; }
#dxGuard { position:fixed; inset:0; z-index:20000; display:grid; place-items:center; padding:24px; background:var(--dx-red); color:#fff; font-family:var(--dx-body); text-align:center; }
#dxGuard h1 { margin:14px 0 8px; font-family:var(--dx-display); font-weight:400; font-size:clamp(42px,8vw,72px); text-transform:uppercase; }
#dxGuard p { margin:0; max-width:420px; font-size:18px; line-height:1.5; }
#dxGuard img { display:inline-block; height:auto; }

/* ==================== BEWERBUNG ==================== */
#communityApp .dx-apply { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; margin: auto; color: var(--dx-text); background: var(--dx-ink-2); border: 1px solid var(--dx-red); border-top: 5px solid var(--dx-red); font-family: var(--dx-body); }
#communityApp .dx-apply::backdrop { background: rgba(0,0,0,.75); }
#communityApp .dx-apply-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 4px; }
#communityApp .dx-apply-head h2 { margin: 14px 0 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.16; }
#communityApp .dx-apply-close { width: 40px; height: 40px; flex: none; color: #fff; background: transparent; border: 1px solid #4a4a55; border-radius: 0; font-size: 18px; cursor: pointer; }
#communityApp .dx-apply-close:hover { background: #fff; color: var(--dx-ink); }
#communityApp .dx-apply-body { padding: 8px 24px 26px; }
#communityApp .dx-apply-body > p, #communityApp .dx-apply-form > p { margin: 10px 0 18px; color: #d6d6de; line-height: 1.55; }
#communityApp .dx-apply-form label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 15px; color: #fff; }
#communityApp .dx-apply-form label small { color: var(--dx-muted); font-weight: 400; }
#communityApp .dx-apply-form :is(input, textarea) { display: block; width: 100%; padding: 12px; color: #fff; background: var(--dx-ink); border: 1px solid #383842; border-radius: 0; font: 400 15px var(--dx-body); resize: vertical; }
#communityApp .dx-apply-form :is(input, textarea):focus { outline: none; border-color: var(--dx-red); }
#communityApp .dx-apply-form .dx-btn { width: 100%; margin-top: 6px; }
#communityApp .dx-apply-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#communityApp .dx-apply-note { margin-top: 16px !important; font-size: 14px; color: var(--dx-muted) !important; }
#communityApp .dx-apply-error { min-height: 1em; margin: 12px 0 !important; color: #ff7374 !important; }
#communityApp .dx-apply-error:empty { display: none; }
#communityApp .dx-apply-success { font-family: var(--dx-display); font-size: 34px; color: #fff !important; text-transform: uppercase; }
#communityApp .dx-apply-hint { padding: 12px 14px; color: #fff !important; background: rgba(233,35,36,.12); border-left: 3px solid var(--dx-red); }

/* ==================== DISCORD LIVE-KARTE ==================== */
#communityApp .dx-discord-card { grid-column:-2 / -1; justify-self:end; width:min(100%, 340px); padding:18px 20px 20px; background:var(--dx-ink-2); border:1px solid var(--dx-line); border-top:3px solid #5865f2; }
#communityApp .dx-discord-head { display:flex; align-items:center; gap:12px; }
#communityApp .dx-discord-head img { width:40px; height:auto; }
#communityApp .dx-discord-head strong { display:block; font-family:var(--dx-label); font-weight:700; font-size:19px; letter-spacing:.06em; text-transform:uppercase; }
#communityApp .dx-live { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--dx-muted); }
#communityApp .dx-live i { width:8px; height:8px; border-radius:50%; background:#23a55a; box-shadow:0 0 0 0 rgba(35,165,90,.6); animation:dxPulse 2s infinite; }
@keyframes dxPulse { 70% { box-shadow:0 0 0 8px rgba(35,165,90,0); } 100% { box-shadow:0 0 0 0 rgba(35,165,90,0); } }
#communityApp .dx-discord-card dl { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0; }
#communityApp .dx-discord-card dt { font-family:var(--dx-label); font-weight:700; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--dx-muted); }
#communityApp .dx-discord-card dd { margin:2px 0 0; font-family:var(--dx-display); font-size:36px; line-height:1.15; }
#communityApp .dx-discord-card .dx-btn { width:100%; }
@media (max-width: 760px) { #communityApp .dx-discord-card { grid-column:auto; justify-self:stretch; width:100%; } }

/* ==================== NEWS: GANZER BEITRAG ==================== */
#communityApp .dx-card[data-news-index] { cursor:pointer; }
#communityApp .dx-card[data-news-index]:focus-visible { outline:2px solid #ff7676; outline-offset:3px; }
#communityApp .dx-card .dx-card-link { pointer-events:none; }
#communityApp .dx-news-modal { width:min(820px, calc(100% - 32px)); }
#communityApp .dx-news-modal h2 { font-size:clamp(28px, 4vw, 40px); }
#communityApp .dx-news-body { overflow-wrap:anywhere; }
#communityApp .dx-news-body p { color:#d6d6de; line-height:1.65; }
#communityApp .dx-news-body h3 { margin:22px 0 4px; font-size:22px; }
#communityApp .dx-news-body a:not(.dx-btn) { color:#fff; text-decoration:underline; text-decoration-color:var(--dx-red); text-underline-offset:3px; }
#communityApp .dx-news-body .dx-btn { margin-top:12px; }
#communityApp .dx-lang { display:flex; flex-wrap:wrap; gap:8px; margin:4px 0 18px; }
#communityApp .dx-lang-btn { min-height:40px; padding:0 16px; font-family:var(--dx-label); font-weight:700; font-size:15px; letter-spacing:.1em; text-transform:uppercase; color:#c9c9d2; background:var(--dx-ink-2); border:1px solid var(--dx-line); border-radius:0; cursor:pointer; }
#communityApp .dx-lang-btn:hover { color:#fff; border-color:#5a5a66; }
#communityApp .dx-lang-btn.active { color:#fff; background:var(--dx-red); border-color:var(--dx-red); }
#communityApp .dx-news-body ul, #communityApp .dx-news-body ol { margin:6px 0 10px; padding-left:22px; color:#d6d6de; line-height:1.6; }
#communityApp .dx-news-body li { margin:3px 0; }
#communityApp .dx-news-body li::marker { color:var(--dx-red); }
#communityApp .dx-news-body .dx-pn-lead { font-size:17px; color:#fff; }
#communityApp .dx-pn-table { overflow-x:auto; margin:8px 0 14px; }
#communityApp .dx-pn-table table { width:100%; border-collapse:collapse; font-size:15px; }
#communityApp .dx-pn-table th { text-align:left; padding:8px 12px; font-family:var(--dx-label); letter-spacing:.08em; text-transform:uppercase; color:#fff; background:var(--dx-ink-3); border-bottom:2px solid var(--dx-red); }
#communityApp .dx-pn-table td { padding:7px 12px; color:#d6d6de; border-bottom:1px solid var(--dx-line); }
#communityApp .dx-pn-table td:last-child { color:#fff; font-weight:600; }
#communityApp .dx-pn-changes { display:grid; gap:10px; margin:8px 0 14px; }
#communityApp .dx-pn-changes > div { padding:12px 14px; background:var(--dx-ink-2); border:1px solid var(--dx-line); }
#communityApp .dx-pn-changes b { color:#fff; }
#communityApp .dx-pn-changes p { margin:6px 0 0; }
#communityApp .dx-pn-changes ul { margin:6px 0 0; }
#communityApp .dx-pn-tag { display:inline-block; margin-right:10px; padding:2px 8px; font-family:var(--dx-label); font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:#fff; vertical-align:2px; }
#communityApp .dx-pn-tag.is-buff { background:#1f7a3d; }
#communityApp .dx-pn-tag.is-mixed { background:#8a6a12; }
#communityApp .dx-pn-tag.is-removed { background:#55555f; }
#communityApp .dx-news-body .dx-pn-warn { padding:12px 14px; border-left:3px solid var(--dx-red); background:rgba(232,35,42,.08); }
#communityApp .dx-news-image { display:block; width:100%; height:auto; margin:6px 0 10px; border:1px solid var(--dx-line); }

/* ==================== UNTERSEITEN (Ressourcen, Rechtliches) ==================== */
#communityApp.dx-subpage { min-height:0; }
#communityApp .dx-nav a[aria-current="page"] { color:#fff; border-color:var(--dx-red); }
#communityApp .dx-res { padding:clamp(40px,6vw,80px) var(--dx-gutter) 80px; }
#communityApp .dx-res h1 { margin:14px 0 12px; font-size:clamp(52px,8vw,110px); line-height:1.1; }
#communityApp .dx-res-lead { max-width:640px; margin:0 0 30px; color:#d6d6de; font-size:18px; line-height:1.6; }
#communityApp .dx-res-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:16px; }
#communityApp .dx-res-card { display:flex; flex-direction:column; background:var(--dx-ink-2); border:1px solid var(--dx-line); }
#communityApp .dx-res-card figure { display:grid; place-items:center; height:260px; margin:0; padding:16px; background:#060607; border-bottom:1px solid var(--dx-line); }
#communityApp .dx-res-card figure.is-light { background:#e9e9ee; }
#communityApp .dx-res-card figure img { width:auto; height:auto; max-width:100%; max-height:228px; object-fit:contain; box-shadow:0 10px 30px rgba(0,0,0,.4); }
#communityApp .dx-res-card > div { display:flex; flex-direction:column; gap:8px; flex:1; padding:18px 20px 20px; }
#communityApp .dx-res-card h2 { margin:0; font-size:26px; line-height:1.15; }
#communityApp .dx-res-card p { margin:0 0 6px; color:#c2c2cc; line-height:1.5; }
#communityApp .dx-res-card .dx-res-files { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin-top:auto; }
#communityApp .dx-res-card .dx-btn { justify-content:space-between; width:100%; min-width:0; padding:0 18px; font-size:15px; }
#communityApp .dx-res-card .dx-btn small { font-family:var(--dx-body); font-weight:400; letter-spacing:0; text-transform:none; opacity:.75; }
#communityApp .dx-res-note { margin-top:34px; color:var(--dx-muted); font-size:14px; }

/* Unterseiten laden style.css nicht: gleiche Box-Berechnung wie auf der Startseite */
#communityApp, #communityApp *, #communityApp *::before, #communityApp *::after { box-sizing: border-box; }

/* ==================== FENSTER: NUR DER INHALT SCROLLT ==================== */
/* Seite im Hintergrund sperren, solange ein Fenster offen ist (Platz der Scrollleiste bleibt, nichts springt) */
html:has(dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
/* Kopf (Titel, ✕) bleibt stehen, nur der Inhalt scrollt, ohne helle Scrollleiste */
#communityApp .dx-apply[open] { display: flex; flex-direction: column; overflow: hidden; }
#communityApp .dx-apply-head { flex: none; }
#communityApp .dx-apply-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
#communityApp .dx-apply-body::-webkit-scrollbar { display: none; }

/* ==================== PODCAST ==================== */
#communityApp .dx-pod-ep { max-width: 900px; min-width: 0; }
#communityApp .dx-pod-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 22px 0 24px; border-bottom: 1px solid var(--dx-line); }
#communityApp .dx-pod-head h2 { margin: 12px 0 10px; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.12; }
#communityApp .dx-pod-source { margin: 0; color: #d6d6de; line-height: 1.6; }
#communityApp .dx-pod-source span { color: var(--dx-muted); font-size: 15px; }
#communityApp .dx-pod-block { padding: 26px 0 0; }
#communityApp .dx-pod-block h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.15; }
#communityApp .dx-pod-block p { margin: 0 0 14px; color: #d6d6de; font-size: 17px; line-height: 1.7; }
#communityApp .dx-pod-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
#communityApp .dx-pod-list li { padding: 10px 14px; background: var(--dx-ink-2); border-left: 3px solid var(--dx-red); color: #e4e4ea; line-height: 1.5; }
#communityApp .dx-pod-insights { display: grid; gap: 12px; }
#communityApp .dx-pod-insights > div { padding: 16px 18px; background: var(--dx-ink-2); border: 1px solid var(--dx-line); }
#communityApp .dx-pod-insights h4, #communityApp .dx-pod-chapter h4 { margin: 0 0 6px; font-family: var(--dx-label); font-weight: 700; font-size: 19px; letter-spacing: .03em; color: #fff; }
#communityApp .dx-pod-insights p { margin: 0; font-size: 16px; }
#communityApp .dx-pod-full > .dx-btn-lg { width: 100%; }
#communityApp .dx-pod-hint { color: var(--dx-muted) !important; font-size: 15px !important; }
#communityApp .dx-pod-chapter { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--dx-line); }
#communityApp .dx-pod-time { align-self: start; padding: 6px 8px; text-align: center; font-family: var(--dx-label); font-weight: 700; font-size: 16px; letter-spacing: .04em; color: #fff; background: var(--dx-red); }
#communityApp .dx-pod-time:hover { background: #fff; color: var(--dx-red-deep); }
#communityApp .dx-pod-chapter p { margin: 0; font-size: 16.5px; }
#communityApp .dx-pod-chapters > .dx-btn { margin-top: 18px; }
#communityApp .dx-quiz { margin-top: 30px; padding: 0; background: var(--dx-ink-2); border: 1px solid var(--dx-line); }
#communityApp .dx-quiz summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--dx-display); font-size: 26px; text-transform: uppercase; }
#communityApp .dx-quiz summary::-webkit-details-marker { display: none; }
#communityApp .dx-quiz summary small { font-family: var(--dx-label); font-weight: 700; font-size: 14px; letter-spacing: .12em; color: var(--dx-muted); }
#communityApp .dx-quiz-body { padding: 0 20px 20px; }
#communityApp .dx-quiz-q { margin: 0 0 18px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--dx-line); }
#communityApp .dx-quiz-q legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 17px; line-height: 1.5; color: #fff; }
#communityApp .dx-quiz-q button { display: flex; gap: 12px; width: 100%; margin: 0 0 6px; padding: 10px 12px; text-align: left; color: #d6d6de; background: var(--dx-ink); border: 1px solid #383842; border-radius: 0; font: 400 15.5px var(--dx-body); cursor: pointer; }
#communityApp .dx-quiz-q button b { flex: none; width: 18px; color: var(--dx-red); }
#communityApp .dx-quiz-q button:hover:not(:disabled) { border-color: #fff; color: #fff; }
#communityApp .dx-quiz-q button:disabled { cursor: default; }
#communityApp .dx-quiz-q button.is-right { border-color: #23a55a; color: #fff; background: rgba(35,165,90,.15); }
#communityApp .dx-quiz-q button.is-wrong { border-color: var(--dx-red); color: #fff; background: rgba(233,35,36,.15); }
#communityApp .dx-quiz-result { margin: 8px 0 0 !important; font-size: 15px !important; }
#communityApp .dx-quiz-score { font-family: var(--dx-display); font-size: 30px !important; color: #fff !important; }
@media (max-width: 560px) {
  #communityApp .dx-pod-chapter { grid-template-columns: 1fr; gap: 8px; }
  #communityApp .dx-pod-time { justify-self: start; }
}

/* Podcast: Text links, Video rechts (mitlaufend) */
#communityApp .dx-pod-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(24px, 3vw, 48px); align-items: start; }
#communityApp .dx-pod-player { position: sticky; top: 96px; order: 2; }
#communityApp .dx-pod-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--dx-line); border-top: 3px solid var(--dx-red); }
#communityApp .dx-pod-frame iframe, #communityApp .dx-pod-frame > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#communityApp .dx-pod-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; background: radial-gradient(80% 80% at 50% 40%, #2a070a 0%, #060607 70%); }
#communityApp .dx-pod-consent img { width: 56px; height: auto; }
#communityApp .dx-pod-consent p { margin: 0; max-width: 320px; color: var(--dx-muted); font-size: 13px; line-height: 1.45; }
#communityApp .dx-pod-consent a { color: #fff; text-decoration: underline; }
#communityApp .dx-pod-player-note { margin: 10px 0 0; color: var(--dx-muted); font-size: 14px; line-height: 1.5; }
#communityApp .dx-pod-time { cursor: pointer; }
@media (max-width: 1100px) {
  #communityApp .dx-pod-layout { grid-template-columns: 1fr; }
  #communityApp .dx-pod-player { position: sticky; top: 64px; z-index: 5; order: -1; padding: 8px 0; background: var(--dx-ink); }
  #communityApp .dx-pod-player-note { display: none; }
}

/* Ausgeblendete Elemente bleiben ausgeblendet, auch wenn ein Button-Stil display setzt */
#communityApp [hidden] { display: none !important; }
#communityApp .dx-pod-full > .dx-btn-lg { margin-bottom: 8px; }
#communityApp .dx-pod-chapters > h3 { margin-top: 6px; }

/* Mitlesen: aktueller Abschnitt */
#communityApp .dx-pod-chapter { transition: background .25s, box-shadow .25s; scroll-margin-top: 120px; }
#communityApp .dx-pod-chapter.is-active { background: rgba(233,35,36,.1); box-shadow: inset 4px 0 0 var(--dx-red); padding-left: 14px; padding-right: 10px; }
#communityApp .dx-pod-chapter.is-active h4 { color: var(--dx-red); }
#communityApp .dx-pod-chapter.is-active p { color: #fff; }
#communityApp .dx-pod-chapter.is-active .dx-pod-time { background: #fff; color: var(--dx-red-deep); }
#communityApp .dx-pod-follow { width: 100%; margin-top: 10px; }
@media (max-width: 1100px) {
  #communityApp .dx-pod-chapter { scroll-margin-top: 320px; }
  #communityApp .dx-pod-follow { margin-top: 6px; }
}

/* Ressourcen: komplettes Paket */
#communityApp .dx-res-package { margin: -8px 0 26px; }
#communityApp .dx-res-package .dx-btn small { margin-left: 10px; font-family: var(--dx-body); font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .85; }
@media (max-width: 560px) { #communityApp .dx-res-package .dx-btn { flex-wrap: wrap; height: auto; padding: 10px 16px; } }

/* Ressourcen: Anleitung Wallpaper Engine */
#communityApp .dx-res-howto { margin: 0 0 8px; padding-left: 20px; color: #c2c2cc; font-size: 14.5px; line-height: 1.55; }
#communityApp .dx-res-howto b { color: #fff; }
