/* Gemeinsame Optik der Fortschritts-Seiten (Werkstatt, Begleiter, Talente,
   Events, Clans, Clubraum). */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{ background:#0B0710; color:#F5E9D8; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height:100vh; display:flex; flex-direction:column; align-items:center; padding:max(20px, env(safe-area-inset-top)) 16px max(90px, env(safe-area-inset-bottom)); }
[hidden]{ display:none !important; }
.wrap{ width:100%; max-width:1100px; display:flex; flex-direction:column; gap:16px; }
.wrap > *{ min-width:0; }
.loading{ color:#B9A9C4; text-align:center; }
.panel{ background:linear-gradient(160deg,#221535,#1A1024); border:1px solid #3E2A55; border-radius:20px; padding:16px; box-shadow:0 12px 34px rgba(0,0,0,.45); min-width:0; }
.panel h2{ margin:0 0 4px; font-size:18px; }
.panel .sub{ color:#B9A9C4; font-size:12.5px; margin-bottom:12px; line-height:1.5; }
.panel .sub b{ color:#E9DDF7; }
.grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.card{ background:linear-gradient(160deg,#2A1B44,#170F25); border:1px solid #3E2A55; border-radius:16px; padding:12px; min-width:0; }
.btn{ border:0; border-radius:12px; padding:9px 14px; font-weight:900; font-size:13.5px; cursor:pointer; font-family:inherit;
  background:linear-gradient(160deg,#FDE68A,#F59E0B); color:#3A2400; }
.btn:disabled{ opacity:.4; cursor:default; }
.btn.ghost{ background:rgba(255,255,255,.07); color:#E9DDF7; border:1px solid #3E2A55; }
.btn.red{ background:linear-gradient(160deg,#FCA5A5,#DC2626); color:#fff; }
.btn.sm{ padding:5px 10px; font-size:12px; border-radius:10px; }
.chips{ display:flex; gap:6px; flex-wrap:wrap; }
.chip{ border:1px solid #3E2A55; background:#140C1E; color:#D9CBEE; border-radius:999px; padding:5px 11px; font-size:12px; font-weight:800; cursor:pointer; font-family:inherit; }
.chip.on{ background:rgba(244,196,48,.18); border-color:#F4C430; color:#FFE9A8; }
.bar{ height:8px; border-radius:4px; background:#0B0710; overflow:hidden; margin-top:6px; }
.bar i{ display:block; height:100%; background:linear-gradient(90deg,#F4C430,#F97316); transition:width .4s; }
.muted{ color:#B9A9C4; font-size:12px; }
.r1{ --rc:#9CA3AF; } .r2{ --rc:#3B82F6; } .r3{ --rc:#A855F7; } .r4{ --rc:#F59E0B; }
.rar{ color:var(--rc); font-weight:900; font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
table.t{ width:100%; border-collapse:collapse; font-size:12.5px; }
table.t th{ text-align:left; color:#B9A9C4; font-weight:800; font-size:11px; text-transform:uppercase; letter-spacing:.06em; padding:6px 6px; border-bottom:1px solid #3E2A55; }
table.t td{ padding:7px 6px; border-bottom:1px solid rgba(62,42,85,.5); }
.tscroll{ overflow-x:auto; }
input.in, select.in{ background:#140C1E; border:1px solid #3E2A55; color:#F5E9D8; border-radius:10px; padding:8px 10px; font-size:14px; font-family:inherit; min-width:0; }
.row{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.empty{ color:#B9A9C4; font-size:13px; text-align:center; padding:18px 8px; border:1px dashed #3E2A55; border-radius:14px; }
