/* Expanded editable community features. Colors inherit from the Nachtaktiven design. */
.modern-profile{--profile-accent:#b56aff}.modern-profile.accent-blue{--profile-accent:#5398ff}.modern-profile.accent-green{--profile-accent:#49daaa}.modern-profile.accent-rose{--profile-accent:#ff6eac}.modern-profile.accent-amber{--profile-accent:#edbf66}.modern-profile.accent-cyan{--profile-accent:#4ed5df}
.profile-cover{position:relative;overflow:hidden;border:1px solid color-mix(in srgb,var(--profile-accent) 45%,#331c46);border-radius:18px 18px 0 0;min-height:190px;background:radial-gradient(ellipse at 84% 20%,color-mix(in srgb,var(--profile-accent) 40%,transparent),transparent 50%),linear-gradient(115deg,#261439,#120b21);padding:32px;display:flex;align-items:flex-end}.profile-cover:before{content:'✦';position:absolute;right:6%;top:-10%;font-size:230px;color:#ffffff09;transform:rotate(13deg);pointer-events:none}.profile-cover-info{position:relative}.profile-cover h1{font-size:clamp(30px,4vw,47px);margin:5px 0}.profile-cover p{font-size:16px;color:#d5c5e4;margin:5px 0}.profile-identity{border:1px solid #49345d;border-top:0;border-radius:0 0 17px 17px;background:#1b1128;display:flex;align-items:center;gap:20px;padding:15px 22px;margin-bottom:20px;flex-wrap:wrap}.profile-identity .avatar.big{border:3px solid var(--profile-accent);box-shadow:0 0 22px color-mix(in srgb,var(--profile-accent) 35%,transparent);margin-top:-45px;z-index:1;background:#35204c}.profile-meta{display:grid;gap:6px;flex:1}.profile-meta strong{font-size:18px;color:#e5d3f5}.profile-online{font-size:12px;color:#b3a0bf}.profile-online .status-dot{display:inline-block;vertical-align:middle;width:9px;height:9px;margin-right:3px}.profile-modern-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-modern-grid .panel{min-height:210px}.profile-modern-grid .armory-card{grid-column:1/-1;min-height:unset}.about-text{white-space:pre-wrap;word-break:break-word;line-height:1.8;color:#dbcced}.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.social-card{display:flex;gap:10px;align-items:center;background:#271733;border:1px solid #4b3061;border-radius:12px;padding:12px;min-width:0}.social-symbol{display:grid;place-items:center;width:39px;height:39px;background:#66308c50;border:1px solid #8456a1;border-radius:11px;color:#e4baff;font-size:18px;font-weight:bold}.social-card>div{min-width:0}.social-card small{display:block;color:#ab97be;margin-bottom:5px}.social-card strong{font-size:12px;display:block;overflow-wrap:anywhere}.social-card a,.armory-link{color:#dfa5ff;text-decoration:none}.social-card a:hover,.armory-link:hover{text-decoration:underline}.verified-line{font-size:12px;color:#7dddb7;margin-top:13px}.armory-link{display:inline-block;padding:12px 16px;border:1px solid #7c4599;border-radius:9px;background:#4224594d;margin:5px 8px 5px 0}.profile-editor{margin-top:22px}.profile-editor h2{margin:0}.profile-editor h3{margin:0}.social-entry{display:grid;grid-template-columns:180px 1fr 48px;align-items:end;gap:10px;padding:11px 0;border-bottom:1px solid #49305c}.social-entry button{height:42px}.custom-page-content{font-size:16px;line-height:1.9;white-space:normal;overflow-wrap:anywhere;min-height:240px}
.tree-title{align-items:center}.tree-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:18px;align-items:start}.tree-layout>div{display:grid;gap:18px}.tree-stage{background:radial-gradient(ellipse at 50% 35%,#50227380,transparent 55%),#160e24;text-align:center;border-color:#663a83}.tree-stage .tree-image{display:block;margin:0 auto;width:min(100%,460px);height:300px;object-fit:contain;filter:drop-shadow(0 15px 25px #06050a)}.tree-progress-head{display:flex;justify-content:space-between;align-items:center;margin-top:12px;color:#f1d8ff}.tree-progress{height:15px;border-radius:30px;background:#100d1c;border:1px solid #6e4388;overflow:hidden;margin:12px 0}.tree-progress span{display:block;height:100%;background:linear-gradient(90deg,#7e35bd,#d792ff);border-radius:30px;transition:width .3s}.tree-stage p{color:#bbaacb}.tree-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.tree-actions .button,.tree-trade .button{min-height:43px}.tree-block{display:grid;gap:13px}.tree-trade{display:flex;gap:9px;align-items:center}.tree-trade select,.tree-trade input,.tree-link-form input{background:#100b1d;border:1px solid #654280;padding:11px;border-radius:9px;color:white;min-width:0}.tree-trade select{flex:1}.tree-trade input{width:90px}.tree-wallet .panel-title{margin-bottom:16px}.tree-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tree-stats>div{border:1px solid #53386b;border-radius:11px;background:#231434;padding:14px}.tree-stats small{display:block;color:#b69ac8;font-size:12px}.tree-stats strong{font-size:23px;color:#f6e8ff}.tree-upgrade{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #3d284d}.tree-upgrade>div{display:grid;gap:5px}.tree-upgrade small{font-size:11px;color:#b6a3ca}.tree-upgrade button{flex:0 0 105px}.tree-lower{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.tree-leader{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #432b5a}.tree-leader span{color:#baa9c6;font-size:12px}.tree-achievement{border:1px solid #4b3263;border-radius:8px;padding:10px;margin-bottom:8px;background:#23172f}.connect-panel{max-width:720px}.tree-how{display:flex;gap:18px;align-items:start;margin-bottom:22px}.tree-how>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;flex-shrink:0;background:#6b2b9557;color:#f2d7ff;border:1px solid #9152b3;font-weight:bold}.tree-how p{margin-top:6px}.tree-link-form{display:flex;gap:12px;margin-bottom:13px}.tree-link-form input{flex:1;text-transform:uppercase;letter-spacing:1px;font-family:Consolas,monospace;font-weight:700}.tree-lower .panel{min-height:200px}@media(max-width:1050px){.tree-layout{grid-template-columns:1fr}.tree-lower{grid-template-columns:1fr}}@media(max-width:700px){.profile-modern-grid{grid-template-columns:1fr}.profile-modern-grid .armory-card{grid-column:auto}.social-grid{grid-template-columns:1fr}.social-entry{grid-template-columns:1fr 1fr 44px}.tree-actions{grid-template-columns:1fr 1fr}.tree-trade{flex-wrap:wrap}.tree-title .button{margin-top:10px}.tree-link-form{flex-direction:column}}

/* BaumBot UI v2: Reiter statt einer endlosen, zweispaltigen Seite.
   Alle Selektoren sind auf bt-* begrenzt, damit Chat/Profile/Admin unverändert bleiben. */
.bt-root{max-width:1160px;width:100%;margin:0 auto;color:#f1e8fa}
.bt-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.bt-header h1{font:500 clamp(29px,3.2vw,42px)/1.16 Georgia,serif;letter-spacing:-.7px;margin:9px 0 10px;color:#fbf3ff}
.bt-head-sub{font-size:.62em;color:#bda5d1;font-weight:400}
.bt-header p{font-size:12px;color:#baa8cd;margin:0;display:flex;align-items:center;gap:8px}
.bt-live-dot{display:inline-block;flex-shrink:0;width:9px;height:9px;border-radius:99px;background:#50ddb0;box-shadow:0 0 0 4px #50ddb01c,0 0 14px #50ddb077}
.bt-refresh{white-space:nowrap;padding:11px 16px;font-size:13px}
.bt-tabs{display:flex;gap:5px;padding:7px;margin-bottom:19px;border:1px solid #503366;border-radius:15px;background:linear-gradient(145deg,#1c1229,#170e24);box-shadow:0 14px 38px #05030a46;overflow-x:auto;scrollbar-color:#63357d transparent;scrollbar-width:thin}
.bt-tabs .bt-tab{position:relative;display:flex;flex:1 0 auto;align-items:center;justify-content:center;gap:7px;background:transparent;border:1px solid transparent;color:#ae9abc;font:600 12px/1.2 'Segoe UI',system-ui,sans-serif;min-height:48px;padding:11px 12px;border-radius:10px;white-space:nowrap;transition:background .17s,color .17s,border-color .17s}
.bt-tabs .bt-tab:hover{color:#f0d8ff;background:#53306a60}
.bt-tabs .bt-tab.is-active{color:#fff;background:linear-gradient(145deg,#853ab8,#61208a);border-color:#d08bff70;box-shadow:0 4px 20px #9a3bdd35}
.bt-tabs .bt-tab:focus-visible{outline:2px solid #dab0ff;outline-offset:-3px}
.bt-tab-icon{font-size:17px;line-height:1}
.bt-badge{background:#a75ddb33;color:#e3c5fc;border:1px solid #9857b65e;font-size:10px;padding:2px 6px;border-radius:8px;line-height:1.2}
.bt-tab.is-active .bt-badge{background:#e5a3ff33;color:#fff}
.bt-tab-content{animation:bt-in .2s ease}
@keyframes bt-in{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.bt-tab-content .panel{background:linear-gradient(155deg,#251635,#170f23 72%);border:1px solid #513167;box-shadow:0 14px 36px #0004}
.bt-home-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);gap:18px;align-items:stretch}
.bt-tree-card{padding:20px 24px 24px;overflow:hidden;text-align:center}
.bt-tree-scene{position:relative;display:grid;place-items:center;height:300px;background:radial-gradient(ellipse at 50% 58%,#6d2b973b,transparent 62%);overflow:hidden;border-bottom:1px solid #4c30634d}
.bt-tree-halo{position:absolute;width:min(80%,310px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#b55cff20,transparent 65%);filter:blur(10px)}
.bt-tree-image{position:relative;width:min(100%,410px);height:290px;object-fit:contain;filter:drop-shadow(0 16px 23px #03010690)}
.bt-growth{margin-top:19px}
.bt-growth-label{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#ecdafa;font-size:13px;font-weight:600}
.bt-growth-label b{color:#e3aeff;font-size:15px;font-weight:750}
.bt-progress{height:13px;background:#0c0816;border:1px solid #6e4388;border-radius:99px;overflow:hidden;margin:12px 0 10px}
.bt-progress>span{display:block;height:100%;background:linear-gradient(90deg,#8742d0,#d48dfc);border-radius:inherit;transition:width .3s}
.bt-growth p{color:#ad9bbe;font-size:12px;margin:0 0 19px}
.bt-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bt-action-grid .bt-main-action{min-height:48px;font-weight:700;letter-spacing:.1px;font-size:13px;white-space:normal}
.bt-secondary{background:linear-gradient(125deg,#5f3b79,#492a63)!important;border:1px solid #9a64bc80!important;color:#f5e7ff!important}
.bt-ready{box-shadow:0 0 20px #b456ff55}
.bt-aside{display:grid;grid-template-rows:auto 1fr;gap:17px}
.bt-aside-card{padding:23px!important}
.bt-aside-title{display:flex;align-items:center;justify-content:space-between;font:18px Georgia,serif;color:#e5caff;margin-bottom:19px}
.bt-mini-stat{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #6347774d;padding:14px 0;font-size:13px}
.bt-mini-stat span{color:#c5add3}.bt-mini-stat strong{color:#f4e6ff;font-size:17px;white-space:nowrap}
.bt-inline-link{border:0;background:transparent;color:#dea9ff;font-size:13px;padding:12px 0 0;cursor:pointer;text-align:left;font-weight:700}
.bt-inline-link:hover{color:white;text-decoration:underline}
.bt-inline-link span{margin-left:5px}
.bt-tip{background:radial-gradient(ellipse at 85% 0%,#8446c141,transparent 60%),linear-gradient(155deg,#241434,#150e21)!important}
.bt-tip h3{font:22px Georgia,serif;color:#f5e8ff;margin:14px 0 9px}.bt-tip p{font-size:13px;color:#c4aecf;line-height:1.75;margin:0 0 10px}
.bt-kicker{font:700 10px 'Segoe UI',system-ui,sans-serif;letter-spacing:1.85px;color:#d49cff;text-transform:uppercase}
.bt-panel{padding:29px!important;min-height:360px}
.bt-section-head{display:flex;justify-content:space-between;align-items:start;gap:12px;border-bottom:1px solid #633f7854;padding-bottom:21px;margin-bottom:23px}
.bt-section-head h2{font:500 28px Georgia,serif;color:#f6e9ff;margin:7px 0 8px}
.bt-section-head p{font-size:13px;color:#b8a2cb;line-height:1.6;margin:0;max-width:680px}
.bt-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.bt-stat{display:flex;gap:13px;align-items:center;background:#2e1b4066;border:1px solid #5c3972;border-radius:14px;padding:20px 15px;min-width:0}
.bt-stat-icon{font-size:24px;background:#813eb124;border-radius:11px;padding:9px}
.bt-stat>div{min-width:0;display:grid;gap:4px}.bt-stat small{color:#bfa9d0;font-size:11px}.bt-stat strong{font-size:21px;color:white;overflow-wrap:anywhere}.bt-stat-detail{font-size:10px;color:#c8b2dc}
.bt-footer-actions{display:flex;gap:12px;justify-content:flex-start;margin-top:23px;flex-wrap:wrap}
.bt-footer-actions button{min-height:44px}
.bt-trade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bt-inner-card,.bt-upgrade-card,.bt-quest-card{background:#2a183d77;border:1px solid #624076;border-radius:15px;padding:22px;min-width:0}
.bt-inner-icon{font-size:29px;margin-bottom:10px}.bt-inner-card h3{font:22px Georgia,serif;color:#f5e2ff;margin:0 0 8px}.bt-inner-card p{color:#beaaca;font-size:13px;line-height:1.6}
.bt-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.bt-price-grid>div{border:1px solid #5a3c71;border-radius:10px;padding:13px;background:#190f29}.bt-price-grid small{display:block;font-size:11px;color:#c4abd6}.bt-price-grid strong{display:block;font-size:17px;margin-top:4px}
.bt-form-row{display:flex;gap:10px;align-items:end;margin:20px 0}.bt-form-label{display:grid;gap:8px;font-size:12px;font-weight:650;color:#cbb4dd;flex:1;min-width:0}
.bt-form-label input,.bt-form-label select{background:#100a1d;border:1px solid #764997;border-radius:9px;color:#fff;min-height:45px;padding:10px 12px;width:100%;font-size:13px}
.bt-form-number{flex:0 0 99px}.bt-wide{width:100%;min-height:46px;font-size:13px;font-weight:700}
.bt-craft-visual{display:flex;gap:10px;justify-content:space-around;align-items:center;margin:25px 0;padding:17px 10px;border:1px dashed #8856a2;border-radius:11px;background:#160f24;font-size:14px}
.bt-craft-visual span:nth-child(2){color:#cb90f1;font-size:18px}.bt-hint{font-size:11px!important;color:#a790ba!important;margin:13px 0 0!important}
.bt-upgrade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.bt-upgrade-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.bt-upgrade-top>div{display:flex;align-items:center;gap:10px;min-width:0}.bt-upgrade-top h3{font:20px Georgia,serif;color:#f5e7ff;margin:0}.bt-upgrade-emblem{font-size:26px}
.bt-level{font-size:11px;color:#d4acfa;border:1px solid #8c59a3;border-radius:7px;padding:6px 8px;white-space:nowrap}.bt-upgrade-card p{font-size:12px;color:#bba9c9;line-height:1.65;margin:14px 0}
.bt-upgrade-meter{height:8px;background:#10091a;border-radius:99px;overflow:hidden;margin-bottom:19px}.bt-upgrade-meter span{display:block;background:linear-gradient(90deg,#8c3cc3,#c884ed);height:100%}
.bt-reset-zone{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;border:1px solid #6d446f60;border-radius:12px;padding:15px 20px;background:#1b122a}
.bt-reset-zone strong{font-size:13px}.bt-reset-zone p{font-size:11px;margin:5px 0 0;color:#a896bb}
.bt-quest-current{padding:22px;background:linear-gradient(120deg,#432459,#271732);border:1px solid #995cc0;border-radius:13px;margin-bottom:16px}
.bt-quest-current h3{font:22px Georgia,serif;margin:8px 0;color:#f8e5ff}.bt-quest-current p{font-size:12px;color:#c5aedd}.bt-quest-current .bt-progress{margin-bottom:7px}
.bt-quest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.bt-quest-card{display:grid;grid-template-columns:auto 1fr;gap:10px 13px;align-items:start;padding:17px}.bt-quest-card .bt-quest-icon{font-size:21px}.bt-quest-card h3{font:18px Georgia,serif;margin:2px 0 7px}.bt-quest-card p{font-size:12px;line-height:1.5;margin:0 0 10px;color:#c0aacd}.bt-quest-card small{color:#d8b2ed;font-size:11px}.bt-quest-card button{grid-column:1/-1;min-height:39px}.bt-quest-selected{border-color:#bf7bfa}
.bt-achieve-top{display:flex;align-items:center;gap:16px;padding:17px 21px;border-radius:13px;background:linear-gradient(120deg,#482360,#271632);border:1px solid #74478e;margin-bottom:19px}.bt-achieve-medal{font-size:35px}.bt-achieve-top strong{display:block;color:#f5e8ff;font-size:21px}.bt-achieve-top small{display:block;color:#b7a2ca;font-size:12px;margin-top:4px}
.bt-achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.bt-achievement-item{display:flex;gap:12px;align-items:center;min-width:0;padding:16px;border:1px solid #55366d;border-radius:11px;background:#261736}.bt-achievement-item>span{font-size:22px}.bt-achievement-item>div{min-width:0}.bt-achievement-item strong{font-size:13px;font-weight:600;color:#f5e6ff;display:block;overflow-wrap:anywhere}.bt-achievement-item small{font-size:10px;color:#ac93c0;display:block;margin-top:5px}.bt-empty{grid-column:1/-1;padding:25px;color:#b6a0c4;text-align:center}
.bt-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:22px}.bt-pagination .button{padding:8px 17px;min-width:105px}.bt-pagination>span{font-size:12px;color:#c8b3d9}
.bt-leader-table{border:1px solid #56376d;border-radius:13px;overflow:hidden}.bt-leader-head,.bt-leader-row{display:grid;grid-template-columns:minmax(120px,1.5fr) repeat(3,minmax(90px,1fr));align-items:center;gap:14px;padding:14px 18px}.bt-leader-head{background:#462b5e;font-size:11px;letter-spacing:.7px;color:#dec7ec;font-weight:700}.bt-leader-row{border-top:1px solid #503667;font-size:13px;color:#c9b4d8}.bt-leader-row:nth-child(odd){background:#2a193a78}.bt-leader-top{background:#52316555}.bt-leader-name{display:flex;align-items:center;gap:10px;min-width:0}.bt-leader-name b{overflow-wrap:anywhere;font-size:13px;color:#f6ebff}.bt-rank{font-size:16px;min-width:31px;color:#dcb7f8}.bt-leader-row>span:last-child{color:#eac8ff}
.bt-profile-card{display:flex;align-items:center;gap:18px;padding:22px;border-radius:13px;border:1px solid #604277;background:#2d1b4070}.bt-profile-avatar{display:grid;place-items:center;width:75px;height:75px;border-radius:20px;background:#643a8866;font-size:43px}.bt-profile-card h3{font:24px Georgia,serif;margin:6px 0 4px;color:#f9edff}.bt-profile-card p{font-size:12px;color:#bdabcc;margin:0}
.bt-profile-form{display:flex;align-items:end;gap:12px;margin:22px 0}.bt-profile-form button{min-height:45px;white-space:nowrap}
.bt-profile-extras{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #563a6d;padding-top:18px;flex-wrap:wrap}.bt-danger{color:#ef9da9;padding:9px 0}.bt-danger:hover{color:#ffc7cf}
.bt-sync-note{font-size:11px;color:#86729a;margin:15px 0 0;text-align:right}
@media(max-width:1150px){.bt-tabs .bt-tab{padding:10px 12px}.bt-home-grid{grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr)}.bt-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:870px){.bt-home-grid,.bt-trade-grid,.bt-upgrade-grid{grid-template-columns:1fr}.bt-aside{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.bt-achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bt-tabs .bt-tab{flex:0 0 auto}}
@media(max-width:620px){.bt-header{align-items:start}.bt-header h1{font-size:31px}.bt-head-sub{display:block;margin-top:4px}.bt-refresh{padding:9px 10px}.bt-refresh span{display:none}.bt-tabs{margin:0 -2px 16px;padding:6px}.bt-tabs .bt-tab{font-size:11px;min-height:44px;padding:10px}.bt-tab-icon{font-size:16px}.bt-tree-card{padding:14px!important}.bt-tree-scene{height:246px}.bt-tree-image{height:235px}.bt-home-grid{gap:12px}.bt-aside{grid-template-columns:1fr}.bt-aside-card,.bt-panel{padding:17px!important}.bt-quest-grid,.bt-achievement-grid{grid-template-columns:1fr}.bt-stat-grid{gap:9px}.bt-stat{padding:12px;gap:8px}.bt-stat-icon{font-size:18px;padding:7px}.bt-stat strong{font-size:16px}.bt-action-grid{gap:8px}.bt-action-grid .bt-main-action{padding:10px 5px;font-size:12px}.bt-form-row{flex-wrap:wrap}.bt-form-number{flex:0 0 90px}.bt-reset-zone,.bt-profile-form{display:flex;flex-direction:column;align-items:stretch}.bt-leader-head,.bt-leader-row{grid-template-columns:minmax(112px,1.3fr) 66px 66px 85px;gap:7px;padding:12px 8px;font-size:10px}.bt-leader-row span,.bt-leader-row b{font-size:11px}.bt-leader-head{font-size:9px}.bt-pagination{gap:10px}.bt-pagination .button{min-width:90px;padding:8px 11px}}

/* Keep the category buttons visible while scrolling lengthy ranking pages. */
.bt-tabs{position:sticky;top:8px;z-index:8;backdrop-filter:blur(14px);background:#1a1026f3}
.bt-tab-hint{display:none;color:#9179a6;font-size:11px;text-align:right;margin:-9px 0 14px}
@media(max-width:870px){.bt-tab-hint{display:block}}



/* =====================================================================
   DIE NACHTAKTIVEN – VARIANTE B / MIDNIGHT VIOLET
   Premium-Look mit zurückhaltenden Glows, flächigen Panels und ruhigem
   Hintergrund. Reines CSS: BaumBot, Chat und Adminfunktionen unverändert.
   ===================================================================== */
:root {
  --bg: #0d0916;
  --panel: #1c132b;
  --panel2: #211731;
  --panel3: #281a3a;
  --text: #f3ebfc;
  --muted: #b4a4c7;
  --line: #48305e;
  --gold: #c48cf1;
  --gold2: #edcaff;
  --green: #55dba8;
  --shadow: 0 12px 35px rgba(3, 1, 11, .24);
  --radius: 15px;
}
html { background: #0d0916 !important; }
body {
  background: #0d0916 !important;
  color: #f3ebfc;
}
/* Keine mehrfachen Schattierungsmasken über dem Inhalt. */
body::before, body:before { content: none !important; display: none !important; }
.main { background: transparent !important; }

/* Navigation und Identität */
.sidebar {
  background: #110c1d !important;
  border-right: 1px solid #3b2754 !important;
  box-shadow: 6px 0 28px rgba(0,0,0,.11);
}
.sidebar .brand-banner-image {
  filter: drop-shadow(0 0 10px rgba(174,69,252,.27)) !important;
  transition: filter .2s ease;
}
.sidebar .brand-banner-image:hover {
  filter: drop-shadow(0 0 17px rgba(173,69,250,.48)) !important;
}
.brand-banner-caption { color:#cda4e8 !important; }
.nav-label { color:#a58abd !important; }
.nav-btn { border-radius: 10px; transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.nav-btn:hover {
  background: #271738 !important;
  border-color: rgba(162,103,215,.22) !important;
  color:#f6e8ff !important;
}
.nav-btn.active {
  background: #38204e !important;
  border: 1px solid #8654ad !important;
  color: #f5ddff !important;
  box-shadow: inset 3px 0 0 #d29dff, 0 0 18px rgba(150,68,218,.09) !important;
}
.nav-btn.active .nav-icon {color:#dfb5ff !important}
.mini-account {
  background: #1c142a !important;
  border: 1px solid #48325c !important;
  box-shadow: none !important;
}

/* Flächen, Karten und Panels: immer gleichmäßige dunkle Farbe. */
.stat-card,.panel,.member-card,.feature,.profile-banner,
.profile-identity,.social-card,.data-item,
.bt-tab-content .panel,.bt-aside-card,.bt-inner-card,.bt-upgrade-card,
.bt-quest-card,.bt-profile-card,.bt-achievement-item,.bt-leader-table,
.bt-reset-zone,.bt-achieve-top,.bt-quest-current,.bt-tabs {
  background: #1c142a !important;
  border-color: #4a3260 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.19), 0 0 0 1px rgba(196,133,255,.035) !important;
}
.stat-card,.panel,.feature,.member-card,.profile-cover,.profile-identity,
.bt-tab-content .panel,.bt-aside-card,.bt-inner-card,.bt-upgrade-card,.bt-quest-card {
  border-radius: 15px;
}
/* Glow beim Interagieren – nicht als willkürliche Flecken im Hintergrund. */
.member-card:hover,.social-card:hover,.bt-inner-card:hover,
.bt-upgrade-card:hover,.bt-quest-card:hover {
  border-color:#8459ae !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.21),0 0 20px rgba(158,80,216,.10) !important;
}

/* Große Highlights: sehr dezenter, gleichmäßig auslaufender Lichteffekt. */
.hero {
  background: linear-gradient(115deg,#28193d 0%,#211532 55%,#1b142b 100%) !important;
  border:1px solid #654182 !important;
  box-shadow:0 14px 38px rgba(0,0,0,.21),0 0 21px rgba(166,88,230,.075) !important;
}
.hero:after { display:none !important; }
.hero:before { opacity:.22 !important; }
.profile-cover {
  background: linear-gradient(115deg,#322042 0%,#281934 58%,#21152f 100%) !important;
  border-color:color-mix(in srgb,var(--profile-accent,#b56aff) 45%,#3f2957) !important;
  box-shadow: 0 12px 35px rgba(0,0,0,.16), 0 0 20px rgba(158,80,216,.07) !important;
}
.profile-cover:before {opacity:.22 !important;}
.profile-identity {background:#1c142a !important;}
.profile-identity .avatar.big {
  box-shadow: 0 0 0 3px rgba(190,132,241,.11),0 0 23px rgba(179,79,248,.2) !important;
}

/* CTAs: hochwertiger Button-Glow und klare Tastaturfokussierung. */
.button:not(.ghost):not(.danger),
.bt-main-action:not(:disabled) {
  background:linear-gradient(125deg,#cd92f3,#ab64de) !important;
  color:#170d23 !important;
  border:1px solid #deacff !important;
  box-shadow:0 4px 17px rgba(170,76,232,.18) !important;
}
.button:not(.ghost):not(.danger):hover,
.bt-main-action:not(:disabled):hover {
  background:linear-gradient(125deg,#e2b3ff,#b876eb) !important;
  box-shadow:0 5px 23px rgba(177,89,240,.32) !important;
}
.button.ghost,.bt-secondary {
  background: #342147 !important;
  border-color: #684987 !important;
  color: #f2dbff !important;
  box-shadow: none !important;
}
.button.ghost:hover,.bt-secondary:hover {
  background: #422856 !important;
  border-color: #966bc0 !important;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:2px solid #d7a4ff !important;
  outline-offset:3px !important;
}

/* Inputs und kleine UI-Flächen */
.search,.field input,.field textarea,.field select,
.bt-form-label input,.bt-form-label select,
.tree-trade input,.tree-trade select,.tree-link-form input {
  background:#151021 !important;
  border-color:#594071 !important;
  color:#f4eafd !important;
}
.stat-icon,.feature .icon,.gold,.text-button,.panel-title {color:#d7a2ff !important;}
.top-status {background:#153c32b5 !important;border-color:#34795f72 !important;}
.status-dot.online,.dot.online {box-shadow:0 0 10px rgba(72,218,169,.55) !important;}
.eyebrow,.bt-kicker {color:#d5a0ff !important;}

/* BaumBot: ruhiger Spielbereich, trotzdem leuchtende Akzente. */
.bt-tabs {
  background:#181123ef !important;
  border-color:#54366d !important;
  box-shadow:0 12px 30px rgba(0,0,0,.20) !important;
}
.bt-tabs .bt-tab {color:#c3b0d1;}
.bt-tabs .bt-tab:hover {
  background:#322045 !important;
  color:#f1ddff !important;
}
.bt-tabs .bt-tab.is-active {
  background:#6a3592 !important;
  border-color:#ba7eec !important;
  color:white !important;
  box-shadow:0 0 19px rgba(167,77,237,.24) !important;
}
.bt-tip {background:#231730 !important;}
.bt-tree-scene {
  background:#21162f !important;
  border-color:#49305d !important;
}
.bt-tree-halo {opacity:.32 !important;}
.bt-progress,.tree-progress,.bt-upgrade-meter {background:#120d1d !important;}
.bt-progress>span,.tree-progress span,.bt-upgrade-meter span {
  background:linear-gradient(90deg,#a35de1,#dea9ff) !important;
  box-shadow:0 0 10px rgba(186,104,252,.21) !important;
}
.bt-stat,.bt-achievement-item,.bt-price-grid>div,.bt-social-card,
.bt-quest-card,.bt-inner-card,.bt-upgrade-card {
  background:#231932 !important;
  border-color:#52396a !important;
}
.bt-leader-head {background:#352047 !important;}
.bt-leader-row {background:#1c142a !important;border-color:#47335b !important;}
.bt-leader-row:nth-child(odd){background:#22172f !important;}
.bt-leader-row.bt-leader-top {background:#2c1c3d !important;}
.bt-achievement-item:hover {border-color:#8c5cb6 !important;}

/* Adminbar: freundlich integriert, aber vom Inhalt klar getrennt. */
#wf-editor-root .wf-editor-toolbar {
  background:#221630 !important;
  border-color:#8355aa !important;
  box-shadow:0 17px 48px rgba(0,0,0,.35),0 0 22px rgba(182,86,241,.10) !important;
}
#wf-editor-root .wf-editor-dialog {
  background:#251834 !important;
  border-color:#9464bd !important;
  box-shadow:0 17px 48px rgba(0,0,0,.35),0 0 25px rgba(182,86,241,.11) !important;
}
@media (prefers-reduced-motion: reduce) {
  .nav-btn,.sidebar .brand-banner-image,.button,.bt-tabs .bt-tab {transition:none !important;}
}


/* =======================================================================
   DIE NACHTAKTIVEN – FLECKEN-FIX (2026-11-02)
   Ursache: transparente Hauptcontainer und mehrere fixierte/glowende Ebenen
   können im Browser/Remote-Desktop als dunkle rechteckige GPU-Tiles erscheinen.
   Alle großen Container werden nun deckend gezeichnet; kein fixierter
   Hintergrund-Pseudolayer, keine Weichzeichner hinter großen Bereichen.
   Glow nur noch dezent an Interaktions-Elementen.
   ======================================================================= */
:root{--bg:#0d0916;--panel:#1c142a;--panel2:#211730;--panel3:#281a39;--line:#49315c;--gold:#cb92f4;--gold2:#f0ceff;--text:#f3ebfc;--muted:#b5a4c6}
html,body{
  background:#0d0916 !important;
  background-image:none !important;
  background-attachment:scroll !important;
}
html{isolation:auto}
/* Alle Hauptbereiche deckend: darunter können keine alten GPU-Tiles aufscheinen. */
body #app,
body #app > .layout,
body #app > .layout > .main,
body .layout,
body .main{
  background:#0d0916 !important;
  background-image:none !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
body::before,body::after,
#app::before,#app::after,
.layout::before,.layout::after,
.main::before,.main::after{
  content:none !important;
  display:none !important;
  background:none !important;
  filter:none !important;
}
/* Identische, deckende Oberflächen auf allen Seiten. */
.stat-card,.panel,.member-card,.feature,.profile-banner,.profile-cover,
.profile-identity,.social-card,.data-item,.mini-account,
.chat-area,.chat-users,.chat-log,.chat-input,.chat-shell .panel,
.bt-tab-content .panel,.bt-aside-card,.bt-inner-card,.bt-upgrade-card,
.bt-quest-card,.bt-profile-card,.bt-achievement-item,.bt-leader-table,
.bt-reset-zone,.bt-achieve-top,.bt-quest-current,.bt-tabs,.bt-tip{
  background:#1c142a !important;
  background-image:none !important;
  background-blend-mode:normal !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  box-shadow:0 8px 24px rgba(0,0,0,.16),0 0 0 1px rgba(181,112,240,.025) !important;
}
.hero,.profile-cover{
  background:#271938 !important;
  background-image:none !important;
  box-shadow:0 8px 24px rgba(0,0,0,.16),0 0 16px rgba(171,83,237,.065) !important;
}
.hero::before,.hero::after,.profile-cover::before,.profile-cover::after{
  content:none !important;display:none !important;
}
.bt-tree-scene{
  background:#21162e !important;
  background-image:none !important;
  filter:none !important;
}
.bt-tree-halo{display:none !important}
.chat-log,.chat-shell,.chat-area,.chat-users,.chat-input{background:#1c142a !important}
.chat-input input,.field input,.field textarea,.field select,.search,
.bt-form-label input,.bt-form-label select{
  background:#151021 !important;
  background-image:none !important;
  color:#f3ebfc !important;
  border-color:#594071 !important;
}
.empty,.note,.data-item,.details pre,.import-box,.import-box textarea{
  background:#21162e !important;
  background-image:none !important;
  border-color:#503567 !important;
}
.bt-tabs{
  position:sticky;
  background:#1c142a !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.bt-leader-row,.bt-leader-row:nth-child(odd){background:#1c142a !important}
.bt-leader-row.bt-leader-top{background:#271a37 !important}
.bt-leader-head{background:#342245 !important}
.bt-stat,.bt-price-grid>div,.bt-achievement-item,.bt-inner-card,.bt-upgrade-card,.bt-quest-card{
  background:#241931 !important;
  background-image:none !important;
}
.bt-tree-card,.bt-aside-card,.bt-panel{background:#1c142a !important}
/* Akzent-Glow bewusst ausschließlich an aktiven Buttons. */
.nav-btn.active,.bt-tabs .bt-tab.is-active{
  box-shadow:0 0 12px rgba(180,90,250,.15),inset 3px 0 0 rgba(222,163,255,.8) !important;
}
.button:not(.ghost):not(.danger):hover,.bt-main-action:not(:disabled):hover{
  box-shadow:0 0 18px rgba(175,79,233,.24) !important;
}
/* Deaktiviere große dekorative Lichtmasken auf dem Login-Hintergrund. */
.auth-art{
  background:#1b112a !important;
  background-image:none !important;
}
.auth-art::after{display:none !important}
/* Auch in Browsern, die backdrop-filter via GPU verrechnen, durchgehend flach. */
@media (prefers-reduced-transparency: reduce){
 .panel,.bt-tabs,.hero,.profile-cover{backdrop-filter:none !important}
}
/* Die Nachtaktiven – Login-Illustration. Keine JS- oder Backend-Aenderungen. */
.auth-page{background:#0e0917!important}
.auth-art{isolation:isolate;background:#160b23 url('/login-night.png') center 43%/cover no-repeat!important;border-right:1px solid rgba(178,92,231,.42)!important;padding:clamp(28px,4vw,64px)!important}
.auth-art::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(12,6,22,.25) 0%,rgba(12,6,22,.10) 35%,rgba(13,6,23,.66) 67%,rgba(13,6,23,.91) 100%),linear-gradient(90deg,rgba(13,6,23,.36),transparent 75%)}
.auth-art::after{display:none!important}
.auth-art>*{position:relative;z-index:1}
.auth-art .brand{align-self:flex-start;padding:11px 17px!important;border:1px solid rgba(202,125,255,.20);background:rgba(19,9,32,.58);backdrop-filter:blur(12px);border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.20)}
.auth-art .brand-main{font-weight:700;color:#f8e9ff}
.auth-art h1{max-width:580px;color:#fff0ff!important;text-shadow:0 4px 30px #100519;font-size:clamp(45px,5vw,75px)!important}
.auth-art p{max-width:500px;color:#e7d9ef!important;text-shadow:0 2px 14px #11051c}
.auth-art .tag{color:#e2a3ff!important}
.auth-art footer{color:#d2b3e2!important}
.auth-right{background:radial-gradient(ellipse at 50% 48%,rgba(104,41,146,.16),transparent 65%),#0e0917!important;padding:clamp(22px,5vw,60px)!important}
.auth-card{width:min(445px,100%)!important;padding:clamp(25px,3vw,42px)!important;border-radius:22px;border:1px solid rgba(176,98,221,.28);background:linear-gradient(155deg,rgba(36,19,51,.92),rgba(22,12,35,.96));box-shadow:0 22px 75px rgba(0,0,0,.34),0 0 48px rgba(135,54,185,.08)}
.auth-card h2{font-size:clamp(27px,2.6vw,37px)!important;color:#fff0ff}
.auth-card .field input{background:#120b20!important;border-color:#6b427e!important;color:#f8eaff!important;min-height:46px}
.auth-card .field input:focus{border-color:#c482f4!important;box-shadow:0 0 0 3px rgba(188,105,241,.14)}
.auth-card .button{background:linear-gradient(105deg,#d69aff,#a858db)!important;border-color:#ce8cf2!important;color:#1b0b28!important;box-shadow:0 5px 22px rgba(167,78,227,.25)}
.auth-card .button:hover{box-shadow:0 8px 30px rgba(174,84,237,.40)}
@media(max-width:820px){.auth-page{display:block!important}.auth-art{min-height:340px!important;background-position:center 37%!important;padding:25px!important}.auth-art h1{font-size:38px!important}.auth-art footer{display:none}.auth-right{padding:22px 16px 38px!important}.auth-card{margin:-38px auto 0;position:relative;z-index:2}}
@media(max-width:480px){.auth-art{min-height:300px!important}.auth-art h1{font-size:33px!important}.auth-art p{font-size:13px!important}.auth-card{padding:24px 20px!important}}


/* Nachtaktiven: neuer Login-Einstieg */
.auth-art .login-intro-title{max-width:660px;font-size:clamp(39px,4.1vw,65px)!important;line-height:1.07;letter-spacing:-.028em;margin:12px 0 23px}
.auth-art .login-intro-sub{max-width:530px;font-size:clamp(15px,1.1vw,18px)!important;line-height:1.6;margin:0 0 13px;color:#f3e5fb!important}
.auth-art .login-intro-cta{font-size:clamp(14px,1vw,16px)!important;color:#e4c6f3!important}
.auth-art .login-intro-cta strong{color:#f0b9ff}
@media(max-width:820px){.auth-art .login-intro-title{font-size:clamp(31px,6vw,47px)!important;max-width:100%}}
