/* =========================================================================
   FinalBreach – Spieler-Panel (js/panel.js)
   Eigenes App-Layout mit Seitenleiste. Farben kommen aus den Theme-Tokens
   (Admin → Design), damit das Panel zum Logo und zur Website passt.
   ========================================================================= */
body.panel-mode #site-header, body.panel-mode #site-footer { display: none; }
body.panel-mode #main { padding: 0; }

.pnl { --side: 248px; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; background:
  radial-gradient(1200px 500px at 70% -10%, color-mix(in srgb, var(--fire) 6%, transparent), transparent 70%), var(--bg); }

/* ---------- Seitenleiste ---------- */
.p-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; background: var(--bg2); overflow-x: hidden;
  box-shadow: inset -1px 0 0 var(--line); overflow-y: auto; z-index: 40; }
.p-side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; border-bottom: 1px solid var(--line); }
.p-logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font: 700 1.05rem var(--f-ui); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.p-logo .brand-name { font-size: .92em; overflow: hidden; text-overflow: ellipsis; }
.p-logo img { width: 38px; height: 38px; object-fit: cover; border-radius: 6px; }
.p-close { display: none; }
.p-user { display: flex; align-items: center; gap: 12px; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.p-user-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p-user-txt b { font: 700 1rem var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-charsel { display: flex; flex-direction: column; gap: 4px; padding: 6px 6px 10px; font: 700 .7rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-charsel select { height: 36px; font-size: .9rem; text-transform: none; letter-spacing: 0; }

.p-coins { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; padding: 3px 8px; border-radius: 4px; font: 700 .78rem/1 var(--f-ui);
  color: #ffd25e; background: rgba(255, 196, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 196, 0, .35); }
.p-coins .ico { width: 14px; height: 14px; }
.p-coins-lg { padding: 7px 12px; font-size: .85rem; border-radius: 999px; }

.p-nav { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; flex: 1; }
.p-nav-h { display: block; padding: 14px 10px 6px; font: 700 .72rem var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 6px; color: #d9cdbf; font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.p-nav a .ico { width: 18px; height: 18px; color: var(--muted); }
.p-nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.p-nav a.active { background: color-mix(in srgb, var(--fire) 14%, transparent); color: var(--fire2); }
.p-nav a.active .ico { color: var(--fire2); }
.p-nav .p-ext { margin-left: auto; width: 14px !important; height: 14px !important; }
.p-side-bottom { padding-top: 12px; border-top: 1px solid var(--line); }
.p-logout { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 6px; background: none; color: #d9cdbf; font: 500 .95rem var(--f-body, inherit); cursor: pointer; }
.p-logout:hover { background: rgba(255, 68, 51, .1); color: #ffb4aa; }
.p-side-bottom .btn { width: 100%; justify-content: center; }

/* ---------- Inhalt ---------- */
.p-main { padding: 28px clamp(16px, 3vw, 44px) 60px; min-width: 0; }
.p-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
.p-burger { display: none; }
.p-title { font: 700 1.9rem/1.1 var(--f-ui); text-transform: none; letter-spacing: .01em; margin: 0; }
.p-sub { margin: 4px 0 0; color: var(--muted); }
.p-top-right { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
#p-body { display: flex; flex-direction: column; gap: 22px; }

.p-card { background: var(--grad-panel); box-shadow: inset 0 0 0 1px var(--line); border-radius: 10px; }
.p-h { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; font: 700 .82rem var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-h .ico { width: 16px; height: 16px; }
.p-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 44px 24px; text-align: center; color: var(--muted); }
.p-empty > .ico { width: 34px; height: 34px; color: var(--fire2); }
.p-empty p { margin: 0; max-width: 520px; }
.p-login { margin: 10px auto; }

.p-ava { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--panel2);
  box-shadow: 0 0 0 2px var(--line2); font: 700 1.1rem var(--f-ui); color: var(--fire2); }
.p-ava img { width: 100%; height: 100%; object-fit: cover; }
.p-ava-lg { width: 64px; height: 64px; font-size: 1.5rem; }
.p-ava-xl { width: 112px; height: 112px; font-size: 2.6rem; box-shadow: 0 0 0 4px var(--bg2), 0 0 0 6px var(--line2); }

.p-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 4px; font: 700 .78rem/1 var(--f-ui); letter-spacing: .06em;
  color: var(--fire2); background: color-mix(in srgb, var(--fire) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fire) 40%, transparent); }
.p-tag .ico { width: 14px; height: 14px; }
.p-tag-ok { color: #8ef0b8; background: rgba(61, 220, 132, .1); box-shadow: inset 0 0 0 1px rgba(61, 220, 132, .35); }
.p-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font: 600 .78rem/1 var(--f-ui); color: var(--muted); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.p-chip .ico { width: 13px; height: 13px; }
.p-chip-ok { color: #8ef0b8; box-shadow: inset 0 0 0 1px rgba(61, 220, 132, .35); }
.p-vip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font: 700 .72rem/1 var(--f-ui); letter-spacing: .08em; color: #1a1204; background: #ffb020; }
.p-vip .ico { width: 13px; height: 13px; }

/* Fokus-Banner */
.p-focus { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 10px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ember) 22%, transparent), color-mix(in srgb, var(--ember) 6%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ember) 45%, transparent); }
.p-focus-txt { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; flex: 1; }
.p-focus h3 { font-size: 1.15rem; }
.p-focus p { margin: 0; color: #e6d7c4; font-size: .93rem; }
.p-eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 700 .72rem var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--fire2); }
.p-eyebrow .ico { width: 14px; height: 14px; }
.p-focus .btn { flex: none; }

/* Dashboard */
.p-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-left: 3px solid var(--fire); }
.p-hero h2 { font: 700 1.4rem var(--f-ui); text-transform: none; margin-bottom: 6px; }
.p-hero-btn { margin-left: auto; }
.p-grid2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.p-grid1 { grid-template-columns: 1fr; }
@media (min-width: 1101px) { .p-grid1 .p-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.p-col { display: flex; flex-direction: column; gap: 12px; }
.p-col > .p-h { margin-bottom: 2px; }
.p-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: var(--grad-panel); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.p-tile > .ico { flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 8px; color: var(--fire2); background: color-mix(in srgb, var(--fire) 12%, transparent); }
.p-tile small { display: block; font: 700 .7rem var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-tile b { display: block; font: 700 1rem var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.p-mini > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 10px; background: var(--grad-panel); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.p-mini .ico { color: var(--fire2); }
.p-mini b { font: 700 1.35rem var(--f-ui); }
.p-mini small { color: var(--muted); font-size: .78rem; }
.p-vote { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 16px 18px; }
.p-vote-head { display: flex; align-items: center; gap: 10px; width: 100%; }
.p-vote-head .p-chip { margin-left: auto; }
.p-vote p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Mein Profil */
.p-prof { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: start; }
.p-subnav { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px; padding: 6px 8px 10px; }
.p-subnav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; color: #d9cdbf; font-size: .93rem; }
.p-subnav a .ico { width: 16px; height: 16px; color: var(--muted); }
.p-subnav a:hover { background: rgba(255, 255, 255, .04); }
.p-subnav a.active { background: color-mix(in srgb, var(--fire) 14%, transparent); color: var(--fire2); box-shadow: inset 2px 0 0 var(--fire); }
.p-subnav a.active .ico { color: var(--fire2); }
.p-prof-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.p-prof-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; flex-wrap: wrap; }
.p-prof-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.p-url { display: flex; align-items: center; gap: 4px; min-width: 0; }
.p-url code { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-url .btn-icon { width: 30px; height: 30px; flex: none; }
.p-sec { overflow: hidden; scroll-margin-top: 20px; }
.p-sec-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line);
  font: 700 .85rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.p-sec-head .ico { width: 16px; height: 16px; color: var(--muted); }
.p-sec-head .p-vip { margin-left: auto; }
.p-sec > .form-grid, .p-sec > .p-editor, .p-sec > .p-vis, .p-sec > .p-checks, .p-sec > .p-linked { margin: 18px 20px; }
.p-sec-foot { display: flex; justify-content: flex-end; padding: 0 20px 18px; }
.p-locked { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; text-align: center; }
.p-locked > .ico { width: 52px; height: 52px; padding: 12px; border-radius: 50%; color: #ffb020; background: rgba(255, 176, 32, .12); }
.p-locked p { margin: 0; max-width: 380px; color: var(--muted); font-size: .92rem; }
.p-editor { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p-toolbar { display: flex; align-items: center; gap: 4px; padding: 6px 10px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.p-toolbar button { width: 32px; height: 30px; border: 0; border-radius: 4px; background: none; color: var(--text); font-size: .95rem; cursor: pointer; }
.p-toolbar button:hover { background: rgba(255, 255, 255, .07); }
.p-count { margin-left: auto; font-size: .78rem; color: var(--muted); }
.p-editor textarea { width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: 130px; }
.p-linked { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-linked > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.p-linked > div > .ico { width: 22px; height: 22px; flex: none; }
.p-linked span { display: flex; flex-direction: column; min-width: 0; font-size: .92rem; }
.p-linked small { font: 700 .7rem var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-linked .p-chip { margin-left: auto; flex-direction: row; }
.p-vis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-radio { position: relative; cursor: pointer; }
.p-radio input { position: absolute; opacity: 0; }
.p-radio > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.p-radio > span .ico { color: var(--muted); }
.p-radio small { color: var(--muted); font-size: .85rem; }
.p-radio input:checked + span { box-shadow: inset 0 0 0 2px var(--fire); background: color-mix(in srgb, var(--fire) 8%, transparent); }
.p-radio input:checked + span .ico { color: var(--fire2); }
.p-radio input:focus-visible + span { outline: 2px solid var(--fire2); outline-offset: 2px; }
.p-checks { display: flex; flex-direction: column; gap: 10px; }

/* Community */
.p-search { display: flex; gap: 10px; align-items: stretch; }
.p-search .search { max-width: none; flex: 1; }
.p-search .search-lg { margin: 0; }
.p-search .btn { height: 56px; }
.p-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.p-person { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px 18px; text-align: center; color: var(--text); transition: transform .2s var(--ease), box-shadow .2s; }
.p-person:hover { transform: translateY(-3px); color: var(--text); box-shadow: inset 0 0 0 1px var(--fire); }
.p-person b { font: 700 1rem var(--f-ui); }
.p-person small { color: var(--muted); font-size: .8rem; }
.p-person-ava { position: relative; margin-bottom: 6px; }
.p-star { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ffb020; color: #1a1204; box-shadow: 0 0 0 2px var(--panel); }
.p-star .ico { width: 13px; height: 13px; }
.p-pt { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .8rem; }
.p-pt .ico { width: 13px; height: 13px; }
.p-pages { justify-content: center; }

/* Öffentliches Profil */
.p-pub { overflow: hidden; }
.p-banner { height: 170px; background: linear-gradient(120deg, color-mix(in srgb, var(--ember) 35%, #120b08), #120d0b 60%), var(--panel2); background-size: cover; background-position: center; }
.p-pub-head { display: flex; align-items: flex-end; gap: 18px; padding: 0 24px; margin-top: -56px; flex-wrap: wrap; }
.p-pub-id { display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; flex: 1; min-width: 200px; }
.p-pub-id h2 { display: flex; align-items: center; gap: 10px; font: 700 1.7rem var(--f-ui); text-transform: none; }
.p-pub-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.p-pub-head > .btn { margin-bottom: 8px; }
.p-pub-body { display: flex; flex-direction: column; gap: 18px; padding: 20px 24px 24px; }
.p-pub-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.p-pub-facts > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.p-pub-facts .ico { grid-row: span 2; color: var(--fire2); }
.p-pub-facts small { font: 700 .7rem var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-pub-facts b { font: 700 1rem var(--f-ui); }
.p-bio { padding: 16px 18px; border-radius: 8px; background: rgba(255, 255, 255, .02); box-shadow: inset 3px 0 0 var(--fire); color: #e6d7c4; line-height: 1.6; }
.p-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.p-social { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; color: var(--text); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; }
a.p-social:hover { color: var(--fire2); box-shadow: inset 0 0 0 1px var(--fire); }
.p-social .ico { width: 16px; height: 16px; }
.p-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.p-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; border-radius: 10px; text-align: center; background: var(--grad-panel); box-shadow: inset 0 0 0 1px var(--line); }
.p-stat .ico { width: 22px; height: 22px; color: var(--fire2); }
.p-stat b { font: 700 1.45rem/1.1 var(--f-ui); }
.p-stat small { font: 700 .72rem var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }


/* Statistiken & Ranglisten */
.p-stats-top { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.p-board-cats { position: sticky; top: 0; z-index: 5; padding: 10px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.p-board-cat { scroll-margin-top: 64px; }
.p-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.p-board { display: flex; flex-direction: column; overflow: hidden; }
.p-board-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); font: 700 .95rem var(--f-ui); }
.p-board-head .ico { color: var(--fire2); }
.p-board-list { list-style: none; margin: 0; padding: 6px 8px; display: flex; flex-direction: column; }
.p-board-list li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; min-width: 0; }
.p-board-list li:nth-child(odd) { background: rgba(255, 255, 255, .02); }
.p-board-list li.is-me { background: color-mix(in srgb, var(--fire) 12%, transparent); box-shadow: inset 2px 0 0 var(--fire); }
.p-board-list li.p-more { display: none; }
.p-board.show-all .p-board-list li.p-more { display: flex; }
.p-rank { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font: 700 .85rem var(--f-ui); color: var(--muted); background: rgba(255, 255, 255, .04); }
.p-rank-1 { color: #1a1204; background: linear-gradient(135deg, #ffe08a, #e6a817); }
.p-rank-2 { color: #15171a; background: linear-gradient(135deg, #eef1f4, #a5adb6); }
.p-rank-3 { color: #1a0d04; background: linear-gradient(135deg, #f0b27a, #b0652a); }
.p-ava-sm { width: 28px; height: 28px; font-size: .8rem; box-shadow: 0 0 0 1px var(--line2); }
.p-ava-anon { color: var(--muted); }
.p-ava-anon .ico { width: 14px; height: 14px; }
.p-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
.p-who a { color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.p-who a:hover { color: var(--fire2); }
.p-anon { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-style: italic; }
.p-anon .ico { width: 13px; height: 13px; }
.p-star-sm { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #ffb020; color: #1a1204; flex: none; }
.p-star-sm .ico { width: 10px; height: 10px; }
.p-val { flex: none; font: 700 .95rem var(--f-ui); font-variant-numeric: tabular-nums; }
.p-board-none { margin: 0; padding: 22px 16px; color: var(--muted); text-align: center; font-size: .9rem; }
.p-board-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: .85rem; min-height: 42px; }
.p-mine { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.p-mine .ico { width: 14px; height: 14px; }
.p-mine b { color: var(--fire2); }
.p-board-upd { display: flex; align-items: center; gap: 6px; font-size: .82rem; margin: 0; }
.p-board-upd .ico { width: 14px; height: 14px; }
@media (max-width: 640px) { .p-boards { grid-template-columns: 1fr; } }

/* Ankündigungen – Farbvarianten */
.p-focus-info { background: linear-gradient(90deg, rgba(64, 156, 255, .18), rgba(64, 156, 255, .04)); box-shadow: inset 0 0 0 1px rgba(64, 156, 255, .4); }
.p-focus-info .p-eyebrow { color: #8ec5ff; }
.p-focus-warn { background: linear-gradient(90deg, rgba(255, 176, 32, .18), rgba(255, 176, 32, .04)); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .4); }
.p-focus-warn .p-eyebrow { color: #ffd98a; }
.p-focus-ok { background: linear-gradient(90deg, rgba(61, 220, 132, .16), rgba(61, 220, 132, .03)); box-shadow: inset 0 0 0 1px rgba(61, 220, 132, .38); }
.p-focus-ok .p-eyebrow { color: #8ef0b8; }

/* Schwarzes Brett */
.p-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: start; }
.p-post { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-left: 3px solid var(--ember); cursor: pointer; }
.p-post header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; font-size: .92rem; }
.p-post header b { flex: 1 1 auto; }
.p-post time { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: .75rem; color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.p-post time .ico { width: 12px; height: 12px; }
.p-post-msg { margin: 0; font-size: .9rem; color: #e6d7c4; line-height: 1.5; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.p-post-msg.open { display: block; }
.p-post-ed { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; }
.p-post-ed .ico { width: 12px; height: 12px; }
.p-post footer { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); cursor: default; }
.p-post-act { margin-left: auto; display: flex; gap: 2px; }
.p-post-act .btn-icon { width: 32px; height: 32px; }
.p-post-act .btn-icon.danger:hover { color: #ffb4aa; box-shadow: inset 0 0 0 1px var(--bad); background: rgba(255, 68, 51, .1); }
.p-chip-bad { color: #ffb4aa; box-shadow: inset 0 0 0 1px rgba(255, 68, 51, .45); }

/* Dialog */
.p-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.p-modal-box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); }
.p-modal-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; }
.p-modal-body p { margin: 0; }
.p-quote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--line2); color: var(--muted); font-size: .9rem; max-height: 160px; overflow: auto; }

/* Moderation */
.p-list { display: flex; flex-direction: column; }
.p-list-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.p-list-row:last-child { border-bottom: 0; }
.p-list-row > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.p-list-row small { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.p-log > .ico { flex: none; color: var(--fire2); }

/* Airdrops */
.drop-common { --rc: #9aa3ad; } .drop-rare { --rc: #4b8bff; } .drop-epic { --rc: #b04bff; } .drop-legendary { --rc: #ffb020; }
.drop-stage { position: relative; height: 380px; overflow: hidden; border-radius: 10px; isolation: isolate;
  background: linear-gradient(180deg, #120d0b 0%, #2a1610 45%, color-mix(in srgb, var(--ember) 35%, #2a1610) 78%, #3a1d12 100%); }
.drop-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.drop-sky i { position: absolute; height: 34px; border-radius: 40px; background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent); will-change: transform; animation: cloud 40s linear infinite; }
.drop-sky i:nth-child(1) { top: 40px; width: 220px; left: -240px; }
.drop-sky i:nth-child(2) { top: 92px; width: 160px; left: -200px; animation-duration: 55s; animation-delay: -20s; }
.drop-sky i:nth-child(3) { top: 150px; width: 260px; left: -300px; animation-duration: 70s; animation-delay: -45s; }
@keyframes cloud { to { transform: translateX(1600px); } }
.drop-ground { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 62px; background: linear-gradient(180deg, #1d130e, #0f0b09); box-shadow: 0 -1px 0 rgba(255, 140, 80, .15); }
/* Normaler Fluss statt absolut darübergelegt: bleibt sichtbar, auch wenn der Browser die Wolken-Ebene neu malt */
.drop-center { position: relative; z-index: 3; height: calc(100% - 62px); display: grid; place-items: center; padding: 16px; text-align: center; transform: translateZ(0); }
.drop-ready { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.drop-ready b { font: 700 1.5rem var(--f-ui); }
.drop-ready p { margin: 0 0 8px; color: #e6d7c4; }
.drop-msg { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 22px; border-radius: 10px; color: var(--text); background: rgba(10, 8, 7, .78); box-shadow: inset 0 0 0 1px var(--line2); }
.drop-msg .ico { width: 28px; height: 28px; color: #ffb020; }
.drop-lock { width: min(420px, 100%); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.drop-lock-h { display: flex; align-items: center; gap: 8px; }
.drop-lock-h .ico { color: #ffb020; }
.drop-lock code { font-size: .85rem; color: var(--muted); }
.drop-lock p { margin: 0; color: var(--muted); font-size: .9rem; }
.drop-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.drop-bar span { display: block; height: 100%; background: var(--grad-fire); border-radius: 4px; }
.drop-won { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* Abwurf: Flugzeug, Kiste am Fallschirm, Rauch, Staub */
.drop-plane { position: absolute; top: 34px; left: -80px; z-index: 2; color: #d7cfc4; opacity: 0; }
.drop-plane .ico { width: 54px; height: 54px; transform: rotate(45deg); }
.dropping .drop-plane { animation: drop-plane 2.6s linear forwards; }
@keyframes drop-plane { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 1; transform: translateX(100vw); } }
.drop-fall { position: absolute; left: 50%; top: 0; z-index: 4; width: 120px; margin-left: -60px; transform: translateY(-260px); }
.dropping .drop-fall { animation: drop-fall 3.2s cubic-bezier(.35, .1, .5, 1) 1.1s forwards; }
@keyframes drop-fall { 0% { transform: translateY(-260px) rotate(-6deg); } 30% { transform: translateY(-140px) rotate(7deg); } 60% { transform: translateY(10px) rotate(-5deg); } 85% { transform: translateY(100px) rotate(3deg); } 100% { transform: translateY(124px) rotate(0); } }
.drop-chute { width: 160px; margin: 0 -20px -10px; transition: opacity .6s, transform .6s; transform-origin: 50% 100%; }
.landed .drop-chute { opacity: 0; transform: translate(40px, 30px) rotate(40deg) scale(.6); }
.drop-chute-svg, .drop-crate-svg { display: block; width: 100%; }
.ch-dome { fill: var(--ember); stroke: rgba(0, 0, 0, .35); stroke-width: 1.5; }
.ch-stripe { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 5; }
.ch-line { fill: none; stroke: rgba(240, 230, 210, .6); stroke-width: 1.2; }
.c-body { fill: #4d5a2f; stroke: #20260f; stroke-width: 2; }
.c-lid { fill: #5d6b39; stroke: #20260f; stroke-width: 2; }
.c-plank { stroke: #2c3416; stroke-width: 3; fill: none; }
.c-plank.thin { stroke-width: 1.5; opacity: .6; }
.c-plate { fill: #d8cfb8; stroke: #20260f; }
.c-text { font: 700 12px var(--f-ui); fill: #2a2620; text-anchor: middle; }
.c-corner { fill: #8a8f8f; stroke: #2a2e2e; }
.landed .drop-crate { animation: drop-thud .5s ease-out; }
@keyframes drop-thud { 0% { transform: scaleY(.86) translateY(6px); } 60% { transform: scaleY(1.04); } 100% { transform: none; } }
.drop-smoke { position: absolute; left: 50%; bottom: 52px; z-index: 3; width: 0; height: 0; opacity: 0; }
.dropping .drop-smoke { opacity: 1; transition: opacity .5s 1s; }
.drop-smoke i { position: absolute; left: -20px; bottom: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(220, 50, 40, .45); filter: blur(8px); animation: drop-smoke 3s ease-out infinite; }
.drop-smoke i:nth-child(2) { animation-delay: .5s; }
.drop-smoke i:nth-child(3) { animation-delay: 1s; }
.drop-smoke i:nth-child(4) { animation-delay: 1.5s; }
.drop-smoke i:nth-child(5) { animation-delay: 2s; }
.drop-smoke i:nth-child(6) { animation-delay: 2.5s; }
@keyframes drop-smoke { 0% { transform: translate(60px, 0) scale(.4); opacity: .9; } 100% { transform: translate(110px, -220px) scale(3.2); opacity: 0; } }
.drop-dust { position: absolute; left: 50%; bottom: 50px; width: 220px; height: 40px; margin-left: -110px; border-radius: 50%; background: radial-gradient(rgba(200, 170, 140, .45), transparent 70%); opacity: 0; z-index: 3; }
.landed .drop-dust { animation: drop-dust 1.2s ease-out forwards; }
@keyframes drop-dust { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
.dropping .drop-center, .opening .drop-center { display: none; }
.drop-open { position: absolute; left: 0; right: 0; top: 26px; z-index: 6; display: flex; justify-content: center; animation: drop-up .4s ease-out; }
@keyframes drop-up { from { opacity: 0; transform: translateY(10px); } }

/* Öffnen: Band im CS:GO-Stil */
.opening .drop-fall { transition: opacity .4s; opacity: .15; }
.drop-reel { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; justify-content: center; background: rgba(8, 6, 5, .72); animation: drop-up .3s ease-out; }
.drop-reel-win { position: relative; overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.drop-reel-track { display: flex; gap: 10px; padding-left: 10px; will-change: transform; }
.drop-reel-track .drop-item { flex: 0 0 132px; }
.drop-reel-mark { position: absolute; left: 50%; top: 50%; width: 3px; height: 190px; margin: -95px 0 0 -1.5px; background: #ffd25e; box-shadow: 0 0 14px #ffd25e; border-radius: 2px; pointer-events: none; }
.drop-skip { position: absolute; right: 14px; bottom: 14px; }
.drop-hit { animation: drop-hit 1s ease-out forwards; }
@keyframes drop-hit { 30% { transform: scale(1.12); } 100% { transform: scale(1.06); box-shadow: 0 0 0 2px var(--rc), 0 0 40px var(--rc); } }

/* Item-Karte (Drops, Band, Gewinn) */
.drop-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 10px; border-radius: 8px; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 10%, var(--panel)), var(--panel)); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--rc); }
.drop-item-img { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px; color: var(--rc); }
.drop-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.drop-item-img .ico { width: 40px; height: 40px; }
.drop-item b { font: 700 .88rem/1.15 var(--f-ui); }
.drop-item small { color: var(--muted); font-size: .78rem; }
.drop-rar { font: 700 .66rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--rc); }
.drop-chance { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.drop-win { width: 170px; box-shadow: inset 0 0 0 1px var(--rc), 0 0 30px color-mix(in srgb, var(--rc) 45%, transparent); }
.drop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.drop-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--rc); box-shadow: 0 0 8px var(--rc); }
@media (prefers-reduced-motion: reduce) { .drop-sky i, .drop-smoke i { animation: none; } }
@media (max-width: 640px) { .drop-stage { height: 340px; } .drop-reel-track .drop-item { flex-basis: 112px; } }

/* Glücksrad */
.wh-intro { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.wh-intro p { margin: 0; color: #e6d7c4; }
.wh-boost { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font: 600 .85rem var(--f-ui);
  color: #f47fff; background: rgba(244, 127, 255, .1); box-shadow: inset 0 0 0 1px rgba(244, 127, 255, .45); }
.wh-boost .ico { width: 14px; height: 14px; }
.wh-boost.on { color: #fff; background: linear-gradient(90deg, #b845ff, #f47fff); box-shadow: 0 0 14px rgba(244, 127, 255, .45); }
.wh-note { width: 100%; margin-top: 6px; padding: 10px 14px; border-radius: 8px; font: .82rem ui-monospace, Consolas, monospace; color: #e6d7c4;
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line2); }
.wh-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 10px 0 6px; }
.wh-wrap { position: relative; width: min(440px, 88vw); aspect-ratio: 1; }
.wh-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wh-rot { transform-origin: 210px 210px; transform-box: view-box; }
.wh-slice { fill: #232120; }
.wh-slice.alt { fill: #1b1918; }
.wh-line { stroke: var(--ember); stroke-width: 2; }
.wh-ring { fill: none; stroke: var(--ember); stroke-width: 5; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--ember) 80%, transparent)); }
.wh-hub { fill: #141210; stroke: var(--ember); stroke-width: 6; }
.wh-hub-in { fill: #141210; }
.wh-label { fill: #f1e8dc; font: 700 13px var(--f-ui); letter-spacing: .02em; text-anchor: middle; dominant-baseline: middle; }
.wh-ico { width: 52px; height: 52px; display: grid; place-items: center; color: var(--fire2); }
.wh-ico .ico { width: 34px; height: 34px; }
.wh-pointer { position: absolute; left: 50%; top: -6px; z-index: 2; width: 0; height: 0; margin-left: -14px;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 24px solid var(--ember);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--ember) 70%, transparent)); }
.wh-won .wh-ring { animation: wh-flash 1.2s ease-out 2; }
@keyframes wh-flash { 50% { stroke: #ffd25e; } }
.wh-status { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wh-btn { min-width: 190px; justify-content: center; border-radius: 999px; color: #fff; background: var(--ember);
  box-shadow: 0 8px 26px color-mix(in srgb, var(--ember) 45%, transparent); clip-path: none; text-transform: none; letter-spacing: .02em; font-size: 1.05rem; }
.wh-btn:hover:not(:disabled) { filter: brightness(1.12); color: #fff; }
.wh-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.wh-hint { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; text-align: center; }
.wh-hint .ico { width: 14px; height: 14px; flex: none; }
/* ---------- Mobil ---------- */
.p-scrim { display: none; }
@media (max-width: 1100px) {
  .p-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pnl { grid-template-columns: 1fr; }
  .p-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(290px, 86vw); transform: translateX(-102%); transition: transform .25s var(--ease); }
  .pnl.menu-open .p-side { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .6); }
  .pnl.menu-open .p-scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 35; }
  .p-close, .p-burger { display: inline-grid; }
  .p-prof { grid-template-columns: 1fr; }
  .p-subnav { position: static; flex-direction: row; flex-wrap: wrap; }
  .p-subnav .p-nav-h { display: none; }
}
@media (max-width: 640px) {
  .p-main { padding: 18px 16px 48px; }
  .p-top { flex-wrap: wrap; }
  .p-top-right { margin-left: 0; width: 100%; justify-content: flex-start; }
  .p-title { font-size: 1.5rem; }
  .p-tiles, .p-linked, .p-vis { grid-template-columns: 1fr; }
  .p-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-focus { flex-direction: column; align-items: flex-start; }
  .p-hero { flex-wrap: wrap; }
  .p-hero-btn { margin-left: 0; }
  .p-search { flex-direction: column; }
  .p-search .btn { height: 46px; }
  .p-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
}

/* Fehlermeldungen in Rastern über die volle Breite */
.p-people > .notice, .p-posts > .notice, .drop-grid > .notice { grid-column: 1 / -1; }

/* Airdrop: Spielzeit-Leiste unter der Bühne */
.drop-play { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.drop-play > .ico { width: 26px; height: 26px; flex: none; color: #ffb020; }
.drop-play.ok > .ico { color: var(--ok); }
.drop-play-txt { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.drop-play-txt small { color: var(--muted); }
.drop-msg span, .drop-msg small { max-width: 420px; color: var(--muted); font-size: .88rem; }
