/* Projektbezogene Discord-Links ohne gueltige Einladung ausblenden. */
[hidden] { display: none !important; }

/* PixelLife Community additions – IIS-compatible, no external dependencies */
[hidden] { display: none !important; }
:root { --gold: #dfa96c; }
body { overflow-x: hidden; }
.pl-skip { position: absolute; left: 8px; top: -80px; z-index: 300; background: #fff; color: #111; padding: 10px 16px; border-radius: 8px; }
.pl-skip:focus { top: 8px; }
.pl-header .brand small { font-size: .55rem; color: #9195a3; vertical-align: middle; letter-spacing: .22em; margin-left: 3px; }
.pl-header .navbar { height: 78px; }
.pl-header .brand { white-space: nowrap; }
.pl-header .nav-links { margin-left: 24px; }
.pl-header .nav-links a { padding: 10px 11px; font-size: .86rem; }
.pl-nav-discord { border-radius: 10px; }
.pl-accent { color: var(--primary-2); }
.pl-footer { position: relative; border-top: 1px solid rgba(255,255,255,.11); }
.pl-footer .footer-grid { padding-block: 56px; }
.pl-footer .footer-brand { align-self: start; }
.pl-footer .footer-title { margin-bottom: 7px; }
.pl-footer .footer-small { margin-bottom: 4px; }
.pl-footer .footer-links a { width: max-content; }
.pl-eyebrow,.pl-overline { text-transform: uppercase; font-size: .75rem; letter-spacing: .22em; font-weight: 800; color: #ff8a98; }
.pl-eyebrow { display: inline-flex; align-items: center; gap: 11px; }
.pl-dot { display: inline-block; width: 7px; height: 7px; background: #fa3d5d; border-radius: 50%; box-shadow: 0 0 15px #d82d4c; }
.pl-landing-intro { position: relative; min-height: 615px; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.pl-landing-intro::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #0f1018 4%, rgba(15,16,24,.92) 36%, rgba(15,16,24,.48) 72%, rgba(15,16,24,.55)), url("/assets/hintergrund1.png") center 40% / cover no-repeat; transform: scale(1.012); }
.pl-landing-intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 16% 50%,rgba(186,20,49,.14),transparent 48%), linear-gradient(0deg,var(--bg),transparent 30%); }
.pl-intro-content { padding: 98px 0 96px; }
.pl-intro-content h1 { font-size: clamp(3.5rem, 7.4vw, 7.7rem); line-height: .98; margin-top: 25px; max-width: 920px; letter-spacing: -.045em; }
.pl-intro-content > p { color: #ccd0dc; font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.65; max-width: 630px; margin: 27px 0 29px; }
.pl-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-intro-actions .btn,.pl-world-actions .btn { border-radius: 12px; padding: 15px 23px; }
.pl-tiny-proof { margin-top: 26px; font-size: .83rem; color: #a3a8b7; }
.pl-stars { color: #fa5671; letter-spacing: .12em; margin-right: 8px; }
.pl-projects-section { padding: 54px 0 104px; }
.pl-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 34px; }
.pl-section-heading h2, .pl-strip-grid h2, .pl-links-section h2, .pl-dash-section-head h2 { font-size: clamp(2.5rem,4.4vw,4.6rem); letter-spacing: -.028em; line-height: 1.02; margin-top: 13px; }
.pl-section-heading > p { max-width: 345px; color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 0 0 2px; }
.pl-project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.pl-project-card { min-height: 535px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 24px 80px rgba(0,0,0,.36); transition: transform .3s ease, border-color .3s ease; }
.pl-project-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.35); }
.pl-card-art,.pl-card-shade { position: absolute; inset: 0; z-index: -2; }
.pl-card-art { background-position: center; background-size: cover; transition: transform .6s ease; }
.pl-project-card:hover .pl-card-art { transform: scale(1.055); }
.pl-five .pl-card-art { background-image: url("/assets/hintergrund1.png"); }
.pl-west .pl-card-art { background-image: url("/assets/lagerfeuer.jpg"); }
.pl-card-shade { z-index: -1; background: linear-gradient(180deg,rgba(9,10,15,.38) 0%,rgba(9,10,15,.05) 28%,rgba(9,10,15,.97) 93%); }
.pl-west .pl-card-shade { background: linear-gradient(180deg,rgba(11,9,8,.5) 0%,rgba(32,17,8,.1) 28%,rgba(17,13,12,.98) 94%); }
.pl-card-inner { height: 100%; min-height: 535px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px 28px 30px; }
.pl-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pl-game-label { color: #e4e7ee; font-size: .7rem; letter-spacing: .13em; font-weight: 800; }
.pl-bubble { display: inline-block; font-weight: 800; font-size: .7rem; letter-spacing: .14em; padding: 7px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; background: rgba(0,0,0,.26); }
.pl-card-bottom { max-width: 440px; }
.pl-project-status { font-size: .78rem; color: #e9e9ec; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: rgba(16,18,23,.75); border: 1px solid rgba(255,255,255,.19); }
.pl-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9ca2b2; }
.pl-project-status.pl-is-online .pl-status-dot { background: #35d99f; box-shadow: 0 0 13px #26ce8e; }
.pl-project-status.pl-is-unconfigured .pl-status-dot { background: var(--gold); }
.pl-card-bottom h3 { font-size: clamp(3.3rem,5.1vw,5.3rem); margin-top: 20px; letter-spacing: -.02em; line-height: .88; }
.pl-card-bottom h3 span { color: #ff536f; }
.pl-west .pl-card-bottom h3 span { color: #ffcb86; }
.pl-card-bottom > p { line-height: 1.62; color: #c6c7cb; max-width: 410px; font-size: .96rem; margin: 18px 0 24px; }
.pl-card-link { display: flex; width: 100%; justify-content: space-between; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 14px 17px; border-radius: 10px; font-weight: 800; }
.pl-card-link:hover { background: rgba(255,255,255,.18); }
.pl-west .pl-card-link { background: rgba(207,153,88,.18); border-color: rgba(220,162,98,.38); }
.pl-west .pl-card-link:hover { background: rgba(220,162,98,.28); }
.pl-card-link span { font-size: 1.25rem; }
.pl-community-strip { border-top: 1px solid var(--border); background: linear-gradient(135deg,#1b141d,#12131a 70%); padding: 86px 0 96px; }
.pl-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.pl-strip-grid h2 { margin-top: 17px; }
.pl-strip-text p { color: #bdc1cf; line-height: 1.75; font-size: 1.08rem; margin: 0 0 26px; }
.pl-strip-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-strip-actions .btn { border-radius: 10px; }
.pl-section { background: #14151c; }
.pl-world-hero { isolation: isolate; position: relative; overflow: hidden; min-height: 625px; display: flex; align-items: center; }
.pl-world-hero::before,.pl-world-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; }
.pl-world-five::before { background: linear-gradient(90deg,#101119 3%,rgba(16,17,25,.82) 45%,rgba(16,17,25,.42) 90%), url("/assets/hintergrund1.png") center 47% / cover; }
.pl-world-redm::before { background: linear-gradient(90deg,#17120e 3%,rgba(20,14,10,.8) 44%,rgba(20,14,10,.3) 90%), url("/assets/lagerfeuer.jpg") center 52% / cover; }
.pl-world-hero::after { z-index: -1; background: linear-gradient(0deg,#14151c,transparent 34%); }
.pl-world-hero-content { padding: 68px 0 78px; }
.pl-breadcrumb { color: #afb5c5; display: inline-block; font-size: .85rem; font-weight: 600; margin-bottom: 38px; }
.pl-breadcrumb:hover { color: white; }
.pl-world-hero h1 { font-size: clamp(3.8rem,8vw,7.3rem); letter-spacing: -.04em; line-height: .98; margin: 22px 0 26px; }
.pl-world-slogan { color: #f5e7e9; font-size: 1.1rem; font-weight: 700; max-width: 670px; line-height: 1.45; }
.pl-world-lead { color: #c7cbd4; max-width: 675px; font-size: 1.08rem; line-height: 1.72; margin-top: 12px; }
.pl-world-actions { display: flex; gap: 12px; margin: 25px 0; flex-wrap: wrap; }
.pl-world-status { background: rgba(0,0,0,.5); }
.pl-amber { color: #f0c18c; }
.pl-amber .pl-dot { background: var(--gold); box-shadow: 0 0 13px var(--gold); }
.pl-gold-text { color: #f1c083; }
.pl-gold-btn { background: linear-gradient(135deg,#946038,#cc9855) !important; box-shadow: 0 0 32px -11px rgba(204,152,85,.7) !important; }
.pl-links-section { padding: 72px 0 92px; }
.pl-links-section h2 { margin-bottom: 30px; }
.pl-tile-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.pl-info-tile { position: relative; display: flex; flex-direction: column; align-items: start; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(140deg,#23242c,#191a22); padding: 25px; border-radius: 15px; min-height: 225px; transition: transform .2s,border-color .2s; }
a.pl-info-tile:hover { transform: translateY(-3px); border-color: rgba(255,90,120,.4); }
.pl-tile-icon { color: #ff677b; font-size: .72rem; font-weight: 900; letter-spacing: .1em; margin-bottom: 31px; }
.pl-info-tile strong { font-size: 1.22rem; color: #fff; margin-bottom: 10px; }
.pl-info-tile > span:not(.pl-tile-icon) { font-size: .89rem; color: var(--muted); line-height: 1.5; }
.pl-info-tile b { position: absolute; top: 20px; right: 22px; font-size: 1.2rem; }
.pl-redm-intro { background: linear-gradient(160deg,#1b1716,#111216); }
.pl-redm-boxes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.pl-redm-intro .pl-info-tile { min-height: 214px; }
.pl-redm-intro .pl-tile-icon { color: var(--gold); }
.pl-redm-connect { border: 1px solid rgba(233,177,104,.26); border-radius: 16px; padding: 30px; margin-top: 28px; background: #241b16; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.pl-redm-connect h3 { font-size: 1.65rem; }
.pl-update-card { border: 1px solid var(--border); background: var(--card); border-radius: 14px; padding: 23px; min-height: 173px; }
.pl-update-date { color: #e67f90; font-size: .8rem; }
.pl-update-card h3 { margin-top: 10px; font-size: 1.3rem; line-height: 1.1; }
.pl-update-card p { color: var(--muted); line-height: 1.6; }
.pl-dashboard-heading { padding: 45px 0 55px; background: radial-gradient(ellipse at 70% 25%,rgba(210,30,55,.11),transparent 42%); border-bottom: 1px solid var(--border); }
.pl-dashboard-heading .pl-breadcrumb { margin-bottom: 35px; }
.pl-dashboard-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 15px; }
.pl-dashboard-title h1 { font-size: clamp(3rem,5.8vw,5.4rem); }
.pl-dashboard-title p { color: var(--muted); margin: 17px 0 0; }
.pl-dashboard-main { padding: 43px 0 92px; }
.pl-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.pl-stat { border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 23px 24px; background: linear-gradient(145deg,#23242e,#17181e); display: flex; flex-direction: column; align-items: flex-start; }
.pl-stat > span { color: #bec3d0; font-size: .86rem; }
.pl-stat > strong { font-size: 3.1rem; line-height: 1.2; margin: 8px 0; letter-spacing: -.07em; }
.pl-stat > small { color: #9499a7; font-size: .75rem; }
.pl-dash-section-head { display: flex; align-items: end; justify-content: space-between; margin: 62px 0 23px; gap: 15px; }
.pl-dash-section-head h2 { font-size: clamp(2.2rem,4vw,3.5rem); }
.pl-dash-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pl-dash-project { border: 1px solid var(--border); border-radius: 16px; padding: 26px; min-height: 252px; display: flex; flex-direction: column; justify-content: space-between; }
.pl-dash-five { background: linear-gradient(135deg,rgba(137,31,55,.2),rgba(18,19,26,.97)), url("/assets/hintergrund1.png") right center / cover; }
.pl-dash-west { background: linear-gradient(135deg,rgba(95,58,28,.42),rgba(18,17,19,.95)), url("/assets/lagerfeuer.jpg") right center / cover; }
.pl-dash-project-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-dash-project h3 { font-size: 2.2rem; line-height: 1.04; margin-top: 24px; }
.pl-dash-project p { color: #cccdd1; margin: 10px 0 18px; font-size: .9rem; }
.pl-dash-project-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-dash-project-links .btn { border-radius: 8px; }
.pl-news-title { margin-top: 60px; }
.pl-dashboard-news { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.pl-recent-news { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 11px; padding: 20px; display: flex; flex-direction: column; gap: 7px; }
.pl-recent-news span { color: #e992a2; font-size: .79rem; }
.pl-recent-news strong { font-size: 1rem; }
.pl-editor-section { border-top: 1px solid var(--border); background: #111218; padding: 1px 0 90px; }
.pl-local-badge { font-size: .7rem; letter-spacing: .09em; color: #fac48c; border: 1px solid rgba(240,168,100,.4); padding: 8px 11px; border-radius: 6px; }
.pl-editor-warning { padding: 21px 24px; color: #d8c5af; line-height: 1.65; border: 1px solid rgba(240,179,101,.34); background: rgba(143,92,34,.09); border-radius: 12px; margin-bottom: 21px; }
.pl-editor-warning strong { color: #ffe0ae; }
.pl-editor-warning code { background: rgba(255,255,255,.07); padding: 3px 6px; border-radius: 4px; white-space: normal; overflow-wrap: anywhere; }
.pl-editor-panel { background: #1c1d26; border: 1px solid var(--border); border-radius: 16px; padding: 30px; }
.pl-editor-toolbar { display: flex; gap: 18px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.pl-editor-toolbar h3,.pl-editor-panel section h3 { font-size: 1.9rem; }
.pl-editor-toolbar p,.pl-editor-helper { color: var(--muted); line-height: 1.5; }
.pl-editor-toolbar p { margin: 9px 0 0; }
.pl-editor-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-editor-buttons .btn,.pl-editor-panel .btn { border-radius: 8px; }
.pl-editor-message { color: #bbf7d0; min-height: 1.4em; margin: 14px 0 7px; font-size: .9rem; }
.pl-editor-message.pl-error { color: #ff9eab; }
.pl-editor-panel fieldset { padding: 21px 0 20px; margin: 0; border: 0; border-bottom: 1px solid var(--border); }
.pl-editor-panel legend { font-size: 1.12rem; color: #fff; font-weight: 800; padding-bottom: 5px; }
.pl-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.pl-editor-panel label { display: flex; flex-direction: column; gap: 8px; font-size: .83rem; font-weight: 700; color: #c7cbd4; margin: 12px 0; }
.pl-editor-panel input,.pl-editor-panel select,.pl-editor-panel textarea { display: block; width: 100%; color: #f8f8fa; background: #11121a; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 12px 13px; font: inherit; font-size: .91rem; resize: vertical; }
.pl-editor-panel input:focus,.pl-editor-panel select:focus,.pl-editor-panel textarea:focus { outline: 2px solid rgba(255,92,113,.65); outline-offset: 1px; }
.pl-editor-panel input::placeholder { color: #797f90; }
.pl-editor-panel select option { background: #171820; }
.pl-editor-divider { border-top: 1px solid var(--border); margin: 28px 0; }
.pl-managed-news { border-top: 1px solid var(--border); margin-top: 27px; padding-top: 13px; display: grid; gap: 7px; }
.pl-managed-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); border-radius: 9px; }
.pl-managed-row > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pl-managed-row small { color: #a5aabc; }
.pl-managed-row strong { font-size: .89rem; overflow-wrap: anywhere; }
.pl-delete-btn { cursor: pointer; border-radius: 7px; color: #ffafb7; padding: 9px; background: #3a1e29; border: 1px solid #704052; }
.pl-delete-btn:hover { background: #542336; }
.pl-json-details { margin-top: 29px; padding-top: 22px; border-top: 1px solid var(--border); }
.pl-json-details summary { cursor: pointer; color: #fff; font-weight: 800; font-size: 1.02rem; line-height: 1.5; }
.pl-json-details summary span { display: block; color: var(--muted); font-size: .82rem; font-weight: normal; margin-left: 19px; }
#pl-raw-json { font: .84rem/1.55 Consolas, monospace; min-height: 300px; tab-size: 2; }
@media (max-width: 1080px) {
 .pl-header .nav-links { margin-left: 8px; }
 .pl-header .nav-links a { padding: 9px 7px; }
 .pl-header .brand small { display: none; }
}
@media (max-width: 980px) {
 .pl-header .nav-links { display: none; }
 .pl-header .menu-btn { display: block; margin-left: 5px; }
 .pl-header .navbar { justify-content: space-between; }
 .pl-header .nav-actions { margin-left: auto; }
 .pl-header .mobile-menu nav { display: grid; }
 .pl-project-grid { gap: 14px; }
 .pl-card-inner { padding: 22px; }
 .pl-tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
 .pl-landing-intro { min-height: 530px; }
 .pl-intro-content { padding: 65px 0 80px; }
 .pl-intro-content h1 { font-size: clamp(3.3rem,10vw,5rem); }
 .pl-projects-section { padding: 43px 0 68px; }
 .pl-section-heading { display: block; }
 .pl-section-heading > p { margin-top: 17px; max-width: 100%; }
 .pl-project-grid,.pl-strip-grid,.pl-redm-boxes,.pl-dash-projects,.pl-dashboard-news { grid-template-columns: 1fr; }
 .pl-project-card,.pl-card-inner { min-height: 500px; }
 .pl-strip-grid { gap: 23px; }
 .pl-community-strip { padding: 62px 0; }
 .pl-world-hero { min-height: 540px; }
 .pl-world-hero h1 { font-size: clamp(3.3rem,9vw,5.5rem); }
 .pl-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .pl-dash-section-head { align-items: flex-start; flex-direction: column; }
 .pl-dashboard-title { flex-direction: column; align-items: flex-start; }
 .pl-form-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
 .pl-nav-discord { display: none; }
 .pl-header .brand small { display: inline; }
 .pl-intro-actions .btn,.pl-world-actions .btn { width: 100%; }
 .pl-card-bottom h3 { font-size: 3.7rem; }
 .pl-tile-grid { grid-template-columns: 1fr; }
 .pl-editor-panel { padding: 17px; }
 .pl-summary-grid { gap: 8px; }
 .pl-stat { padding: 16px; }
 .pl-stat > strong { font-size: 2.6rem; }
 .pl-card-inner { padding: 19px; }
 .pl-dash-project { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
 .pl-project-card,.pl-card-art,.pl-info-tile { transition: none !important; }
}

.pl-redm-rule-link { margin-top: 26px; background: rgba(217,154,86,.06); border: 1px solid rgba(225,167,107,.25); border-radius: 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; flex-wrap: wrap; }
.pl-redm-rule-link h3 { font-size: 1.8rem; margin: 12px 0; }
.pl-redm-rule-link p { color: var(--muted); line-height: 1.5; margin: 0; }
.pl-rule-card { border: 1px solid var(--border); background: var(--card); border-radius: 12px; margin-bottom: 12px; }
.pl-rule-card summary { cursor: pointer; font-weight: 800; font-size: 1.14rem; padding: 23px; }
.pl-rule-card > div { color: #cbd0db; border-top: 1px solid var(--border); line-height: 1.7; padding: 24px; }
