/* RPO Control · Audit: Originalregeln in UNVERÄNDERTER Ladereihenfolge. */
/* === ORIGINAL public/styles.css === */
:root{--rpo:#6602a3;--rpo2:#8b23c9;--bg:#08080a;--panel:#121216;--panel2:#17171c;--line:#282830;--text:#f5f5f7;--muted:#8f8f9b;--good:#35d07f;--warn:#e6b94b;--bad:#ff4f64;--sidebar:#101014;--shadow:0 20px 50px rgba(0,0,0,.32)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}.hidden{display:none!important}
.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--sidebar);border-right:1px solid #1e1e24;padding:18px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 6px 18px}.brand strong{display:block;font-size:15px}.brand span{display:block;font-size:11px;color:var(--muted);margin-top:2px}.brand-orb{width:68px;height:68px;border-radius:22px;background:radial-gradient(circle at 30% 30%,#9b38d7,var(--rpo) 50%,#2b0046);display:grid;place-items:center;font-weight:900;box-shadow:0 0 40px rgba(102,2,163,.32)}.brand-orb.small{width:36px;height:36px;border-radius:12px;font-size:10px}nav{display:flex;flex-direction:column;gap:5px}.nav-label{color:#676773;font-size:10px;text-transform:uppercase;letter-spacing:.09em;padding:15px 10px 5px}.nav-item{border:1px solid transparent;background:transparent;color:#d9d9df;border-radius:9px;text-align:left;padding:10px 11px;display:flex;gap:10px;align-items:center;cursor:pointer}.nav-item:hover{background:#18181e}.nav-item.active{background:linear-gradient(90deg,rgba(102,2,163,.28),rgba(102,2,163,.08));border-color:rgba(139,35,201,.45);color:#fff}.nav-item>span{width:18px;text-align:center;color:#aaa}.sidebar-foot{margin-top:auto;border-top:1px solid #24242b;padding-top:13px}.user-mini{font-size:12px;color:#ccc;margin-bottom:7px}.logout{font-size:11px;color:#8f8f9b;text-decoration:none}.logout:hover{color:#fff}
main{min-width:0}.topbar{height:64px;border-bottom:1px solid #1d1d23;background:rgba(8,8,10,.86);backdrop-filter:blur(16px);position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:16px;padding:0 26px}.search-global{flex:1;max-width:760px;height:38px;border:1px solid #292930;background:#0e0e12;border-radius:8px;display:flex;align-items:center;padding:0 12px;gap:8px}.search-global input{width:100%;border:0;outline:0;background:transparent;color:#fff}.status-pill{margin-left:auto;border:1px solid #27272e;border-radius:999px;padding:7px 11px;color:#bbb;font-size:12px;display:flex;align-items:center;gap:7px}.status-pill i{width:8px;height:8px;border-radius:50%;background:var(--good);box-shadow:0 0 12px rgba(53,208,127,.7)}.view{padding:26px;max-width:1600px;margin:0 auto}.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:20px}.page-head h1{font-size:24px;margin:0}.page-head p{margin:6px 0 0;color:var(--muted);font-size:13px}.actions{display:flex;gap:8px;align-items:center}.btn{border:1px solid #2e2e36;background:#17171d;color:#f7f7f9;border-radius:8px;padding:9px 12px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:7px;justify-content:center}.btn:hover{background:#202027}.btn.primary{background:var(--rpo);border-color:#7914b8}.btn.primary:hover{background:#7610b7}.btn.danger{background:rgba(255,79,100,.12);border-color:rgba(255,79,100,.3);color:#ff7b8a}.btn.ghost{background:transparent}.btn.small{padding:6px 9px;font-size:12px}.btn.wide{width:100%;margin-top:18px}.btn:disabled{opacity:.4;cursor:not-allowed}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.stat-card,.card{background:var(--panel);border:1px solid #222229;border-radius:14px;box-shadow:var(--shadow)}.stat-card{padding:18px 20px;position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;right:-20px;top:-30px;width:100px;height:100px;border-radius:50%;background:rgba(102,2,163,.12);filter:blur(2px)}.stat-card .k{color:#92929d;font-size:12px}.stat-card .v{font-size:28px;font-weight:750;margin-top:5px}.jobs-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.job-card{padding:13px 15px;background:#111116;border:1px solid #23232b;border-radius:11px}.job-card b{display:block;font-size:20px}.job-card span{font-size:11px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,.7fr);gap:14px}.card{padding:16px}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.card-title h2{font-size:14px;margin:0}.card-title span{font-size:11px;color:var(--muted)}.chart{height:230px;width:100%;display:block}.chart-grid{stroke:#24242c;stroke-width:1}.chart-line{fill:none;stroke:#8b23c9;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-fill{fill:url(#chartGrad)}
.table-tools{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:12px}.search-box{height:38px;border:1px solid #2b2b32;background:#0d0d11;border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 11px;min-width:290px}.search-box input{border:0;outline:0;background:transparent;color:#fff;width:100%}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:720px}.table th{text-align:left;color:#8f8f9a;font-size:11px;font-weight:600;padding:11px 10px;border-bottom:1px solid #292930}.table td{padding:12px 10px;border-bottom:1px solid #24242b;font-size:13px;vertical-align:middle}.table tr.clickable:hover{background:#17171d;cursor:pointer}.sub{display:block;color:#7f7f8b;font-size:10px;margin-top:3px}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:10px;background:#24242b;color:#cfcfd5}.badge.purple{background:rgba(102,2,163,.25);color:#d9a8f3}.badge.green{background:rgba(53,208,127,.13);color:#7ee9aa}.badge.red{background:rgba(255,79,100,.13);color:#ff8c99}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:#555}.dot.on{background:var(--good)}.pager{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:14px;color:#8e8e99;font-size:12px}.pager button{width:34px;height:30px;border-radius:7px;border:1px solid #292930;background:#121217;color:#fff;cursor:pointer}.pager button:disabled{opacity:.35}.empty{padding:50px 20px;text-align:center;color:#777783}
.player-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.identity{display:flex;align-items:center;gap:13px}.avatar{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#2c2c36,#15151a);display:grid;place-items:center;font-weight:800;border:1px solid #31313a}.identity h1{font-size:20px;margin:0}.identity p{margin:4px 0 0;color:#8b8b96;font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.tabs{display:flex;gap:4px;background:#17171c;border:1px solid #25252c;border-radius:10px;padding:4px;margin-bottom:14px;overflow:auto}.tab{border:0;background:transparent;color:#aaa;padding:9px 13px;border-radius:7px;cursor:pointer;white-space:nowrap}.tab.active{background:#26262e;color:#fff}.profile-grid{display:grid;grid-template-columns:340px 1fr;gap:14px}.info-list{display:grid;grid-template-columns:1fr;gap:0}.info-row{display:grid;grid-template-columns:115px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #27272e}.info-row:last-child{border:0}.info-row span:first-child{color:#858590;font-size:11px}.info-row span:last-child{font-size:12px;word-break:break-word}.jobs-list{display:flex;flex-direction:column;gap:8px}.job-line{display:flex;justify-content:space-between;background:#19191f;border:1px solid #292931;padding:10px 12px;border-radius:8px}.money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.money-card{background:#16161c;border:1px solid #292931;border-radius:11px;padding:14px}.money-card small{color:#888894}.money-card strong{display:block;font-size:22px;margin:6px 0 10px}.row-actions{display:flex;gap:6px}.icon-btn{width:34px;height:34px;border:1px solid #2e2e35;background:#111116;color:#ddd;border-radius:8px;cursor:pointer}.icon-btn:hover{background:#202027}.icon-btn.danger{color:#ff6677;border-color:rgba(255,79,100,.24)}
.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,rgba(102,2,163,.22),transparent 35%),#08080a}.login-card{width:min(390px,calc(100vw - 32px));padding:38px;background:#121216;border:1px solid #292931;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.55);text-align:center}.login-card .brand-orb{margin:0 auto 20px}.login-card h1{margin:0;font-size:28px}.login-card p{color:#8f8f9a;font-size:13px;margin:8px 0 0}.toast-host{position:fixed;right:18px;bottom:18px;z-index:100;display:flex;flex-direction:column;gap:8px}.toast{background:#17171d;border:1px solid #2b2b33;padding:11px 13px;border-radius:10px;box-shadow:var(--shadow);font-size:12px;min-width:260px}.toast.good{border-color:rgba(53,208,127,.4)}.toast.bad{border-color:rgba(255,79,100,.45)}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);display:grid;place-items:center;z-index:50;padding:18px}.modal{width:min(520px,100%);background:#141419;border:1px solid #2b2b33;border-radius:15px;box-shadow:0 35px 100px rgba(0,0,0,.65);padding:18px}.modal h3{margin:0 0 15px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field label{font-size:11px;color:#92929d}.field input,.field select{height:39px;border:1px solid #303039;background:#0c0c10;color:#fff;border-radius:8px;padding:0 10px;outline:none}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.screenshot-view{width:100%;max-height:70vh;object-fit:contain;border-radius:10px;border:1px solid #2b2b33;background:#000}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.health-item{padding:13px;border-radius:10px;background:#17171d;border:1px solid #292930}.health-item small{display:block;color:#888892}.health-item b{display:block;margin-top:4px}.muted{color:#8b8b96}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.danger-text{color:#ff7383}
@media(max-width:1050px){.jobs-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr}.profile-grid{grid-template-columns:1fr}.money-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.sidebar nav{display:grid;grid-template-columns:repeat(3,1fr)}.nav-label{display:none}.sidebar-foot{display:none}.topbar{top:0}.view{padding:16px}.stats{grid-template-columns:1fr}.jobs-grid{grid-template-columns:1fr 1fr}.money-grid{grid-template-columns:1fr}.search-global{max-width:none}.status-pill{display:none}}

/* v0.2 */
.brand-logo{width:48px;height:42px;object-fit:contain;flex:0 0 auto}.login-logo{width:210px;max-width:72%;height:auto;object-fit:contain;margin:0 auto 18px;display:block}.login-card{padding-top:28px}.global-search-wrap{position:relative;flex:1;max-width:760px}.global-search-wrap .search-global{max-width:none;width:100%}.global-search-results{position:absolute;left:0;right:0;top:44px;background:#121217;border:1px solid #303038;border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.55);padding:7px;z-index:30;max-height:520px;overflow:auto}.search-group+.search-group{border-top:1px solid #292931;margin-top:7px;padding-top:7px}.search-group-title{font-size:10px;color:#777783;text-transform:uppercase;letter-spacing:.08em;padding:7px 9px}.search-hit{width:100%;border:0;background:transparent;color:#eee;display:flex;gap:10px;align-items:center;text-align:left;padding:9px;border-radius:8px;cursor:pointer}.search-hit:hover{background:#1c1c22}.search-hit span:nth-child(2){min-width:0}.search-hit b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-hit small{display:block;color:#858591;font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-icon{width:30px;height:30px;border:1px solid #303038;border-radius:8px;display:grid;place-items:center;color:#c58ce6;flex:0 0 auto}.search-empty{padding:18px;text-align:center;color:#83838f;font-size:12px}
.stats.two{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-summary{display:flex;gap:18px;margin:2px 0 8px 48px;color:#8e8e99;font-size:11px}.chart-summary b{color:#f3f3f5;margin-left:4px}.chart-label-y,.chart-label-x{fill:#777783;font-size:10px;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.chart{overflow:visible}.chart-grid{stroke:#27272f;stroke-width:1}.chart-line{vector-effect:non-scaling-stroke}.chart-fill{opacity:.95}
.player-tools{align-items:flex-start}.filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.filters select{height:38px;border:1px solid #2b2b32;background:#0d0d11;color:#eee;border-radius:8px;padding:0 30px 0 10px;outline:none}.filters select:focus{border-color:rgba(139,35,201,.7)}
.job-line>span:first-child{display:flex;flex-direction:column}.job-line small{color:#7f7f8b;font-size:10px;margin-top:3px}.job-line .row-actions{margin-left:auto}.online-list{display:flex;flex-direction:column}.online-row{border:0;border-bottom:1px solid #25252c;background:transparent;color:#eee;padding:10px 4px;display:flex;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.online-row:hover{background:#17171d}.online-row:last-child{border-bottom:0}.online-row b{font-size:12px}.online-row small{display:block;color:#7d7d89;font-size:10px;margin-top:3px}.empty.compact{padding:22px 12px}
.pager{justify-content:space-between;gap:12px;flex-wrap:wrap}.pager-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.pager button.active{background:var(--rpo);border-color:#7610b7}.pager-dots{padding:0 2px;color:#686873}.page-jump{display:flex;align-items:center;gap:5px;margin-left:8px}.page-jump span{font-size:10px;color:#777783}.page-jump input{width:58px;height:30px;border:1px solid #292930;background:#0d0d11;color:#fff;border-radius:7px;padding:0 7px;outline:none}.page-jump button{width:auto;padding:0 9px}
.model-summary{max-width:620px}.warning-copy{color:#b9b9c1;line-height:1.55;font-size:12px;background:rgba(255,79,100,.07);border:1px solid rgba(255,79,100,.18);padding:11px;border-radius:9px}.modal select{width:100%}
@media(max-width:1050px){.player-tools{flex-direction:column}.filters{justify-content:flex-start;width:100%}.global-search-wrap{max-width:none}}
@media(max-width:760px){.stats.two{grid-template-columns:1fr}.filters{display:grid;grid-template-columns:1fr 1fr}.pager{align-items:flex-start}.pager-controls{width:100%}.page-jump{margin-left:0}.brand-logo{width:42px;height:38px}.global-search-results{position:fixed;left:12px;right:12px;top:60px}}


/* v0.3 */
.server-id{display:inline-flex;min-width:34px;justify-content:center;margin-right:7px;padding:2px 6px;border-radius:6px;background:#24242b;color:#bdbdc6;font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;vertical-align:1px}
.group-badge{border:1px solid transparent;text-transform:none}.group-user{background:#2a2a30;color:#c8c8cf;border-color:#3a3a42}.group-superadmin{background:rgba(102,2,163,.28);color:#dfb1fb;border-color:rgba(139,35,201,.5)}.group-admin{background:rgba(230,185,75,.15);color:#ffd96f;border-color:rgba(230,185,75,.35)}.group-mod{background:rgba(255,79,100,.15);color:#ff8b99;border-color:rgba(255,79,100,.35)}.group-supp{background:rgba(60,135,255,.15);color:#85b5ff;border-color:rgba(60,135,255,.38)}.group-police{background:#eeeeF2;color:#151519;border-color:#fff}.group-socialmedia{background:rgba(255,95,190,.15);color:#ff9bd7;border-color:rgba(255,95,190,.38)}
.card-title-actions{gap:10px}.card-title-actions>div{display:flex;align-items:center;gap:8px}.current-job{margin-left:7px;vertical-align:1px}.job-current{border-color:rgba(53,208,127,.25);background:rgba(53,208,127,.045)}
.typeahead-field{position:relative}.suggestion-list{position:absolute;left:0;right:0;top:62px;z-index:70;max-height:230px;overflow:auto;padding:6px;background:#101014;border:1px solid #32323b;border-radius:10px;box-shadow:0 18px 48px rgba(0,0,0,.58)}.suggestion-hit{display:block;width:100%;border:0;background:transparent;color:#f2f2f5;text-align:left;padding:8px 9px;border-radius:7px;cursor:pointer}.suggestion-hit:hover{background:#202027}.suggestion-hit b{display:block;font-size:12px}.suggestion-hit small{display:block;color:#80808c;margin-top:2px;font-size:10px}.suggestion-empty{padding:12px;color:#7f7f8a;text-align:center;font-size:11px}.vehicle-tabs{max-width:520px}.vehicle-tabs+.card{margin-top:0}

/* v0.3.7 */
.identity p{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tx-name{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#bdbdc7;padding-left:8px;border-left:1px solid #34343c}.job-display{display:flex;flex-direction:column;gap:3px}.job-display b{font-size:12px}.job-display small{font-size:10px;color:#7f7f8b}.field select{cursor:pointer}

.job-info-row{grid-template-columns:1fr;gap:5px}.job-info-row .job-display{padding-top:1px}


/* Teleportation v0.4.9 */
.teleport-panel{
  max-width:820px;
}
.teleport-offline{
  margin:0 0 10px;
}
.teleport-destination-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.teleport-destination{
  position:relative;
  min-height:46px;
  width:100%;
  border:1px solid #292930;
  background:#121217;
  color:#ededf2;
  border-radius:9px;
  padding:0 38px 0 14px;
  text-align:left;
  font:inherit;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:background .14s ease,border-color .14s ease,transform .14s ease;
}
.teleport-destination::after{
  content:'';
  position:absolute;
  right:16px;
  top:50%;
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-50%) rotate(-45deg);
  color:#666672;
  transition:color .14s ease,transform .14s ease;
}
.teleport-destination:hover:not(:disabled){
  background:rgba(102,2,163,.10);
  border-color:rgba(139,35,201,.56);
  transform:translateX(2px);
}
.teleport-destination:hover:not(:disabled)::after{
  color:#c47be9;
  transform:translate(2px,-52%);
}
.teleport-destination:disabled{
  opacity:.4;
  cursor:not-allowed;
}
@media(max-width:760px){
  .teleport-panel{max-width:none}
  .teleport-destination-list{grid-template-columns:1fr}
}

/* v0.5.2 · RPO Confirm Dialogs */
.modal-backdrop{
  background:rgba(3,3,6,.76);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  animation:rpoBackdropIn .14s ease-out;
}
.modal{
  position:relative;
  overflow:visible;
  animation:rpoModalIn .18s cubic-bezier(.2,.8,.2,1);
}
.confirm-dialog{position:relative}
.modal-x{
  position:absolute;
  top:-4px;
  right:-3px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid #303039;
  border-radius:9px;
  background:#18181e;
  color:#8e8e99;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  transition:background .14s ease,color .14s ease,border-color .14s ease;
}
.modal-x:hover{background:#222229;color:#fff;border-color:#3a3a44}
.confirm-head{display:flex;align-items:center;gap:13px;padding-right:38px;margin-bottom:14px}
.confirm-head h3,.screenshot-modal-head h3{margin:2px 0 0;font-size:18px;letter-spacing:-.01em}
.confirm-kicker{display:block;color:#777783;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.confirm-icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border-radius:13px;
  font-size:20px;
  font-weight:800;
  background:rgba(102,2,163,.16);
  color:#d5a0f1;
  border:1px solid rgba(139,35,201,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.confirm-danger .confirm-icon{background:rgba(255,79,100,.10);color:#ff8795;border-color:rgba(255,79,100,.28)}
.confirm-warning .confirm-icon{background:rgba(230,185,75,.10);color:#f3ce70;border-color:rgba(230,185,75,.28)}
.confirm-message{margin:0 0 14px;color:#a4a4ae;font-size:13px;line-height:1.55}
.confirm-subject{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0 0 16px;
  padding:13px 14px;
  border-radius:10px;
  background:#0d0d11;
  border:1px solid #292931;
}
.confirm-primary .confirm-subject{border-color:rgba(139,35,201,.28);background:linear-gradient(90deg,rgba(102,2,163,.08),#0d0d11 58%)}
.confirm-danger .confirm-subject{border-color:rgba(255,79,100,.22);background:linear-gradient(90deg,rgba(255,79,100,.055),#0d0d11 58%)}
.confirm-subject>span{color:#757580;font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.confirm-subject>strong{font-size:14px;color:#f5f5f7;line-height:1.35}
.confirm-subject>small{font-size:10px;color:#7f7f8a;margin-top:1px}
.confirm-actions{padding-top:2px;border-top:1px solid #23232a;margin-top:0;padding-top:14px}
.confirm-actions .btn{min-width:112px}
.confirm-typed-field{margin-top:2px}
.screenshot-modal-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;padding-right:38px;margin-bottom:14px}
.screenshot-modal-head .modal-x{top:-4px;right:-3px}
@keyframes rpoBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes rpoModalIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:560px){
  .modal{padding:16px}
  .confirm-actions{display:grid;grid-template-columns:1fr 1fr}
  .confirm-actions .btn{min-width:0}
}

/* v0.5.6 · styled auth denial */
.player-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.player-actions .btn{font-weight:600}
.btn.action-screen{background:#17171d;border-color:#34343d;color:#e8e8ed}
.btn.action-screen:hover{background:#222229;border-color:#42424d}
.btn.action-revive{background:rgba(53,208,127,.10);border-color:rgba(53,208,127,.32);color:#72dda6}
.btn.action-revive:hover{background:rgba(53,208,127,.16);border-color:rgba(53,208,127,.45)}
.btn.action-char{background:rgba(102,2,163,.14);border-color:rgba(142,44,205,.38);color:#d19aef}
.btn.action-char:hover{background:rgba(102,2,163,.22);border-color:rgba(142,44,205,.52)}
.btn.action-kill{background:rgba(255,79,100,.10);border-color:rgba(255,79,100,.30);color:#ff7d8d}
.btn.action-kill:hover{background:rgba(255,79,100,.17);border-color:rgba(255,79,100,.44)}
.btn.action-kick{background:rgba(255,165,70,.10);border-color:rgba(255,165,70,.32);color:#ffb36c}
.btn.action-kick:hover{background:rgba(255,165,70,.17);border-color:rgba(255,165,70,.46)}
.action-separator{width:1px;height:26px;background:#303038;margin:0 2px;align-self:center}
@media (max-width:980px){.action-separator{display:none}}

/* v0.6.2 · Team-Onlineübersicht */
.team-online-card{margin-bottom:14px}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.team-role-card{position:relative;background:#111116;border:1px solid #24242c;border-radius:11px;padding:12px 13px;overflow:hidden}.team-role-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--team-role)}.team-role-head{display:flex;align-items:center;gap:8px;color:#d8d8df;font-size:11px;font-weight:650}.team-role-head b{margin-left:auto;font-size:18px;color:#fff}.team-role-dot{width:7px;height:7px;border-radius:50%;background:var(--team-role);box-shadow:0 0 12px color-mix(in srgb,var(--team-role) 60%,transparent)}.team-role-members{display:flex;flex-direction:column;gap:3px;margin-top:7px;min-height:18px}.team-member{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#91919d;padding:2px 0;text-align:left;font-size:10px;cursor:pointer}.team-member:hover{color:#fff}.team-member-id{color:#676773;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;min-width:26px}.team-none{color:#5f5f69;font-size:10px}.dashboard-grid-team{margin-top:0}
@media(max-width:1050px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.team-grid{grid-template-columns:1fr}}


/* v0.6.2 · Dashboard-Reihenfolge / aufklappbare vertretene Jobs */
.dashboard-jobs-card{padding:0;margin-bottom:14px;overflow:hidden}
.dashboard-jobs-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;cursor:pointer;user-select:none}
.dashboard-jobs-card>summary::-webkit-details-marker{display:none}
.dashboard-jobs-card>summary:hover{background:#15151a}
.dashboard-jobs-card>summary>div{min-width:0}
.dashboard-jobs-card>summary h2{font-size:14px;margin:0;color:#f4f4f7}
.dashboard-jobs-card>summary span{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.dashboard-jobs-chevron{font-size:22px!important;line-height:1;color:#8e8e99!important;margin:0!important;transition:transform .18s ease}
.dashboard-jobs-card[open] .dashboard-jobs-chevron{transform:rotate(180deg)}
.dashboard-jobs-grid{padding:0 16px 16px;margin:0;border-top:1px solid #24242b;padding-top:14px}
.dashboard-jobs-empty{grid-column:1/-1;width:100%}


/* v0.6.3 · Serverstatistiken */
.server-stats-live{display:flex;align-items:center;gap:9px;margin:-7px 0 13px;color:#767682;font-size:10px}.server-stats-live>span{display:inline-flex;align-items:center;gap:6px;color:#8fdfb4;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.server-stats-live i{width:6px;height:6px;border-radius:50%;background:var(--good);box-shadow:0 0 10px rgba(53,208,127,.6)}
.server-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.server-metric{padding:15px}.server-metric-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.server-metric-head span{font-size:11px;color:#8f8f9a;font-weight:650}.server-metric-head b{font-size:20px;color:#f4f4f7}.server-metric>small{display:block;color:#6f6f7b;font-size:9px;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.server-progress{height:5px;background:#202027;border-radius:99px;margin-top:13px;overflow:hidden}.server-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6602a3,#a441dc);border-radius:inherit;transition:width .35s ease}
.network-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.network-values>div{background:#0e0e13;border:1px solid #26262e;border-radius:8px;padding:9px}.network-values span{display:block;color:#73737e;font-size:9px;margin-bottom:4px}.network-values strong{font-size:12px;color:#e8e8ed}
.server-info-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.8fr);gap:14px;margin-bottom:14px}.server-info-card,.server-tick-card{min-height:226px}.server-info-rows{display:flex;flex-direction:column}.server-info-rows>div{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:10px 0;border-bottom:1px solid #24242b}.server-info-rows>div:last-child{border-bottom:0}.server-info-rows span{color:#777783;font-size:10px}.server-info-rows strong{min-width:0;color:#e9e9ed;font-size:11px;font-weight:600;overflow-wrap:anywhere}
.tick-main{display:flex;align-items:baseline;justify-content:center;gap:7px;padding:15px 0 17px}.tick-main strong{font-size:42px;line-height:1;color:#f4f4f7;letter-spacing:-.04em}.tick-main span{font-size:13px;color:#8a8a96}.tick-details{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.tick-details>div{background:#101015;border:1px solid #25252d;border-radius:8px;padding:10px;text-align:center}.tick-details span{display:block;font-size:8px;color:#6f6f7a;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.tick-details b{font-size:11px;color:#d9d9df}
.server-resources-card{padding:0;overflow:hidden}.server-resources-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;cursor:pointer;user-select:none}.server-resources-card>summary::-webkit-details-marker{display:none}.server-resources-card>summary:hover{background:#15151a}.server-resources-card>summary h2{font-size:14px;margin:0;color:#f4f4f7}.server-resources-card>summary span{display:block;color:var(--muted);font-size:11px;margin-top:4px}.server-resources-card[open] .dashboard-jobs-chevron{transform:rotate(180deg)}.server-resources-body{border-top:1px solid #24242b;padding:14px 16px 16px}.resmon-note{display:flex;align-items:flex-start;gap:10px;padding:10px 11px;margin-bottom:12px;background:rgba(102,2,163,.07);border:1px solid rgba(139,35,201,.22);border-radius:8px}.resmon-note b{color:#c58ae5;font-size:10px}.resmon-note span{color:#858590;font-size:10px;line-height:1.45}.resource-state{display:inline-flex;align-items:center;padding:3px 7px;border-radius:99px;border:1px solid #34343c;background:#202027;color:#aaaab5;font-size:9px}.resource-started{border-color:rgba(53,208,127,.28);background:rgba(53,208,127,.08);color:#72dda6}.resource-stopped,.resource-missing,.resource-unknown{border-color:rgba(255,79,100,.24);background:rgba(255,79,100,.07);color:#ff8b99}
@media(max-width:1180px){.server-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.server-info-grid{grid-template-columns:1fr}}
@media(max-width:680px){.server-metrics-grid{grid-template-columns:1fr}.server-info-rows>div{grid-template-columns:1fr;gap:4px}.tick-details{grid-template-columns:1fr}.network-values{grid-template-columns:1fr}}


/* v0.6.4 · Serversteuerung */
.control-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.control-status-strip>div{display:flex;align-items:center;gap:9px;min-height:58px;padding:11px 13px;background:#111116;border:1px solid #25252d;border-radius:10px}.control-status-strip small{display:block;color:#70707b;font-size:9px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}.control-status-strip b{display:block;color:#e9e9ee;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.control-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--good);box-shadow:0 0 10px rgba(53,208,127,.5)}.control-dot.offline{background:var(--bad);box-shadow:0 0 10px rgba(255,79,100,.4)}
.server-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.control-card{min-height:245px}.control-card textarea{width:100%;min-height:112px;resize:vertical;background:#0c0c11;border:1px solid #292931;border-radius:9px;color:#eeeef2;padding:11px 12px;font:inherit;font-size:11px;line-height:1.5;outline:0}.control-card textarea:focus,.control-form-row input:focus,.control-form-row select:focus,.control-resource-tools input:focus,.control-resource-tools select:focus,.server-console-input input:focus{border-color:#6602a3;box-shadow:0 0 0 2px rgba(102,2,163,.12)}.control-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px}.char-counter{margin-right:auto;color:#666672;font-size:9px}.restart-plan{display:flex;flex-direction:column;gap:3px;margin-bottom:13px;padding:10px 11px;border:1px solid #2a2a32;background:#0f0f14;border-radius:9px}.restart-plan b{font-size:11px;color:#e6e6eb}.restart-plan span{font-size:9px;color:#767681}.control-form-row{display:flex;gap:9px}.control-form-row label{display:flex;flex-direction:column;gap:5px;color:#787884;font-size:9px}.control-form-row label.grow{flex:1}.control-form-row input,.control-form-row select,.control-resource-tools input,.control-resource-tools select{height:35px;background:#0c0c11;border:1px solid #292931;border-radius:8px;color:#e6e6eb;padding:0 10px;outline:0;font-size:10px}.control-form-row select{min-width:120px}
.control-resources-card{margin-bottom:14px}.control-resources-card>.card-title{align-items:center}.control-resources-card .card-title>div:first-child span{display:block;color:#777783;font-size:9px;margin-top:3px}.control-resource-tools{display:flex;gap:7px}.control-resource-tools input{width:190px}.control-resource-tools select{width:120px}.resource-actions-cell{text-align:right}.resource-actions{display:flex;gap:5px;justify-content:flex-end}.btn.compact{min-height:28px;padding:5px 9px;font-size:9px}.btn.primary-soft{background:rgba(102,2,163,.12);border-color:rgba(150,57,204,.32);color:#d4a3ef}.btn.danger-soft{background:rgba(255,79,100,.08);border-color:rgba(255,79,100,.25);color:#ff8795}.resource-protected{display:inline-flex;padding:4px 7px;border:1px solid rgba(255,185,70,.24);background:rgba(255,185,70,.07);border-radius:7px;color:#e4bd72;font-size:8px}.resource-protected.muted{border-color:#303038;background:#18181e;color:#6f6f79}.resource-core-note{display:block;color:#656570;font-size:8px;margin-top:3px}
.server-console-card{padding-bottom:13px}.console-live{display:inline-flex!important;align-items:center;gap:5px;color:#7fd8a9!important;font-size:9px!important;text-transform:uppercase;font-weight:700;letter-spacing:.05em}.console-live i{width:6px;height:6px;border-radius:50%;background:var(--good)}.server-console-output{height:360px;overflow:auto;margin:0;background:#08080b;border:1px solid #24242b;border-radius:9px;padding:12px;color:#bcbcc4;font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word;scrollbar-width:thin}.server-console-output.console-unavailable{color:#7c7c87}.server-console-input{display:flex;align-items:center;gap:8px;margin-top:8px;padding:0 0 0 10px;background:#0c0c11;border:1px solid #292931;border-radius:9px}.server-console-input>span{color:#9b54c5;font:700 13px ui-monospace,SFMono-Regular,Consolas,monospace}.server-console-input input{flex:1;height:38px;min-width:0;background:transparent;border:0;color:#eeeef2;outline:0;font:10px ui-monospace,SFMono-Regular,Consolas,monospace}.server-console-input .btn{margin-right:4px;min-height:30px}
@media(max-width:950px){.control-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.server-control-grid{grid-template-columns:1fr}.control-resource-tools{width:100%;margin-top:8px}.control-resources-card>.card-title{align-items:flex-start;flex-direction:column}.control-resource-tools input{flex:1;width:auto}}
@media(max-width:620px){.control-status-strip{grid-template-columns:1fr}.control-form-row{flex-direction:column}.control-form-row select{width:100%}.control-resource-tools{flex-direction:column}.control-resource-tools input,.control-resource-tools select{width:100%}.server-console-output{height:300px}}

/* v0.7.2 · Serverinfo & Serversteuerung Ausbau */
.server-health-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;margin-bottom:12px;border-color:#2d2d35}.server-health-left{display:flex;align-items:center;gap:11px;min-width:180px}.server-health-left small{display:block;color:#777783;font-size:9px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}.server-health-left strong{font-size:15px}.server-health-dot{width:10px;height:10px;border-radius:50%;background:var(--good);box-shadow:0 0 14px rgba(53,208,127,.55)}.server-health-banner.health-warning .server-health-dot{background:#f1b84b;box-shadow:0 0 14px rgba(241,184,75,.45)}.server-health-banner.health-critical .server-health-dot{background:var(--bad);box-shadow:0 0 14px rgba(255,79,100,.48)}.server-health-issues{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.health-issue,.health-ok{display:inline-flex;gap:5px;padding:5px 8px;border:1px solid #2d2d35;border-radius:7px;background:#111116;color:#8b8b96;font-size:9px}.health-issue.warning{border-color:rgba(241,184,75,.25);color:#dab56a}.health-issue.critical{border-color:rgba(255,79,100,.27);color:#ff8795}.health-issue b{font-weight:700;color:inherit}
.server-diagnostics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.diagnostic-card{padding:14px;min-height:130px}.diagnostic-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.diagnostic-title span{font-size:10px;color:#7f7f8a;font-weight:650}.diagnostic-title b{font-size:10px;color:#bdbdc5}.diagnostic-card>strong{display:block;font-size:20px;color:#f2f2f5;margin-bottom:8px}.diagnostic-card>small{display:block;color:#6d6d78;font-size:9px;line-height:1.45;overflow-wrap:anywhere}.diag-inline{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.diag-inline span{font-size:9px;color:#74747f}.diag-inline b{color:#e6e6eb;font-size:10px;margin-left:3px}
.performance-history-card{margin-bottom:14px}.performance-history-card>.card-title{align-items:center}.performance-history-card .card-title>div:first-child span{display:block;color:#777783;font-size:9px;margin-top:3px}.history-window-buttons{display:flex;gap:5px}.history-window-buttons button{height:27px;padding:0 9px;border-radius:7px;border:1px solid #2c2c34;background:#15151a;color:#80808b;font-size:9px;cursor:pointer}.history-window-buttons button.active{border-color:rgba(151,61,204,.45);background:rgba(102,2,163,.16);color:#d0a3ea}.stats-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.history-chart-card{min-width:0;padding:10px;border:1px solid #26262e;background:#0e0e13;border-radius:9px}.history-chart-card>span{display:block;color:#777783;font-size:9px;margin-bottom:5px}.history-chart-summary{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.history-chart-summary b{font-size:15px;color:#eaeaf0}.history-chart-summary span{font-size:8px;color:#666672;white-space:nowrap}.history-sparkline{display:block;width:100%;height:65px;margin-top:4px}.history-sparkline path{fill:none;stroke:#9344c3;stroke-width:2;vector-effect:non-scaling-stroke}.history-empty{height:86px;display:grid;place-items:center;color:#666672;font-size:9px}.server-lower-grid{grid-template-columns:1fr 1fr}.server-lower-grid>.card{min-height:210px}
.control-status-five{grid-template-columns:repeat(5,minmax(0,1fr))}.control-standalone-label{display:flex;flex-direction:column;gap:5px;color:#787884;font-size:9px}.control-standalone-label input{height:37px;background:#0c0c11;border:1px solid #292931;border-radius:8px;color:#e6e6eb;padding:0 10px;outline:0;font-size:10px}.control-standalone-label input:focus{border-color:#6602a3;box-shadow:0 0 0 2px rgba(102,2,163,.12)}
.console-tools{display:flex;align-items:center;gap:7px;margin-bottom:8px}.console-tools input,.console-tools select{height:32px;background:#0c0c11;border:1px solid #292931;border-radius:8px;color:#dcdce2;padding:0 9px;outline:0;font-size:9px}.console-tools input{flex:1;min-width:140px}.console-tools label{display:inline-flex;align-items:center;gap:5px;color:#777783;font-size:9px;white-space:nowrap}.console-counts{font-size:9px!important;color:#777783!important}.console-favorites{display:flex;align-items:center;gap:5px;margin-bottom:8px}.console-favorites>span{font-size:8px;color:#666672;margin-right:3px}.console-favorites button{border:1px solid #292931;background:#121217;color:#9797a1;border-radius:6px;padding:4px 7px;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;cursor:pointer}.console-favorites button:hover{border-color:#4b2b5f;color:#d0a3ea}
.recent-actions-card{padding:0;overflow:hidden;margin-top:14px}.recent-actions-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;cursor:pointer}.recent-actions-card>summary::-webkit-details-marker{display:none}.recent-actions-card>summary h2{font-size:14px;margin:0}.recent-actions-card>summary span{display:block;font-size:9px;color:#777783;margin-top:3px}.recent-actions-card[open] .dashboard-jobs-chevron{transform:rotate(180deg)}.recent-server-actions{border-top:1px solid #24242b}.server-action-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 15px;border-bottom:1px solid #202027}.server-action-row:last-child{border-bottom:0}.server-action-dot{width:6px;height:6px;border-radius:50%;background:#7c2aac}.server-action-row b{display:block;font-size:10px;color:#dcdce2}.server-action-row small{display:block;margin-top:3px;color:#70707b;font-size:8px}.server-action-row>span:last-child{font-size:9px;color:#74747f}
@media(max-width:1180px){.server-diagnostics-grid,.stats-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.control-status-five{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.server-health-banner{align-items:flex-start;flex-direction:column}.server-health-issues{justify-content:flex-start}.server-diagnostics-grid,.stats-history-grid{grid-template-columns:1fr}.server-lower-grid{grid-template-columns:1fr}.control-status-five{grid-template-columns:1fr 1fr}.console-tools{align-items:stretch;flex-wrap:wrap}.console-tools input{flex-basis:100%}}


/* v0.7.2 · Discord-Wartungsfreigaben */
.maintenance-access{display:grid;gap:12px;margin:14px 0 16px}.maintenance-access-block{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);border-radius:12px;padding:13px}.maintenance-access-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.maintenance-access-title b{font-size:13px}.maintenance-access-title small{color:var(--muted);font-size:11px}.maintenance-fixed-roles{display:flex;flex-wrap:wrap;gap:7px}.maintenance-fixed-roles span{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;background:rgba(102,2,163,.16);border:1px solid rgba(206,174,253,.20);font-size:11px;color:#e8dcff}.maintenance-switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid rgba(255,255,255,.06);cursor:pointer}.maintenance-switch-row:first-of-type{border-top:0}.maintenance-switch-row>span{display:grid;gap:2px}.maintenance-switch-row b{font-size:12px}.maintenance-switch-row small{font-size:10px;color:var(--muted)}.maintenance-switch-row input{position:absolute;opacity:0;pointer-events:none}.maintenance-switch-row i{position:relative;width:40px;height:22px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.10);transition:.18s;flex:0 0 auto}.maintenance-switch-row i:after{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#aaa;transition:.18s}.maintenance-switch-row input:checked+i{background:rgba(102,2,163,.55);border-color:rgba(206,174,253,.45)}.maintenance-switch-row input:checked+i:after{left:21px;background:#fff}.maintenance-switch-row input:disabled+i{opacity:.45;cursor:not-allowed}@media(max-width:700px){.maintenance-access-title{align-items:flex-start;flex-direction:column;gap:2px}}

/* v0.8.5 · Programmverwaltung */
.program-watchdog-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;margin-bottom:12px}.program-watchdog-banner>div{display:flex;align-items:center;gap:10px}.program-watchdog-banner b{display:block;font-size:12px}.program-watchdog-banner small{display:block;margin-top:2px;color:#74747f;font-size:9px}.program-watchdog-banner>span{font-size:9px;color:#777783;text-align:right}.program-watchdog-banner>span.bad{color:#ff8795}.program-watchdog-pulse{width:9px;height:9px;border-radius:50%;background:var(--good);box-shadow:0 0 14px rgba(53,208,127,.55)}
.program-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.program-summary{padding:14px}.program-summary>span{display:block;color:#7f7f8a;font-size:9px;margin-bottom:6px}.program-summary>strong{display:block;color:#f0f0f4;font-size:20px;line-height:1.1}.program-summary>small{display:block;color:#666672;font-size:8px;margin-top:5px}
.panel-autostart-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 15px;margin-bottom:14px}.panel-autostart-info{display:flex;align-items:center;gap:10px}.panel-autostart-info b{display:block;font-size:11px}.panel-autostart-info small{display:block;margin-top:3px;color:#70707b;font-size:9px}.panel-autostart-actions{display:flex;align-items:center;gap:10px}.panel-autostart-actions>strong{font-size:9px;color:#8a8a95}.control-dot{width:8px;height:8px;border-radius:50%;background:var(--good);box-shadow:0 0 12px rgba(53,208,127,.45);flex:0 0 auto}.control-dot.offline{background:#666672;box-shadow:none}
.program-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.program-card{padding:14px;border-color:#292932}.program-card.program-online{border-color:rgba(53,208,127,.20)}.program-card.program-offline{border-color:rgba(255,79,100,.18)}.program-card.program-warning{border-color:rgba(241,184,75,.22)}.program-card.program-disabled{opacity:.72}.program-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.program-card-head>div{display:flex;align-items:center;gap:8px;min-width:0}.program-card-head strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.program-status-dot{width:7px;height:7px;border-radius:50%;background:#777783;flex:0 0 auto}.program-online .program-status-dot{background:var(--good);box-shadow:0 0 10px rgba(53,208,127,.45)}.program-offline .program-status-dot{background:var(--bad);box-shadow:0 0 10px rgba(255,79,100,.35)}.program-warning .program-status-dot{background:#f1b84b}.program-state{font-size:9px;color:#7f7f8a}.program-online .program-state{color:#76dca4}.program-offline .program-state{color:#ff8795}.program-warning .program-state{color:#e6bd6d}.program-description{margin:0 0 11px;color:#72727d;font-size:9px;line-height:1.45}.program-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:11px}.program-meta>div{padding:8px;border:1px solid #25252c;border-radius:8px;background:#101015;min-width:0}.program-meta span{display:block;color:#666672;font-size:8px;margin-bottom:3px}.program-meta b{display:block;color:#d8d8de;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.program-autostart{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #23232a;border-bottom:1px solid #23232a;cursor:pointer}.program-autostart>span{display:grid;gap:2px}.program-autostart b{font-size:9px;color:#d3d3d9}.program-autostart small{font-size:8px;color:#686873}.program-autostart input{position:absolute;opacity:0;pointer-events:none}.program-autostart i{position:relative;width:40px;height:22px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.10);transition:.18s;flex:0 0 auto}.program-autostart i:after{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#aaa;transition:.18s}.program-autostart input:checked+i{background:rgba(102,2,163,.55);border-color:rgba(206,174,253,.45)}.program-autostart input:checked+i:after{left:21px;background:#fff}.program-autostart input:disabled+i{opacity:.4;cursor:not-allowed}.program-note{min-height:16px;padding-top:8px;color:#74747f;font-size:8px}.program-note.bad,.program-last-error{color:#ff8795}.program-last-error{margin-top:4px;padding:7px 8px;border:1px solid rgba(255,79,100,.18);border-radius:7px;background:rgba(255,79,100,.05);font-size:8px}.program-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:10px}.program-actions .btn{min-width:76px}.program-audit-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 15px;border-bottom:1px solid #202027}.program-audit-row:last-child{border-bottom:0}.program-audit-dot{width:6px;height:6px;border-radius:50%;background:#7c2aac}.program-audit-row b{display:block;font-size:10px;color:#dcdce2}.program-audit-row small{display:block;margin-top:3px;color:#70707b;font-size:8px}.program-audit-row>span:last-child{font-size:9px;color:#74747f}
@media(max-width:1100px){.program-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.program-service-grid{grid-template-columns:1fr}}@media(max-width:700px){.program-summary-grid{grid-template-columns:1fr}.panel-autostart-card{align-items:flex-start;flex-direction:column}.panel-autostart-actions{width:100%;justify-content:space-between}.program-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.program-watchdog-banner{align-items:flex-start;flex-direction:column}.program-watchdog-banner>span{text-align:left}.program-actions{justify-content:stretch}.program-actions .btn{flex:1;min-width:0}}

/* v0.8.5 · Mehrteilige Programme */
.program-components{display:grid;gap:6px;margin:0 0 10px}.program-component{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;border:1px solid #25252c;border-radius:8px;background:#101015}.program-component-dot{width:6px;height:6px;border-radius:50%;background:#777783}.program-component.online .program-component-dot{background:var(--good);box-shadow:0 0 9px rgba(53,208,127,.4)}.program-component.offline .program-component-dot{background:var(--bad)}.program-component.warning .program-component-dot{background:#f1b84b}.program-component b{display:block;font-size:9px;color:#d8d8de}.program-component small{display:block;margin-top:2px;font-size:8px;color:#666672;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.program-component>strong{font-size:8px;font-weight:600;color:#74747f}.program-component.online>strong{color:#76dca4}.program-component.offline>strong{color:#ff8795}.program-component.warning>strong{color:#e6bd6d}

/* v0.8.8 · Player table sorting */
.table-sort {
  appearance:none; border:0; background:transparent; color:inherit; font:inherit; font-weight:inherit;
  padding:0; margin:0; cursor:pointer; display:inline-flex; align-items:center; gap:6px;
}
.table-sort span { color:var(--muted, #8f91a1); font-size:11px; line-height:1; }
.table-sort:hover, .table-sort.active { color:#fff; }
.table-sort.active span { color:#b96cff; }

/* v0.9.0 · Responsive UI System */
:root{
  --content-max:2200px;
  --sidebar-width:244px;
  --topbar-height:68px;
  --radius-lg:16px;
  --radius-md:11px;
  --surface-glass:rgba(18,18,22,.94);
  --focus:0 0 0 3px rgba(139,35,201,.18);
}
html{font-size:16px;scroll-behavior:smooth}
body{overflow-x:hidden;background:
  radial-gradient(circle at 72% -10%,rgba(102,2,163,.10),transparent 27rem),
  radial-gradient(circle at 4% 90%,rgba(102,2,163,.055),transparent 25rem),
  var(--bg)}
button,input,select{min-width:0}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:none;box-shadow:var(--focus)}

.shell{grid-template-columns:var(--sidebar-width) minmax(0,1fr)}
.sidebar{
  width:var(--sidebar-width);padding:20px 14px 16px;
  background:linear-gradient(180deg,rgba(16,16,20,.98),rgba(12,12,16,.98));
  border-right-color:#23232a;z-index:30;
}
.brand{padding:1px 7px 20px;gap:11px}.brand-logo{width:50px;height:44px}.brand strong{font-size:15px;letter-spacing:-.015em}.brand span{font-size:10px}
.nav-item{min-height:42px;padding:10px 12px;border-radius:10px;font-size:13px;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}
.nav-item:hover{transform:translateX(2px)}
.nav-item.active{box-shadow:inset 3px 0 0 var(--rpo2);background:linear-gradient(90deg,rgba(102,2,163,.28),rgba(102,2,163,.055) 82%)}
.nav-label{padding:17px 11px 6px;font-size:9px;letter-spacing:.13em}
.sidebar-foot{padding:14px 7px 0}.user-mini{line-height:1.35}

.topbar{height:var(--topbar-height);padding:0 clamp(18px,1.6vw,34px);gap:14px;border-bottom-color:#222229;background:rgba(8,8,10,.78)}
.global-search-wrap{max-width:min(820px,62vw)}
.search-global{height:40px;border-radius:10px;background:rgba(14,14,18,.88);transition:border-color .14s ease,box-shadow .14s ease}
.search-global:focus-within{border-color:rgba(139,35,201,.62);box-shadow:var(--focus)}
.status-pill{background:rgba(18,18,22,.72);min-height:34px}
.view{width:100%;max-width:var(--content-max);padding:clamp(20px,1.7vw,38px);margin-inline:auto}
.page-head{align-items:center;margin-bottom:clamp(18px,1.4vw,28px)}
.page-head h1{font-size:clamp(23px,1.25vw,32px);letter-spacing:-.035em;font-weight:760}.page-head p{font-size:clamp(12px,.68vw,14px);line-height:1.45}
.actions{flex-wrap:wrap;justify-content:flex-end}
.btn{min-height:39px;border-radius:9px;padding:8px 13px;transition:background .14s ease,border-color .14s ease,transform .12s ease,box-shadow .14s ease}
.btn:hover:not(:disabled){transform:translateY(-1px)}

.card,.stat-card{border-color:#292930;background:linear-gradient(180deg,rgba(20,20,25,.96),rgba(16,16,21,.96));border-radius:var(--radius-lg);box-shadow:0 18px 50px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.018)}
.card{padding:clamp(15px,1vw,20px)}
.stat-card{padding:clamp(17px,1.1vw,23px)}
.stat-card .k{font-size:clamp(11px,.63vw,13px)}.stat-card .v{font-size:clamp(27px,1.55vw,38px);letter-spacing:-.035em}
.stats{gap:clamp(10px,.8vw,16px);margin-bottom:clamp(12px,.8vw,16px)}
.card-title{margin-bottom:clamp(12px,.75vw,16px)}.card-title h2{font-size:clamp(13px,.76vw,16px)}.card-title span{font-size:clamp(10px,.58vw,12px)}
.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(320px,.65fr);gap:clamp(12px,.8vw,17px)}
.chart{height:clamp(230px,15vw,330px)}
.team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(9px,.7vw,14px)}
.team-role-card,.job-card{border-radius:12px}.team-role-card{padding:clamp(11px,.75vw,15px)}
.jobs-grid{gap:clamp(8px,.6vw,12px)}

.table-wrap{border:1px solid #24242c;border-radius:12px;overflow:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#3a3a44 transparent}
.table{min-width:760px}.table th{position:sticky;top:0;z-index:2;background:#131318;padding:12px 11px;font-size:11px;white-space:nowrap}.table td{padding:13px 11px}
.table tr:last-child td{border-bottom:0}.table tr.clickable{transition:background .12s ease}.table tr.clickable:hover{background:#19191f}
.table-tools{gap:12px;flex-wrap:wrap}.search-box{min-width:min(320px,100%);flex:1;max-width:520px;border-radius:10px}.filters{gap:7px}.filters select{min-width:130px;border-radius:9px}
.pager{padding-top:2px}.pager button,.page-jump input{min-height:34px}

.player-head{align-items:center;margin-bottom:16px}.avatar{width:52px;height:52px;border-radius:16px}.identity h1{font-size:clamp(19px,1vw,24px)}
.player-actions{max-width:65%}.tabs{padding:5px;border-radius:12px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{min-height:38px;padding:9px 14px}
.profile-grid{grid-template-columns:minmax(290px,360px) minmax(0,1fr);gap:clamp(12px,.8vw,17px)}
.info-row{grid-template-columns:minmax(100px,120px) minmax(0,1fr);padding:12px 0}.money-grid{gap:12px}

.modal-backdrop{padding:clamp(12px,2vw,24px)}.modal{width:min(560px,100%);max-height:min(88vh,860px);overflow:auto;border-radius:18px;padding:clamp(17px,1.25vw,22px)}
.toast-host{max-width:min(380px,calc(100vw - 24px))}.toast{min-width:min(280px,calc(100vw - 24px));border-radius:11px}

.mobile-nav-toggle,.nav-backdrop{display:none}

/* Large desktop / 4K: use the available canvas instead of leaving the UI tiny in the middle. */
@media (min-width:1921px){
  :root{--content-max:2360px;--sidebar-width:270px;--topbar-height:76px}
  .sidebar{padding:24px 17px 18px}.brand-logo{width:58px;height:50px}.brand strong{font-size:17px}.brand span{font-size:12px}
  .nav-item{min-height:48px;font-size:15px;padding:11px 14px}.nav-item>span{width:21px}.nav-label{font-size:10px}
  .search-global{height:44px}.search-global input{font-size:14px}.status-pill{font-size:13px;padding:8px 13px}
  .btn{font-size:14px;min-height:42px}.table th{font-size:12px}.table td{font-size:14px}.sub{font-size:11px}.badge{font-size:11px}
  .online-row b{font-size:13px}.online-row small{font-size:11px}
  .team-role-head{font-size:12px}.team-member{font-size:11px}.job-card span{font-size:12px}
  .program-description,.program-state,.program-meta b,.program-autostart b{font-size:10px}.program-meta span,.program-autostart small,.program-note{font-size:9px}
}

/* Laptop / Full-HD: slightly denser, but never squeezed. */
@media (max-width:1366px){
  :root{--sidebar-width:218px}.view{padding:22px}.topbar{padding-inline:22px}.dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.7fr)}
  .profile-grid{grid-template-columns:310px minmax(0,1fr)}
  .program-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:1050px){
  :root{--sidebar-width:205px}.view{padding:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats>.stat-card:last-child:nth-child(odd){grid-column:1/-1}
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.profile-grid{grid-template-columns:1fr}
  .player-actions{max-width:none}.page-head{align-items:flex-start}.program-service-grid{grid-template-columns:1fr}
}

/* Mobile drawer navigation */
@media (max-width:760px){
  :root{--topbar-height:60px}
  body.nav-open{overflow:hidden}
  .shell{display:block;min-height:100dvh}
  .sidebar{
    position:fixed;left:0;top:0;bottom:0;height:100dvh;width:min(86vw,320px);z-index:80;
    padding:18px 14px;transform:translateX(-105%);transition:transform .22s cubic-bezier(.2,.8,.2,1);
    box-shadow:24px 0 70px rgba(0,0,0,.55);overflow-y:auto;
  }
  body.nav-open .sidebar{transform:translateX(0)}
  .sidebar nav{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:5px}
  .nav-label{display:block!important}.sidebar-foot{display:block!important;margin-top:24px}
  .nav-item{min-height:46px;font-size:14px}
  .nav-backdrop{display:block;position:fixed;inset:0;z-index:70;border:0;background:rgba(0,0,0,.62);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .2s ease}
  body.nav-open .nav-backdrop{opacity:1;pointer-events:auto}
  .mobile-nav-toggle{display:grid;place-content:center;gap:4px;width:40px;height:40px;flex:0 0 40px;border:1px solid #2b2b33;background:#121217;border-radius:10px;cursor:pointer}
  .mobile-nav-toggle span{display:block;width:17px;height:1.5px;border-radius:999px;background:#d8d8df;transition:transform .18s ease,opacity .18s ease}
  body.nav-open .mobile-nav-toggle span:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
  body.nav-open .mobile-nav-toggle span:nth-child(2){opacity:0}
  body.nav-open .mobile-nav-toggle span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}
  .topbar{height:var(--topbar-height);padding:0 12px;gap:9px;z-index:40}.global-search-wrap{max-width:none}.search-global{height:40px;padding:0 10px}.search-global input{font-size:13px}.status-pill{display:none}
  .global-search-results{top:54px!important;left:8px!important;right:8px!important;max-height:min(70dvh,520px)}
  .view{padding:15px 12px 28px;max-width:none}
  .page-head{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:17px}.page-head h1{font-size:23px}.page-head p{font-size:12px}.page-head .actions{justify-content:flex-start;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}.page-head .actions::-webkit-scrollbar{display:none}.page-head .actions:empty{display:none}.page-head .actions>.btn{flex:0 0 auto}
  .btn{min-height:42px}.btn.small{min-height:36px}
  .stats,.stats.two{grid-template-columns:1fr 1fr!important;gap:9px}.stats>.stat-card:last-child:nth-child(odd){grid-column:1/-1}.stat-card{padding:14px}.stat-card .v{font-size:25px}
  .card{padding:14px;border-radius:14px}.card-title{align-items:flex-start;gap:8px}.card-title h2{font-size:13px}
  .team-grid{grid-template-columns:1fr!important}.jobs-grid{grid-template-columns:1fr 1fr!important}.dashboard-grid{grid-template-columns:1fr}.chart{height:220px}
  .table-tools{align-items:stretch;flex-direction:column}.search-box{max-width:none;width:100%;min-width:0}.filters{display:grid!important;grid-template-columns:1fr 1fr;width:100%;gap:8px}.filters select{width:100%;min-width:0;height:42px}
  .table-wrap{margin-inline:-2px;border-radius:10px}.table{min-width:680px}.table th{font-size:10px;padding:10px 9px}.table td{font-size:12px;padding:11px 9px}.table-wrap:after{content:'';position:sticky;right:0;display:block;width:18px;height:1px;float:right;box-shadow:-12px 0 18px rgba(0,0,0,.35);pointer-events:none}
  .pager{align-items:stretch;flex-direction:column}.pager-controls{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}.page-jump{margin-left:2px;flex:0 0 auto}
  .player-head{align-items:flex-start;flex-direction:column}.identity{width:100%}.identity p{word-break:break-word}.player-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.player-actions .btn{width:100%;min-width:0}.action-separator{display:none!important}
  .tabs{margin-inline:-1px}.tab{min-height:42px;padding:9px 13px}.profile-grid{grid-template-columns:1fr}.info-row{grid-template-columns:105px minmax(0,1fr)}.money-grid{grid-template-columns:1fr!important}
  .row-actions{flex-wrap:wrap}.job-line{align-items:flex-start;gap:8px}.job-line .row-actions{justify-content:flex-end}
  .health-grid{grid-template-columns:1fr}.server-metrics-grid,.server-diagnostics-grid,.stats-history-grid,.server-info-grid,.server-lower-grid{grid-template-columns:1fr!important}
  .control-status-strip,.control-status-five{grid-template-columns:1fr 1fr!important}.server-control-grid{grid-template-columns:1fr}.control-form-row{flex-direction:column}.control-form-row>*{width:100%!important}
  .control-resource-tools{width:100%;flex-direction:column}.control-resource-tools input,.control-resource-tools select{width:100%!important}.console-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}.console-tools input{grid-column:1/-1}.server-console-output{height:44dvh;min-height:280px;font-size:10px}
  .program-summary-grid{grid-template-columns:1fr 1fr!important}.program-service-grid{grid-template-columns:1fr}.panel-autostart-card,.program-watchdog-banner{align-items:flex-start;flex-direction:column}.panel-autostart-actions{width:100%;display:grid;grid-template-columns:1fr auto}.program-meta{grid-template-columns:1fr 1fr}.program-actions{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.program-actions .btn{min-width:0;width:100%}
  .teleport-destination-list{grid-template-columns:1fr!important}
  .modal-backdrop{align-items:end;padding:0}.modal{width:100%;max-width:none;max-height:92dvh;border-radius:18px 18px 0 0;border-bottom:0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));animation:rpoMobileModalIn .2s cubic-bezier(.2,.8,.2,1)}
  .modal-actions{position:sticky;bottom:0;margin-inline:-2px;padding-top:12px;padding-bottom:2px;background:linear-gradient(180deg,rgba(20,20,25,0),#141419 18%)}
  .toast-host{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:none}.toast{width:100%;min-width:0}
  .login{padding:16px}.login-card{padding:28px 22px;border-radius:18px}.login-logo{max-width:64%}
}

@media (max-width:480px){
  .stats,.stats.two{grid-template-columns:1fr!important}.stats>.stat-card:last-child:nth-child(odd){grid-column:auto}.jobs-grid{grid-template-columns:1fr!important}
  .filters{grid-template-columns:1fr!important}.player-actions{grid-template-columns:1fr 1fr}.control-status-strip,.control-status-five{grid-template-columns:1fr!important}
  .program-summary-grid{grid-template-columns:1fr!important}.program-meta{grid-template-columns:1fr 1fr}.program-actions{grid-template-columns:1fr 1fr}.program-actions .btn:last-child:nth-child(odd){grid-column:1/-1}
  .info-row{grid-template-columns:1fr;gap:5px}.job-line{flex-direction:column}.job-line .row-actions{width:100%;justify-content:flex-start}
  .modal-actions,.confirm-actions{grid-template-columns:1fr 1fr}.modal-actions .btn{min-width:0}
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
@keyframes rpoMobileModalIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* v0.9.2 · Premium visual system + unified SVG icons */
:root{
  --rpo:#6602a3;
  --rpo-bright:#8f2fd0;
  --rpo-soft:#b96be8;
  --bg:#07080c;
  --panel:#101219;
  --panel2:#151821;
  --panel3:#1a1d27;
  --sidebar:#0b0d12;
  --line:rgba(255,255,255,.075);
  --line-strong:rgba(255,255,255,.12);
  --text:#f7f7fb;
  --muted:#8f94a5;
  --muted-2:#686d7d;
  --good:#38d58a;
  --warn:#e7b94f;
  --bad:#ff5d70;
  --shadow:0 18px 50px rgba(0,0,0,.28);
  --shadow-soft:0 8px 28px rgba(0,0,0,.18);
  --focus:0 0 0 3px rgba(143,47,208,.20);
}
html,body{background:var(--bg)}
body{
  color:var(--text);
  font-feature-settings:"kern" 1,"liga" 1,"tnum" 1;
  text-rendering:optimizeLegibility;
  background:
    radial-gradient(circle at 85% -8%,rgba(102,2,163,.12),transparent 34rem),
    radial-gradient(circle at 8% 110%,rgba(102,2,163,.055),transparent 36rem),
    linear-gradient(180deg,#07080c 0%,#090a0f 46%,#07080c 100%);
}
::selection{background:rgba(143,47,208,.36);color:#fff}

.rpo-icon{width:1em;height:1em;display:block;flex:0 0 auto;overflow:visible;color:currentColor}
.btn .rpo-icon{width:16px;height:16px}
.icon-btn .rpo-icon{width:16px;height:16px;margin:auto}
.modal-x .rpo-icon{width:17px;height:17px}
.confirm-icon .rpo-icon{width:23px;height:23px}
.search-icon .rpo-icon{width:16px;height:16px}
.table-sort .rpo-icon{width:13px;height:13px}
.dashboard-jobs-chevron .rpo-icon{width:17px;height:17px}
.network-values .rpo-icon{width:12px;height:12px;display:inline-block;vertical-align:-2px;margin-right:4px}

.sidebar{
  background:
    linear-gradient(180deg,rgba(18,19,27,.96),rgba(10,11,16,.99)),
    var(--sidebar);
  border-right:1px solid var(--line);
  box-shadow:18px 0 50px rgba(0,0,0,.12);
}
.brand{position:relative;padding-bottom:22px;margin-bottom:4px}
.brand:after{content:"";position:absolute;left:7px;right:7px;bottom:0;height:1px;background:linear-gradient(90deg,var(--line-strong),transparent)}
.brand-logo{filter:drop-shadow(0 6px 18px rgba(102,2,163,.16))}
.brand strong{font-weight:750;letter-spacing:-.025em;color:#fff}
.brand span{color:#747988;letter-spacing:.01em}
.nav-label{color:#5f6473;font-weight:700;letter-spacing:.14em}
.nav-item{
  position:relative;
  border-color:transparent;
  color:#b8bcc8;
  font-weight:560;
  letter-spacing:-.01em;
}
.nav-item:hover{background:rgba(255,255,255,.038);color:#f3f4f7;transform:none}
.nav-item.active{
  color:#fff;
  border-color:rgba(143,47,208,.24);
  background:linear-gradient(90deg,rgba(102,2,163,.24),rgba(102,2,163,.07));
  box-shadow:inset 3px 0 0 var(--rpo-bright),0 4px 18px rgba(45,3,69,.08);
}
.nav-icon{
  width:30px!important;height:30px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(255,255,255,.06);border-radius:8px;
  background:rgba(255,255,255,.022);color:#8f94a4!important;transition:.15s ease;
}
.nav-icon .rpo-icon{width:15px;height:15px}
.nav-item:hover .nav-icon{color:#d7dae3!important;border-color:rgba(255,255,255,.10);background:rgba(255,255,255,.04)}
.nav-item.active .nav-icon{color:#d8a7f3!important;background:rgba(102,2,163,.18);border-color:rgba(185,107,232,.22);box-shadow:0 0 22px rgba(102,2,163,.14)}
.nav-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-foot{border-top-color:var(--line);padding-top:15px}
.user-mini b{display:block;color:#eff0f4;font-weight:650}.user-mini .sub{color:#737887}
.logout{display:inline-flex;align-items:center;gap:7px;color:#777c8a;transition:.15s ease}.logout .rpo-icon{width:14px;height:14px}.logout:hover{color:#fff}

.topbar{
  border-bottom:1px solid var(--line);
  background:rgba(7,8,12,.76);
  box-shadow:0 10px 28px rgba(0,0,0,.09);
  backdrop-filter:blur(22px) saturate(125%);
}
.search-global{
  border-color:var(--line-strong);
  background:rgba(15,17,24,.84);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.022),0 5px 18px rgba(0,0,0,.08);
}
.search-global:focus-within{border-color:rgba(143,47,208,.52);background:rgba(17,19,27,.96);box-shadow:var(--focus),0 8px 24px rgba(0,0,0,.12)}
.search-leading{color:#727887;display:grid;place-items:center}.search-leading .rpo-icon{width:16px;height:16px}
.search-global input{font-size:13px;letter-spacing:-.005em}.search-global input::placeholder{color:#686d7c}
.search-hint{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#555a68;border-left:1px solid var(--line);padding-left:10px;white-space:nowrap}
.status-pill{border-color:var(--line);background:rgba(16,18,25,.74);box-shadow:inset 0 1px 0 rgba(255,255,255,.02);color:#a9adba}
.status-pill i{width:7px;height:7px}

.page-head{position:relative;padding-bottom:2px}
.page-head-copy{min-width:0}
.page-eyebrow{display:block;margin-bottom:6px;font-size:9px;font-weight:760;text-transform:uppercase;letter-spacing:.16em;color:#806493}
.page-head h1{font-weight:770;letter-spacing:-.04em;line-height:1.06;color:#fafafd}
.page-head p{color:#858a9a;max-width:850px}

.card,.stat-card{
  border:1px solid var(--line);
  background:
    linear-gradient(180deg,rgba(19,21,29,.965),rgba(13,15,21,.985));
  box-shadow:var(--shadow-soft),inset 0 1px 0 rgba(255,255,255,.025);
}
.card:hover{border-color:rgba(255,255,255,.09)}
.stat-card{isolation:isolate}
.stat-card:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(185,107,232,.38),transparent);opacity:.55}
.stat-card:after{width:120px;height:120px;right:-42px;top:-52px;background:radial-gradient(circle,rgba(102,2,163,.16),transparent 68%);filter:none;z-index:-1}
.stat-card-head{display:flex;align-items:center;gap:9px}.stat-card .k{font-weight:590;color:#9297a7}
.stat-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:#c088e0;background:rgba(102,2,163,.12);border:1px solid rgba(185,107,232,.15)}
.stat-icon .rpo-icon{width:14px;height:14px}
.stat-card .v{margin-top:14px;font-weight:780;color:#fff;font-variant-numeric:tabular-nums}
.card-title h2{font-weight:680;letter-spacing:-.018em;color:#f4f5f8}.card-title span{color:#737887}

.btn{
  border-color:var(--line-strong);
  background:linear-gradient(180deg,rgba(29,31,41,.94),rgba(20,22,30,.96));
  color:#e9eaf0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 4px 12px rgba(0,0,0,.10);
  font-weight:590;
  letter-spacing:-.005em;
}
.btn:hover:not(:disabled){background:linear-gradient(180deg,rgba(35,38,49,.98),rgba(24,26,35,.98));border-color:rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 7px 18px rgba(0,0,0,.14)}
.btn.primary{background:linear-gradient(180deg,#7a15b6,#5c018f);border-color:#851ebf;color:#fff;box-shadow:0 7px 20px rgba(102,2,163,.22),inset 0 1px 0 rgba(255,255,255,.13)}
.btn.primary:hover:not(:disabled){background:linear-gradient(180deg,#8823c5,#68059a);border-color:#9830cf;box-shadow:0 10px 26px rgba(102,2,163,.28),inset 0 1px 0 rgba(255,255,255,.14)}
.btn.danger{background:linear-gradient(180deg,rgba(255,93,112,.105),rgba(255,93,112,.065));border-color:rgba(255,93,112,.28);color:#ff8998}
.btn.danger:hover:not(:disabled){background:rgba(255,93,112,.14);border-color:rgba(255,93,112,.40)}
.btn.ghost{box-shadow:none;background:transparent}
.btn:disabled{opacity:.38;filter:saturate(.75)}
.btn.compact{min-height:31px;padding:5px 9px;font-size:10px}

.btn.action-screen{background:linear-gradient(180deg,rgba(32,35,45,.94),rgba(22,24,32,.96));border-color:var(--line-strong);color:#d9dce4}
.btn.action-revive{background:rgba(56,213,138,.075);border-color:rgba(56,213,138,.25);color:#80e9b4}
.btn.action-char{background:rgba(102,2,163,.10);border-color:rgba(185,107,232,.26);color:#d9a6f4}
.btn.action-kill{background:rgba(255,93,112,.075);border-color:rgba(255,93,112,.24);color:#ff8e9c}
.btn.action-kick{background:rgba(236,154,70,.075);border-color:rgba(236,154,70,.24);color:#f6b675}
.action-separator{background:var(--line)!important}

.search-box,.field input,.field select,.control-form-row input,.control-form-row select,.control-standalone-label input,.control-resource-tools input,.control-resource-tools select,.console-tools input,.console-tools select,.server-console-input input,textarea{
  border-color:var(--line-strong)!important;
  background:#0b0d12!important;
  color:#f1f2f6!important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.16);
}
.search-box:focus-within,.field input:focus,.field select:focus,.control-form-row input:focus,.control-form-row select:focus,.control-standalone-label input:focus,.control-resource-tools input:focus,.control-resource-tools select:focus,.console-tools input:focus,.console-tools select:focus,.server-console-input input:focus,textarea:focus{border-color:rgba(143,47,208,.52)!important;box-shadow:var(--focus)!important;outline:none}
.search-box>span{color:#6e7381}.search-box>span .rpo-icon{width:15px;height:15px}

.table-wrap{border:1px solid var(--line);background:rgba(7,8,12,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.012)}
.table th{background:#11131a;color:#727887;border-bottom-color:var(--line);font-weight:690;text-transform:uppercase;letter-spacing:.045em;font-size:9.5px}
.table td{border-bottom-color:rgba(255,255,255,.052);color:#d9dbe3}
.table tbody tr{transition:background .12s ease}.table tbody tr:hover{background:rgba(255,255,255,.024)}
.table tr.clickable:hover{background:rgba(102,2,163,.065)}
.sub{color:#6f7484}.mono{font-variant-ligatures:none}
.icon-btn{display:grid;place-items:center;border-color:var(--line-strong);background:#0d0f15;color:#afb4c2;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
.icon-btn:hover{background:#171a22;color:#fff;border-color:rgba(255,255,255,.16)}
.icon-btn.danger{color:#f17b89;background:rgba(255,93,112,.03)}

.badge{border:1px solid rgba(255,255,255,.055);background:#1a1d25;color:#b9bdc9;font-weight:650}
.badge.purple{border-color:rgba(185,107,232,.14);background:rgba(102,2,163,.14);color:#d7a5f1}
.badge.green{border-color:rgba(56,213,138,.15);background:rgba(56,213,138,.09);color:#7fe9b3}
.badge.red{border-color:rgba(255,93,112,.16);background:rgba(255,93,112,.08);color:#ff8998}

.tabs{background:#0d0f15;border-color:var(--line);box-shadow:inset 0 1px 0 rgba(255,255,255,.016)}
.tab{color:#878c9a;font-weight:590}.tab:hover{color:#d7d9e1;background:rgba(255,255,255,.025)}.tab.active{color:#fff;background:#1a1d26;box-shadow:0 3px 10px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035)}
.avatar{background:linear-gradient(145deg,#242734,#12141b);border-color:var(--line-strong);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);color:#e2b8f6}
.identity h1{font-weight:740;letter-spacing:-.03em}.identity p{color:#6f7484}
.info-row{border-bottom-color:rgba(255,255,255,.055)}.info-row span:first-child{color:#737887}.job-line,.money-card{background:#11131a;border-color:var(--line)}

.global-search-results{background:rgba(15,17,24,.98);border-color:var(--line-strong);box-shadow:0 28px 80px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.03);backdrop-filter:blur(18px)}
.search-group+.search-group{border-top-color:var(--line)}.search-group-title{color:#666b79;font-weight:720}
.search-hit{color:#e9eaf0}.search-hit:hover{background:rgba(255,255,255,.04)}.search-hit small{color:#777c8a}
.search-icon{border-color:var(--line);background:#11141b;color:#b877dc}

.dashboard-jobs-card>summary,.server-resources-card>summary,.recent-actions-card>summary{transition:background .14s ease}
.dashboard-jobs-card>summary:hover,.server-resources-card>summary:hover,.recent-actions-card>summary:hover{background:rgba(255,255,255,.018)}
.dashboard-jobs-chevron{display:grid;place-items:center;color:#787d8c!important}.dashboard-jobs-card[open] .dashboard-jobs-chevron,.server-resources-card[open] .dashboard-jobs-chevron,.recent-actions-card[open] .dashboard-jobs-chevron{transform:rotate(180deg)}
.team-role-card,.job-card{background:#0f1117;border-color:var(--line);box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
.team-member:hover,.online-row:hover{background:rgba(255,255,255,.028)}

.control-status-strip,.program-watchdog-banner,.panel-autostart-card{border-color:var(--line)!important;background:linear-gradient(180deg,rgba(18,20,27,.96),rgba(13,15,21,.98))!important;box-shadow:var(--shadow-soft),inset 0 1px 0 rgba(255,255,255,.025)}
.server-console-output{background:#07080b;border-color:var(--line);color:#c9cdd7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.008)}
.server-console-input>span{color:#8c63a2;font-weight:700}
.program-component{background:#0d0f15;border-color:var(--line)}
.program-service-card{border-color:var(--line)!important;background:linear-gradient(180deg,#12141b,#0e1016)!important}

.modal-backdrop{background:rgba(2,3,6,.76);backdrop-filter:blur(7px)}
.modal{background:linear-gradient(180deg,#151720,#101219);border-color:var(--line-strong);box-shadow:0 35px 110px rgba(0,0,0,.70),inset 0 1px 0 rgba(255,255,255,.035)}
.modal-x{display:grid!important;place-items:center!important;background:#101219!important;border-color:var(--line-strong)!important;color:#8f94a4!important}.modal-x:hover{background:#1b1e27!important;color:#fff!important}
.confirm-kicker{font-weight:760;letter-spacing:.14em;color:#79538d}.confirm-head h3{font-weight:720;letter-spacing:-.025em}.confirm-icon{display:grid;place-items:center;border-radius:12px}.confirm-subject{background:#0b0d12!important;border-color:var(--line-strong)!important}
.toast{background:#151820;border-color:var(--line-strong);box-shadow:0 18px 50px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.03)}

.login{background:radial-gradient(circle at 50% 22%,rgba(102,2,163,.20),transparent 30rem),linear-gradient(180deg,#08090e,#06070a)}
.login-card{background:linear-gradient(180deg,rgba(19,21,29,.98),rgba(12,14,20,.99));border-color:var(--line-strong);box-shadow:0 40px 110px rgba(0,0,0,.62),inset 0 1px 0 rgba(255,255,255,.04)}
.login-card h1{font-weight:780;letter-spacing:-.04em}.login-card p{color:#858a99}

.pager button{display:grid;place-items:center;border-color:var(--line);background:#101219;color:#aeb3c0}.pager button .rpo-icon{width:14px;height:14px}.pager button:hover:not(:disabled){background:#1a1d26;border-color:var(--line-strong);color:#fff}.pager button.active{background:rgba(102,2,163,.22);border-color:rgba(185,107,232,.26);color:#e5c5f5}
.table-sort span{display:inline-grid;place-items:center}.table-sort.active span{color:#c684e8}

@media (min-width:1921px){
  .nav-icon{width:34px!important;height:34px!important}.nav-icon .rpo-icon{width:17px;height:17px}
  .rpo-icon{stroke-width:1.75}
  .page-eyebrow{font-size:10px}
}

@media (max-width:760px){
  .sidebar{background:linear-gradient(180deg,#11131a,#090b10);border-right-color:var(--line-strong)}
  .brand{margin-bottom:6px}.nav-item{min-height:48px;padding:8px 10px}.nav-icon{width:32px!important;height:32px!important}
  .search-hint{display:none}.topbar{background:rgba(7,8,12,.90)}
  .page-eyebrow{font-size:8px;margin-bottom:5px}.page-head h1{font-size:24px}.page-head p{color:#7f8493}
  .card,.stat-card{box-shadow:0 10px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.024)}
  .stat-card-head{gap:8px}.stat-icon{width:26px;height:26px}.stat-card .v{margin-top:11px}
  .player-actions .btn{justify-content:flex-start;padding-inline:12px}
  .btn .rpo-icon{width:15px;height:15px}
  .global-search-results{background:#101219}
  .modal{background:linear-gradient(180deg,#161923,#101219)}
  .table th{font-size:9px}
}

@media (max-width:480px){
  .brand-logo{width:44px;height:39px}.brand strong{font-size:14px}
  .player-actions .btn{font-size:12px}
  .page-head h1{font-size:22px}
}

/* v0.9.2 · Sidebar label width fix */
.nav-item > .nav-text{
  width:auto !important;
  flex:1 1 auto;
  min-width:0;
  text-align:left;
  color:inherit;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* v1.0.1 · Rechteverwaltung & Rollenansicht */
.permission-hidden{display:none!important}
.permission-admin-note{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:16px 18px;border:1px solid rgba(185,107,232,.20);border-radius:16px;background:linear-gradient(135deg,rgba(102,2,163,.13),rgba(18,20,28,.94));box-shadow:var(--shadow-soft)}
.permission-admin-note>div{flex:1;min-width:0}.permission-admin-note b{display:block;font-size:14px}.permission-admin-note p{margin:4px 0 0;color:#8b90a0;font-size:12px}.permission-admin-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(102,2,163,.18);border:1px solid rgba(185,107,232,.22);color:#d2a2ec}.permission-admin-icon .rpo-icon{width:18px;height:18px}
.permission-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}
.permission-role-panel{position:sticky;top:82px;padding:12px}.permission-role-panel-head{padding:6px 8px 12px;border-bottom:1px solid var(--line);margin-bottom:8px}.permission-role-panel-head small{display:block;color:#686d7a;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:760}.permission-role-panel-head b{display:block;margin-top:3px;font-size:15px}
.permission-role-list{display:grid;gap:7px}.permission-role{--permission-role:#777;display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#aeb3c0;text-align:left;cursor:pointer;transition:.14s ease}.permission-role:hover{background:rgba(255,255,255,.026);color:#fff}.permission-role.active{border-color:color-mix(in srgb,var(--permission-role) 42%,transparent);background:color-mix(in srgb,var(--permission-role) 11%,#11131a);color:#fff;box-shadow:inset 3px 0 0 var(--permission-role)}.permission-role-dot{width:9px;height:9px;border-radius:999px;background:var(--permission-role);box-shadow:0 0 0 4px color-mix(in srgb,var(--permission-role) 12%,transparent);flex:0 0 auto}.permission-role span:nth-child(2){min-width:0}.permission-role b{display:block;font-size:12px}.permission-role small{display:block;margin-top:2px;color:#737887;font-size:10px}
.permission-content{display:grid;gap:16px;min-width:0}.permission-role-summary{--permission-role:#777;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-top:2px solid color-mix(in srgb,var(--permission-role) 62%,transparent)}.permission-role-summary>div:first-child{display:flex;align-items:center;gap:12px}.permission-role-summary h2{margin:2px 0 3px;font-size:18px}.permission-role-summary p{margin:0;color:#777c8a;font-size:11px}.permission-role-summary small{color:#656a78;text-transform:uppercase;letter-spacing:.1em;font-size:8px;font-weight:760}.permission-role-summary-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.permission-role-summary-actions>strong{margin-right:4px;font-size:13px;color:#c7cad3}
.permission-section{display:grid;gap:10px}.permission-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:0 2px}.permission-section-head h2{margin:0;font-size:15px}.permission-section-head p{margin:4px 0 0;color:#707584;font-size:11px}.permission-section-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.permission-section-actions>span{font-size:10px;color:#777c8a;margin-right:2px}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.permission-tile{display:block;min-height:112px;padding:13px 14px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(180deg,#11131a,#0e1016);color:#d8dbe4;text-align:left;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease,box-shadow .12s ease}.permission-tile:hover{transform:translateY(-1px);border-color:var(--line-strong);background:#14171f}.permission-tile.granted{border-color:rgba(49,210,127,.30);background:linear-gradient(180deg,rgba(17,33,25,.95),rgba(11,24,18,.96));box-shadow:inset 3px 0 0 #31d27f}.permission-tile:disabled{opacity:.6;cursor:wait;transform:none}.permission-tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.permission-tile-top>b{font-size:12px;line-height:1.3}.permission-tile p{margin:9px 0 0;color:#747987;font-size:10px;line-height:1.45}.permission-state{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#1a1d24;color:#777c89;font-size:8px;font-weight:700}.permission-state .rpo-icon{width:10px;height:10px}.permission-tile.granted .permission-state{background:rgba(49,210,127,.10);color:#62dda0}
@media (min-width:2200px){.permission-layout{grid-template-columns:280px minmax(0,1fr)}.permission-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.permission-tile{min-height:122px;padding:15px 16px}.permission-tile-top>b{font-size:13px}.permission-tile p{font-size:11px}}
@media (max-width:1280px){.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.permission-layout{grid-template-columns:1fr}.permission-role-panel{position:static}.permission-role-list{display:flex;overflow-x:auto;padding-bottom:2px}.permission-role{min-width:170px}.permission-role-summary{align-items:flex-start;flex-direction:column}.permission-role-summary-actions{justify-content:flex-start}.permission-section-head{align-items:flex-start;flex-direction:column}.permission-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.permission-admin-note{align-items:flex-start;flex-wrap:wrap}.permission-admin-note .badge{margin-left:52px}.permission-grid{grid-template-columns:1fr}.permission-tile{min-height:auto}.permission-role-summary-actions .btn,.permission-section-actions .btn{min-height:36px}.permission-section-actions{width:100%}}
\n\n/* v1.0.1 · Rollenansicht */\n.preview-role-btn{border-color:rgba(185,107,232,.28);background:rgba(102,2,163,.12);color:#dec1ef}.preview-role-btn:hover{background:rgba(102,2,163,.22);border-color:rgba(185,107,232,.42)}\n.role-preview-banner{--preview-role:#777;position:sticky;top:var(--topbar-height,68px);z-index:9;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0;padding:11px clamp(18px,1.6vw,34px);border-bottom:1px solid color-mix(in srgb,var(--preview-role) 32%,var(--line));background:linear-gradient(90deg,color-mix(in srgb,var(--preview-role) 13%,#0d0f15),rgba(10,11,16,.97));box-shadow:0 12px 30px rgba(0,0,0,.16);backdrop-filter:blur(18px)}\n.role-preview-banner.hidden{display:none!important}.role-preview-main{display:flex;align-items:center;gap:11px;min-width:0}.role-preview-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:color-mix(in srgb,var(--preview-role) 70%,#fff);background:color-mix(in srgb,var(--preview-role) 16%,transparent);border:1px solid color-mix(in srgb,var(--preview-role) 28%,transparent);flex:0 0 auto}.role-preview-icon .rpo-icon{width:17px;height:17px}.role-preview-main>div{display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:baseline;min-width:0}.role-preview-main small{grid-column:1/-1;color:#747a89;text-transform:uppercase;letter-spacing:.11em;font-size:8px;font-weight:800}.role-preview-main b{font-size:13px;color:#f4f4f7}.role-preview-main span{font-size:10px;color:#8b909f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-preview-actions{display:flex;align-items:end;gap:8px;flex:0 0 auto}.role-preview-actions label{display:grid;gap:3px}.role-preview-actions label>span{font-size:8px;color:#707584;text-transform:uppercase;letter-spacing:.1em;font-weight:760}.role-preview-actions select{min-width:170px;height:34px;border-radius:8px;border:1px solid var(--line-strong);background:#11141b;color:#e4e7ee;padding:0 28px 0 10px;font-size:11px}.role-preview-active .sidebar{box-shadow:inset -2px 0 0 color-mix(in srgb,var(--preview-role,#6602a3) 30%,transparent)}\n@media(max-width:760px){.role-preview-banner{top:var(--topbar-height,60px);align-items:stretch;flex-direction:column;gap:8px;padding:10px 12px}.role-preview-main>div{grid-template-columns:1fr}.role-preview-main span{white-space:normal}.role-preview-actions{width:100%;align-items:end}.role-preview-actions label{flex:1}.role-preview-actions select{width:100%;min-width:0}.role-preview-actions .btn{white-space:nowrap}}\n
/* v1.0.2 · Audit-Log Redesign */
.audit-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.audit-stat{display:flex;align-items:center;gap:12px;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,rgba(20,22,29,.92),rgba(14,16,22,.94));box-shadow:0 10px 30px rgba(0,0,0,.12)}.audit-stat>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;border:1px solid rgba(151,85,198,.18);background:rgba(102,2,163,.11);color:#c58bea;flex:0 0 auto}.audit-stat>span .rpo-icon{width:18px;height:18px}.audit-stat>div{display:grid;gap:2px}.audit-stat small{color:#777d8b;font-size:9px;text-transform:uppercase;letter-spacing:.09em;font-weight:760}.audit-stat b{font-size:20px;line-height:1;color:#f3f4f7}.audit-stat.filtered{border-color:rgba(102,2,163,.26);background:linear-gradient(180deg,rgba(37,20,48,.78),rgba(17,15,24,.95))}
.audit-filter-card{margin-bottom:18px;padding:14px}.audit-filter-grid{display:grid;grid-template-columns:minmax(260px,1.7fr) repeat(3,minmax(150px,.75fr));gap:10px;align-items:end}.audit-filter-grid>label{display:grid;gap:6px}.audit-filter-grid>label>span{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#737988;font-weight:760}.audit-filter-grid select{height:40px;width:100%;padding:0 32px 0 11px;border-radius:10px;border:1px solid var(--line);background:#101219;color:#e6e8ee;font-size:11px;outline:none}.audit-filter-grid select:focus,.audit-filter-grid .search-box:focus-within{border-color:rgba(153,79,199,.58);box-shadow:0 0 0 3px rgba(102,2,163,.09)}.audit-filter-grid .search-box{height:40px;margin:0}.audit-filter-grid .search-box input{font-size:11px}.audit-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;margin-top:11px;border-top:1px solid rgba(255,255,255,.055);color:#777d8b;font-size:10px}.audit-filter-actions .btn{height:32px}
.audit-stream{display:grid;gap:18px}.audit-day{display:grid;gap:8px}.audit-day-heading{display:flex;align-items:center;gap:12px;padding:0 3px}.audit-day-heading span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:#777d8b;white-space:nowrap}.audit-day-heading i{height:1px;background:var(--line);flex:1}
.audit-event{--audit-tone:#8d94a3;position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(180deg,rgba(18,20,27,.95),rgba(14,16,22,.97));transition:border-color .16s ease,background .16s ease,transform .16s ease}.audit-event:hover{border-color:rgba(255,255,255,.115);background:linear-gradient(180deg,rgba(22,24,32,.98),rgba(15,17,23,.98))}.audit-event[data-tone="purple"]{--audit-tone:#b96be8}.audit-event[data-tone="good"]{--audit-tone:#43d68a}.audit-event[data-tone="warning"]{--audit-tone:#efb85b}.audit-event[data-tone="danger"]{--audit-tone:#ef6677}.audit-event[data-tone="blue"]{--audit-tone:#69a8ff}.audit-event-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;border:1px solid color-mix(in srgb,var(--audit-tone) 25%,transparent);background:color-mix(in srgb,var(--audit-tone) 10%,transparent);color:var(--audit-tone)}.audit-event-icon .rpo-icon{width:18px;height:18px}.audit-event-body{min-width:0}.audit-event-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.audit-event-meta{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.audit-event-meta>b{font-size:11px;color:#f1f2f5}.audit-category,.audit-action{display:inline-flex;align-items:center;height:21px;padding:0 7px;border-radius:7px;font-size:8px;font-weight:780;letter-spacing:.035em}.audit-category{background:color-mix(in srgb,var(--audit-tone) 11%,transparent);border:1px solid color-mix(in srgb,var(--audit-tone) 20%,transparent);color:color-mix(in srgb,var(--audit-tone) 80%,white)}.audit-action{background:#181b23;border:1px solid rgba(255,255,255,.06);color:#898f9e}.audit-event-top time{font-size:9px;color:#6f7583;white-space:nowrap}.audit-headline{margin-top:6px;font-size:12px;line-height:1.48;color:#cdd1da}.audit-target-id{display:flex;align-items:center;gap:5px;margin-top:5px;color:#656b79;font:9px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace}.audit-target-id .rpo-icon{width:11px;height:11px}
.audit-details{margin-top:10px;border-top:1px solid rgba(255,255,255,.05);padding-top:8px}.audit-details summary{display:inline-flex;align-items:center;gap:5px;cursor:pointer;list-style:none;color:#7c8290;font-size:9px;font-weight:700;user-select:none}.audit-details summary::-webkit-details-marker{display:none}.audit-details summary .rpo-icon{width:12px;height:12px;transition:transform .16s ease}.audit-details[open] summary .rpo-icon{transform:rotate(180deg)}.audit-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}.audit-detail-row{display:grid;gap:3px;padding:9px 10px;border-radius:9px;border:1px solid rgba(255,255,255,.055);background:rgba(7,8,12,.34);min-width:0}.audit-detail-row>span{font-size:8px;color:#686e7d;text-transform:uppercase;letter-spacing:.08em;font-weight:760}.audit-detail-row>b{font-size:10px;color:#d8dbe3;font-weight:650;overflow-wrap:anywhere}.audit-detail-row.good{border-color:rgba(67,214,138,.14);background:rgba(67,214,138,.04)}.audit-detail-row.warning{border-color:rgba(239,184,91,.14);background:rgba(239,184,91,.04)}.audit-empty{padding:42px 20px!important}
@media(min-width:2300px){.audit-stats{gap:15px}.audit-stat{padding:18px 19px}.audit-stat b{font-size:23px}.audit-filter-card{padding:17px}.audit-event{grid-template-columns:46px minmax(0,1fr);padding:15px 17px}.audit-event-icon{width:44px;height:44px}.audit-headline{font-size:13px}.audit-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.audit-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filter-search{grid-column:1/-1}}
@media(max-width:680px){.audit-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.audit-stat{padding:11px 12px;gap:9px}.audit-stat>span{width:33px;height:33px}.audit-stat b{font-size:17px}.audit-stat small{font-size:7.5px}.audit-filter-card{padding:11px}.audit-filter-grid{grid-template-columns:1fr}.audit-filter-search{grid-column:auto}.audit-filter-actions{align-items:stretch;flex-direction:column}.audit-filter-actions .btn{width:100%;justify-content:center}.audit-event{grid-template-columns:35px minmax(0,1fr);gap:9px;padding:11px;border-radius:11px}.audit-event-icon{width:34px;height:34px;border-radius:9px}.audit-event-icon .rpo-icon{width:15px;height:15px}.audit-event-top{align-items:flex-start;flex-direction:column;gap:5px}.audit-event-meta{gap:5px}.audit-event-top time{order:-1}.audit-headline{font-size:11px;margin-top:7px}.audit-detail-grid{grid-template-columns:1fr}.audit-day-heading span{font-size:8.5px}}

/* v1.1.2 · Datenbank-Backups */
.backup-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.backup-summary{padding:15px 16px}.backup-summary>span{display:block;color:#777d8a;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:760;margin-bottom:7px}.backup-summary>strong{display:block;color:#f1f2f6;font-size:18px;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backup-summary>small{display:block;margin-top:6px;color:#6f7583;font-size:9px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.backup-status-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;margin-bottom:12px}.backup-status-card.ready{border-color:rgba(49,210,127,.18);background:linear-gradient(180deg,rgba(15,29,23,.72),rgba(13,18,17,.92))}.backup-status-card.warning{border-color:rgba(239,184,91,.20);background:linear-gradient(180deg,rgba(31,25,15,.76),rgba(18,17,14,.94))}.backup-status-main{display:flex;align-items:center;gap:10px;min-width:0}.backup-status-main>div{min-width:0}.backup-status-main b{display:block;font-size:12px}.backup-status-main small{display:block;margin-top:3px;color:#787e8c;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backup-status-path{display:grid;gap:3px;min-width:240px;text-align:right}.backup-status-path span{font-size:8px;color:#6f7583;text-transform:uppercase;letter-spacing:.08em;font-weight:760}.backup-status-path b{font:9px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;color:#adb2bf;overflow-wrap:anywhere}
.backup-hint{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;margin-bottom:12px;border-color:rgba(239,184,91,.18);background:rgba(239,184,91,.045);color:#d7bb7b}.backup-hint>.rpo-icon{width:17px;height:17px;flex:0 0 auto;margin-top:1px}.backup-hint b{display:block;color:#e7d19c;font-size:11px}.backup-hint span{display:block;margin-top:4px;color:#908778;font-size:9px;line-height:1.5}
.backup-settings-card{padding:15px 16px;margin-bottom:14px}.backup-settings-card .card-title{margin-bottom:4px}.backup-settings-card .card-title h2{margin:0}.backup-settings-card .card-title span{display:block;margin-top:3px;color:#747a88;font-size:9px}.backup-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:0}.backup-setting-field{display:grid;gap:6px;padding:10px 0;border-top:1px solid rgba(255,255,255,.06)}.backup-setting-field>span{font-size:9px;color:#737988;text-transform:uppercase;letter-spacing:.08em;font-weight:760}.backup-setting-field select{height:38px;border:1px solid var(--line);border-radius:9px;background:#101219;color:#e5e7ee;padding:0 30px 0 10px;font-size:10px;outline:none}.backup-setting-field select:focus{border-color:rgba(153,79,199,.58);box-shadow:0 0 0 3px rgba(102,2,163,.08)}.backup-settings-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;margin-top:4px;border-top:1px solid rgba(255,255,255,.06)}.backup-settings-actions>span{color:#737987;font-size:9px;overflow-wrap:anywhere}
.backup-list-card{padding:0;overflow:hidden}.backup-list-card>.card-title{padding:15px 16px 11px;margin:0;border-bottom:1px solid rgba(255,255,255,.055)}.backup-list{display:grid}.backup-row{display:grid;grid-template-columns:38px minmax(0,1fr) 150px auto;align-items:center;gap:12px;padding:12px 15px;border-bottom:1px solid rgba(255,255,255,.05)}.backup-row:last-child{border-bottom:0}.backup-row:hover{background:rgba(255,255,255,.018)}.backup-row-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid rgba(151,85,198,.18);background:rgba(102,2,163,.10);color:#c995e7}.backup-row-icon .rpo-icon{width:16px;height:16px}.backup-row-main{min-width:0}.backup-row-main b{display:block;font-size:10px;color:#e4e6ec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backup-row-main span{display:block;margin-top:4px;font-size:8.5px;color:#707684;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backup-row-meta{display:grid;justify-items:end;gap:3px}.backup-row-meta span{font-size:10px;color:#d1d4dc}.backup-row-meta small{font-size:8px;color:#666c79}.backup-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.backup-row-actions .btn{white-space:nowrap}
@media(min-width:2200px){.backup-summary-grid{gap:15px}.backup-summary{padding:18px}.backup-summary>strong{font-size:21px}.backup-row{grid-template-columns:44px minmax(0,1fr) 180px auto;padding:14px 18px}.backup-row-icon{width:40px;height:40px}.backup-row-main b{font-size:11px}.backup-row-main span,.backup-row-meta small{font-size:9px}.backup-row-meta span{font-size:11px}}
@media(max-width:1150px){.backup-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-row{grid-template-columns:38px minmax(0,1fr) auto}.backup-row-meta{display:none}.backup-settings-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.backup-summary-grid{grid-template-columns:1fr 1fr;gap:8px}.backup-summary{padding:12px}.backup-summary>strong{font-size:16px}.backup-status-card{align-items:flex-start;flex-direction:column}.backup-status-path{min-width:0;text-align:left;width:100%}.backup-status-main small{white-space:normal}.backup-settings-grid{grid-template-columns:1fr}.backup-settings-actions{align-items:stretch;flex-direction:column}.backup-settings-actions .btn{width:100%;justify-content:center}.backup-row{grid-template-columns:34px minmax(0,1fr);gap:9px;padding:11px 12px}.backup-row-icon{width:32px;height:32px}.backup-row-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.backup-row-actions .btn{width:100%;justify-content:center}.backup-row-main span{white-space:normal;line-height:1.4}}
@media(max-width:480px){.backup-summary-grid{grid-template-columns:1fr}.backup-row-actions{grid-template-columns:1fr}.backup-row-actions .btn{min-height:36px}}


/* v1.2.0 · Adminchat */
.panel-chat-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:16px;min-height:min(720px,calc(100vh - 210px))}
.panel-chat-channels{padding:14px;align-self:stretch;overflow:auto}.panel-chat-channels .card-title{margin-bottom:12px}
.panel-chat-channel{width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;color:var(--muted);padding:11px 12px;border-radius:12px;cursor:pointer;text-align:left;font:inherit;font-weight:650;transition:.16s ease}.panel-chat-channel:hover{background:rgba(255,255,255,.045);color:var(--text)}.panel-chat-channel.active{background:color-mix(in srgb,var(--channel-color) 10%,rgba(102,2,163,.08));border-color:color-mix(in srgb,var(--channel-color) 35%,rgba(255,255,255,.08));color:var(--text)}.panel-chat-channel i{width:8px;height:8px;border-radius:50%;background:var(--channel-color);box-shadow:0 0 14px color-mix(in srgb,var(--channel-color) 55%,transparent)}
.panel-chat-main{padding:0;display:flex;flex-direction:column;min-height:620px;overflow:hidden}.panel-chat-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--line)}.panel-chat-head>div{display:flex;align-items:center;gap:11px}.panel-chat-head h2{margin:0;font-size:16px}.panel-chat-head span{font-size:12px;color:var(--muted)}.panel-chat-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}.panel-chat-live{display:inline-flex!important;align-items:center;gap:7px;font-size:10px!important;font-weight:800;letter-spacing:.07em;color:#9ce8bc!important}.panel-chat-live i{width:7px;height:7px;border-radius:50%;background:#35d07f;box-shadow:0 0 12px rgba(53,208,127,.7)}
.panel-chat-messages{flex:1;min-height:300px;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,rgba(255,255,255,.008),transparent)}.panel-chat-message{padding:11px 13px;border:1px solid rgba(255,255,255,.055);border-radius:13px;background:rgba(255,255,255,.028)}.panel-chat-message.important{border-color:rgba(255,80,80,.26);background:rgba(255,80,80,.055)}.panel-chat-message-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:5px}.panel-chat-message-head>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.panel-chat-message-head b{font-size:13px}.panel-chat-message-head span{font-size:10px;color:var(--muted)}.panel-chat-message-head time{font-size:10px;color:var(--muted);white-space:nowrap}.panel-chat-origin,.panel-chat-important{font-size:9px!important;line-height:1;font-weight:800;letter-spacing:.08em;border-radius:999px;padding:3px 6px}.panel-chat-origin{color:#d8b4fe!important;border:1px solid rgba(166,92,255,.3);background:rgba(102,2,163,.14)}.panel-chat-important{color:#ffc0c0!important;border:1px solid rgba(255,80,80,.28);background:rgba(255,80,80,.11)}.panel-chat-text{font-size:13px;line-height:1.5;color:var(--text);word-break:break-word;user-select:text}.panel-chat-empty{margin:auto}
.panel-chat-composer{padding:14px 16px;border-top:1px solid var(--line);background:rgba(255,255,255,.015)}.panel-chat-composer textarea{width:100%;min-height:82px;max-height:180px;resize:vertical;border:1px solid var(--line);border-radius:13px;background:rgba(0,0,0,.18);color:var(--text);padding:12px 13px;font:inherit;line-height:1.45;outline:none}.panel-chat-composer textarea:focus{border-color:rgba(140,48,201,.65);box-shadow:0 0 0 3px rgba(102,2,163,.12)}.panel-chat-compose-actions{display:flex;align-items:center;gap:12px;margin-top:10px}.panel-chat-compose-actions>span{margin-left:auto;font-size:11px;color:var(--muted)}.panel-chat-important-toggle{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);cursor:pointer}.panel-chat-important-toggle input{accent-color:#ff5050}.panel-chat-readonly{padding:14px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);background:rgba(255,255,255,.015)}
@media(max-width:900px){.panel-chat-layout{grid-template-columns:1fr;min-height:0}.panel-chat-channels{display:flex;gap:8px;overflow-x:auto}.panel-chat-channels .card-title{display:none}.panel-chat-channel{width:auto;white-space:nowrap;flex:0 0 auto}.panel-chat-main{min-height:65vh}.panel-chat-head{padding:14px}.panel-chat-messages{padding:12px}.panel-chat-compose-actions{flex-wrap:wrap}.panel-chat-compose-actions>span{margin-left:0}.panel-chat-compose-actions .btn{margin-left:auto}}

/* v1.2.3 · Mobile player profile polish + Safari-safe icons */
.rpo-svg-sprite{
  position:absolute!important;
  width:0!important;
  height:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.rpo-icon{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.rpo-icon use{fill:none;stroke:currentColor}
.tabs{
  min-width:0;
  max-width:100%;
}
.tab{
  flex:0 0 auto;
  min-width:max-content;
}

@media (max-width:760px){
  .player-head{gap:14px;margin-bottom:14px}
  .identity{align-items:flex-start;min-width:0}
  .identity>div:last-child{min-width:0;flex:1}
  .identity h1{display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.18}
  .identity p{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin-top:7px;min-width:0}
  .identity p>span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .identity .tx-name{padding-left:0;border-left:0;color:#989dab}
  .avatar{width:48px;height:48px;flex:0 0 48px;border-radius:14px}

  .player-actions{
    width:100%;
    max-width:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .player-actions .btn{
    width:100%;
    min-width:0;
    min-height:48px;
    justify-content:flex-start;
    gap:9px;
    padding:10px 13px;
    overflow:hidden;
    white-space:nowrap;
  }
  .player-actions .btn .rpo-icon{
    width:18px!important;
    height:18px!important;
    min-width:18px;
    flex:0 0 18px;
    color:currentColor;
  }

  .tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center;
    gap:5px;
    width:100%;
    max-width:100%;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    padding:5px;
    margin:0 0 14px!important;
    scroll-snap-type:x proximity;
  }
  .tabs::-webkit-scrollbar{display:none;width:0;height:0}
  .tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto!important;
    min-width:max-content!important;
    width:auto!important;
    max-width:none!important;
    min-height:40px;
    padding:9px 13px;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    scroll-snap-align:start;
  }
  .tab.active{position:relative;z-index:1}

  .profile-grid{min-width:0}
  .profile-grid>*{min-width:0}
}

@media (max-width:420px){
  .player-actions .btn{font-size:12px;padding-inline:11px}
  .player-actions .btn .rpo-icon{width:17px!important;height:17px!important;min-width:17px;flex-basis:17px}
  .tab{font-size:12px;padding-inline:12px}
}

/* v1.2.9 · Logverwaltung */
.audit-filter-buttons{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
@media (max-width:700px){.audit-filter-buttons{width:100%;justify-content:stretch}.audit-filter-buttons .btn{flex:1 1 auto}}

/* v1.2.9 · Adminchat scroll area */
.panel-chat-layout{align-items:start}
.panel-chat-main{min-height:0}
.panel-chat-messages{
  flex:0 1 auto;
  height:clamp(340px,52vh,560px);
  min-height:300px;
  max-height:560px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:rgba(151,85,198,.48) rgba(255,255,255,.035);
}
.panel-chat-messages::-webkit-scrollbar{width:9px}
.panel-chat-messages::-webkit-scrollbar-track{background:rgba(255,255,255,.025);border-radius:999px}
.panel-chat-messages::-webkit-scrollbar-thumb{background:rgba(151,85,198,.42);border:2px solid transparent;background-clip:padding-box;border-radius:999px}
.panel-chat-messages::-webkit-scrollbar-thumb:hover{background:rgba(171,102,214,.62);border:2px solid transparent;background-clip:padding-box}
@media(max-width:900px){
  .panel-chat-main{min-height:0}
  .panel-chat-messages{height:440px;min-height:280px;max-height:440px}
}
@media(max-width:560px){
  .panel-chat-messages{height:390px;min-height:240px;max-height:390px;padding:11px}
}

/* v1.3.1 · Supportportal */
.action-support{border-color:rgba(154,70,207,.32);background:rgba(102,2,163,.11);color:#dcb4f3}
.action-support:hover{border-color:rgba(174,87,227,.48);background:rgba(102,2,163,.18)}
.support-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
.support-kpi{min-width:0;min-height:104px;padding:15px 16px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(180deg,#141720,#101219);color:var(--text);text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
button.support-kpi{cursor:pointer}.support-kpi:hover{border-color:rgba(151,65,202,.34);background:linear-gradient(180deg,#181a24,#11131a)}
.support-kpi>span{font-size:10px;text-transform:uppercase;letter-spacing:.075em;color:#777d8b;font-weight:760}.support-kpi>strong{font-size:27px;line-height:1.05;margin:7px 0 5px;letter-spacing:-.04em}.support-kpi>small{font-size:9px;color:#666c79;line-height:1.3}.support-kpi.mine{border-color:rgba(102,2,163,.20);background:linear-gradient(180deg,rgba(102,2,163,.10),rgba(16,18,25,.98))}
.support-list-card{padding-top:14px}.support-table td:first-child{min-width:205px}.support-table td:nth-child(4){max-width:250px}.support-participant-preview{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.support-status,.support-priority,.support-role-badge,.support-category-chip{display:inline-flex;align-items:center;width:max-content;border:1px solid rgba(255,255,255,.065);border-radius:999px;padding:4px 8px;font-size:9px;font-weight:720;line-height:1;white-space:nowrap}
.support-status.new{background:rgba(142,72,208,.12);border-color:rgba(163,87,216,.2);color:#d6a8ef}.support-status.blue,.support-status.in_progress{background:rgba(66,145,255,.09);border-color:rgba(66,145,255,.17);color:#8cbcff}.support-status.warning,.support-status.waiting_player,.support-status.waiting_team{background:rgba(230,185,75,.08);border-color:rgba(230,185,75,.18);color:#e8c66d}.support-status.purple,.support-status.decided{background:rgba(102,2,163,.13);border-color:rgba(155,67,208,.22);color:#d8a5f1}.support-status.good,.support-status.closed{background:rgba(53,208,127,.08);border-color:rgba(53,208,127,.17);color:#7ce8aa}
.support-priority{margin-top:5px}.support-priority.low{background:rgba(255,255,255,.035);color:#8c919e}.support-priority.normal{background:rgba(71,142,236,.07);border-color:rgba(71,142,236,.13);color:#91baf0}.support-priority.high{background:rgba(230,185,75,.08);border-color:rgba(230,185,75,.16);color:#e5c36b}.support-priority.urgent{background:rgba(255,79,100,.08);border-color:rgba(255,79,100,.17);color:#ff8594}
.modal.modal-wide{width:min(860px,100%)}.support-modal-title{padding-right:38px;margin-bottom:17px}.support-modal-title h3{margin:4px 0 5px;font-size:19px}.support-modal-title p{margin:0;color:#737987;font-size:10px;line-height:1.5}.support-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.support-modal-form textarea,.support-decision-form textarea,.support-note-compose textarea{width:100%;resize:vertical;min-height:90px;border:1px solid var(--line);background:#0e1016;color:#eef0f4;border-radius:10px;padding:10px 11px;line-height:1.5;font:inherit;font-size:11px}.support-picker-hint{display:block;color:#6d7381;font-size:9px;margin-top:1px;overflow-wrap:anywhere}.participant-grid{margin-top:3px}
.support-case-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:14px;align-items:start}.support-case-main,.support-case-side{min-width:0;display:flex;flex-direction:column;gap:14px}.support-case-side{position:sticky;top:78px}.support-case-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:14px}.support-case-meta .support-priority{margin-top:0}.support-category-chip{background:rgba(255,255,255,.035);color:#a7acb9}.support-case-description{font-size:12px;color:#c5c8d0;line-height:1.65;overflow-wrap:anywhere;white-space:normal}.support-case-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.055);color:#747a87;font-size:9px}.support-case-foot b{color:#b8bdc8}
.support-history-insights{margin:4px 0 14px;padding:12px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:#101219}.support-history-insights.empty-state{display:flex;flex-direction:column;gap:3px}.support-history-insights.empty-state b{font-size:10px;color:#c9cdd6}.support-history-insights.empty-state span{font-size:9px;color:#6f7583}.support-history-insights-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:9px}.support-history-insights-head b{display:block;font-size:10px;color:#d9dce4}.support-history-insights-head span{display:block;margin-top:2px;font-size:8px;color:#6c7280}.support-history-stats{display:flex;gap:7px;flex-wrap:wrap}.support-history-stat{min-width:112px;border:1px solid rgba(255,255,255,.06);background:#0d0f15;color:#d9dce4;border-radius:9px;padding:8px 10px;text-align:left;cursor:pointer}.support-history-stat:hover{border-color:rgba(151,65,202,.34);background:rgba(102,2,163,.07)}.support-history-stat small{display:block;color:#757b89;font-size:8px;line-height:1.25}.support-history-stat strong{display:block;margin-top:4px;font-size:17px;line-height:1;color:#f0f1f4}.support-decision-pill{display:inline-flex;align-items:center;width:max-content;max-width:180px;border:1px solid rgba(151,65,202,.18);background:rgba(102,2,163,.08);color:#d3a6ec;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:720;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.support-participants{display:flex;flex-direction:column;gap:7px}.support-participant{display:flex;align-items:center;gap:7px;padding:7px;border:1px solid rgba(255,255,255,.055);background:#101219;border-radius:10px}.support-participant-main{min-width:0;flex:1;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;text-align:left;padding:3px 4px;cursor:pointer}.support-participant-main:hover b{color:#fff}.support-participant-main b{display:block;font-size:11px;color:#e3e5eb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-participant-main small{display:block;color:#6e7482;font-size:9px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-role-badge.affected{background:rgba(72,145,237,.09);border-color:rgba(72,145,237,.17);color:#8cbaf3}.support-role-badge.accused{background:rgba(255,79,100,.08);border-color:rgba(255,79,100,.17);color:#ff8d9a}.support-role-badge.reporter{background:rgba(102,2,163,.12);border-color:rgba(160,72,211,.2);color:#d4a5ed}.support-role-badge.witness{background:rgba(53,208,127,.07);border-color:rgba(53,208,127,.15);color:#7de5aa}
.support-timeline{display:flex;flex-direction:column;gap:0;margin-top:4px}.support-event{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;position:relative;padding-bottom:15px}.support-event:not(:last-child):before{content:"";position:absolute;left:16px;top:31px;bottom:0;width:1px;background:rgba(255,255,255,.07)}.support-event-icon{position:relative;z-index:1;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.07);background:#13161e;color:#8e94a2}.support-event-icon .rpo-icon{width:15px;height:15px}.support-event.purple .support-event-icon{color:#c996e8;border-color:rgba(143,59,195,.18);background:rgba(102,2,163,.08)}.support-event.good .support-event-icon{color:#6fd99d;border-color:rgba(53,208,127,.15);background:rgba(53,208,127,.06)}.support-event.warning .support-event-icon{color:#dfbd64;border-color:rgba(230,185,75,.15);background:rgba(230,185,75,.05)}.support-event.danger .support-event-icon{color:#fa8090;border-color:rgba(255,79,100,.16);background:rgba(255,79,100,.055)}.support-event-body{min-width:0;padding-top:1px}.support-event-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.support-event-head>div{min-width:0}.support-event-head b{display:block;font-size:10px;color:#dde0e7}.support-event-head span{display:block;font-size:8px;color:#6c7280;margin-top:2px}.support-event-head time{font-size:8px;color:#606674;white-space:nowrap}.support-event-content{margin-top:7px;padding:9px 10px;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:#0f1117;color:#aeb3bf;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.support-note-compose{border-top:1px solid rgba(255,255,255,.055);margin-top:2px;padding-top:14px;display:flex;gap:9px;align-items:flex-end}.support-note-compose textarea{min-height:74px;flex:1}.support-note-compose .btn{flex:0 0 auto}.support-control-card select{width:100%;height:39px;border:1px solid var(--line);background:#0e1016;color:#eef0f4;border-radius:9px;padding:0 10px;outline:none}.support-decision-content{font-size:11px;color:#b8bdc8;line-height:1.55}.support-decision-content strong{display:block;color:#f1f2f5;font-size:13px;margin-bottom:5px}.support-decision-content p{margin:0 0 8px;overflow-wrap:anywhere}.support-decision-content small{color:#747a87}.support-add-participant,.support-decision-form{position:relative}.support-decision-form textarea{min-height:110px}
.empty.compact{padding:22px 14px}
@media(max-width:1180px){.support-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.support-case-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:900px){.support-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.support-case-layout{grid-template-columns:1fr}.support-case-side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.support-case-side>.card:last-child{grid-column:1/-1}.support-note-compose{flex-direction:column;align-items:stretch}.support-note-compose .btn{width:100%}}
@media(max-width:600px){.support-history-stat{min-width:calc(50% - 4px);flex:1 1 calc(50% - 4px)}.support-kpis{grid-template-columns:1fr 1fr;gap:8px}.support-kpi{min-height:90px;padding:12px}.support-kpi>strong{font-size:23px}.support-form-grid{grid-template-columns:1fr;gap:0}.support-case-side{grid-template-columns:1fr}.support-case-side>.card:last-child{grid-column:auto}.support-case-foot{flex-direction:column}.support-event-head{flex-direction:column;gap:3px}.support-event-head time{white-space:normal}.support-participant{align-items:stretch}.support-participant-main{grid-template-columns:1fr}.support-role-badge{margin-bottom:3px}.support-table{min-width:900px}}

/* v1.3.1 · Support-Beweise + einklappbarer Verlauf */
.support-evidence-list{display:flex;flex-direction:column;gap:8px}
.support-evidence-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid rgba(255,255,255,.055);background:#101219;border-radius:10px}
.support-evidence-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;border:1px solid rgba(151,65,202,.18);background:rgba(102,2,163,.08);color:#c995e8}
.support-evidence-icon .rpo-icon{width:18px;height:18px}.support-evidence-main{min-width:0}.support-evidence-main>a{display:inline-block;max-width:100%;color:#e3e5eb;text-decoration:none}.support-evidence-main>a:hover{color:#fff}.support-evidence-main b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.support-evidence-main small{display:block;margin-top:3px;color:#727887;font-size:9px;line-height:1.35}.support-evidence-main p{margin:7px 0 0;color:#aeb3bf;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.support-evidence-actions{display:flex;align-items:center;gap:5px}.support-evidence-actions a.icon-btn{text-decoration:none}
.support-timeline-card{padding:0;overflow:hidden}.support-timeline-summary{list-style:none;cursor:pointer;padding:15px 16px;user-select:none}.support-timeline-summary::-webkit-details-marker{display:none}.support-timeline-summary .card-title{margin:0}.support-timeline-summary:hover{background:rgba(255,255,255,.018)}.support-timeline-chevron{display:grid;place-items:center;color:#727887;transition:transform .18s ease}.support-timeline-chevron .rpo-icon{width:16px;height:16px}.support-timeline-card[open] .support-timeline-chevron{transform:rotate(180deg)}.support-timeline-content{padding:0 16px 16px;border-top:1px solid rgba(255,255,255,.045)}.support-timeline-content .support-timeline{padding-top:14px}
.support-evidence-upload textarea{width:100%;resize:vertical;min-height:78px;border:1px solid var(--line);background:#0e1016;color:#eef0f4;border-radius:10px;padding:10px 11px;line-height:1.5;font:inherit;font-size:11px}.support-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.support-evidence-drop{min-height:118px;border:1px dashed rgba(167,85,218,.34);border-radius:12px;background:rgba(102,2,163,.055);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;margin-bottom:10px;color:#a98abb}.support-evidence-drop:hover{border-color:rgba(181,97,232,.55);background:rgba(102,2,163,.09);color:#d4a5ed}.support-evidence-drop .rpo-icon{width:24px;height:24px}.support-evidence-drop b{font-size:11px;color:#e6e7eb}.support-evidence-drop span{font-size:9px;color:#777d8b}.support-evidence-selection{display:flex;flex-direction:column;gap:6px;max-height:180px;overflow:auto;margin-bottom:12px}.support-selected-file{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;padding:7px 9px;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:#101219}.support-selected-file>span{display:grid;place-items:center;color:#8f75a0}.support-selected-file .rpo-icon{width:14px;height:14px}.support-selected-file b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-selected-file small{display:block;margin-top:2px;color:#707684;font-size:8px}.support-upload-progress{margin-top:12px;padding:10px 11px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#101219}.support-upload-progress>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#858b98}.support-upload-progress b{color:#d8a5f1}.support-upload-bar{height:5px;margin-top:8px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}.support-upload-bar i{display:block;width:0;height:100%;border-radius:inherit;background:#6602a3;transition:width .1s linear}
@media(max-width:600px){.support-evidence-row{grid-template-columns:36px minmax(0,1fr)}.support-evidence-icon{width:34px;height:34px}.support-evidence-actions{grid-column:2;justify-content:flex-end}.support-timeline-summary{padding:13px}.support-timeline-content{padding:0 13px 13px}}

/* Teamverwaltung · v1.3.4 */
.team-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.team-member-cell{display:flex;align-items:center;gap:11px;min-width:210px}
.team-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:12px;object-fit:cover;border:1px solid var(--line-strong,#333744);background:#171920}
.team-avatar-fallback{display:grid;place-items:center;font-weight:800;font-size:12px;color:#e4c4f5;background:linear-gradient(145deg,#282b37,#15171e)}
.team-role-badges{display:flex;gap:5px;flex-wrap:wrap;min-width:180px}
.team-role-badge{--team-role-color:#777783;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;border:1px solid color-mix(in srgb,var(--team-role-color) 34%,transparent);background:color-mix(in srgb,var(--team-role-color) 10%,transparent);font-size:10px;font-weight:700;color:#e7e7eb;white-space:nowrap}
.team-role-badge i{width:7px;height:7px;border-radius:50%;background:var(--team-role-color);box-shadow:0 0 10px color-mix(in srgb,var(--team-role-color) 55%,transparent)}
.team-row-suspended{background:rgba(255,79,100,.025)}.team-row-suspended:hover{background:rgba(255,79,100,.05)!important}
.team-suspension-reason{max-width:260px;white-space:normal;line-height:1.35;margin-top:5px;color:#b8848d}
.team-row-actions{min-width:210px;flex-wrap:wrap}
.team-table{min-width:1120px}
@media(max-width:1180px){.team-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.team-stats{grid-template-columns:1fr!important}}

/* v1.3.4 · Erweiterte Teamverwaltung */
.badge.warning{border-color:rgba(255,190,72,.25);background:rgba(255,190,72,.09);color:#f4c66d}
.team-row-archived{opacity:.72;background:rgba(255,255,255,.012)}
.team-birthday-preview{display:flex;align-items:center;gap:18px;margin:0 0 14px;padding:12px 14px;border:1px solid rgba(102,2,163,.18);background:linear-gradient(135deg,rgba(102,2,163,.09),rgba(255,255,255,.015));border-radius:12px}
.team-birthday-preview>b{font-size:12px;color:#ececf1;white-space:nowrap}.team-birthday-preview>div{display:flex;gap:8px;flex-wrap:wrap}
.team-birthday-preview span{display:flex;flex-direction:column;padding:6px 9px;border:1px solid var(--line);background:#101219;border-radius:8px}.team-birthday-preview strong{font-size:10px;color:#e6e6ec}.team-birthday-preview small{font-size:9px;color:#7f8492;margin-top:2px}
.team-profile-modal{width:min(1000px,92vw);max-height:88vh;overflow:auto;padding:20px}.team-profile-head{display:flex;align-items:center;gap:14px;padding-right:38px}.team-profile-head h3{margin:2px 0 7px;font-size:22px}.team-profile-head-status{margin-left:auto;text-align:right}.team-profile-avatar{width:64px;height:64px;border-radius:16px;object-fit:cover;border:1px solid var(--line-strong);background:#171920;display:grid;place-items:center;font-weight:800}
.team-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.team-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.team-profile-section{background:#0f1117;border:1px solid var(--line);border-radius:12px;padding:13px}.team-profile-section h4{margin:0 0 10px;font-size:12px;color:#e9e9ee}.team-profile-wide{grid-column:1/-1}.team-profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.team-profile-section-head h4{margin:0}
.team-profile-event{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid rgba(255,255,255,.05)}.team-profile-event:first-of-type{border-top:0}.team-profile-event b{display:block;font-size:11px;color:#dddfe6}.team-profile-event span{display:block;font-size:9px;color:#777d8b;margin-top:3px}.team-profile-event p{margin:5px 0 0;font-size:10px;color:#a4a8b3;line-height:1.45;white-space:pre-wrap}
.team-personnel-note{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.05)}.team-personnel-note:first-of-type{border-top:0}.team-personnel-note b{font-size:10px;color:#e1c3f2}.team-personnel-note span{display:block;font-size:9px;color:#737987;margin-top:2px}.team-personnel-note p{margin:6px 0 0;white-space:pre-wrap;font-size:10px;line-height:1.5;color:#b3b6c0}
@media(max-width:760px){.team-profile-modal{width:94vw;padding:14px}.team-profile-grid{grid-template-columns:1fr}.team-profile-wide{grid-column:auto}.team-profile-head{align-items:flex-start}.team-profile-head-status{margin-left:0}.team-profile-head{flex-wrap:wrap}.team-birthday-preview{align-items:flex-start;flex-direction:column;gap:8px}.team-stats{grid-template-columns:1fr 1fr!important}}

/* v1.3.5 · RPO Vehicle Lab */
.vehicle-tabs .rpo-icon{width:13px;height:13px;vertical-align:-2px;margin-right:5px}
.vehicle-lab-config-warning{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;padding:11px 13px;border:1px solid rgba(255,190,72,.25);background:rgba(255,190,72,.07);border-radius:11px;color:#c5a86d}.vehicle-lab-config-warning.danger{border-color:rgba(255,76,99,.28);background:rgba(255,76,99,.07);color:#e08a98}.vehicle-lab-config-warning>.rpo-icon{width:18px;height:18px;flex:0 0 auto;margin-top:1px}.vehicle-lab-config-warning b{display:block;color:#ececf0;font-size:11px}.vehicle-lab-config-warning span{display:block;margin-top:3px;font-size:9px;line-height:1.5;color:#9a9eaa}.vehicle-lab-config-warning code{color:#dab4ef}
.vehicle-lab-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}.vehicle-lab-stat{padding:14px}.vehicle-lab-stat>span{display:block;color:#797f8d;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.vehicle-lab-stat>strong{display:block;margin-top:5px;font-size:24px;color:#efeff3}.vehicle-lab-stat>small{display:block;margin-top:4px;color:#797f8d;font-size:9px}.vehicle-lab-stat.good>strong{color:#91d7b4}.vehicle-lab-stat.danger>strong{color:#f08c9a}
.vehicle-lab-scanline{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px;padding:8px 11px;border:1px solid rgba(255,255,255,.05);background:#0f1117;border-radius:9px;font-size:9px;color:#7f8491}.vehicle-lab-scanline .rpo-icon{width:12px;height:12px;vertical-align:-2px}.vehicle-lab-delta{font-family:var(--mono,monospace);color:#ae92bf}
.vehicle-lab-tools{align-items:flex-end}.vehicle-lab-tools .filters{display:flex;gap:7px;flex-wrap:wrap}.vehicle-lab-tools select{max-width:210px}
.vehicle-lab-table{min-width:1120px}.vehicle-lab-table td{vertical-align:middle}.vehicle-lab-table .badge .rpo-icon{width:10px;height:10px}.vehicle-asset-flags{display:flex;gap:4px;flex-wrap:wrap}.vehicle-asset-flags span{display:inline-flex;padding:3px 5px;border-radius:5px;border:1px solid rgba(255,255,255,.06);font-size:8px;font-weight:800;letter-spacing:.03em}.vehicle-asset-flags .ok{color:#8ed8b3;background:rgba(72,180,123,.07);border-color:rgba(72,180,123,.16)}.vehicle-asset-flags .bad{color:#eb8c99;background:rgba(235,82,103,.07);border-color:rgba(235,82,103,.16)}.vehicle-asset-flags .warn{color:#e0bd77;background:rgba(224,176,75,.07);border-color:rgba(224,176,75,.16)}.vehicle-asset-flags .muted{color:#777d89}.vehicle-lab-issues-mini{display:flex;gap:3px;flex-wrap:wrap;max-width:250px;margin-top:5px}.vehicle-lab-issue{display:inline-flex;padding:2px 5px;border-radius:5px;font-size:7px;border:1px solid rgba(255,255,255,.06);color:#7e8490}.vehicle-lab-issue.error{color:#e9909d;border-color:rgba(235,82,103,.18);background:rgba(235,82,103,.06)}.vehicle-lab-issue.warning{color:#dfbd79;border-color:rgba(224,176,75,.18);background:rgba(224,176,75,.06)}.vehicle-lab-issue.info{color:#8f95a1}.vehicle-lab-issue.ok{color:#88cda9;border-color:rgba(72,180,123,.15);background:rgba(72,180,123,.05)}
.vehicle-lab-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vehicle-lab-detail-main{grid-column:1/-1}.vehicle-lab-tech-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.vehicle-lab-tech-grid>.info{margin:0}.vehicle-lab-issue-panel{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.05)}.vehicle-lab-paths{display:flex;flex-direction:column;gap:0}.vehicle-lab-paths>div{padding:9px 0;border-top:1px solid rgba(255,255,255,.05)}.vehicle-lab-paths>div:first-child{border-top:0}.vehicle-lab-paths span{display:block;font-size:8px;color:#777d89;text-transform:uppercase;letter-spacing:.06em}.vehicle-lab-paths b{display:block;margin-top:3px;font-size:10px;color:#dbdde4;font-family:var(--mono,monospace);overflow-wrap:anywhere}.vehicle-lab-paths small{display:block;margin-top:3px;font-size:8px;color:#777d89}.vehicle-lab-handling-card{grid-column:1/-1}.vehicle-lab-handling-top{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.vehicle-lab-handling-top>div{padding:10px;border:1px solid rgba(255,255,255,.055);background:#101219;border-radius:9px}.vehicle-lab-handling-top span{display:block;font-size:8px;color:#777d89}.vehicle-lab-handling-top strong{display:block;margin-top:4px;font-size:15px;color:#eeeef2}.vehicle-lab-handling-top small{display:block;margin-top:3px;font-size:7px;color:#5f6571;overflow:hidden;text-overflow:ellipsis}.vehicle-lab-handling-all{margin-top:12px;border-top:1px solid rgba(255,255,255,.05);padding-top:10px}.vehicle-lab-handling-all>summary{cursor:pointer;color:#a98bbb;font-size:10px}.vehicle-lab-handling-all .table-wrap{margin-top:8px;max-height:400px;overflow:auto}.vehicle-lab-shared{display:flex;flex-direction:column}.vehicle-lab-shared-row{appearance:none;border:0;border-top:1px solid rgba(255,255,255,.05);background:transparent;color:inherit;display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) auto;gap:10px;align-items:center;text-align:left;padding:9px 0;cursor:pointer}.vehicle-lab-shared-row:first-child{border-top:0}.vehicle-lab-shared-row:hover{background:rgba(255,255,255,.018)}.vehicle-lab-shared-row b{font-size:10px}.vehicle-lab-shared-row>span:not(.badge){font-size:9px;color:#777d89}
.vehicle-lab-diag-modal{width:min(1100px,94vw);max-height:88vh;overflow:auto;padding:20px}.vehicle-lab-diag-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vehicle-lab-diag-section{border:1px solid var(--line);background:#0f1117;border-radius:11px;padding:12px;min-width:0}.vehicle-lab-diag-section .card-title{margin-bottom:7px}.vehicle-lab-diag-section h4{font-size:11px;margin:0}.vehicle-lab-diag-list{max-height:300px;overflow:auto}.vehicle-lab-diag-list>div{padding:7px 0;border-top:1px solid rgba(255,255,255,.05)}.vehicle-lab-diag-list>div:first-child{border-top:0}.vehicle-lab-diag-list b{display:block;font-size:9px;color:#dcdee5;overflow-wrap:anywhere}.vehicle-lab-diag-list span{display:block;margin-top:2px;font-size:8px;color:#717784;overflow-wrap:anywhere}
@media(max-width:1180px){.vehicle-lab-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-lab-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-lab-handling-top{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.vehicle-lab-summary{grid-template-columns:1fr 1fr}.vehicle-lab-scanline{align-items:flex-start;flex-direction:column}.vehicle-lab-detail-grid{grid-template-columns:1fr}.vehicle-lab-detail-main,.vehicle-lab-handling-card{grid-column:auto}.vehicle-lab-handling-top{grid-template-columns:1fr 1fr}.vehicle-lab-diag-grid{grid-template-columns:1fr}.vehicle-lab-diag-modal{padding:14px}.vehicle-lab-tools{align-items:stretch}.vehicle-lab-tools .filters{display:grid;grid-template-columns:1fr 1fr}.vehicle-lab-tools select{max-width:none}}
@media(max-width:480px){.vehicle-lab-summary{grid-template-columns:1fr}.vehicle-lab-tech-grid,.vehicle-lab-handling-top,.vehicle-lab-tools .filters{grid-template-columns:1fr}}
.vehicle-lab-compare-modal{width:min(1000px,94vw);max-height:88vh;overflow:auto;padding:20px}.vehicle-lab-compare-head{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.vehicle-lab-compare-head>div{padding:10px;border:1px solid var(--line);border-radius:9px;background:#101219}.vehicle-lab-compare-head b{display:block;font-size:11px}.vehicle-lab-compare-head span{display:block;margin-top:3px;font-size:8px;color:#777d89}.vehicle-lab-compare-table{max-height:520px;overflow:auto}.vehicle-lab-compare-table tr.changed td{background:rgba(102,2,163,.035)}.vehicle-lab-compare-table tr.changed td:first-child{color:#c99ae5}@media(max-width:600px){.vehicle-lab-compare-modal{padding:14px}.vehicle-lab-compare-head{grid-template-columns:1fr}}
.badge.good{border-color:rgba(56,213,138,.15);background:rgba(56,213,138,.09);color:#7fe9b3}.badge.danger{border-color:rgba(255,93,112,.16);background:rgba(255,93,112,.08);color:#ff8998}.badge.muted{border-color:rgba(255,255,255,.055);background:#171920;color:#737986}

/* v1.3.6 · Vehicle Lab Wartung & Reparaturen */
.vehicle-lab-subtabs{margin-top:-5px!important;margin-bottom:14px!important;background:rgba(255,255,255,.015)}
.vehicle-repair-summary .vehicle-lab-stat.warning>strong{color:#e6c37a}
.vehicle-repair-list{display:flex;flex-direction:column;gap:8px}
.vehicle-repair-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:11px;background:#0f1117}
.vehicle-repair-row.safe{border-color:rgba(72,180,123,.16);background:rgba(72,180,123,.035)}
.vehicle-repair-row.review{border-color:rgba(224,176,75,.16);background:rgba(224,176,75,.03)}
.vehicle-repair-main{min-width:0}.vehicle-repair-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.vehicle-repair-title b{font-size:11px;color:#e3e5eb}.vehicle-repair-main p{margin:7px 0 5px;font-size:10px;line-height:1.5;color:#a8adb8}.vehicle-repair-main>.sub{display:block;font-size:8px;color:#737987}.vehicle-repair-main>small{display:block;margin-top:5px;font-size:8px;color:#7c828e}.vehicle-repair-recommendation{color:#b99bc9!important}.vehicle-repair-actions{display:flex;align-items:center;justify-content:flex-end;min-width:140px}
.vehicle-repair-modal{width:min(980px,94vw);max-height:88vh;overflow:auto;padding:20px}.vehicle-repair-file{padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#101219;margin:12px 0}.vehicle-repair-file span{display:block;font-size:8px;color:#777d89;text-transform:uppercase;letter-spacing:.06em}.vehicle-repair-file b{display:block;margin-top:4px;font-size:9px;color:#dbdde4;overflow-wrap:anywhere}.vehicle-repair-diff{display:grid;grid-template-columns:1fr 1fr;gap:10px}.vehicle-repair-diff>div{min-width:0;border:1px solid var(--line);background:#0d0f14;border-radius:10px;overflow:hidden}.vehicle-repair-diff>div>span{display:block;padding:8px 10px;border-bottom:1px solid var(--line);font-size:8px;color:#848a96;text-transform:uppercase;letter-spacing:.06em}.vehicle-repair-diff pre{margin:0;padding:11px;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:9px;line-height:1.45;color:#bdc1ca;font-family:var(--mono,monospace)}.vehicle-repair-impact{display:flex;align-items:flex-start;gap:8px;margin-top:11px;padding:10px 11px;border:1px solid rgba(224,176,75,.18);background:rgba(224,176,75,.05);border-radius:9px;color:#d8ba78;font-size:9px;line-height:1.45}.vehicle-repair-impact .rpo-icon{width:14px;height:14px;flex:0 0 auto}.vehicle-repair-bulk-list{max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#0f1117;margin:12px 0}.vehicle-repair-bulk-list>div{display:flex;gap:9px;align-items:flex-start;padding:9px 10px;border-top:1px solid rgba(255,255,255,.05)}.vehicle-repair-bulk-list>div:first-child{border-top:0}.vehicle-repair-bulk-list .rpo-icon{width:14px;height:14px;color:#7ed8aa;flex:0 0 auto;margin-top:1px}.vehicle-repair-bulk-list b{display:block;font-size:10px}.vehicle-repair-bulk-list small{display:block;margin-top:3px;font-size:8px;color:#747a86}
@media(max-width:760px){.vehicle-repair-row{grid-template-columns:1fr}.vehicle-repair-actions{justify-content:flex-start}.vehicle-repair-diff{grid-template-columns:1fr}.vehicle-repair-modal{padding:14px}}

/* v1.3.8 – Vehicle Lab GTA base whitelist */
.vehicle-lab-filter-stat{appearance:none;width:100%;text-align:left;cursor:pointer;color:inherit;border:1px solid var(--line);font:inherit;transition:border-color .15s ease,background .15s ease,transform .15s ease}.vehicle-lab-filter-stat:hover{border-color:rgba(102,2,163,.32);background:rgba(102,2,163,.045)}.vehicle-lab-filter-stat.active{border-color:rgba(102,2,163,.5);background:rgba(102,2,163,.09);box-shadow:inset 0 0 0 1px rgba(102,2,163,.08)}.vehicle-maintenance-tools{margin-bottom:8px}.vehicle-maintenance-filter-info{display:flex;gap:6px;align-items:center;margin:0 0 12px;padding:7px 9px;border-radius:8px;background:rgba(255,255,255,.018);border:1px solid rgba(255,255,255,.045);font-size:8px;color:#777d89}.vehicle-maintenance-filter-info .rpo-icon{width:11px;height:11px;flex:0 0 auto}.vehicle-maintenance-filter-info b{color:#c6a2dc}

/* v1.3.9 · Vehicle Lab readability + responsive modal sizing */
.modal{
  max-width:calc(100vw - 36px);
  overflow-x:hidden;
}
.modal.modal-lg{width:min(980px,calc(100vw - 36px))}
.modal.modal-xl{width:min(1120px,calc(100vw - 36px))}

/* Wide modules size themselves through the outer modal now. */
.vehicle-repair-modal,
.vehicle-lab-diag-modal,
.vehicle-lab-compare-modal,
.team-profile-modal{
  width:100%;
  max-width:none;
  min-width:0;
  max-height:none;
  overflow:visible;
  padding:0;
}

/* Never allow long paths / XML / IDs to make a modal wider than the viewport. */
.vehicle-repair-modal *,
.vehicle-lab-diag-modal *,
.vehicle-lab-compare-modal *,
.team-profile-modal *{min-width:0}
.vehicle-repair-file b,
.vehicle-lab-paths b,
.vehicle-lab-diag-list b,
.vehicle-lab-diag-list span,
.vehicle-repair-bulk-list small{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.vehicle-repair-diff{grid-template-columns:repeat(2,minmax(0,1fr))}
.vehicle-repair-diff pre{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Vehicle Lab: larger, easier-to-read typography without making the cards bulky. */
.vehicle-lab-config-warning b{font-size:13px}
.vehicle-lab-config-warning span{font-size:11px;line-height:1.55}
.vehicle-lab-stat>span{font-size:10px}
.vehicle-lab-stat>small{font-size:10px;line-height:1.45}
.vehicle-lab-scanline{font-size:10.5px;line-height:1.45}
.vehicle-asset-flags span{font-size:9px;padding:4px 6px}
.vehicle-lab-issue{font-size:9px;padding:3px 6px;line-height:1.35}
.vehicle-lab-paths span{font-size:9px}
.vehicle-lab-paths b{font-size:11px;line-height:1.45}
.vehicle-lab-paths small{font-size:9.5px;line-height:1.45}
.vehicle-lab-handling-top span{font-size:9.5px}
.vehicle-lab-handling-top strong{font-size:16px}
.vehicle-lab-handling-top small{font-size:9px;line-height:1.4}
.vehicle-lab-handling-all>summary{font-size:11px}
.vehicle-lab-shared-row b{font-size:11px}
.vehicle-lab-shared-row>span:not(.badge){font-size:10px}
.vehicle-lab-diag-section h4{font-size:13px}
.vehicle-lab-diag-list b{font-size:11px;line-height:1.45}
.vehicle-lab-diag-list span{font-size:10px;line-height:1.45}
.vehicle-lab-compare-head b{font-size:12px}
.vehicle-lab-compare-head span{font-size:10px;line-height:1.45}
.vehicle-maintenance-filter-info{font-size:10px;line-height:1.45;padding:9px 11px}

.vehicle-repair-row{padding:15px 14px;gap:16px}
.vehicle-repair-title b{font-size:13px;line-height:1.4}
.vehicle-repair-main p{font-size:12px;line-height:1.55;margin:8px 0 6px}
.vehicle-repair-main>.sub{font-size:10px;line-height:1.45}
.vehicle-repair-main>small{font-size:10px;line-height:1.45;margin-top:6px}
.vehicle-repair-actions{min-width:150px}
.vehicle-repair-modal .support-modal-title h3{font-size:20px;line-height:1.3}
.vehicle-repair-modal .support-modal-title p{font-size:12px;line-height:1.55}
.vehicle-repair-modal .confirm-kicker{font-size:10px}
.vehicle-repair-file{padding:12px 13px;margin:14px 0}
.vehicle-repair-file span{font-size:10px}
.vehicle-repair-file b{font-size:11px;line-height:1.5}
.vehicle-repair-diff>div>span{font-size:10px;padding:9px 11px}
.vehicle-repair-diff pre{font-size:11px;line-height:1.55;padding:13px;max-height:380px}
.vehicle-repair-impact{font-size:11px;line-height:1.5;padding:11px 12px}
.vehicle-repair-bulk-list b{font-size:12px}
.vehicle-repair-bulk-list small{font-size:10px;line-height:1.45}

@media(max-width:760px){
  .modal.modal-lg,.modal.modal-xl{width:100%;max-width:none}
  .vehicle-repair-diff{grid-template-columns:1fr}
  .vehicle-repair-actions{min-width:0}
  .vehicle-repair-modal .support-modal-title h3{font-size:18px}
}

/* v1.3.12 · Vehicle tabs alignment */
.vehicle-tabs .tab,
.vehicle-lab-subtabs .tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  line-height:1.15;
  vertical-align:middle;
}
.vehicle-tabs .tab .rpo-icon,
.vehicle-lab-subtabs .tab .rpo-icon{
  display:block;
  width:14px;
  height:14px;
  margin:0;
  flex:0 0 14px;
  vertical-align:middle;
}
.vehicle-tabs,
.vehicle-lab-subtabs{
  align-items:stretch;
}



/* v1.3.21 – Refunds im Spielerprofil */
.refund-table td{vertical-align:top}
.refund-table .refund-item-preview{max-width:520px;white-space:normal;line-height:1.55;margin-top:4px}
.refund-table .refund-note{max-width:430px;white-space:normal;line-height:1.5;margin-top:4px}
.support-status.danger{background:rgba(255,80,80,.08);border-color:rgba(255,80,80,.18);color:#ff9393}
.support-status.muted{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.08);color:#8f92a1}
.inline-warning{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid rgba(230,185,75,.2);border-radius:10px;background:rgba(230,185,75,.06);color:#d9d3bd;font-size:12px;line-height:1.45}
.inline-warning .rpo-icon{flex:0 0 auto;color:#e8c66d}
.inline-warning span{display:block}
.refund-support-modal .required-mark{color:#ff7373}
.refund-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
.refund-context-card{display:flex;flex-direction:column;gap:4px;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.018)}
.refund-context-card small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.refund-context-card b{font-size:13px;color:var(--text)}
.refund-context-card span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.refund-items-details{margin:6px 0 2px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.012);overflow:hidden}
.refund-items-details summary{cursor:pointer;padding:11px 13px;font-size:12px;font-weight:650;color:#c6c8d2;user-select:none}
.refund-modal-items{display:grid;gap:6px;padding:0 10px 10px;max-height:260px;overflow:auto}
.refund-modal-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:8px;background:rgba(255,255,255,.025)}
.refund-modal-item span{display:flex;flex-direction:column;min-width:0}
.refund-modal-item b{font-size:12px}.refund-modal-item small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.refund-modal-item strong{font-size:12px;color:#d9a9f0;white-space:nowrap}
@media(max-width:760px){.refund-context-grid{grid-template-columns:1fr}.refund-table{min-width:900px}}

/* Support refund snapshot */
.support-refund-card{border-color:rgba(102,2,163,.28);background:linear-gradient(180deg,rgba(102,2,163,.055),rgba(15,17,23,.92))}.support-refund-card .card-title{align-items:center}.support-refund-status{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.02em;border:1px solid rgba(255,255,255,.08)}.support-refund-status.done{color:#78dca4;background:rgba(53,208,127,.07);border-color:rgba(53,208,127,.18)}.support-refund-status.partial{color:#e2bd66;background:rgba(230,185,75,.07);border-color:rgba(230,185,75,.18)}.support-refund-reason{margin:10px 0 13px;padding:11px 12px;border:1px solid rgba(255,255,255,.055);background:#0f1117;border-radius:10px}.support-refund-reason>span{display:block;color:#737988;font-size:9px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.support-refund-reason p{margin:0;color:#c5c9d2;font-size:11px;line-height:1.55;overflow-wrap:anywhere}.support-refund-legacy{display:flex;gap:8px;align-items:flex-start;margin:0 0 13px;padding:9px 10px;border-radius:9px;border:1px solid rgba(230,185,75,.17);background:rgba(230,185,75,.045);color:#c9ab65;font-size:10px;line-height:1.45}.support-refund-legacy .rpo-icon{flex:0 0 auto;width:15px;height:15px;margin-top:1px}.support-refund-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);gap:12px}.support-refund-group,.support-refund-failed{min-width:0;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#0e1016;overflow:hidden}.support-refund-group-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 11px;border-bottom:1px solid rgba(255,255,255,.05)}.support-refund-group-head b{font-size:11px;color:#e7e9ee}.support-refund-group-head span{font-size:9px;color:#6f7582}.support-refund-list{display:flex;flex-direction:column}.support-refund-line{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:center;padding:9px 11px}.support-refund-line+.support-refund-line{border-top:1px solid rgba(255,255,255,.045)}.support-refund-line-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:rgba(102,2,163,.07);color:#b77ed7;border:1px solid rgba(143,59,195,.12)}.support-refund-line-icon .rpo-icon{width:14px;height:14px}.support-refund-line b{display:block;font-size:10px;color:#d9dce3}.support-refund-line small{display:block;margin-top:2px;font-size:8px;color:#747a87;line-height:1.45;overflow-wrap:anywhere}.support-refund-line.account .support-refund-line-icon{color:#75b9e7;background:rgba(68,153,221,.06);border-color:rgba(68,153,221,.14)}.support-refund-failed{margin-top:12px;border-color:rgba(255,79,100,.14)}.support-refund-failed .support-refund-group-head b{color:#f08a97}.support-refund-line.failed .support-refund-line-icon{color:#f08a97;background:rgba(255,79,100,.055);border-color:rgba(255,79,100,.15)}.support-refund-foot{margin-top:10px;color:#6e7481;font-size:9px}.support-refund-foot b{color:#aeb3bd}@media(max-width:760px){.support-refund-columns{grid-template-columns:1fr}.support-refund-status{font-size:8px}.support-refund-line{grid-template-columns:28px minmax(0,1fr)}}

/* Adminchat Direktnachrichten */
.panel-chat-channels{display:flex;flex-direction:column;gap:16px}
.panel-chat-section{display:flex;flex-direction:column;gap:6px}
.panel-chat-section+.panel-chat-section{padding-top:14px;border-top:1px solid var(--line)}
.panel-chat-section-title{display:flex;align-items:center;justify-content:space-between;padding:0 4px 4px;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.panel-chat-section-title span{font-size:10px;color:var(--muted)}
.panel-chat-section-empty{padding:9px 10px;font-size:11px;line-height:1.4;color:var(--muted)}
.panel-chat-dm>span{display:flex;min-width:0;flex-direction:column;gap:2px}
.panel-chat-dm>span>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:inherit}
.panel-chat-dm>span>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500;color:var(--muted)}
.panel-chat-dm i.online{background:#35d07f;box-shadow:0 0 12px rgba(53,208,127,.55)}
.panel-chat-dm i.offline{background:#71717a;box-shadow:none}
.panel-chat-live.offline{color:#a1a1aa!important}.panel-chat-live.offline i{background:#71717a;box-shadow:none}
@media(max-width:900px){.panel-chat-channels{display:block}.panel-chat-section{min-width:max-content;margin-bottom:10px}.panel-chat-section-title{display:none}.panel-chat-section+.panel-chat-section{padding-top:8px;border-top:0}.panel-chat-channel{display:inline-flex;margin-right:6px}.panel-chat-dm>span{max-width:180px}}

/* v1.3.30 · Adminchat unread + browser notifications */
.nav-item > .nav-unread-badge{
  width:auto!important;min-width:19px;height:19px;padding:0 5px;margin-left:auto;
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  border-radius:999px;background:#e33d50;color:#fff!important;border:1px solid rgba(255,255,255,.16);
  box-shadow:0 0 0 2px rgba(227,61,80,.12),0 3px 12px rgba(227,61,80,.24);
  font-size:10px;font-weight:850;line-height:1;
}
.nav-item > .nav-unread-badge.hidden{display:none!important}
.panel-chat-context-unread{
  margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;background:#e33d50;color:#fff;
  font-style:normal;font-size:9px;font-weight:850;line-height:1;flex:0 0 auto;
  box-shadow:0 0 0 2px rgba(227,61,80,.10);
}
.adminchat-notify-state{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border-radius:9px;border:1px solid rgba(255,255,255,.07);font-size:10px;font-weight:700}
.adminchat-notify-state.enabled{color:#8be6b3;background:rgba(53,208,127,.07);border-color:rgba(53,208,127,.16)}
.adminchat-notify-state.blocked{color:#ff909c;background:rgba(227,61,80,.07);border-color:rgba(227,61,80,.16)}


/* v1.3.33 · Adminchat Attention Fallback */
.adminchat-alert-host{position:fixed;top:18px;right:18px;z-index:140;display:flex;flex-direction:column;gap:10px;width:min(390px,calc(100vw - 28px));pointer-events:none}
.adminchat-alert{pointer-events:auto;display:grid;grid-template-columns:40px minmax(0,1fr) 22px;gap:10px;align-items:start;width:100%;border:1px solid rgba(160,72,211,.32);background:linear-gradient(145deg,rgba(25,20,32,.98),rgba(15,17,23,.98));color:#f4f1f7;border-radius:13px;padding:12px;text-align:left;box-shadow:0 18px 55px rgba(0,0,0,.5),0 0 0 1px rgba(102,2,163,.08) inset;cursor:pointer;opacity:0;transform:translateY(-10px) scale(.985);transition:opacity .2s ease,transform .2s ease,border-color .2s ease}
.adminchat-alert.show{opacity:1;transform:translateY(0) scale(1)}
.adminchat-alert.hide{opacity:0;transform:translateY(-8px) scale(.985);pointer-events:none}
.adminchat-alert:hover{border-color:rgba(191,100,244,.56)}
.adminchat-alert.dm{border-color:rgba(72,145,237,.34)}
.adminchat-alert-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:rgba(102,2,163,.18);color:#d6a4ee}.adminchat-alert.dm .adminchat-alert-icon{background:rgba(72,145,237,.14);color:#9bc5f7}
.adminchat-alert-icon .rpo-icon{width:19px;height:19px}
.adminchat-alert-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.adminchat-alert-copy>b{font-size:11px;letter-spacing:.01em}.adminchat-alert-copy>span{font-size:11px;line-height:1.45;color:#c2c5ce;overflow-wrap:anywhere}.adminchat-alert-copy strong{color:#fff}.adminchat-alert-copy small{font-size:9px;color:#898f9d}
.adminchat-alert-close{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;color:#7e8491;font-size:18px;line-height:1}.adminchat-alert-close:hover{background:rgba(255,255,255,.06);color:#fff}
@media(max-width:600px){.adminchat-alert-host{top:10px;left:10px;right:10px;width:auto}.adminchat-alert{grid-template-columns:36px minmax(0,1fr) 22px;padding:10px}.adminchat-alert-icon{width:36px;height:36px}}


/* v1.3.34 · Adminchat notification diagnostics */
@media(max-width:650px){.adminchat-diag-row{grid-template-columns:1fr;gap:4px}}


/* v1.3.36 · Adminchat Benachrichtigungssteuerung */
.adminchat-global-notify{color:#cbd0da}.adminchat-global-notify .rpo-icon{width:17px;height:17px}.adminchat-global-notify.muted{color:#ff909c;background:rgba(227,61,80,.08);border-color:rgba(227,61,80,.18)}
.panel-chat-channel-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;align-items:center}.panel-chat-channel-row .panel-chat-channel{min-width:0}.panel-chat-channel-row.muted .panel-chat-channel>span,.panel-chat-channel-row.muted .panel-chat-channel>i{opacity:.48;filter:grayscale(1)}
.panel-chat-channel-mute{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:9px;background:rgba(255,255,255,.035);color:#7f8591;cursor:pointer;transition:.16s ease}.panel-chat-channel-mute:hover{color:#fff;background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.08)}.panel-chat-channel-mute.muted{color:#ff909c;background:rgba(227,61,80,.08);border-color:rgba(227,61,80,.14)}.panel-chat-channel-mute .rpo-icon{width:14px;height:14px}
@media(max-width:900px){.panel-chat-channel-row{display:inline-grid;grid-template-columns:auto 30px;gap:4px;margin-right:6px;vertical-align:top}.panel-chat-channel-row .panel-chat-channel{margin-right:0}.panel-chat-channel-mute{margin-top:4px}}


/* v1.3.40 · Mobile PWA / iOS standalone */
.pwa-install-dialog{position:relative}
.pwa-install-steps{margin:18px 0 0;padding-left:22px;color:#d9dbe3;display:grid;gap:11px;font-size:13px;line-height:1.5}
.pwa-install-steps b{color:#fff}
.pwa-install-note{margin:16px 0 0;padding:12px 13px;border:1px solid rgba(102,2,163,.28);border-radius:10px;background:rgba(102,2,163,.09);color:#aeb2c1;font-size:12px;line-height:1.5}
@media (display-mode:standalone){
  html,body{min-height:100dvh}
  .topbar{padding-top:env(safe-area-inset-top);height:calc(var(--topbar-height) + env(safe-area-inset-top))}
  .sidebar{padding-top:calc(18px + env(safe-area-inset-top));padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .view{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  .role-preview-banner{top:calc(var(--topbar-height,68px) + env(safe-area-inset-top))}
}
@media (max-width:760px){
  .pwa-install-dialog .modal-actions{grid-template-columns:1fr}
  .pwa-install-dialog .btn{width:100%}
}

/* v1.3.49 · Supportrollen, RPO-Team und Supportaktivität */
.support-team-stats-card{margin-bottom:14px;padding-top:14px}.support-team-stats-card .card-title select{min-width:120px}.support-team-stats{min-width:720px}.support-team-stats td:nth-child(n+2),.support-team-stats th:nth-child(n+2){text-align:center}.support-team-stats td:nth-child(2) b{color:#d7a5f0;font-size:13px}
.support-participant-builder{margin-top:12px;padding:13px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#0f1117}.support-builder-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.support-builder-head b{display:block;font-size:11px;color:#e1e3e9}.support-builder-head span{display:block;margin-top:3px;font-size:9px;color:#717786}.support-participant-addbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}.support-participant-addbar .field{margin:0}.support-builder-list{display:flex;flex-direction:column;gap:7px;margin-top:11px}.support-builder-person{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,auto) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#12141b}.support-builder-person.team{border-color:rgba(102,2,163,.22);background:rgba(102,2,163,.055)}.support-builder-person-main{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;min-width:0}.support-builder-avatar{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:rgba(102,2,163,.09);border:1px solid rgba(155,67,208,.16);color:#c795e4}.support-builder-avatar .rpo-icon{width:15px;height:15px}.support-builder-person-main b{display:block;font-size:10px;color:#e1e4ea;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-builder-person-main span{display:block;margin-top:2px;font-size:8px;color:#707685;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-builder-roles,.support-role-choices,.support-role-stack{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.support-role-choice{border:1px solid rgba(255,255,255,.07);background:#0d0f15;color:#8a909d;border-radius:999px;padding:5px 9px;font:inherit;font-size:9px;font-weight:720;cursor:pointer;transition:.15s ease}.support-role-choice:hover{border-color:rgba(151,65,202,.28);color:#c9cdd5}.support-role-choice.active{border-color:rgba(159,71,211,.34);background:rgba(102,2,163,.14);color:#d9aaef}.support-participant-actions{display:flex;gap:5px;align-items:center}.support-participant-main.static{cursor:default}.support-participant-main.static:hover b{color:#e3e5eb}.support-participant-mode{display:flex;gap:7px;margin:0 0 13px}.support-add-participant .support-role-choices{padding:4px 0 2px}
@media(max-width:760px){.support-participant-addbar{grid-template-columns:1fr}.support-participant-addbar .btn{width:100%}.support-builder-person{grid-template-columns:1fr auto}.support-builder-roles{grid-column:1/-1}.support-builder-person>.icon-btn{grid-column:2;grid-row:1}.support-team-stats{min-width:650px}}

/* v1.3.49 · Supportsystem Rework */
.support-case-header{margin-bottom:14px}.support-case-headgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.support-case-headgrid>div{padding:10px 11px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#101219;min-width:0}.support-case-headgrid span{display:block;color:#6f7582;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.support-case-headgrid b{display:block;margin-top:4px;color:#e6e8ed;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-case-headgrid small{display:block;margin-top:3px;color:#717786;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-participant-decision{color:#a98abc!important}.support-status-closed{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.support-person-decisions{display:flex;flex-direction:column;gap:8px}.support-person-decision{padding:10px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#101219}.support-person-decision-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.support-person-decision-head b{display:block;font-size:11px;color:#e6e8ed}.support-person-decision-head span{display:block;margin-top:2px;font-size:8px;color:#7a808d}.support-person-decision .support-decision-content small{display:block;margin-top:5px}.support-decision-person-hint{margin:-4px 0 13px;color:#777d8a;font-size:9px;line-height:1.5}.support-decision-person-hint b{color:#c9cdd5}.support-internal-notes{display:flex;flex-direction:column;gap:7px}.support-internal-note{padding:10px 11px;border:1px solid rgba(102,2,163,.16);border-radius:10px;background:rgba(102,2,163,.055);color:#bfc3cc;font-size:10px;line-height:1.55}.support-internal-note-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px}.support-internal-note-head b{color:#dddfe5;font-size:9px}.support-internal-note-head time{color:#6f7582;font-size:8px;white-space:nowrap}.support-notes-card .support-note-compose{margin-top:12px}.support-person-file{position:relative}.support-person-file-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.support-person-file-summary>div{padding:11px;border:1px solid rgba(255,255,255,.055);background:#101219;border-radius:10px}.support-person-file-summary span{display:block;color:#717785;font-size:8px}.support-person-file-summary strong{display:block;margin-top:4px;font-size:20px;color:#eceef2}.support-file-measures{padding:11px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#0f1117;margin-bottom:11px}.support-file-measures>b{display:block;font-size:9px;color:#d8dbe2;margin-bottom:7px}.support-file-measures>div{display:flex;gap:6px;flex-wrap:wrap}.support-file-summary-pill{display:inline-flex;gap:4px;align-items:center;padding:5px 8px;border:1px solid rgba(151,65,202,.18);border-radius:999px;background:rgba(102,2,163,.08);color:#c9a2df;font-size:8px}.support-file-summary-pill b{color:#eee;font-size:9px}.support-file-case-list{display:flex;flex-direction:column;gap:6px;max-height:420px;overflow:auto;padding-right:2px}.support-file-case{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(140px,1fr) minmax(120px,.8fr) auto;gap:8px;align-items:center;width:100%;padding:9px 10px;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:#101219;color:inherit;text-align:left;cursor:pointer}.support-file-case:hover{border-color:rgba(151,65,202,.25);background:rgba(102,2,163,.06)}.support-file-case>span:first-child{min-width:0}.support-file-case b{display:block;color:#e1e4ea;font-size:9px}.support-file-case small{display:block;color:#707684;font-size:8px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-file-more{margin-top:8px;text-align:center;color:#6f7582;font-size:8px}
@media(max-width:900px){.support-case-headgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.support-file-case{grid-template-columns:minmax(0,1fr) auto}.support-file-case>.support-role-stack,.support-file-case>span:nth-child(3){grid-row:2}}
@media(max-width:600px){.support-case-headgrid{grid-template-columns:1fr}.support-person-file-summary{grid-template-columns:1fr 1fr}.support-person-decision-head{align-items:flex-start}.support-file-case{grid-template-columns:1fr}.support-file-case>.support-role-stack,.support-file-case>span:nth-child(3){grid-row:auto}}

/* v1.3.53 · Support-Übergaben und Refund-Verknüpfung */
.support-handoff-mini{display:inline-flex;align-items:center;margin-top:5px;padding:3px 7px;border:1px solid rgba(230,185,75,.2);border-radius:999px;background:rgba(230,185,75,.07);color:#e3c36d;font-size:8px;font-weight:800;white-space:nowrap}
.support-handoff-sub{color:#d3b45f!important}
.support-handoff-chip{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid rgba(230,185,75,.22);border-radius:999px;background:rgba(230,185,75,.075);color:#e7c76f;font-size:9px;font-weight:800}
.support-handoff-banner{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;margin:-2px 0 14px;padding:12px 14px;border:1px solid rgba(230,185,75,.22);border-radius:11px;background:linear-gradient(90deg,rgba(230,185,75,.08),rgba(230,185,75,.025));color:#d4d0c4}
.support-handoff-banner-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;border:1px solid rgba(230,185,75,.18);background:rgba(230,185,75,.07);color:#e5c66f}.support-handoff-banner-icon .rpo-icon{width:16px;height:16px}
.support-handoff-banner b{display:block;color:#f0d789;font-size:11px}.support-handoff-banner p{margin:3px 0 0;color:#bbb7a9;font-size:10px;line-height:1.45}.support-handoff-banner small{display:block;margin-top:4px;color:#7f7b70;font-size:8px}
.support-handoff-hint{display:flex;gap:9px;align-items:flex-start;margin:0 0 12px;padding:10px 12px;border:1px solid rgba(230,185,75,.18);border-radius:10px;background:rgba(230,185,75,.055);color:#bdb7a7;font-size:10px;line-height:1.5}.support-handoff-hint .rpo-icon{width:15px;height:15px;flex:0 0 auto;color:#e0bd61;margin-top:1px}.support-handoff-hint b{color:#e4d29a}
.support-handoff-modal{position:relative;min-width:min(520px,calc(100vw - 40px))}
.refund-linked-case{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:11px 12px;border:1px solid rgba(102,2,163,.22);border-radius:10px;background:rgba(102,2,163,.06)}.refund-linked-case>.rpo-icon{width:17px;height:17px;color:#c78ee6;flex:0 0 auto}.refund-linked-case>div{display:flex;flex-direction:column;gap:3px;min-width:0}.refund-linked-case b{font-size:10px;color:#e2e4ea}.refund-linked-case span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.refund-linked-case small{font-size:8px;color:#747a87}
@media(max-width:700px){.support-handoff-banner{grid-template-columns:34px minmax(0,1fr)}.support-handoff-banner>.btn{grid-column:1/-1;width:100%}}

/* v1.3.56 – App / Messenger ------------------------------------------------ */
.panel-chat-message.dm{width:min(76%,680px);padding:10px 12px}
.panel-chat-message.dm.own{align-self:flex-end;background:linear-gradient(145deg,rgba(102,2,163,.20),rgba(102,2,163,.10));border-color:rgba(177,91,226,.25);border-bottom-right-radius:5px}
.panel-chat-message.dm.other{align-self:flex-start;border-bottom-left-radius:5px}
.panel-chat-message.dm .panel-chat-message-head{margin-bottom:4px}
.panel-chat-message-head time{display:inline-flex;align-items:center;gap:6px}
.panel-chat-receipt{display:inline-flex;align-items:center;font-size:11px!important;font-weight:900;letter-spacing:-2px;color:#8b909b;min-width:14px}
.panel-chat-receipt.read{color:#48a7ff}
.panel-chat-origin{letter-spacing:.06em}
.panel-chat-dm{position:relative;align-items:flex-start;min-height:64px;padding-top:10px;padding-bottom:10px}
.panel-chat-dm>i{margin-top:5px;flex:0 0 auto}
.panel-chat-dm-copy{width:100%;min-width:0;gap:2px!important}
.panel-chat-dm-name{display:flex!important;align-items:center;gap:8px;min-width:0}
.panel-chat-dm-name>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.panel-chat-dm-name>time{margin-left:auto;font-size:9px;font-weight:600;color:#727987;white-space:nowrap}
.panel-chat-dm-role{font-size:9px!important}
.panel-chat-dm-preview{font-size:10px!important;color:#9298a6!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.panel-chat-dm.has-unread .panel-chat-dm-name>b{color:#fff}
.panel-chat-dm.has-unread .panel-chat-dm-preview{color:#d9dbe3!important;font-weight:700}
.panel-chat-dm .panel-chat-context-unread{margin-left:4px;align-self:center}

.adminchat-settings-dialog{position:relative;display:grid;gap:14px}
.adminchat-settings-list,.adminchat-settings-block{border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(255,255,255,.018);padding:4px 14px}
.adminchat-push-settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid rgba(255,255,255,.06)}
.adminchat-push-settings-row>span{display:grid;gap:2px;min-width:0}
.adminchat-push-settings-row b{font-size:12px}
.adminchat-push-settings-row small{font-size:10px;color:var(--muted)}
.adminchat-push-settings-row>div{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
@media(max-width:560px){.adminchat-push-settings-row{align-items:flex-start;flex-direction:column}.adminchat-push-settings-row>div{justify-content:flex-start}}
.adminchat-settings-block{padding-top:4px}
.adminchat-quiet-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 0;border-top:1px solid rgba(255,255,255,.06);transition:.15s ease}
.adminchat-quiet-fields.disabled{opacity:.4;pointer-events:none}
.adminchat-quiet-fields label{display:grid;gap:6px}
.adminchat-quiet-fields label>span,.adminchat-settings-exceptions>span{font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.adminchat-quiet-fields input[type=time]{height:38px;border:1px solid var(--line);border-radius:9px;background:#101219;color:#e5e7ee;padding:0 10px;font:inherit;color-scheme:dark}
.adminchat-settings-exceptions{padding-top:11px;border-top:1px solid rgba(255,255,255,.06)}
.adminchat-settings-exceptions>span{display:block;margin-bottom:3px}

body.adminchat-compact .panel-chat-messages{gap:6px;padding:11px}
body.adminchat-compact .panel-chat-message{padding:7px 10px;border-radius:10px}
body.adminchat-compact .panel-chat-message-head{margin-bottom:2px}
body.adminchat-compact .panel-chat-text{font-size:12px;line-height:1.38}
body.adminchat-compact .panel-chat-dm{min-height:54px;padding-top:7px;padding-bottom:7px}

.app-system-banner-host{position:fixed;z-index:190;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(560px,calc(100vw - 24px));display:grid;gap:8px;pointer-events:none}
.app-system-banner{pointer-events:auto;display:flex;align-items:center;gap:11px;min-height:52px;padding:10px 12px;border-radius:13px;border:1px solid rgba(255,255,255,.12);background:rgba(15,17,23,.97);box-shadow:0 18px 55px rgba(0,0,0,.52);backdrop-filter:blur(16px)}
.app-system-banner>span:not(.app-connection-spinner){display:grid;gap:2px;min-width:0;flex:1}
.app-system-banner b{font-size:12px;color:#fff}.app-system-banner small{font-size:10px;color:#a7acb8;line-height:1.35}
.app-system-banner>.rpo-icon{width:18px;height:18px;flex:0 0 auto}
.app-system-banner.connection.offline{border-color:rgba(255,183,77,.27)}
.app-system-banner.connection.restored{border-color:rgba(53,208,127,.3)}.app-system-banner.connection.restored>.rpo-icon{color:#55dc91}
.app-system-banner.update{border-color:rgba(166,92,255,.38);background:linear-gradient(145deg,rgba(40,21,53,.98),rgba(15,17,23,.98))}.app-system-banner.update>.rpo-icon{color:#d4a5f0}
.app-connection-spinner{width:17px;height:17px;border-radius:50%;border:2px solid rgba(255,255,255,.15);border-top-color:#ffb74d;animation:rpo-app-spin .85s linear infinite;flex:0 0 auto}
@keyframes rpo-app-spin{to{transform:rotate(360deg)}}

@media(max-width:900px){
  .panel-chat-message.dm{width:min(88%,620px)}
  .panel-chat-channels{max-height:250px;overflow:auto;padding:10px}
  .panel-chat-section{min-width:0!important}
  .panel-chat-channel-row,.panel-chat-channel{width:100%!important;display:flex!important;margin-right:0!important}
  .panel-chat-dm{display:flex!important}
  .panel-chat-dm>span{max-width:none!important}
  .adminchat-quiet-fields{grid-template-columns:1fr 1fr}
  .app-system-banner-host{top:max(8px,env(safe-area-inset-top));width:calc(100vw - 16px)}
}
@media(max-width:560px){
  .panel-chat-message.dm{width:92%}
  .adminchat-quiet-fields{grid-template-columns:1fr}
  .app-system-banner{align-items:flex-start}.app-system-banner .btn{flex:0 0 auto}
}


/* v1.3.57 – Adminchat mobile overflow + message origin -------------------- */
.panel-chat-origin.app{color:#9ce8bc!important;border-color:rgba(53,208,127,.26);background:rgba(53,208,127,.09)}
.panel-chat-origin.panel{color:#d8b4fe!important;border-color:rgba(166,92,255,.30);background:rgba(102,2,163,.14)}
.panel-chat-origin.ingame{color:#9dc8ff!important;border-color:rgba(72,145,237,.28);background:rgba(72,145,237,.10)}

@media(max-width:900px){
  .panel-chat-layout,.panel-chat-main,.panel-chat-channels,.panel-chat-section{min-width:0;max-width:100%;box-sizing:border-box}
  .panel-chat-channels{display:block!important;width:100%;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-x:none}
  .panel-chat-section{width:100%;min-width:0!important}
  .panel-chat-channel-row{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:5px!important;width:100%!important;min-width:0!important;margin:0!important}
  .panel-chat-channel-row .panel-chat-channel{display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;white-space:normal!important}
  .panel-chat-channel-row .panel-chat-channel>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .panel-chat-channel-mute{width:34px;height:34px;margin:0!important;align-self:center}
  .panel-chat-dm{display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0 0 5px!important;white-space:normal!important}
  .panel-chat-dm-copy{min-width:0!important;max-width:100%!important}
  .panel-chat-head,.panel-chat-message-head{min-width:0}
  .panel-chat-head>div,.panel-chat-message-head>div{min-width:0}
  .panel-chat-message{max-width:100%;box-sizing:border-box}
}


/* v1.3.59 – Mobile Messenger Redesign ------------------------------------ */
@media(max-width:760px){
  body.adminchat-mobile-route{overflow:hidden}
  body.adminchat-mobile-route .topbar{display:none}
  body.adminchat-mobile-route main{height:100dvh;overflow:hidden;background:#090a0f}
  body.adminchat-mobile-route .view{height:100dvh;padding:0;overflow:hidden;max-width:none}
  body.adminchat-mobile-route #rolePreviewBanner{position:fixed;z-index:120;left:8px;right:8px;top:max(8px,env(safe-area-inset-top));margin:0}

  .adminchat-mobile-shell{height:100dvh;min-height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,#0d0e14 0%,#090a0f 100%);color:#f6f6fa}
  .adminchat-mobile-shell button,.adminchat-mobile-shell input,.adminchat-mobile-shell textarea{font:inherit}
  .adminchat-mobile-list-head,.adminchat-mobile-chat-head{flex:0 0 auto;display:flex;align-items:center;min-height:64px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;border-bottom:1px solid rgba(255,255,255,.055);background:rgba(13,14,20,.94);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:6}
  .adminchat-mobile-list-head{gap:11px}.adminchat-mobile-chat-head{gap:9px}
  .adminchat-mobile-title{min-width:0;flex:1}.adminchat-mobile-title>span{display:block;margin-bottom:1px;color:#9f70b8;font-size:8px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}.adminchat-mobile-title h1{margin:0;font-size:24px;line-height:1.1;letter-spacing:-.035em}
  .adminchat-mobile-head-actions,.adminchat-mobile-chat-actions{display:flex;align-items:center;gap:4px;margin-left:auto}
  .adminchat-mobile-icon-button{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border:0;border-radius:50%;background:transparent;color:#c8cad2;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .adminchat-mobile-icon-button:active{background:rgba(255,255,255,.075)}.adminchat-mobile-icon-button.muted{color:#ff8996}.adminchat-mobile-icon-button .rpo-icon{width:20px;height:20px}
  .adminchat-mobile-icon-button.back{margin-left:-5px}.adminchat-mobile-hamburger{gap:4px;align-content:center}.adminchat-mobile-hamburger span{width:18px;height:1.5px;border-radius:99px;background:currentColor}

  .adminchat-mobile-search{flex:0 0 auto;margin:10px 14px 4px;height:44px;display:grid;grid-template-columns:20px minmax(0,1fr) 36px;gap:8px;align-items:center;padding:0 4px 0 13px;border-radius:14px;background:#171922;border:1px solid rgba(255,255,255,.055)}
  .adminchat-mobile-search>span{display:grid;place-items:center;color:#747a89}.adminchat-mobile-search .rpo-icon{width:17px;height:17px}.adminchat-mobile-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f2f3f7;font-size:14px}.adminchat-mobile-search input::placeholder{color:#686e7d}
  .adminchat-mobile-search-refresh{width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#777d8b}.adminchat-mobile-search-refresh:active{background:rgba(255,255,255,.06)}.adminchat-mobile-search-refresh .rpo-icon{width:17px;height:17px}

  .adminchat-mobile-list-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:6px 0 calc(18px + env(safe-area-inset-bottom));scrollbar-width:none}.adminchat-mobile-list-body::-webkit-scrollbar{display:none}
  .adminchat-mobile-section{padding:6px 0 4px}.adminchat-mobile-section.hidden{display:none}.adminchat-mobile-section+.adminchat-mobile-section{margin-top:2px;border-top:1px solid rgba(255,255,255,.045)}
  .adminchat-mobile-section-title{display:flex;align-items:center;justify-content:space-between;padding:8px 18px 5px;color:#757b89;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.adminchat-mobile-section-title b{font-size:9px;color:#5f6572}
  .adminchat-mobile-list-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-width:0}.adminchat-mobile-list-row.channel{grid-template-columns:minmax(0,1fr) 46px}.adminchat-mobile-list-row.hidden{display:none}
  .adminchat-mobile-list-hit{width:100%;min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px 12px 10px 14px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .adminchat-mobile-list-hit:active{background:rgba(255,255,255,.045)}
  .adminchat-mobile-avatar{position:relative;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;color:#fff;font-size:13px;font-weight:850;letter-spacing:.02em;background:linear-gradient(145deg,color-mix(in srgb,var(--chat-avatar) 78%,#2a1832),color-mix(in srgb,var(--chat-avatar) 42%,#151720));box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}
  .adminchat-mobile-avatar.channel{border-radius:15px;color:#e9d8f4}.adminchat-mobile-avatar.channel .rpo-icon{width:22px;height:22px}.adminchat-mobile-avatar>i{position:absolute;right:0;bottom:1px;width:12px;height:12px;border:2.5px solid #0d0e14;border-radius:50%;background:#666c78}.adminchat-mobile-avatar>i.online{background:#35d07f}.adminchat-mobile-avatar>i.offline{background:#656b76}
  .adminchat-mobile-list-copy{display:flex;flex-direction:column;min-width:0;gap:2px}.adminchat-mobile-list-name{display:flex;align-items:center;min-width:0;gap:8px}.adminchat-mobile-list-name b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:720;color:#f2f3f7}.adminchat-mobile-list-name time{margin-left:auto;color:#6f7582;font-size:10px;white-space:nowrap}
  .adminchat-mobile-list-copy small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777e8c;font-size:11px;line-height:1.35}.adminchat-mobile-list-copy small.role{font-size:9px;color:#666d7b}.adminchat-mobile-list-copy small.preview{font-size:11px;color:#858c9a}
  .adminchat-mobile-list-row.has-unread .adminchat-mobile-list-name b{color:#fff}.adminchat-mobile-list-row.has-unread .adminchat-mobile-list-copy small.preview{color:#d4d7df;font-weight:650}.adminchat-mobile-list-row.has-unread .adminchat-mobile-list-name time{color:#b47adb}
  .adminchat-mobile-list-tail{display:flex;align-items:center;justify-content:flex-end;padding-left:2px}.adminchat-mobile-list-tail em{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#7c22b5;color:#fff;font-style:normal;font-size:9px;font-weight:850}
  .adminchat-mobile-row-action{width:38px;height:38px;display:grid;place-items:center;margin-right:8px;border:0;border-radius:50%;background:transparent;color:#646b78}.adminchat-mobile-row-action:active{background:rgba(255,255,255,.05)}.adminchat-mobile-row-action.muted{color:#b56a74}.adminchat-mobile-row-action .rpo-icon{width:17px;height:17px}
  .adminchat-mobile-list-empty,.adminchat-mobile-empty-page{padding:18px;color:#777e8c;font-size:12px}.adminchat-mobile-empty-page{margin:auto;text-align:center;max-width:320px;line-height:1.6}

  .adminchat-mobile-chat-title{min-width:0;display:flex;flex-direction:column;gap:1px}.adminchat-mobile-chat-title b{max-width:58vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#f6f6fa}.adminchat-mobile-chat-title span{max-width:58vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7c8391;font-size:10px}
  .adminchat-mobile-chat-head .adminchat-mobile-avatar{width:40px;height:40px;font-size:11px}.adminchat-mobile-chat-head .adminchat-mobile-avatar.channel{border-radius:13px}.adminchat-mobile-chat-head .adminchat-mobile-avatar.channel .rpo-icon{width:19px;height:19px}.adminchat-mobile-chat-head .adminchat-mobile-avatar>i{width:10px;height:10px;border-width:2px}

  .adminchat-mobile-messages{position:relative;flex:1;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;display:flex;flex-direction:column;gap:3px!important;padding:14px 10px 18px!important;background:radial-gradient(circle at 20% -10%,rgba(102,2,163,.055),transparent 38%),#0a0b10;overscroll-behavior-y:contain;scrollbar-width:none}
  .adminchat-mobile-messages::-webkit-scrollbar{display:none}
  .adminchat-mobile-date{align-self:center;position:sticky;top:4px;z-index:2;margin:7px 0 9px}.adminchat-mobile-date span{display:block;padding:5px 9px;border-radius:999px;background:rgba(27,29,38,.88);border:1px solid rgba(255,255,255,.055);backdrop-filter:blur(10px);color:#898f9d;font-size:9px;font-weight:700}
  .adminchat-mobile-message{display:flex;width:100%;margin-top:6px}.adminchat-mobile-message.grouped{margin-top:1px}.adminchat-mobile-message.own{justify-content:flex-end}.adminchat-mobile-message.other{justify-content:flex-start}
  .adminchat-mobile-bubble{position:relative;max-width:min(82%,520px);min-width:68px;padding:8px 10px 6px;border-radius:17px;background:#171922;color:#f0f1f5;box-shadow:0 1px 0 rgba(255,255,255,.025),0 2px 8px rgba(0,0,0,.12);overflow-wrap:anywhere}
  .adminchat-mobile-message.other:not(.grouped) .adminchat-mobile-bubble{border-top-left-radius:6px}.adminchat-mobile-message.own:not(.grouped) .adminchat-mobile-bubble{border-top-right-radius:6px}.adminchat-mobile-message.own .adminchat-mobile-bubble{background:linear-gradient(145deg,#62208a,#531775)}.adminchat-mobile-message.important .adminchat-mobile-bubble{box-shadow:inset 3px 0 0 rgba(255,100,110,.72),0 2px 8px rgba(0,0,0,.12)}
  .adminchat-mobile-author{display:flex;align-items:baseline;gap:6px;margin:0 0 4px;font-size:10px}.adminchat-mobile-author b{font-size:10px}.adminchat-mobile-author span{color:#777e8c;font-size:8px}
  .adminchat-mobile-text{font-size:14px;line-height:1.42;white-space:normal;word-break:break-word;user-select:text}
  .adminchat-mobile-message-meta{display:flex;align-items:center;gap:4px;min-height:14px;margin-top:3px;color:#a7acb6;font-size:8px;line-height:1}.adminchat-mobile-message.own .adminchat-mobile-message-meta{color:#d8c8e1}.adminchat-mobile-message-meta time{font-size:8px;white-space:nowrap}.adminchat-mobile-meta-spacer{flex:1}
  .adminchat-mobile-message-meta .panel-chat-origin{padding:0;border:0!important;background:transparent!important;font-size:7px!important;letter-spacing:.04em;opacity:.7}.adminchat-mobile-message-meta .panel-chat-receipt{font-size:10px!important;min-width:12px}.adminchat-mobile-important-badge{color:#ffabb4;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
  .adminchat-mobile-empty{margin:auto;display:flex;flex-direction:column;align-items:center;gap:7px;padding:30px 20px;text-align:center;color:#6e7481}.adminchat-mobile-empty>span{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#151720}.adminchat-mobile-empty .rpo-icon{width:20px;height:20px}.adminchat-mobile-empty b{font-size:12px;color:#aeb3be}.adminchat-mobile-empty small{font-size:10px}

  .adminchat-mobile-jump{position:absolute;right:14px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:4;width:38px;height:38px;border:1px solid rgba(255,255,255,.07);border-radius:50%;display:grid;place-items:center;background:rgba(25,27,35,.96);color:#a8aebb;box-shadow:0 8px 22px rgba(0,0,0,.32);opacity:0;pointer-events:none;transform:translateY(8px);transition:.16s ease}.adminchat-mobile-jump.visible{opacity:1;pointer-events:auto;transform:none}.adminchat-mobile-jump .rpo-icon{width:17px;height:17px}

  .adminchat-mobile-composer{flex:0 0 auto;display:flex;align-items:flex-end;gap:7px;padding:8px 9px calc(8px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.05);background:rgba(13,14,20,.97);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:5}
  .adminchat-mobile-input-wrap{position:relative;flex:1;min-width:0;display:flex;align-items:flex-end;border-radius:22px;background:#181a22;border:1px solid rgba(255,255,255,.06)}
  .adminchat-mobile-input-wrap textarea{width:100%;min-height:42px;max-height:118px;resize:none;overflow-y:auto;border:0;outline:0;background:transparent;color:#f5f5f8;padding:11px 13px 10px;font-size:14px;line-height:1.4}.adminchat-mobile-input-wrap textarea::placeholder{color:#6f7582}
  .adminchat-mobile-count{display:none;position:absolute;right:10px;bottom:-16px;padding:2px 5px;border-radius:5px;background:#12141b;color:#d2a1ec;font-size:8px}.adminchat-mobile-count.visible{display:block}
  .adminchat-mobile-send{width:43px;height:43px;flex:0 0 43px;border:0;border-radius:50%;display:grid;place-items:center;background:#741ab0;color:#fff;box-shadow:0 4px 14px rgba(102,2,163,.28);transition:.14s ease}.adminchat-mobile-send:disabled{background:#242631;color:#626875;box-shadow:none}.adminchat-mobile-send:not(:disabled):active{transform:scale(.94)}.adminchat-mobile-send .rpo-icon{width:19px;height:19px}
  .adminchat-mobile-important-toggle{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:50%;color:#737987;cursor:pointer}.adminchat-mobile-important-toggle input{display:none}.adminchat-mobile-important-toggle span{width:40px;height:40px;display:grid;place-items:center;border-radius:50%}.adminchat-mobile-important-toggle input:checked+span{background:rgba(255,79,100,.12);color:#ff7786}.adminchat-mobile-important-toggle .rpo-icon{width:18px;height:18px}
  .adminchat-mobile-readonly{flex:0 0 auto;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.05);background:#0d0e14;color:#777e8c;font-size:11px;text-align:center}
}

/* v1.3.62 – Mobile Messenger fixed viewport + modal/zoom fixes ------------ */
@media(max-width:760px){
  html.adminchat-mobile-route,
  body.adminchat-mobile-route{
    width:100%;
    max-width:100%;
    overflow:hidden!important;
    overscroll-behavior:none;
  }
  body.adminchat-mobile-route{
    position:fixed!important;
    inset:0!important;
    height:100%!important;
    min-height:0!important;
  }
  body.adminchat-mobile-route #app,
  body.adminchat-mobile-route main,
  body.adminchat-mobile-route .view{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  body.adminchat-mobile-route #app{position:relative!important}
  body.adminchat-mobile-route .adminchat-mobile-shell{
    position:fixed!important;
    z-index:60;
    touch-action:pan-y;
    left:0;
    right:0;
    top:var(--adminchat-vvo,0px);
    width:100%;
    height:var(--adminchat-vvh,100dvh)!important;
    min-height:0!important;
    max-height:var(--adminchat-vvh,100dvh)!important;
    overflow:hidden!important;
    contain:layout paint;
  }
  body.adminchat-mobile-route .adminchat-mobile-chat-head,
  body.adminchat-mobile-route .adminchat-mobile-list-head{
    position:relative;
    flex:0 0 auto;
    touch-action:none;
  }
  body.adminchat-mobile-route .adminchat-mobile-messages,
  body.adminchat-mobile-route .adminchat-mobile-list-body{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    touch-action:pan-y;
  }
  body.adminchat-mobile-route .adminchat-mobile-composer,
  body.adminchat-mobile-route .adminchat-mobile-readonly{
    position:relative;
    flex:0 0 auto!important;
    width:100%;
    margin:0;
    bottom:auto;
    touch-action:pan-y;
  }
  body.adminchat-mobile-route .adminchat-mobile-input-wrap textarea,
  body.adminchat-mobile-route .adminchat-mobile-search input{
    font-size:16px!important;
    touch-action:pan-y;
  }
  body.adminchat-mobile-route .modal-backdrop{
    z-index:200!important;
  }
}

/* v1.3.61 – Adminchat Messenger: replies, reactions & media */
.adminchat-file-input{display:none!important}
.panel-chat-message-tools{display:flex;align-items:center;gap:6px}.panel-chat-message-tools>button{border:0;background:transparent;color:#8f94a3;width:28px;height:28px;border-radius:8px;cursor:pointer;font-size:16px}.panel-chat-message-tools>button:hover{background:rgba(255,255,255,.07);color:#fff}
.adminchat-message-reply{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;border:0;border-left:3px solid rgba(191,115,239,.75);border-radius:7px;background:rgba(255,255,255,.055);padding:7px 9px;margin:4px 0 7px;color:inherit;cursor:pointer;min-width:0}.adminchat-message-reply b{font-size:11px;color:#c995e8}.adminchat-message-reply span{font-size:11px;color:#aeb2bf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.adminchat-image-button{display:block;padding:0;border:0;background:transparent;cursor:pointer;max-width:min(360px,100%);margin:3px 0 6px;border-radius:12px;overflow:hidden}.adminchat-image-button img{display:block;width:100%;max-height:390px;object-fit:cover;border-radius:12px;background:#090a0e}
.adminchat-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.adminchat-reaction{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#171921;color:#dfe1e7;min-height:25px;padding:2px 8px;cursor:pointer}.adminchat-reaction span{font-size:14px}.adminchat-reaction b{font-size:10px;font-weight:700;color:#aeb2bd}.adminchat-reaction.active{border-color:rgba(170,84,221,.6);background:rgba(102,2,163,.22)}
.adminchat-compose-reply,.adminchat-compose-media{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:11px;background:rgba(255,255,255,.045);border-left:3px solid #7d2aaa;min-width:0}.adminchat-compose-reply>span,.adminchat-compose-media>span{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.adminchat-compose-reply b,.adminchat-compose-media b{font-size:11px;color:#c995e8}.adminchat-compose-reply small,.adminchat-compose-media small{font-size:10px;color:#9297a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.adminchat-compose-reply>button,.adminchat-compose-media>button{width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#aeb2bd;font-size:20px;cursor:pointer}.adminchat-compose-media img{width:44px;height:44px;border-radius:9px;object-fit:cover;background:#08090d}.adminchat-compose-reply.desktop,.adminchat-compose-media.desktop{margin-bottom:8px}
.adminchat-action-sheet{width:min(420px,calc(100vw - 24px));padding:8px 14px 14px}.adminchat-action-sheet-handle{display:none;width:38px;height:4px;border-radius:999px;background:#555967;margin:0 auto 12px}.adminchat-action-sheet h3{margin:5px 0 12px;font-size:18px}.adminchat-action-message{display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:10px;background:#11131a;margin-bottom:10px}.adminchat-action-message span{color:#9ca1ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.adminchat-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin:8px 0 12px}.adminchat-emoji-grid button{border:0;border-radius:10px;background:#15171e;min-width:0;height:42px;font-size:22px;cursor:pointer}.adminchat-emoji-grid button:hover{background:#222530}.adminchat-action-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:10px;background:#15171e;color:#eceef4;cursor:pointer;margin:7px 0}.adminchat-action-row>span{display:grid;place-items:center;width:26px;height:26px;color:#c995e8}.adminchat-action-row svg{width:21px;height:21px}.adminchat-image-viewer{position:relative;width:min(94vw,1100px);height:min(88vh,900px);display:flex;align-items:center;justify-content:center;background:#050609;border-radius:16px;overflow:hidden}.adminchat-image-viewer img{max-width:100%;max-height:100%;object-fit:contain}.adminchat-image-viewer .modal-x{position:absolute;right:12px;top:12px;z-index:2;background:rgba(10,11,15,.7)}
.adminchat-action-row.danger{color:#ffb2b2}.adminchat-action-row.danger>span{color:#ff8585}
.adminchat-message-highlight .adminchat-mobile-bubble,.adminchat-message-highlight.panel-chat-message{animation:adminchatMessageHighlight 1.3s ease}@keyframes adminchatMessageHighlight{0%,100%{box-shadow:inherit}35%{box-shadow:0 0 0 2px rgba(185,90,234,.85),0 0 28px rgba(102,2,163,.4)}}

@media(max-width:760px){
  .adminchat-mobile-compose-shell{flex:0 0 auto;display:flex;flex-direction:column;gap:6px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.05);background:rgba(13,14,20,.98);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:6}
  .adminchat-mobile-compose-shell .adminchat-mobile-composer{padding:0!important;border:0!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .adminchat-mobile-attach{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;background:#1b1d25;color:#c5c8d1;cursor:pointer}.adminchat-mobile-attach svg{width:18px;height:18px}
  .adminchat-compose-reply,.adminchat-compose-media{margin:0 1px;background:#171922}
  .adminchat-mobile-message-stack{display:flex;flex-direction:column;max-width:min(82%,540px);min-width:0}.adminchat-mobile-message.own .adminchat-mobile-message-stack{align-items:flex-end}.adminchat-mobile-message.other .adminchat-mobile-message-stack{align-items:flex-start}
  .adminchat-mobile-message-stack .adminchat-mobile-bubble{max-width:100%!important;width:auto}
  .adminchat-mobile-message-stack .adminchat-reactions{margin:2px 7px 1px;max-width:100%}.adminchat-mobile-message.own .adminchat-reactions{justify-content:flex-end}
  .adminchat-mobile-message-stack .adminchat-reaction{min-height:23px;padding:1px 7px;background:#171922}.adminchat-mobile-message-stack .adminchat-reaction span{font-size:13px}.adminchat-mobile-message-stack .adminchat-reaction b{font-size:9px}
  .adminchat-mobile-bubble .adminchat-message-reply{margin:1px 0 6px;border-left-width:3px;background:rgba(0,0,0,.17)}.adminchat-mobile-bubble .adminchat-message-reply b{font-size:10px}.adminchat-mobile-bubble .adminchat-message-reply span{font-size:10px}
  .adminchat-mobile-bubble .adminchat-image-button{margin:1px -2px 5px;max-width:100%;border-radius:11px}.adminchat-mobile-bubble .adminchat-image-button img{max-height:360px;border-radius:11px}
  .adminchat-action-sheet{width:100%;padding:8px 14px calc(14px + env(safe-area-inset-bottom))}.adminchat-action-sheet-handle{display:block}.adminchat-emoji-grid{grid-template-columns:repeat(6,1fr)}
  .adminchat-image-viewer{width:100vw;height:calc(var(--adminchat-vvh,100dvh) - 8px);border-radius:0}
}

/* v1.3.63 – iOS long-press and keyboard composer corrections */
@media(max-width:760px){
  body.adminchat-mobile-route .adminchat-mobile-shell{contain:none!important}
  body.adminchat-mobile-route .adminchat-mobile-message,
  body.adminchat-mobile-route .adminchat-mobile-message *{
    -webkit-user-select:none!important;
    user-select:none!important;
    -webkit-touch-callout:none!important;
  }
  body.adminchat-mobile-route.adminchat-keyboard-open .adminchat-mobile-compose-shell{
    padding-bottom:7px!important;
  }
}

/* v1.3.65 – Mobile chat back-swipe and reply motion */
@media(max-width:760px){
  body.adminchat-mobile-route .adminchat-mobile-message .adminchat-mobile-bubble{transition:transform .18s cubic-bezier(.2,.8,.2,1)}
  body.adminchat-mobile-route .adminchat-mobile-message.reply-swiping .adminchat-mobile-bubble{transform:translateX(var(--reply-swipe-x,0px));transition:transform .035s linear}
  body.adminchat-mobile-route .adminchat-mobile-message.reply-swiping .adminchat-mobile-bubble::before{content:"↩";position:absolute;left:-29px;top:50%;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:rgba(116,26,176,.9);color:#fff;font-size:13px;opacity:1;transform:translateY(-50%);box-shadow:0 3px 10px rgba(0,0,0,.28)}
  body.adminchat-mobile-route .adminchat-mobile-message.reply-confirmed .adminchat-mobile-bubble{animation:adminchatReplySwipeConfirm .24s cubic-bezier(.2,.8,.2,1)}
  body.adminchat-mobile-route .adminchat-compose-reply:not(.desktop){animation:adminchatReplyPreviewIn .22s cubic-bezier(.2,.8,.2,1)}
}
@keyframes adminchatReplySwipeConfirm{0%{transform:translateX(0) scale(1)}45%{transform:translateX(10px) scale(1.015)}100%{transform:translateX(0) scale(1)}}
@keyframes adminchatReplyPreviewIn{0%{opacity:0;transform:translateY(8px) scale(.985)}100%{opacity:1;transform:translateY(0) scale(1)}}

/* v1.3.68 – Screenshot viewer fits the available viewport */
.modal.modal-screenshot{
  width:min(1120px,calc(100vw - 36px));
  height:min(900px,calc(100vh - 36px));
  height:min(900px,calc(100dvh - 36px));
  max-height:none;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:clamp(12px,1.5vw,20px);
}
.modal.modal-live-view{
  width:min(1180px,calc(100vw - 36px));
  height:min(820px,calc(100vh - 36px));
  height:min(820px,calc(100dvh - 36px));
  max-height:none;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:clamp(12px,1.5vw,20px);
}
.modal-backdrop.modal-backdrop-screenshot{overflow:hidden}
.modal-backdrop.modal-backdrop-live-view{overflow:hidden}
html.screenshot-modal-open,body.screenshot-modal-open{overflow:hidden!important}
html.live-view-modal-open,body.live-view-modal-open{overflow:hidden!important}
.screenshot-modal{display:flex;flex:1;flex-direction:column;min-height:0}
.live-view-modal{display:flex;flex:1;flex-direction:column;min-height:0}
.live-view-stage{position:relative;display:grid;place-items:center;flex:1 1 0;min-height:0;overflow:hidden;border:1px solid #2a2a32;border-radius:11px;background:#050507}
.live-view-stage img{display:block;width:100%;height:100%;object-fit:contain}
.live-view-stage img.live-view-frame{position:absolute;inset:0;opacity:0;transition:opacity 60ms linear;will-change:opacity}
.live-view-stage img.live-view-frame.is-visible{opacity:1}
.live-view-empty{position:absolute;inset:0;display:grid;place-items:center;padding:20px;color:#aaaab4;font-size:13px;text-align:center;background:radial-gradient(circle at center,rgba(102,2,163,.08),transparent 55%)}
.live-view-empty.hidden{display:none}
.live-view-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px}
.live-view-status{color:#92929d;font-size:11px}
.live-view-status::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#35d07f;box-shadow:0 0 12px rgba(53,208,127,.48);vertical-align:1px}
.btn.action-live-view{background:linear-gradient(180deg,rgba(102,2,163,.19),rgba(52,16,72,.2));border-color:rgba(155,70,207,.42);color:#e5c9f3}
.btn.action-live-view:hover{background:rgba(102,2,163,.27);border-color:rgba(174,87,227,.58)}
.modal-screenshot .screenshot-modal-head{flex:0 0 auto;margin-bottom:10px;z-index:1}
.modal-screenshot .screenshot-view{display:block;flex:1 1 0;width:100%;height:0;min-height:0;max-height:none;object-fit:contain}
.modal-screenshot .modal-actions{flex:0 0 auto;margin:10px 0 0}
@media(max-width:760px){
  .modal-backdrop.modal-backdrop-screenshot{align-items:center;padding:12px}
  .modal.modal-screenshot{width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px);max-width:none;border-radius:15px;padding:12px}
  .modal-backdrop.modal-backdrop-live-view{align-items:center;padding:12px}
  .modal.modal-live-view{width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px);max-width:none;border-radius:15px;padding:12px}
  .live-view-footer{align-items:flex-start;flex-direction:column}
  .live-view-footer .btn{width:100%}
}

/* v1.3.69 – Chat screenshot viewer uses the full modal viewport */
.modal-backdrop.modal-backdrop-image-viewer{
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:12px;
}
.modal.modal-image-viewer{
  display:flex;
  width:min(1100px,calc(100vw - 24px));
  height:min(900px,calc(88vh - 24px));
  height:min(900px,calc(88dvh - 24px));
  max-width:none;
  max-height:none;
  min-height:0;
  overflow:hidden;
  padding:0;
  background:#050609;
}
.modal-image-viewer .adminchat-image-viewer{
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  max-width:none;
  max-height:none;
  flex:1 1 auto;
  border-radius:14px;
}
.modal-image-viewer .adminchat-image-viewer img{
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  object-fit:contain;
}
@media(max-width:760px){
  .modal-backdrop.modal-backdrop-image-viewer{align-items:center;padding:12px}
  .modal.modal-image-viewer{
    width:calc(100vw - 24px);
    height:calc(100vh - 24px);
    height:calc(100dvh - 24px);
    border-radius:14px;
  }
}
.help-hero{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:center;margin-bottom:16px;padding:22px 26px;border:1px solid rgba(151,65,202,.2);border-radius:16px;background:radial-gradient(ellipse at 5% 0%,rgba(102,2,163,.22),transparent 55%),linear-gradient(135deg,#15121b,#101116 75%);box-shadow:var(--shadow)}
.help-hero>img{width:100%;max-height:155px;object-fit:contain;filter:drop-shadow(0 8px 20px rgba(102,2,163,.16))}
.help-kicker{display:block;margin-bottom:6px;color:#bd83dc;font-size:9px;font-weight:800;letter-spacing:.12em}
.help-hero h2{margin:0;color:#f2edf6;font-size:21px;letter-spacing:-.02em}
.help-hero p{max-width:760px;margin:7px 0 14px;color:#92919d;font-size:11px;line-height:1.55}
.help-search{display:flex;align-items:center;gap:9px;width:min(620px,100%);height:42px;padding:0 11px;border:1px solid #302a37;border-radius:10px;background:#0c0c11;color:#a77ac1}
.help-search:focus-within{border-color:#7a25a5;box-shadow:0 0 0 3px rgba(102,2,163,.12)}
.help-search>.rpo-icon,.help-search>span .rpo-icon{width:17px;height:17px;flex:0 0 auto}
.help-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f0edf3;font:inherit;font-size:12px}
.help-search input::placeholder{color:#696674}
.help-search button{width:27px;height:27px;border:0;border-radius:7px;background:#1a1720;color:#b4a9bb;font-size:19px;line-height:1;cursor:pointer}
.help-content{max-width:1120px}
.help-index{margin-bottom:16px;padding:14px 16px}
.help-index .card-title{margin-bottom:10px}
.help-index .card-title h2{font-size:13px}
.help-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.help-topic-link{display:flex;align-items:center;gap:7px;min-width:0;min-height:33px;padding:6px 8px;border:1px solid transparent;border-radius:8px;background:#121218;color:#c5c2cc;text-align:left;font:inherit;font-size:10px;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.help-topic-link:hover{border-color:rgba(151,65,202,.25);background:rgba(102,2,163,.09);color:#f3e9fb}
.help-topic-link>span{display:grid;place-items:center;width:17px;height:17px;flex:0 0 auto;border-radius:5px;background:rgba(102,2,163,.14);color:#bc83d9}
.help-topic-link .rpo-icon{width:12px;height:12px}
.help-results-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 2px 8px;color:#d9d6df}
.help-results-row>b{font-size:12px}
.help-results-row>span{color:#797784;font-size:9px}
.help-section{margin-bottom:7px;overflow:hidden;border:1px solid #25232b;border-radius:11px;background:linear-gradient(110deg,rgba(102,2,163,.035),transparent 32%),#111116;scroll-margin-top:82px}
.help-section[open]{border-color:rgba(137,59,181,.25)}
.help-section>summary{display:flex;align-items:center;gap:11px;min-height:58px;padding:10px 13px;list-style:none;cursor:pointer}
.help-section>summary::-webkit-details-marker{display:none}
.help-section>summary:hover{background:rgba(255,255,255,.018)}
.help-section-index{display:grid;place-items:center;width:33px;height:33px;flex:0 0 auto;border:1px solid rgba(151,65,202,.18);border-radius:9px;background:rgba(102,2,163,.10);color:#c18ad9;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}
.help-section-title{display:grid;gap:3px;min-width:0;flex:1}
.help-section-title>b{color:#e9e7ed;font-size:11px}
.help-section-title>small{overflow:hidden;color:#797985;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.help-section-chevron{display:grid;place-items:center;width:28px;height:28px;flex:0 0 auto;color:#73717d;transition:transform .18s ease}
.help-section-chevron .rpo-icon{width:15px;height:15px}
.help-section[open] .help-section-chevron{transform:rotate(180deg);color:#bd83dc}
.help-section-body{padding:0 17px 12px 57px;border-top:1px solid rgba(255,255,255,.045)}
.help-section-body ul{display:grid;gap:8px;margin:11px 0 0;padding:0;list-style:none}
.help-section-body li{position:relative;padding-left:15px;color:#b6b4be;font-size:10px;line-height:1.55}
.help-section-body li::before{position:absolute;left:0;top:.54em;width:5px;height:5px;border-radius:50%;background:#8d3eb2;content:""}
.help-no-results{display:grid;gap:5px;padding:24px;text-align:center}
.help-no-results b{color:#e1dfe6;font-size:12px}
.help-no-results span,.help-footnote{color:#777783;font-size:9px}
.help-footnote{margin:12px 3px 0;line-height:1.5}
@media(max-width:1050px){.help-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.help-hero{grid-template-columns:62px minmax(0,1fr);gap:14px;padding:16px}.help-hero>img{max-height:62px}.help-hero h2{font-size:16px}.help-hero p{font-size:10px;margin:6px 0 11px}.help-search{height:40px}.help-search input{font-size:16px}.help-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.help-topic-link{font-size:9px;padding:6px}.help-section>summary{min-height:54px;padding:9px}.help-section-index{width:30px;height:30px}.help-section-body{padding:0 12px 12px 48px}.help-section-body li{font-size:10px}.help-section-title>small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}
@media(max-width:390px){.help-topic-grid{grid-template-columns:1fr}.help-hero{grid-template-columns:46px minmax(0,1fr);gap:10px}.help-hero>img{max-height:48px}}

/* Gruppenfarben in der Spielerübersicht */
.badge.group-badge{border:1px solid color-mix(in srgb,var(--group-color,#9da3b0) 34%,transparent);background:color-mix(in srgb,var(--group-color,#9da3b0) 12%,#11131a);color:var(--group-color,#9da3b0);font-weight:740;letter-spacing:.01em}

/* Discord-Teamankündigungen und Termine */
.announcement-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:14px;align-items:start}
.announcement-editor,.announcement-preview-card{min-width:0;padding:18px}
.announcement-editor .card-title,.announcement-preview-card .card-title{align-items:flex-start;margin-bottom:17px}
.announcement-editor .card-title>div,.announcement-preview-card .card-title>div{display:grid;gap:4px}
.announcement-editor .card-title h2,.announcement-preview-card .card-title h2{font-size:14px}
.announcement-editor .card-title span,.announcement-preview-card .card-title span{font-size:9px;color:#747986}
.announcement-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:-3px 0 17px;padding:4px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#0d0f15}
.announcement-mode-button{min-height:34px;border:0;border-radius:7px;background:transparent;color:#858b98;font:inherit;font-size:10px;font-weight:700;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.announcement-mode-button:hover{color:#d5c8df}
.announcement-mode-button.active{background:rgba(117,38,160,.22);box-shadow:inset 0 0 0 1px rgba(169,105,206,.22);color:#e4c9f4}
.announcement-event-fields[hidden]{display:none!important}
.announcement-event-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.announcement-editor .field input[type="datetime-local"]{color-scheme:dark}
.announcement-secure-badge,.announcement-live-dot{display:inline-flex!important;align-items:center;gap:5px;padding:5px 8px;border:1px solid rgba(169,105,206,.18);border-radius:999px;background:rgba(102,2,163,.08);color:#c894e2!important;font-size:8px!important;font-weight:750;white-space:nowrap}
.announcement-secure-badge .rpo-icon{width:11px;height:11px}
.announcement-live-dot{color:#80d7a5!important;border-color:rgba(80,194,128,.15);background:rgba(53,208,127,.06)}
.announcement-live-dot i{width:6px;height:6px;border-radius:50%;background:#4dcc87;box-shadow:0 0 9px rgba(77,204,135,.55)}
.announcement-editor .field{margin-bottom:15px}
.announcement-editor .field label{color:#c3c5ce;font-size:10px;font-weight:690}
.announcement-editor .field input,.announcement-editor .field select,.announcement-editor .field textarea{width:100%;border:1px solid #292d38;border-radius:9px;background:#0d0f15;color:#ecedf2;padding:10px 11px;font:inherit;font-size:11px;outline:0}
.announcement-format-toolbar{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 0;padding:7px;border:1px solid #292d38;border-bottom:0;border-radius:9px 9px 0 0;background:#11131a}
.announcement-format-button{display:inline-flex;align-items:center;justify-content:center;min-width:31px;height:29px;padding:0 8px;border:1px solid rgba(255,255,255,.06);border-radius:6px;background:#191b23;color:#c7c9d1;font:inherit;font-size:11px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.announcement-format-button:hover,.announcement-format-button:focus-visible{border-color:rgba(169,105,206,.35);background:rgba(102,2,163,.16);color:#f0d9ff;outline:0}
.announcement-format-button.format-italic{font-style:italic}
.announcement-format-button.format-underline{text-decoration:underline}
.announcement-format-button.format-strike{text-decoration:line-through}
.announcement-format-button.format-code{min-width:43px;font-family:ui-monospace,monospace;font-size:9px}
.announcement-format-hint{display:block;margin:5px 0 8px;color:#686e7a;font-size:8px}
.announcement-editor .field .announcement-format-toolbar+textarea{border-top-left-radius:0;border-top-right-radius:0}
.announcement-editor .field input,.announcement-editor .field select{height:40px}
.announcement-editor .field textarea{min-height:136px;resize:vertical;line-height:1.55}
.announcement-editor .field input:focus,.announcement-editor .field select:focus,.announcement-editor .field textarea:focus{border-color:rgba(161,83,205,.55);box-shadow:0 0 0 3px rgba(102,2,163,.1)}
.announcement-editor .field-hint,.announcement-field-hint{color:#686e7a;font-size:8px}
.announcement-field-hint{display:flex;justify-content:flex-end;margin-top:-2px}
.announcement-mentions-block{margin:5px 0 16px;padding:13px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:#0e1016}
.announcement-mentions-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}
.announcement-mentions-head>div{display:grid;gap:4px}
.announcement-mentions-head b{font-size:10px;color:#e5e6ec}
.announcement-mentions-head small{font-size:8px;color:#707684}
.announcement-mentions-head .btn{font-size:9px}
.announcement-mention-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.announcement-mention-option{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border:1px solid rgba(255,255,255,.055);border-radius:8px;background:#12141b;color:#aeb3bf;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.announcement-mention-option:hover{border-color:rgba(166,91,209,.24);background:rgba(102,2,163,.07);color:#e6d2f1}
.announcement-mention-option input{width:14px;height:14px;flex:0 0 auto;margin:0;accent-color:#8b23c9}
.announcement-mention-option b{overflow:hidden;font-size:9px;font-weight:630;text-overflow:ellipsis;white-space:nowrap}
.announcement-submit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px solid rgba(255,255,255,.055)}
.announcement-submit-row>span{display:flex;align-items:flex-start;gap:6px;max-width:250px;color:#717784;font-size:8px;line-height:1.45}
.announcement-submit-row>span .rpo-icon{width:12px;height:12px;flex:0 0 auto;color:#9c70b6}
.announcement-submit-row .btn{min-height:39px;white-space:nowrap}
.announcement-preview-card{position:sticky;top:82px}
.announcement-preview-channel{margin:0 0 9px;color:#8e94a1;font-size:9px;font-weight:680}
.announcement-preview-mentions{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.announcement-preview-mention{padding:4px 7px;border:1px solid rgba(86,154,255,.16);border-radius:999px;background:rgba(74,143,255,.08);color:#91baff;font-size:8px;font-weight:650}
.announcement-preview-none{color:#666c78;font-size:8px}
.announcement-embed{position:relative;display:flex;min-height:174px;overflow:hidden;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:#1b1d23;box-shadow:0 12px 30px rgba(0,0,0,.16)}
.announcement-embed-accent{width:4px;flex:0 0 4px;background:#6602a3}
.announcement-embed-body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:15px 66px 13px 15px}
.announcement-embed-thumbnail{position:absolute;top:14px;right:14px;width:42px;height:42px;object-fit:contain;opacity:.9;filter:drop-shadow(0 2px 7px rgba(0,0,0,.35))}
.announcement-embed-body h3{margin:0 0 7px;color:#f1f2f5;font-size:15px;font-weight:720;line-height:1.35;overflow-wrap:anywhere}
.announcement-embed-body p{margin:0;color:#c2c5ce;font-size:10px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.announcement-embed-body strong{color:#f1eff5;font-weight:760}
.announcement-embed-body u{text-decoration-color:#cf9ce8;text-underline-offset:2px}
.announcement-embed-body del{color:#9297a3}
.announcement-preview-code{padding:1px 4px;border-radius:4px;background:#101116;color:#e5c8f5;font-family:ui-monospace,monospace;font-size:.95em}
.announcement-preview-spoiler{border-radius:3px;background:#393b43;color:transparent;filter:blur(3px);transition:filter .15s,color .15s}
.announcement-preview-spoiler:hover{color:inherit;filter:none}
.announcement-preview-quote{display:inline-block;padding-left:8px;border-left:2px solid #7d3aa2;color:#aeb1bb}
.announcement-embed-event-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;margin-top:14px;padding-top:11px;border-top:1px solid rgba(255,255,255,.08)}
.announcement-embed-event-fields>div{display:grid;gap:4px;min-width:0}
.announcement-embed-event-fields span{color:#9b75b0;font-size:8px;font-weight:760;letter-spacing:.08em;text-transform:uppercase}
.announcement-embed-event-fields b{color:#e0dce5;font-size:9px;font-weight:620;line-height:1.45;overflow-wrap:anywhere}
.announcement-preview-reactions{display:flex;gap:5px;margin-top:8px}
.announcement-preview-reactions span{padding:4px 8px;border:1px solid rgba(255,255,255,.075);border-radius:7px;background:#191b22;font-size:12px}
.announcement-embed-footer{margin-top:auto;padding-top:15px;color:#777d89;font-size:8px}
.announcement-embed-footer i{padding:0 4px;color:#535965;font-style:normal}
.changelog-workspace{margin-bottom:14px}
.changelog-editor .field .changelog-optional-label{margin-left:5px;color:#777d89;font-size:8px;font-weight:500}
.changelog-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;width:100%}
.changelog-preview-heading h3{min-width:0}
.changelog-version-pill{display:inline-flex;align-items:center;flex:0 0 auto;max-width:100%;padding:4px 7px;border:1px solid rgba(169,105,206,.2);border-radius:999px;background:rgba(102,2,163,.12);color:#d5b3e9;font-size:8px;font-weight:740;line-height:1.2;overflow-wrap:anywhere}
.changelog-history-card{margin-top:14px}
.changelog-history-card .card-title{align-items:center}
.changelog-history-count{padding:5px 8px;border:1px solid rgba(255,255,255,.07);border-radius:999px;background:#12141a;color:#9da3af;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}
.changelog-history-list{display:grid;gap:9px}
.changelog-history-entry{display:grid;gap:10px;padding:14px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:linear-gradient(100deg,rgba(102,2,163,.055),transparent 42%),#101218}
.changelog-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.changelog-history-head>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.changelog-history-head h3{margin:0;color:#e7e5ec;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.changelog-history-head time,.changelog-history-author{color:#777d89;font-size:8px;white-space:nowrap}
.changelog-history-text{color:#b9bbc5;font-size:10px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.changelog-history-text p{margin:0 0 4px}
.changelog-history-text p:last-child{margin-bottom:0}
.changelog-empty{display:grid;justify-items:center;gap:7px;padding:28px 16px;border:1px dashed rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.012);text-align:center}
.changelog-empty-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(169,105,206,.2);border-radius:9px;background:rgba(102,2,163,.1);color:#c18ad9;font-size:13px}
.changelog-empty b{color:#d8d6df;font-size:11px}
.changelog-empty>span:last-child{color:#777d89;font-size:9px}
@media(max-width:1000px){.announcement-workspace{grid-template-columns:1fr}.announcement-preview-card{position:static}}
@media(max-width:760px){.announcement-editor,.announcement-preview-card{padding:14px}.announcement-mention-grid{grid-template-columns:1fr 1fr}.announcement-submit-row{align-items:stretch;flex-direction:column}.announcement-submit-row>span{max-width:none}.announcement-submit-row .btn{width:100%}}
@media(max-width:420px){.announcement-mention-grid{grid-template-columns:1fr}.announcement-mentions-head{align-items:flex-start}.announcement-editor .card-title{gap:8px}}
@media(max-width:560px){.changelog-history-head{align-items:flex-start;flex-direction:column;gap:6px}.changelog-preview-heading{padding-right:0}.changelog-embed .announcement-embed-body{padding-right:60px}}

/* v1.3.80 · Formatierung für Ankündigungen und Termine */
.announcement-mention-permission-hint{margin:10px 0 0;color:#828896;font-size:9px;line-height:1.55}
.modal-backdrop.modal-backdrop-announcement{z-index:120;align-items:center;overflow:hidden;padding:18px}
.modal.modal-announcement{display:flex;flex-direction:column;width:min(560px,calc(100vw - 32px));max-height:min(86vh,760px);max-height:min(86dvh,760px);overflow:hidden;padding:0;border:1px solid rgba(174,119,209,.3);border-radius:20px;background:radial-gradient(ellipse at 12% 0%,rgba(102,2,163,.2),transparent 42%),linear-gradient(160deg,#171922,#101219 72%);box-shadow:0 35px 110px rgba(0,0,0,.72),0 0 55px rgba(102,2,163,.12)}
.panel-announcement-dialog{display:flex;flex:1;flex-direction:column;min-height:0}
.panel-announcement-content{min-height:0;overflow:auto;padding:clamp(20px,4vw,30px);scrollbar-width:thin;scrollbar-color:#383342 transparent}
.panel-announcement-header{display:flex;align-items:center;gap:12px;margin:0 38px 24px 0}
.panel-announcement-header img{width:46px;height:46px;flex:0 0 46px;object-fit:contain;filter:drop-shadow(0 4px 12px rgba(102,2,163,.32))}
.panel-announcement-header>div{display:grid;gap:4px;min-width:0}
.panel-announcement-kicker{color:#c99ae3;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.panel-announcement-channel{color:#7f8593;font-size:10px}
.panel-announcement-dialog h2{margin:0 0 14px;color:#f4f1f7;font-size:clamp(20px,3vw,25px);line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.panel-announcement-text{color:#c3c6d0;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.panel-announcement-event{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;padding:14px;border:1px solid rgba(174,119,209,.18);border-radius:12px;background:rgba(102,2,163,.08)}
.panel-announcement-event>div{display:grid;align-content:start;gap:5px;min-width:0}
.panel-announcement-event>div span{color:#a888b9;font-size:9px;font-weight:760;letter-spacing:.08em;text-transform:uppercase}
.panel-announcement-event>div b{color:#e5e0e9;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.panel-announcement-event small{grid-column:1/-1;color:#a9a6b2;font-size:9px;line-height:1.5}
.panel-announcement-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:22px;padding-top:13px;border-top:1px solid rgba(255,255,255,.07);color:#7e8491;font-size:9px}
.panel-announcement-meta b{color:#b8bdc8;font-weight:650}
.panel-announcement-actions{flex:0 0 auto;padding:14px clamp(20px,4vw,30px) calc(16px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.055);background:linear-gradient(180deg,rgba(17,18,25,.9),#101219)}
.panel-announcement-actions .btn{width:100%;min-height:44px;justify-content:center;font-size:12px}
.panel-announcement-actions .btn .rpo-icon{width:16px;height:16px}
@media(max-width:760px){
  .modal-backdrop.modal-backdrop-announcement{align-items:center;padding:12px}
  .modal.modal-announcement{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:18px}
  .panel-announcement-header{margin-bottom:20px}
  .announcement-event-fields{grid-template-columns:1fr;gap:0}
}

/* v1.3.81 · Char-Löschung mit datenbankbasierter Vorschau */
.btn.action-delete-character{background:rgba(255,79,100,.10);border-color:rgba(255,79,100,.30);color:#ff7d8d}
.btn.action-delete-character:hover:not(:disabled){background:rgba(255,79,100,.17);border-color:rgba(255,79,100,.44)}
.btn.action-lock-character{background:rgba(235,169,62,.09);border-color:rgba(235,169,62,.27);color:#e9bd6e}
.btn.action-lock-character:hover:not(:disabled){background:rgba(235,169,62,.15);border-color:rgba(235,169,62,.4)}
.btn.action-unlock-character{background:rgba(74,190,132,.09);border-color:rgba(74,190,132,.27);color:#7bd5a4}
.btn.action-unlock-character:hover:not(:disabled){background:rgba(74,190,132,.15);border-color:rgba(74,190,132,.4)}
.delete-character-dialog .delete-character-identifier{overflow-wrap:anywhere;word-break:break-word}
.delete-character-preview{margin:12px 0;padding:12px;border:1px solid rgba(255,79,100,.20);border-radius:10px;background:rgba(255,79,100,.045);color:#d4d4dc;font-size:12px}
.delete-character-preview ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px;list-style:none;margin:10px 0 0;padding:0;max-height:132px;overflow:auto}
.delete-character-preview li{display:flex;justify-content:space-between;gap:8px;min-width:0;color:#aaaab5;font-size:11px}
.delete-character-preview li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.delete-character-preview li b{color:#ededf2;font-variant-numeric:tabular-nums}
.delete-character-dialog .field{display:grid;gap:6px;margin-top:12px}
.delete-character-dialog .field>span{color:#8e8e99;font-size:11px}
.delete-character-dialog .field input{width:100%;height:42px;padding:0 11px;border:1px solid #34343d;border-radius:8px;background:#0d0d12;color:#f6f6f8;font:inherit}
.delete-character-dialog .field input:focus{outline:2px solid rgba(130,37,183,.42);border-color:#7624a2}
@media(max-width:560px){.delete-character-preview ul{grid-template-columns:1fr}}

.delete-character-warning{display:grid;gap:4px;margin-top:12px;padding:10px 11px;border:1px solid rgba(235,169,62,.24);border-radius:9px;background:rgba(235,169,62,.07);color:#d6b978;font-size:10px;line-height:1.5}.delete-character-warning b{color:#f1cd81;font-size:11px}.delete-character-warning span{overflow-wrap:anywhere}

/* v1.3.110 · Lua-Rückgabewerte sicher normalisieren */
.player-profile-header{justify-content:flex-start;margin:0 0 12px;padding:17px 19px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:radial-gradient(ellipse at 0 0,rgba(102,2,163,.13),transparent 54%),linear-gradient(135deg,#171820,#111218)}
.player-profile-header .identity{min-width:0}
.player-profile-header .avatar{width:54px;height:54px;flex:0 0 54px;border-color:rgba(177,111,211,.2);background:linear-gradient(145deg,rgba(102,2,163,.29),#17171e)}
.player-profile-header .identity h1{display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.2}
.player-profile-header .identity p{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:7px}
.player-profile-header .identity p>span:first-child{padding:4px 7px;border:1px solid rgba(255,255,255,.055);border-radius:6px;background:rgba(255,255,255,.025)}
.player-action-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:0;margin:0 0 15px;padding:0 0 12px;border-bottom:1px solid rgba(255,255,255,.065)}
.player-action-cluster{display:grid;align-content:start;gap:6px;min-width:0;padding:0 13px}
.player-action-cluster:first-child{padding-left:0}
.player-action-cluster.separated{border-left:1px solid rgba(255,255,255,.09)}
.player-action-cluster-label{color:#797d89;font-size:8px;font-weight:760;letter-spacing:.09em;text-transform:uppercase}
.player-action-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.player-action-list.single-action{display:flex}
.player-action-button{width:auto;min-width:0;min-height:34px;justify-content:center;gap:7px;padding:7px 10px;font-size:11px;white-space:nowrap}
.player-action-button .rpo-icon{width:15px;height:15px;flex:0 0 15px}
.btn.action-dm{background:linear-gradient(180deg,rgba(59,130,246,.24),rgba(37,99,235,.17));border-color:rgba(59,130,246,.42);color:#a9caff}
.btn.action-dm:hover:not(:disabled){background:linear-gradient(180deg,rgba(59,130,246,.34),rgba(37,99,235,.25));border-color:rgba(96,165,250,.62);color:#d5e5ff}
.player-dm-icon{color:#8db9ff!important;background:rgba(59,130,246,.13)!important;border-color:rgba(59,130,246,.22)!important}
.player-dm-dialog textarea{width:100%;min-height:122px;resize:vertical;border:1px solid var(--line-strong);border-radius:10px;background:#0b0d12;color:#f1f2f6;padding:11px 12px;font:inherit;font-size:12px;line-height:1.5;outline:0}
.player-dm-count{display:block;margin-top:6px;color:#707787;font-size:9px;text-align:right}
.changelog-team-view{padding:clamp(18px,3vw,30px)}
.changelog-team-view>.card-title{align-items:center;margin-bottom:18px}
.changelog-team-view>.card-title h2{font-size:18px}
.changelog-team-view>.card-title span{font-size:11px}
.changelog-history-list{gap:13px}
.changelog-history-entry{gap:13px;padding:20px;border-radius:14px;background:linear-gradient(105deg,rgba(102,2,163,.075),rgba(16,18,24,.96) 48%);box-shadow:0 8px 24px rgba(0,0,0,.10)}
.changelog-history-head{align-items:center}
.changelog-history-head h3{font-size:17px;line-height:1.4}
.changelog-history-head time,.changelog-history-author{font-size:11px}
.changelog-history-text{font-size:14px;line-height:1.75}
.changelog-history-text p{margin:0 0 9px}
.changelog-history-text p:last-child{margin-bottom:0}
.changelog-history-text .announcement-preview-code{font-size:.92em}
.changelog-history-text blockquote{margin:8px 0;padding:3px 0 3px 12px;border-left:3px solid #7d3aa2;color:#c0b7ca}
.changelog-team-view .changelog-empty{gap:9px;padding:52px 20px}
.changelog-team-view .changelog-empty-icon{width:38px;height:38px;font-size:17px}
.changelog-team-view .changelog-empty b{font-size:14px}
.changelog-team-view .changelog-empty>span:last-child{font-size:12px}
@media(max-width:760px){.player-profile-header{padding:14px}.player-action-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 0}.player-action-cluster{padding:0 9px}.player-action-cluster:nth-child(odd){padding-left:0}.player-action-cluster.separated{border-left:0}.player-action-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.player-action-button{width:100%;justify-content:flex-start;padding-inline:8px;font-size:10px}.changelog-team-view{padding:16px}.changelog-history-entry{padding:16px}.changelog-history-head{align-items:flex-start}.changelog-history-head h3{font-size:16px}.changelog-history-text{font-size:13px}}
@media(max-width:420px){.player-action-toolbar{grid-template-columns:minmax(0,1fr)}.player-action-cluster,.player-action-cluster:nth-child(odd){padding:0}.player-action-list{grid-template-columns:repeat(2,minmax(0,1fr))}.player-action-list.single-action{grid-template-columns:max-content}.player-action-button{font-size:11px}.player-profile-header .avatar{width:48px;height:48px;flex-basis:48px}.changelog-history-head time{white-space:normal}}

/* v1.3.92 · Livebild-Ansicht */
.sidebar{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.sidebar>.brand{flex:0 0 auto}
.sidebar>nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(144,151,166,.25) transparent;padding-right:3px}
.sidebar>nav::-webkit-scrollbar{width:6px}
.sidebar>nav::-webkit-scrollbar-thumb{background:rgba(144,151,166,.24);border-radius:99px}
.sidebar>.sidebar-foot{flex:0 0 auto;margin-top:10px}
@media(min-width:761px){
  body.nav-collapsed{--sidebar-width:76px}
  .shell{grid-template-columns:var(--sidebar-width) minmax(0,1fr);transition:grid-template-columns .2s ease}
  .sidebar{height:100vh;height:100dvh;position:sticky;top:0}
  .mobile-nav-toggle{display:grid;place-content:center;gap:4px;width:40px;height:40px;flex:0 0 40px;border:1px solid #2b2b33;background:#121217;color:#ddd;border-radius:10px;cursor:pointer;transition:background .16s ease,border-color .16s ease}
  .mobile-nav-toggle:hover{background:#1b1b23;border-color:#4b3158}
  .mobile-nav-toggle span{display:block;width:17px;height:1.5px;border-radius:999px;background:#d8d8df;transition:transform .18s ease,opacity .18s ease}
  body.nav-collapsed .sidebar{padding-inline:10px}
  body.nav-collapsed .brand{justify-content:center;padding:1px 0 17px}
  body.nav-collapsed .brand-logo{width:42px;height:42px}
  body.nav-collapsed .brand>div,
  body.nav-collapsed .nav-label,
  body.nav-collapsed .nav-item>.nav-text,
  body.nav-collapsed .sidebar-foot .user-mini,
  body.nav-collapsed .logout>span{display:none!important}
  body.nav-collapsed .sidebar>nav{gap:7px;padding-right:0}
  body.nav-collapsed .nav-item{justify-content:center;gap:0;padding:8px 4px}
  body.nav-collapsed .nav-item>.nav-icon{margin:0!important}
  body.nav-collapsed .nav-item>.nav-unread-badge{position:absolute!important;top:2px;right:2px;width:auto!important;margin:0;z-index:1}
  body.nav-collapsed .sidebar>.sidebar-foot{padding:12px 0 0}
  body.nav-collapsed .logout{width:100%;min-height:38px;justify-content:center;font-size:0}
}
@media(max-width:760px){
  .sidebar{display:flex!important;height:100dvh;max-height:100dvh;overflow:hidden}
  .sidebar>nav{display:flex!important;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto!important;grid-template-columns:none!important;padding-right:3px}
  .sidebar>.sidebar-foot{display:block!important;flex:0 0 auto;margin-top:10px!important}
  .mobile-nav-toggle{display:grid;place-content:center;gap:4px}
}
.changelog-readers{margin-top:5px;padding-top:10px;border-top:1px solid rgba(255,255,255,.07)}
.changelog-readers summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:#d8d4df;font-size:11px;font-weight:650}
.changelog-readers summary::-webkit-details-marker{display:none}
.changelog-readers summary:after{content:'⌄';color:#a980c0;font-size:16px;line-height:1;transition:transform .16s ease}
.changelog-readers[open] summary:after{transform:rotate(180deg)}
.changelog-readers-toggle{margin-left:auto;color:#9c83aa;font-size:10px;font-weight:500}
.changelog-reader-list{display:grid;gap:0;margin-top:8px;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:rgba(0,0,0,.14);overflow:hidden}
.changelog-reader-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-bottom:1px solid rgba(255,255,255,.045)}
.changelog-reader-row:last-child{border-bottom:0}
.changelog-reader-person{display:grid;gap:3px;min-width:0}
.changelog-reader-person b{overflow:hidden;color:#dedbe4;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.changelog-reader-person>span{color:#85818e;font-size:9px}
.changelog-reader-status{flex:0 0 auto;padding:4px 7px;border:1px solid transparent;border-radius:999px;font-size:9px;white-space:nowrap}
.changelog-reader-status.is-read{border-color:rgba(89,184,133,.18);background:rgba(44,137,86,.11);color:#91d4aa}
.changelog-reader-status.is-unread{border-color:rgba(255,255,255,.07);background:rgba(255,255,255,.025);color:#8c8b95}
.changelog-readers-empty,.changelog-readers-unavailable{padding:10px 0;color:#85818e;font-size:10px}
@media(max-width:520px){.changelog-readers summary{align-items:flex-start;font-size:10px}.changelog-reader-row{align-items:flex-start;padding:8px}.changelog-reader-status{font-size:8px}.changelog-reader-person b{font-size:10px}}
@media(prefers-reduced-motion:reduce){.shell{transition:none!important}}

/* Fraktionsleitung – zentrale, TM+-geschützte Arbeitsansicht */
.faction-tabs{display:flex;gap:6px;overflow:auto;margin:0 0 13px;padding:4px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:#0d0f14;width:max-content;max-width:100%}
.faction-tabs button{appearance:none;border:1px solid transparent;border-radius:8px;background:transparent;color:#828895;padding:8px 13px;font:inherit;font-size:10px;font-weight:700;white-space:nowrap;cursor:pointer}
.faction-tabs button:hover{color:#d8dbe3;background:rgba(255,255,255,.025)}
.faction-tabs button.active{border-color:rgba(161,83,204,.25);background:rgba(102,2,163,.16);color:#d4a8ec}
.faction-source-strip{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:0 0 13px}.faction-source-note{color:#737987;font-size:8px}
.faction-source-strip .badge,.faction-source-card .badge,.faction-locations-card .badge,.faction-leadership-source .badge,.faction-money-card .badge{font-size:8px}
.faction-category-card{margin-bottom:13px;padding:0;overflow:hidden}
.faction-category-card>.card-title{padding:14px 16px 10px;margin:0;border-bottom:1px solid rgba(255,255,255,.045)}
.faction-category-card>.card-title h2{font-size:12px}.faction-category-card>.card-title span{display:block;margin-top:3px;font-size:8px}
.faction-card-list{display:grid}
.faction-card{appearance:none;width:100%;display:grid;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 15px;border:0;border-bottom:1px solid rgba(255,255,255,.045);background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
.faction-card:last-child{border-bottom:0}.faction-card:hover{background:rgba(255,255,255,.025)}
.faction-card-mark,.faction-balance-icon,.faction-file-icon,.faction-route-icon,.faction-location-mark,.faction-audit-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(153,73,202,.17);border-radius:10px;background:rgba(102,2,163,.08);color:#bc8ad7}
.faction-card-mark .rpo-icon,.faction-balance-icon .rpo-icon,.faction-file-icon .rpo-icon,.faction-route-icon .rpo-icon,.faction-location-mark .rpo-icon,.faction-audit-mark .rpo-icon{width:15px;height:15px}
.faction-card-copy{display:grid;gap:3px;min-width:0}.faction-card-copy>b{font-size:10px;color:#e4e5eb}.faction-card-copy>small,.faction-card-copy>span{font-size:8px;color:#767c89;line-height:1.4}.faction-card-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.faction-card-end{display:flex;align-items:center;gap:9px}.faction-card-end>.rpo-icon{width:14px;height:14px;color:#727987}
.faction-activity-good{color:#80e4ad!important;border:1px solid rgba(72,205,133,.2)!important;background:rgba(55,176,111,.08)!important}
.faction-activity-normal{color:#e3c77e!important;border:1px solid rgba(221,180,76,.2)!important;background:rgba(199,153,46,.08)!important}
.faction-activity-bad{color:#ef929d!important;border:1px solid rgba(230,85,103,.2)!important;background:rgba(200,60,81,.08)!important}
.faction-source-card{margin-bottom:13px;padding:14px 16px}.faction-source-card .card-title{margin:0}.faction-source-card .card-title>div span,.faction-locations-card .card-title>div span,.faction-leadership-source .card-title>div span{display:block;margin-top:3px;font-size:8px;color:#737987}
.faction-source-error{margin:10px 0 0;padding:9px 10px;border:1px solid rgba(222,172,76,.16);border-radius:8px;background:rgba(222,172,76,.045);color:#c5ad78;font-size:9px;line-height:1.45}
.faction-route-list{display:flex;flex-direction:column}.faction-route-row{border-top:1px solid rgba(255,255,255,.045)}.faction-route-row:first-child{border-top:0}
.faction-route-row>summary{display:grid;grid-template-columns:32px minmax(0,1fr) 20px;gap:9px;align-items:center;padding:9px 2px;cursor:pointer;list-style:none}.faction-route-row>summary::-webkit-details-marker{display:none}.faction-route-row>summary>span:nth-child(2){display:grid;gap:3px;min-width:0}.faction-route-row>summary b{font-size:9px;color:#dce0e8}.faction-route-row>summary small{font-size:8px;color:#737987;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.faction-route-chevron{color:#717784}.faction-route-chevron .rpo-icon{width:13px;height:13px;transition:transform .15s ease}.faction-route-row[open] .faction-route-chevron .rpo-icon{transform:rotate(180deg)}
.faction-route-content{padding:0 8px 12px 43px}.faction-route-content>small{font-size:8px;color:#737987}.faction-recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.faction-recipe-grid>div{min-width:0;padding:8px;border:1px solid rgba(255,255,255,.045);border-radius:8px;background:#101219}.faction-recipe-grid b,.faction-recipe-grid small{display:block;overflow-wrap:anywhere}.faction-recipe-grid b{font-size:8px;color:#d4d7df}.faction-recipe-grid small{margin-top:3px;font-size:7px;line-height:1.4;color:#737987}
.faction-task-list{display:flex;flex-direction:column}.faction-task-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:start;padding:10px 0;border-top:1px solid rgba(255,255,255,.045)}.faction-task-row:first-child{border-top:0}.faction-task-row.is-done .faction-task-main>b{text-decoration:line-through;color:#777d88}.faction-task-check{display:grid;place-items:center;width:26px;height:26px;margin-top:1px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#11131a;color:#777d88;cursor:pointer}.faction-task-check.checked{border-color:rgba(53,208,127,.2);background:rgba(53,208,127,.08);color:#7ee0a6}.faction-task-check .rpo-icon{width:13px;height:13px}.faction-task-main{min-width:0}.faction-task-main>b{font-size:9px;color:#dedfe6}.faction-task-main>p{margin:4px 0;color:#9a9eaa;font-size:8px;line-height:1.45;white-space:pre-wrap}.faction-task-main>small{display:block;margin-top:4px;color:#737987;font-size:7px;line-height:1.5}.faction-task-assignee{display:block;width:min(280px,100%);height:27px;margin-top:7px;border:1px solid #2a2d35;border-radius:7px;background:#0d0f15;color:#aeb2bd;padding:0 7px;font-size:7px}.faction-audit-card{margin-top:13px}.faction-audit-card>.card-title{margin-bottom:5px}.faction-audit-card .card-title>div span{display:block;margin-top:3px;font-size:8px;color:#747a86}
.faction-audit-list{display:flex;flex-direction:column}.faction-audit-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.045)}.faction-audit-mark{width:26px;height:26px;border-radius:8px}.faction-audit-mark .rpo-icon{width:12px;height:12px}.faction-audit-row>span:nth-child(2){display:grid;gap:3px;min-width:0}.faction-audit-row b{font-size:8px;color:#d3d6df}.faction-audit-row small,.faction-audit-row time{font-size:7px;color:#707684;line-height:1.4}.faction-audit-row small{overflow-wrap:anywhere}.faction-audit-row time{white-space:nowrap}
.faction-description-card{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:11px 14px}.faction-description-card p{margin:0;color:#b8bbc5;font-size:9px;line-height:1.5;white-space:pre-wrap}.faction-description-card>span{flex:0 0 auto;font-size:8px;color:#858b98}
.faction-detail-grid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(290px,.82fr);gap:13px;align-items:start}.faction-detail-main,.faction-detail-side{display:grid;gap:12px;min-width:0}.faction-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.faction-kpi{padding:12px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:#101219}.faction-kpi>span{display:block;color:#7b818e;font-size:8px}.faction-kpi>b{display:block;margin-top:4px;color:#e2e4eb;font-size:17px;font-variant-numeric:tabular-nums}
.faction-money-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.faction-money-card{min-width:0;padding:13px}.faction-money-card>.card-title{align-items:flex-start;gap:8px;margin-bottom:8px}.faction-money-card>.card-title>div span{display:block;margin-top:3px;font-size:7px;color:#737987;line-height:1.4}.faction-money-card .card-title h2{font-size:11px}.faction-balance-list{display:flex;flex-direction:column}.faction-balance-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.045)}.faction-balance-icon{width:26px;height:26px;border-radius:7px}.faction-balance-icon .rpo-icon{width:12px;height:12px}.faction-balance-name{display:grid;gap:3px;min-width:0}.faction-balance-name b{overflow:hidden;color:#d8dbe3;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.faction-balance-name small{overflow:hidden;color:#707684;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.faction-balance-row>strong{grid-column:2;grid-row:2;color:#f0eff4;font-size:14px;font-variant-numeric:tabular-nums}.faction-balance-row>.btn{grid-column:3;grid-row:1/3;padding:5px 7px;font-size:8px}.faction-balance-row>.btn .rpo-icon{width:11px;height:11px}
.faction-members-card,.faction-tasks-card,.faction-org-card,.faction-locations-card,.faction-routes-card,.faction-leadership-source{padding:14px}.faction-members-card>.card-title,.faction-tasks-card>.card-title,.faction-org-card>.card-title,.faction-locations-card>.card-title,.faction-routes-card>.card-title,.faction-leadership-source>.card-title{margin-bottom:7px}.faction-members-card>.card-title>div span,.faction-tasks-card>.card-title>div span,.faction-org-card>.card-title>div span,.faction-routes-card>.card-title>div span{display:block;margin-top:3px;font-size:8px;color:#747a86}
.faction-leaders{margin-bottom:7px}.faction-leaders>summary{padding:8px 0;color:#bda2ce;font-size:8px;font-weight:750;cursor:pointer;list-style:none}.faction-leaders>summary::-webkit-details-marker{display:none}.faction-member-list{display:flex;flex-direction:column}.faction-member-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto 100px;gap:8px;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.045)}.faction-member-avatar{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(151,80,195,.16);border-radius:8px;background:rgba(102,2,163,.07);color:#b488cc;font-size:10px;font-weight:750}.faction-member-main{display:grid;gap:3px;min-width:0}.faction-member-main>b{display:flex;align-items:center;gap:6px;overflow:hidden;color:#dfe1e8;font-size:8px;white-space:nowrap}.faction-member-main>b .badge{padding:2px 5px;font-size:6px}.faction-member-main>small{overflow:hidden;color:#737987;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.faction-member-status{display:flex;align-items:center;white-space:nowrap;color:#767c89;font-size:7px}.faction-member-status .dot{margin-right:4px}.faction-member-rating{width:100px;height:28px;border:1px solid #2b2d36;border-radius:7px;background:#0e1016;color:#adb1bb;padding:0 6px;font-size:7px}
.faction-files,.faction-location-list{display:flex;flex-direction:column}.faction-file-row,.faction-location-row{display:grid;grid-template-columns:29px minmax(0,1fr) auto auto;gap:7px;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.045)}.faction-file-row>span:nth-child(2),.faction-location-row>span:nth-child(2){display:grid;gap:3px;min-width:0}.faction-file-row b,.faction-location-row b{overflow:hidden;color:#d7d9e1;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.faction-file-row small,.faction-location-row small{overflow-wrap:anywhere;color:#707684;font-size:7px;line-height:1.4}.faction-file-icon,.faction-location-mark{width:26px;height:26px;border-radius:7px}.faction-file-icon .rpo-icon,.faction-location-mark .rpo-icon{width:12px;height:12px}.faction-file-row>.btn{padding:5px 7px;font-size:7px}.faction-file-row>.btn .rpo-icon{width:10px;height:10px}.faction-file-row>.icon-btn{width:26px;height:26px}.faction-upload-button{position:relative;overflow:hidden;white-space:nowrap}.faction-upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.faction-location-row{grid-template-columns:29px minmax(0,1fr)}.faction-leadership-source p{margin:7px 0 0;color:#818694;font-size:8px;line-height:1.5}
.faction-edit-modal,.faction-money-modal{width:100%;max-width:none}.faction-edit-modal h2,.faction-money-modal h2{margin:4px 0 15px;font-size:18px;color:#f2f0f5}.faction-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.faction-form-wide{grid-column:1/-1}.faction-edit-modal .field,.faction-money-modal .field{margin-bottom:12px}.faction-edit-modal .field>span,.faction-money-modal .field>span{color:#a4a8b3;font-size:9px;font-weight:700}.faction-edit-modal .field input,.faction-edit-modal .field select,.faction-edit-modal .field textarea,.faction-money-modal .field input,.faction-money-modal .field textarea{width:100%;min-height:38px;border:1px solid #30323c;border-radius:8px;background:#0d0f15;color:#e4e6ed;padding:8px 10px;font:inherit;font-size:10px;outline:none}.faction-edit-modal .field textarea,.faction-money-modal .field textarea{resize:vertical;line-height:1.5}.faction-edit-modal .field small{color:#707683;font-size:7px;line-height:1.4}.faction-form-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;padding-top:12px;border-top:1px solid rgba(255,255,255,.055)}.faction-form-actions>span{color:#737987;font-size:8px;line-height:1.45}.faction-money-current{display:grid;gap:4px;margin-bottom:14px;padding:11px;border:1px solid rgba(255,255,255,.06);border-radius:9px;background:#0e1016}.faction-money-current>span{color:#777e8b;font-size:8px}.faction-money-current>b{color:#f0eff5;font-size:22px;font-variant-numeric:tabular-nums}.faction-money-current>small{color:#6f7582;font-size:8px;overflow-wrap:anywhere}.faction-money-warning{margin:8px 0;padding:9px 10px;border:1px solid rgba(220,174,75,.17);border-radius:8px;background:rgba(220,174,75,.045);color:#c7ad70;font-size:8px;line-height:1.5}
@media(max-width:1000px){.faction-detail-grid{grid-template-columns:1fr}.faction-detail-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.faction-routes-card,.faction-leadership-source{grid-column:1/-1}}
@media(max-width:760px){.faction-tabs{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.faction-tabs button{padding:8px 4px;font-size:8px}.faction-card{grid-template-columns:32px minmax(0,1fr) auto;padding:10px}.faction-card-mark{width:30px;height:30px}.faction-source-strip{gap:5px}.faction-source-strip .badge{font-size:7px}.faction-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.faction-money-grid{grid-template-columns:1fr}.faction-detail-side{grid-template-columns:1fr}.faction-routes-card,.faction-leadership-source{grid-column:auto}.faction-member-row{grid-template-columns:29px minmax(0,1fr) auto;gap:7px}.faction-member-row>.badge{display:none}.faction-member-rating{grid-column:2/-1;width:100%}.faction-member-status{grid-column:3;grid-row:1}.faction-recipe-grid{grid-template-columns:1fr}.faction-form-grid{grid-template-columns:1fr}.faction-form-wide{grid-column:auto}.faction-form-actions{align-items:stretch;flex-direction:column}.faction-form-actions .btn{width:100%}.faction-file-row{grid-template-columns:27px minmax(0,1fr) auto}.faction-file-row>.icon-btn{grid-column:3;grid-row:2}.faction-audit-row{grid-template-columns:28px minmax(0,1fr)}.faction-audit-row time{grid-column:2}.faction-task-row{grid-template-columns:27px minmax(0,1fr)}.faction-task-row>.badge{grid-column:2;justify-self:start}.faction-description-card{align-items:flex-start;flex-direction:column}.faction-route-content{padding-left:37px}}

/* Lesbarkeit und Sortierung in der Fraktionsansicht */
.faction-tabs button{font-size:12px}
.faction-source-note,.faction-category-card>.card-title span,.faction-source-card .card-title>div span,.faction-locations-card .card-title>div span,.faction-leadership-source .card-title>div span,.faction-members-card>.card-title>div span,.faction-tasks-card>.card-title>div span,.faction-org-card>.card-title>div span,.faction-routes-card>.card-title>div span,.faction-audit-card .card-title>div span{font-size:11px;line-height:1.45}
.faction-source-strip .badge,.faction-source-card .badge,.faction-locations-card .badge,.faction-leadership-source .badge,.faction-money-card .badge{font-size:10px}
.faction-category-card>.card-title h2{font-size:16px}
.faction-card-copy>b{font-size:13px}.faction-card-copy>small,.faction-card-copy>span{font-size:11px}
.faction-source-error{font-size:11px}
.faction-route-row>summary b{font-size:13px}.faction-route-row>summary small,.faction-route-content>small{font-size:11px}
.faction-recipe-grid b{font-size:12px}.faction-recipe-grid small{font-size:10px;line-height:1.5}
.faction-task-main>b{font-size:13px}.faction-task-main>p{font-size:11px}.faction-task-main>small{font-size:10px}.faction-task-assignee{font-size:11px}
.faction-audit-row b{font-size:12px}.faction-audit-row small,.faction-audit-row time{font-size:10px}
.faction-description-card p{font-size:12px}.faction-description-card>span{font-size:11px}
.faction-kpi>span{font-size:10px}
.faction-money-card>.card-title>div span{font-size:10px}.faction-money-card .card-title h2{font-size:14px}
.faction-balance-name b{font-size:11px}.faction-balance-name small{font-size:10px}.faction-balance-row>.btn{font-size:10px}
.faction-leaders>summary{font-size:12px}
.faction-member-main>b{font-size:12px}.faction-member-main>b .badge{font-size:9px}.faction-member-main>small{font-size:10px}
.faction-member-status{font-size:10px}.faction-member-rating{font-size:11px}
.faction-member-link{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:inherit;padding:0;font:inherit;text-align:left;cursor:pointer}
.faction-member-link:hover{color:#d9b1f0;text-decoration:underline;text-underline-offset:3px}.faction-member-link>span{color:#a97bca;font-size:.85em}
.faction-file-row b,.faction-location-row b{font-size:12px}.faction-file-row small,.faction-location-row small{font-size:10px;line-height:1.5}
.faction-file-row>.btn{font-size:10px}
.faction-leadership-source p{font-size:11px}
.faction-members-card>.card-title h2,.faction-tasks-card>.card-title h2,.faction-org-card>.card-title h2,.faction-locations-card>.card-title h2,.faction-routes-card>.card-title h2,.faction-leadership-source>.card-title h2,.faction-audit-card>.card-title h2{font-size:15px}
.faction-member-avatar{font-size:12px}
.faction-form-actions>span,.faction-money-current>span,.faction-money-current>small,.faction-money-warning{font-size:11px}
.faction-edit-modal .field>span,.faction-money-modal .field>span{font-size:12px}
.faction-edit-modal .field input,.faction-edit-modal .field select,.faction-edit-modal .field textarea,.faction-money-modal .field input,.faction-money-modal .field textarea{font-size:12px}
.faction-edit-modal .field small{font-size:10px}
.faction-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.faction-route-group{margin-top:12px;padding:0 12px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(9,10,15,.32)}
.faction-route-group:first-child{margin-top:4px}
.faction-route-group>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.faction-route-group>header h3{margin:0;color:#e1d5eb;font-size:14px}
.faction-route-group>header span{color:#9296a1;font-size:11px}
.faction-route-tools{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.7fr) minmax(170px,.8fr) auto;gap:8px;margin:10px 0 4px}
.faction-route-tools input,.faction-route-tools select{width:100%;min-width:0;height:36px;border:1px solid #2b2e38;border-radius:8px;background:#0e1016;color:#d9dbe3;padding:0 10px;font:inherit;font-size:11px;outline:none}
.faction-route-tools input:focus,.faction-route-tools select:focus{border-color:#75409a;box-shadow:0 0 0 2px rgba(146,62,196,.12)}
.faction-route-tools button{min-height:36px;font-size:11px;white-space:nowrap}
.faction-route-teleport{margin:9px 0 2px;font-size:11px!important}
.faction-route-teleport:disabled{opacity:.58;cursor:not-allowed}
@media(max-width:760px){
  .faction-route-tools{grid-template-columns:1fr 1fr}
  .faction-route-search{grid-column:1/-1}
  .faction-route-tools select{font-size:10px}
  .faction-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.faction-location-tools{display:grid;grid-template-columns:minmax(160px,1fr) minmax(120px,.65fr) minmax(170px,.9fr) auto;gap:8px;margin:8px 0 5px}
.faction-location-tools input,.faction-location-tools select{width:100%;min-width:0;height:36px;border:1px solid #2b2e38;border-radius:8px;background:#0e1016;color:#d9dbe3;padding:0 10px;font:inherit;font-size:11px;outline:none}
.faction-location-tools input:focus,.faction-location-tools select:focus{border-color:#75409a;box-shadow:0 0 0 2px rgba(146,62,196,.12)}
.faction-location-tools button{min-height:36px;font-size:11px;white-space:nowrap}
.faction-location-count{min-height:20px;padding:2px 0;color:#898e9a;font-size:10px}
.faction-location-search{min-width:0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){
  .faction-tabs button{font-size:11px}
  .faction-source-note,.faction-category-card>.card-title span,.faction-source-card .card-title>div span,.faction-locations-card .card-title>div span,.faction-leadership-source .card-title>div span,.faction-members-card>.card-title>div span,.faction-tasks-card>.card-title>div span,.faction-org-card>.card-title>div span,.faction-routes-card>.card-title>div span,.faction-audit-card .card-title>div span{font-size:10px}
  .faction-source-strip .badge{font-size:9px}
  .faction-location-tools{grid-template-columns:1fr 1fr}
  .faction-location-search{grid-column:1/-1}
  .faction-location-tools select{font-size:10px}
  .faction-member-main>b{font-size:12px}.faction-member-main>small{font-size:10px}
  .faction-member-status{font-size:10px}
}

/* Crafting route detail spacing */
.faction-route-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:10px 0 6px;padding:10px 0;border-top:1px solid rgba(255,255,255,.05)}
.faction-route-actions>small{display:block;font-size:11px;color:#858a96}
.faction-route-teleport{margin:0!important}

.faction-task-archive{margin-top:12px;border-top:1px solid rgba(255,255,255,.07)}
.faction-task-archive>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;color:#aeb2bd;font-size:11px;font-weight:700;cursor:pointer;list-style:none}
.faction-task-archive>summary::-webkit-details-marker{display:none}
.faction-task-archive-list{padding-left:0}
.faction-task-completion{color:#79c99a!important}


/* Ticketarchiv · ausschließlich Projektleitung / stellv. Projektleitung */
.ticket-archive-security{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid rgba(102,2,163,.35);background:linear-gradient(135deg,rgba(102,2,163,.12),rgba(102,2,163,.04));border-radius:14px}.ticket-archive-security>.rpo-icon{width:24px;height:24px;flex:0 0 24px}.ticket-archive-security div{display:flex;flex-direction:column;gap:2px}.ticket-archive-security b{font-size:14px}.ticket-archive-security span{font-size:12px;color:var(--muted)}
.ticket-archive-kpis .support-kpi{cursor:default}.ticket-archive-categories{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:10px;margin:0 0 18px}.ticket-archive-category{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:13px;padding:12px 13px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,background .15s ease}.ticket-archive-category:hover{transform:translateY(-1px);border-color:rgba(102,2,163,.45)}.ticket-archive-category.active{border-color:#6602a3;background:rgba(102,2,163,.10);box-shadow:inset 0 0 0 1px rgba(102,2,163,.22)}.ticket-archive-category>span{font-size:18px}.ticket-archive-category>b{font-size:12px;line-height:1.2}.ticket-archive-category>strong{min-width:26px;padding:3px 7px;border-radius:999px;background:var(--panel2);font-size:11px;text-align:center}.ticket-archive-category.active>strong{background:#6602a3;color:#fff}
.ticket-archive-list{padding:0;overflow:hidden}.ticket-archive-list .table-tools{padding:16px}.ticket-archive-table td{vertical-align:middle}.ticket-archive-category-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:var(--panel2);font-size:11px;font-weight:700;white-space:nowrap}.ticket-archive-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.ticket-archive-status.open{background:rgba(45,190,105,.13);color:#68d391}.ticket-archive-status.warned{background:rgba(245,158,11,.15);color:#f5b942}.ticket-archive-status.closed{background:rgba(148,163,184,.13);color:#aeb7c5}.ticket-transcript-btn{white-space:nowrap}.ticket-case-link{border:0;background:none;color:#b56de1;font-weight:800;cursor:pointer;padding:0}.ticket-case-link:hover{text-decoration:underline}
.ticket-archive-modal{width:min(940px,92vw);max-height:86vh;overflow:auto;padding:22px}.ticket-archive-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.ticket-archive-detail-card{border:1px solid var(--line);border-radius:12px;background:var(--panel2);padding:12px;display:flex;flex-direction:column;gap:4px;min-width:0}.ticket-archive-detail-card>span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.ticket-archive-detail-card>b{font-size:14px;overflow-wrap:anywhere}.ticket-archive-detail-card small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.ticket-archive-close-reason{display:flex;gap:10px;align-items:flex-start;padding:11px 13px;border-radius:10px;background:rgba(245,158,11,.09);border:1px solid rgba(245,158,11,.2);font-size:12px}.ticket-archive-close-reason b{white-space:nowrap}.ticket-archive-modal-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px}.ticket-archive-timeline-title{margin-top:8px}.ticket-archive-timeline{display:flex;flex-direction:column;padding:4px 0 0}.ticket-archive-event{display:grid;grid-template-columns:16px 1fr;gap:10px;position:relative;padding:0 0 16px}.ticket-archive-event:not(:last-child):before{content:"";position:absolute;left:5px;top:12px;bottom:-2px;width:1px;background:var(--line)}.ticket-archive-event-dot{width:11px;height:11px;border-radius:50%;background:#6602a3;margin-top:4px;box-shadow:0 0 0 3px rgba(102,2,163,.12)}.ticket-archive-event div{display:flex;flex-direction:column;gap:2px}.ticket-archive-event b{font-size:12px}.ticket-archive-event small{font-size:10px;color:var(--muted)}.ticket-archive-event p{margin:4px 0 0;font-size:12px;color:var(--muted)}
@media(max-width:1200px){.ticket-archive-categories{grid-template-columns:repeat(3,minmax(145px,1fr))}.ticket-archive-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ticket-archive-categories{display:flex;overflow-x:auto;padding-bottom:4px}.ticket-archive-category{min-width:190px}.ticket-archive-detail-grid{grid-template-columns:1fr}.ticket-archive-security{align-items:flex-start}.ticket-archive-modal{padding:15px}.ticket-archive-list .table-wrap{overflow-x:auto}.ticket-archive-table{min-width:980px}}

/* v1.5.65 · zentrale Ticketstatistik im bestehenden geschützten Archiv */
.ticket-ranking-card{margin:0 0 18px;padding:19px 20px;background:linear-gradient(145deg,#17151e,#121216);border:1px solid #28232f}
.ticket-ranking-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.ticket-ranking-head h2{font-size:18px;letter-spacing:-.025em;margin:0 0 5px}.ticket-ranking-head p{font-size:12px;color:var(--muted);margin:0}
.ticket-ranking-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ticket-ranking-segment{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #30263b;border-radius:10px;background:#101014}
.ticket-ranking-segment button{background:none;border:1px solid transparent;padding:8px 12px;color:#adabb9;border-radius:7px;font-size:12px;cursor:pointer}
.ticket-ranking-segment button:hover{color:#fff;background:#211929}.ticket-ranking-segment button.active{background:rgba(102,2,163,.28);border-color:rgba(148,51,210,.35);color:#fff;font-weight:700}
.ticket-ranking-month{font-size:11px;color:#aaa;display:flex;gap:8px;align-items:center}
.ticket-ranking-month input{color:#f5f5f7;background:#111115;border:1px solid #302a36;border-radius:9px;height:38px;padding:0 10px;color-scheme:dark;font:inherit}
.ticket-ranking-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.ticket-ranking-metrics>div{display:flex;flex-direction:column;gap:5px;padding:13px 15px;background:#17151d;border:1px solid #2b2532;border-radius:11px}
.ticket-ranking-metrics span{font-size:11px;color:#96919e}.ticket-ranking-metrics strong{font-size:24px;font-variant-numeric:tabular-nums;line-height:1.1}
.ticket-ranking-card .table{min-width:550px}.ticket-ranking-rank{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;background:#2c2337;border-radius:7px;color:#cfb1ee;font-size:11px;margin-right:5px}
.ticket-ranking-foot{font-size:11px;color:#8e8b98;margin-top:12px}.ticket-ranking-loading,.ticket-ranking-error{padding:22px 10px;font-size:12px;color:#aaa}.ticket-ranking-error{color:#ff8c99}
.ticket-ranking-warning{margin-bottom:12px;padding:10px 14px;background:rgba(232,173,67,.07);border:1px solid rgba(232,173,67,.22);border-radius:10px;color:#e5bd79;font-size:12px}.ticket-ranking-warning p{margin:0 0 4px}.ticket-ranking-warning p:last-child{margin-bottom:0}
@media(max-width:780px){.ticket-ranking-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-ranking-card{padding:14px}.ticket-ranking-head{flex-direction:column}}
@media(max-width:480px){.ticket-ranking-metrics{grid-template-columns:1fr 1fr}.ticket-ranking-segment button{padding:8px;font-size:11px}}
.ticket-archive-manage{margin:10px 0 18px;padding:13px 15px;border:1px solid #2e2738;border-radius:12px;background:rgba(102,2,163,.07)}
.ticket-archive-manage>p{font-size:12px;color:#aca7b6;margin:0 0 8px}.ticket-archive-manage>p:last-child{margin-bottom:0}
.ticket-archive-close-form{display:grid;gap:8px}.ticket-archive-close-form label{font-size:12px;font-weight:700}.ticket-archive-close-form textarea{width:100%;background:#12121a;border:1px solid #322841;color:#f1f1f5;padding:11px 12px;border-radius:9px;resize:vertical;font:inherit}.ticket-archive-close-form .actions{display:flex;gap:8px;justify-content:flex-end}

/* v1.5.67 · accordion and verified current team roster ranking */
.ticket-ranking-card{padding:0;overflow:hidden}
.ticket-ranking-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;cursor:pointer;list-style:none;user-select:none;min-height:74px}
.ticket-ranking-summary::-webkit-details-marker{display:none}
.ticket-ranking-summary:hover{background:rgba(102,2,163,.075)}
.ticket-ranking-summary:focus-visible{outline:2px solid #8b23c9;outline-offset:-3px}
.ticket-ranking-summary-title{display:flex;flex-direction:column;gap:4px;min-width:0}
.ticket-ranking-summary-title strong{font-size:17px;letter-spacing:-.025em}
.ticket-ranking-summary-title small{color:#96909f;font-size:12px;line-height:1.45}
.ticket-ranking-summary-right{display:inline-flex;gap:10px;align-items:center;color:#cbb0e1;font-size:12px;font-weight:700;white-space:nowrap}
.ticket-ranking-summary-right .rpo-icon{width:16px;height:16px;transition:transform .18s ease}
.ticket-ranking-card[open] .ticket-ranking-summary-right .rpo-icon{transform:rotate(180deg)}
.ticket-ranking-expanded{border-top:1px solid #2b2434;padding:18px 20px 20px}
.ticket-ranking-expanded .ticket-ranking-filters{margin-bottom:18px}
.ticket-ranking-count{font-size:12px;color:#c9bed1;margin:8px 0 10px;font-weight:700}
.ticket-ranking-role{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:999px;border:1px solid #352c42;background:rgba(102,2,163,.13);color:#c6a5df;font-size:10px;font-weight:700}
@media(max-width:680px){.ticket-ranking-summary,.ticket-ranking-expanded{padding:14px}.ticket-ranking-summary{gap:9px}.ticket-ranking-summary-right{font-size:11px}}

/* RPO Zombie-Steuerung: einziger Sollwert statt Wellen/Horden */

/* RPO NPC v3: einziges Panel fuer Population + Zombie-Modus */
.rpo-npc-v3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:22px;align-items:start}
.rpo-npc-v3-card{display:flex;flex-direction:column;gap:22px;min-height:255px;padding:clamp(20px,2vw,32px)}
.rpo-npc-v3-value{color:#c795f7;font-size:clamp(28px,2.4vw,42px);font-variant-numeric:tabular-nums;white-space:nowrap}
.rpo-npc-v3-card input[type="range"]{width:100%;height:32px;cursor:pointer;accent-color:#6602a3}
.rpo-npc-v3-marks{display:flex;justify-content:space-between;color:var(--muted,#b3b7c8);font-size:13px;margin-top:-16px}
.rpo-npc-v3-help{font-size:14px;color:var(--muted,#b3b7c8);line-height:1.6;margin:0}
.rpo-npc-v3-pill{border:1px solid rgba(180,180,200,.22);padding:8px 14px;border-radius:99px;font-weight:700;letter-spacing:.07em}
.rpo-npc-v3-pill.on{border-color:#7d3db7;color:#d9b8f5;background:rgba(102,2,163,.15)}
.rpo-npc-v3-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 4px;font-weight:650;cursor:pointer}
.rpo-npc-v3-toggle input{width:24px;height:24px;accent-color:#6602a3;cursor:pointer}

/* RPO NPC v3.1: Zeitprofile, Ambient-Generatoren, feste Dispatch-Sperre */
.rpo-npc-v31{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:20px;align-items:start}
.rpo-npc-v31-card{display:flex;flex-direction:column;gap:18px;padding:clamp(18px,2vw,30px)}
.rpo-npc-v31-card input[type="range"]{width:100%;height:32px;cursor:pointer;accent-color:#6602a3}
.rpo-npc-v31-choice{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid rgba(170,155,200,.14);padding:14px 16px;border-radius:14px;cursor:pointer;background:rgba(135,112,168,.055)}
.rpo-npc-v31-choice>span{display:flex;flex-direction:column;gap:5px}
.rpo-npc-v31-choice small,.rpo-npc-v31-profile small{font-size:12px;color:var(--muted,#b5abc4)}
.rpo-npc-v31-choice input{width:22px;height:22px;flex:none;accent-color:#6602a3;cursor:pointer}
.rpo-npc-v31-choices,.rpo-npc-v31-profiles{display:grid;gap:10px}
.rpo-npc-v31-profile{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(170,155,200,.1)}
.rpo-npc-v31-profile>span:first-child{display:flex;flex-direction:column;gap:4px}
.rpo-npc-v31-profile-number{display:flex;gap:6px;align-items:center;white-space:nowrap}
.rpo-npc-v31-profile-number input{width:78px;min-height:38px;padding:8px;border:1px solid rgba(190,170,210,.28);border-radius:10px;background:rgba(0,0,0,.18);color:inherit;text-align:right}
.rpo-npc-v31-lock-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid rgba(170,155,200,.12)}
.rpo-npc-v31-lock-row b{font-size:11px;letter-spacing:.03em;color:#d1a9e6}
.rpo-npc-v31-locked{border-color:rgba(175,130,215,.15)}
@media(max-width:640px){.rpo-npc-v31{grid-template-columns:1fr}.rpo-npc-v31-card{padding:17px}.rpo-npc-v31-lock-row b{font-size:10px}}

/* RPO NPC v3.2 - abgestimmtes RPO-Glaslayout, getrennte NPC- und Zombie-Tabs */
.rpo-v32-layout{display:grid;gap:18px}
.rpo-v32-full{padding:clamp(18px,2vw,28px)}
.rpo-v32-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rpo-v32-profile{padding:clamp(16px,1.7vw,24px)}
.rpo-v32-profile-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:17px}
.rpo-v32-profile-head h3{font-size:18px;margin:0}
.rpo-v32-profile-head>span{font-size:12px;color:var(--muted,#aaa)}
.rpo-v32-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rpo-v32-field{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:10px 12px;border:1px solid rgba(184,168,203,.17);border-radius:11px;background:rgba(132,93,165,.055)}
.rpo-v32-field>span:first-child{font-size:13px}
.rpo-v32-input{display:flex;align-items:center;gap:5px;white-space:nowrap;color:var(--muted,#aaa)}
.rpo-v32-input input{font:inherit;color:inherit;max-width:65px;height:36px;text-align:right;border:1px solid rgba(190,170,210,.3);border-radius:9px;background:rgba(10,7,17,.3);padding:5px}
.rpo-v32-choice{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 15px;border:1px solid rgba(184,168,203,.16);border-radius:13px;background:rgba(132,93,165,.055)}
.rpo-v32-choice>span{display:flex;flex-direction:column;gap:5px}
.rpo-v32-choice small{font-size:12px;color:var(--muted,#aaa)}
.rpo-v32-choice input{width:22px;height:22px;accent-color:#6602a3;flex:none}
.rpo-v32-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rpo-v32-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rpo-v32-actions span{color:var(--muted,#aaa);font-size:13px}
.rpo-v32-locks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}
.rpo-v32-locks>span{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid rgba(160,130,190,.2);border-radius:12px}
.rpo-v32-locks b{font-size:11px;color:#bca5ca;white-space:nowrap}
.rpo-v32-info{font-size:13px;line-height:1.65;color:var(--muted,#aaa);margin:12px 0 0}
.rpo-v32-full input[type=range]{display:block;width:100%;accent-color:#6602a3;margin:18px 0}
.rpo-v32-marks{display:flex;justify-content:space-between;color:var(--muted,#aaa);font-size:12px}
.rpo-v32-pill{border:1px solid rgba(160,130,190,.3);border-radius:40px;padding:8px 12px;font-weight:700;font-size:12px}
.rpo-v32-pill.active{border-color:#6602a3;color:#d29dff;background:rgba(102,2,163,.17)}
@media(max-width:850px){.rpo-v32-grid{grid-template-columns:1fr}.rpo-v32-switches{grid-template-columns:1fr}.rpo-v32-locks{grid-template-columns:1fr}}
@media(max-width:540px){.rpo-v32-fields{grid-template-columns:1fr}.rpo-v32-actions{flex-direction:column;align-items:stretch}}

/* RPO NPC v3.2.1 – Untertabs direkt in der NPC-Steuerung */
.rpo-v33-tabs{display:flex;align-items:center;gap:10px;padding:8px;margin:0 0 20px;border:1px solid rgba(177,143,201,.22);background:rgba(42,26,57,.32);border-radius:16px;width:max-content;max-width:100%;flex-wrap:wrap}
.rpo-v33-tab{appearance:none;background:transparent;color:var(--muted,#b5aac4);border:1px solid transparent;border-radius:11px;padding:12px 20px;min-height:44px;font:inherit;font-weight:700;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.rpo-v33-tab:hover{background:rgba(102,2,163,.11);color:var(--text,#fff)}
.rpo-v33-tab.active{background:rgba(102,2,163,.28);border-color:rgba(164,88,226,.55);color:#f4eaff;box-shadow:0 3px 14px rgba(74,9,122,.18)}
.rpo-v33-tab:focus-visible{outline:2px solid #a65bea;outline-offset:2px}
.rpo-v33-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:620px){.rpo-v33-tabs{width:100%}.rpo-v33-tab{flex:1}.rpo-v33-actions{width:100%;justify-content:stretch}.rpo-v33-actions .btn{flex:1}}


/* === ORIGINAL public/rpo-reports.css === */
/* RPO Reports 1.4.0 */
.nav-unread-badge{min-width:19px;height:19px;border-radius:999px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;background:#e33535;color:#fff;font-size:11px;font-weight:800;margin-left:auto;box-shadow:0 0 0 2px rgba(227,53,53,.18)}
.maintenance-screen-card{max-width:520px;text-align:center;padding:34px!important}.maintenance-symbol{width:62px;height:62px;border-radius:20px;margin:20px auto 10px;display:grid;place-items:center;font-size:31px;background:rgba(102,2,163,.16);border:1px solid rgba(150,76,201,.34);color:#c890ea}.maintenance-screen-card h2{margin:8px 0 10px}.maintenance-screen-card p{line-height:1.55}
.report-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.report-toolbar .input,.report-toolbar select{min-width:180px}.report-toolbar .grow{flex:1;min-width:220px}
.report-list{display:grid;gap:10px}.report-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(120px,.7fr) minmax(130px,.7fr) auto;gap:14px;align-items:center;padding:14px 16px;border:1px solid var(--border,#25252d);background:rgba(255,255,255,.018);border-radius:14px;cursor:pointer;transition:.14s}.report-row:hover{border-color:rgba(102,2,163,.58);background:rgba(102,2,163,.055)}.report-row-title{font-weight:750;display:flex;gap:8px;align-items:center;min-width:0}.report-row-title span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-id{font-size:11px;font-weight:800;color:#b578da;background:rgba(102,2,163,.12);padding:4px 7px;border-radius:8px}.report-meta{font-size:12px;color:var(--muted,#9696a4);margin-top:5px}.report-status{font-size:12px;font-weight:700;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.06);display:inline-flex;width:max-content}.report-status.open,.report-status.waiting_team{color:#ffbe55;background:rgba(255,174,42,.1)}.report-status.waiting_player,.report-status.claimed{color:#b984dc;background:rgba(102,2,163,.13)}.report-status.closed{color:#9da3ad}.report-status.bug{color:#ffd765;background:rgba(245,197,66,.11)}
.report-detail-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap}.report-title-wrap h2{margin:3px 0 4px}.report-kicker{font-size:12px;color:#b578da;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.report-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.7fr);gap:14px;margin-top:14px}.report-chat{display:flex;flex-direction:column;min-height:540px}.report-chat-scroll{flex:1;max-height:560px;overflow:auto;padding:8px;display:flex;flex-direction:column;gap:9px}.report-msg{max-width:82%;padding:10px 12px;border-radius:13px;background:#1b1b22;border:1px solid rgba(255,255,255,.05)}.report-msg.team{align-self:flex-end;background:rgba(102,2,163,.18);border-color:rgba(133,42,188,.25)}.report-msg.player{align-self:flex-start}.report-msg-head{display:flex;gap:7px;justify-content:space-between;color:#aaa;font-size:11px;margin-bottom:5px}.report-msg-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.report-compose{border-top:1px solid var(--border,#25252d);padding-top:12px;margin-top:8px}.report-compose textarea{width:100%;min-height:82px;resize:vertical}.report-side{display:grid;gap:12px;align-content:start}.report-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px}.report-fact{padding:10px;border-radius:11px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.045)}.report-fact span{display:block;color:#888;font-size:11px}.report-fact b{display:block;margin-top:3px;font-size:13px;overflow-wrap:anywhere}
.rpo-accordion{border:1px solid var(--border,#292931);border-radius:13px;background:rgba(255,255,255,.018);overflow:hidden}.rpo-accordion>summary{list-style:none;cursor:pointer;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:750}.rpo-accordion>summary::-webkit-details-marker{display:none}.rpo-accordion[open]>summary{border-bottom:1px solid var(--border,#292931)}.rpo-accordion-body{padding:13px 15px}.diag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.diag-row{padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.025)}.diag-row span{font-size:11px;color:#898994;display:block}.diag-row b{font-size:13px}.diag-pre{max-height:360px;overflow:auto;background:#0b0b0e;border-radius:9px;padding:11px;white-space:pre-wrap;font:12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.inventory-table{width:100%;border-collapse:collapse}.inventory-table td,.inventory-table th{padding:7px 6px;text-align:left;border-bottom:1px solid rgba(255,255,255,.05);font-size:12px}.report-note{padding:9px 11px;border-left:3px solid #6602a3;background:rgba(102,2,163,.07);border-radius:7px;margin:8px 0}.report-history{display:grid;gap:7px}.report-history-item{font-size:12px;padding:8px 10px;background:rgba(255,255,255,.025);border-radius:8px}.report-sla{display:flex;gap:8px;flex-wrap:wrap}.sla-pill{font-size:11px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.05);color:#bcbcc7}.bug-banner{padding:11px 13px;border-radius:12px;background:rgba(245,197,66,.08);border:1px solid rgba(245,197,66,.2);color:#f0d887}.mention-box{position:relative}.mention-suggestions{position:absolute;left:0;right:0;bottom:100%;z-index:20;background:#16161c;border:1px solid #33333d;border-radius:11px;padding:5px;box-shadow:0 12px 30px #0008}.mention-suggestions button{width:100%;text-align:left;padding:8px 10px;border:0;background:transparent;color:#eee;border-radius:8px}.mention-suggestions button:hover{background:rgba(102,2,163,.18)}.maintenance-control{border-color:rgba(245,197,66,.22)!important}.maintenance-control.active{background:rgba(245,197,66,.05)}
.report-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.report-stat{padding:12px;border-radius:11px;background:rgba(255,255,255,.025)}.report-stat span{display:block;color:#898994;font-size:11px}.report-stat b{font-size:20px}.report-stat-table{width:100%;border-collapse:collapse}.report-stat-table td,.report-stat-table th{padding:9px;border-bottom:1px solid rgba(255,255,255,.05);text-align:left;font-size:12px}
@media(max-width:900px){.report-row{grid-template-columns:1fr auto}.report-row>div:nth-child(2),.report-row>div:nth-child(3){display:none}.report-grid{grid-template-columns:1fr}.report-chat{min-height:460px}.report-facts{grid-template-columns:1fr 1fr}.report-stats-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.report-toolbar>*{width:100%}.report-detail-head{display:block}.report-actions{margin-top:11px}.report-msg{max-width:94%}.report-facts,.diag-grid{grid-template-columns:1fr}.report-stat-table{display:block;overflow-x:auto}.maintenance-screen-card{margin:12px;padding:24px!important}}
.inventory-meta{margin-top:6px}.inventory-meta summary{cursor:pointer;color:var(--muted);font-size:.78rem}.inventory-meta .diag-pre{margin-top:6px;max-height:220px}
.bug-manage-card .field+.field{margin-top:10px}.bug-discord-box{display:grid;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}.bug-discord-check{display:flex;align-items:center;gap:9px;cursor:pointer}.bug-discord-check input{width:18px;height:18px;accent-color:#6602a3}.bug-discord-box textarea{width:100%;min-height:110px;resize:vertical}.bug-discord-box .btn{justify-self:start}.inventory-table td{font-size:13px}.inventory-table td b{font-weight:700}

/* v1.4.7 – Bugbearbeitung übersichtlich und stabil */
.bug-manage-card{min-width:0}
.bug-manage-card .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bug-manage-card .actions .btn{width:100%;justify-content:center}
.bug-discord-box{display:flex!important;flex-direction:column;align-items:stretch;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);min-width:0}
.bug-discord-check{display:flex!important;align-items:center;gap:9px;width:100%;cursor:pointer;white-space:normal}
.bug-discord-check input{flex:0 0 auto;width:18px!important;height:18px!important;margin:0;accent-color:#6602a3}
.bug-discord-box textarea{display:block;width:100%!important;min-width:0;box-sizing:border-box;min-height:120px;resize:vertical}
.bug-discord-box .btn{align-self:flex-start;width:auto!important}
.inventory-table{width:100%;border-collapse:collapse}.inventory-table td{padding:9px 6px;border-top:1px solid rgba(255,255,255,.06)}.inventory-table tr:first-child td{border-top:0}
@media(max-width:1100px){.bug-manage-card .actions{grid-template-columns:1fr}.bug-discord-box .btn{width:100%!important}}

/* v1.5.8 – Mention-Hervorhebung */
.rpo-mention{display:inline-flex;align-items:center;padding:1px 5px;border-radius:7px;background:rgba(245,197,66,.14);border:1px solid rgba(245,197,66,.28);color:#f7da73;font-weight:800}
.report-msg.mentioned-self{border-color:rgba(245,197,66,.58)!important;box-shadow:0 0 0 2px rgba(245,197,66,.10),0 10px 28px rgba(245,197,66,.08)}
.report-msg.mentioned-self .rpo-mention{background:rgba(245,197,66,.24);border-color:rgba(245,197,66,.48);color:#ffe8a3}


/* v1.5.21 – complete report description + screenshot viewer */
.report-description-card{overflow:hidden}
.report-description-text{font-size:14px;line-height:1.6;color:#eee}
.report-description-attachments{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.report-attachment-screenshot{appearance:none;padding:0;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.025);border-radius:12px;overflow:hidden;cursor:zoom-in;transition:.16s ease}
.report-attachment-screenshot:hover{transform:translateY(-1px);border-color:rgba(151,68,201,.55);box-shadow:0 10px 28px rgba(102,2,163,.16)}
.report-attachment-screenshot img{display:block;max-width:320px;max-height:210px;width:auto;height:auto;object-fit:contain}
@media(min-width:2560px){.report-description-text{font-size:18px}.report-attachment-screenshot img{max-width:430px;max-height:290px}}

/* v1.5.25 – Adminchat 4K readability
   Desktop-only scaling for high-resolution panels. 1080p/normal desktop remains unchanged. */
@media (min-width:2560px) {
  .panel-chat-layout{
    grid-template-columns:minmax(390px,470px) minmax(0,1fr);
    gap:22px;
  }
  .panel-chat-channels{padding:20px}
  .panel-chat-section{gap:10px}
  .panel-chat-section-title{
    font-size:16px;
    line-height:1.35;
    margin-bottom:10px;
  }
  .panel-chat-channel{
    min-height:58px;
    padding:12px 14px;
    font-size:17px;
    border-radius:13px;
  }
  .panel-chat-channel>span:not(.panel-chat-dm-copy){font-size:17px}
  .panel-chat-dm-copy{gap:4px}
  .panel-chat-dm-name b{font-size:17px;line-height:1.3}
  .panel-chat-dm-name time{font-size:13px}
  .panel-chat-dm-role{font-size:13px;line-height:1.35}
  .panel-chat-dm-preview{font-size:14px;line-height:1.4}
  .panel-chat-context-unread{
    min-width:24px;
    height:24px;
    padding:0 7px;
    font-size:12px;
  }
  .panel-chat-channel-mute{
    width:42px;
    height:42px;
  }
  .panel-chat-channel-mute .rpo-icon{width:19px;height:19px}

  .panel-chat-main{min-width:0}
  .panel-chat-head{padding:20px 22px}
  .panel-chat-head h2{
    font-size:26px;
    line-height:1.22;
  }
  .panel-chat-head #panelChatMessageCount{
    font-size:14px;
    line-height:1.4;
  }
  .panel-chat-live{
    font-size:13px;
    padding:8px 11px;
  }
  .panel-chat-dot{width:13px;height:13px}

  .panel-chat-messages{
    padding:22px 24px;
    gap:13px;
  }
  .panel-chat-message{
    padding:14px 16px;
    border-radius:14px;
  }
  .panel-chat-message-head{
    gap:12px;
    margin-bottom:8px;
  }
  .panel-chat-message-head b{
    font-size:18px;
    line-height:1.3;
  }
  .panel-chat-message-head span{
    font-size:13px;
  }
  .panel-chat-message-tools{
    gap:8px;
  }
  .panel-chat-message-tools time{
    font-size:13px;
    line-height:1.35;
  }
  .panel-chat-message-tools button{
    min-width:32px;
    min-height:32px;
    font-size:17px;
  }
  .panel-chat-text{
    font-size:18px;
    line-height:1.55;
  }
  .adminchat-message-reply{
    padding:9px 11px;
    margin-bottom:9px;
  }
  .adminchat-message-reply b{font-size:14px}
  .adminchat-message-reply span{font-size:14px;line-height:1.4}
  .adminchat-reactions{gap:7px;margin-top:9px}
  .adminchat-reaction{
    min-height:31px;
    padding:4px 9px;
    font-size:14px;
  }
  .panel-chat-important,
  .panel-chat-origin{
    font-size:11px!important;
    padding:3px 6px;
  }
  .panel-chat-receipt{font-size:13px}

  .panel-chat-composer{
    padding:18px 20px 20px;
    gap:11px;
  }
  .panel-chat-composer textarea{
    min-height:96px;
    padding:14px 16px;
    font-size:18px;
    line-height:1.5;
    border-radius:13px;
  }
  .panel-chat-compose-actions{
    gap:10px;
    font-size:14px;
  }
  .panel-chat-compose-actions .btn{
    min-height:43px;
    padding:9px 14px;
    font-size:15px;
  }
  .panel-chat-important-toggle{font-size:14px}
  .adminchat-compose-reply.desktop,
  .adminchat-compose-media.desktop{font-size:14px}
  .adminchat-compose-reply.desktop b,
  .adminchat-compose-media.desktop b{font-size:15px}
  .adminchat-compose-reply.desktop small,
  .adminchat-compose-media.desktop small{font-size:13px}
}


/* v1.5.27 – stronger high-DPI typography (covers 4K with Windows scaling) */
@media (min-width:2560px) {
  .panel-chat-section-title{font-size:17px!important}
  .panel-chat-channel,.panel-chat-channel>span:not(.panel-chat-dm-copy){font-size:19px!important}
  .panel-chat-dm-name b{font-size:19px!important}
  .panel-chat-dm-name time,.panel-chat-dm-role{font-size:15px!important}
  .panel-chat-dm-preview{font-size:16px!important}
  .panel-chat-head h2{font-size:29px!important}
  .panel-chat-head #panelChatMessageCount,.panel-chat-live{font-size:15px!important}
  .panel-chat-message-head b{font-size:21px!important}
  .panel-chat-message-head span,.panel-chat-message-tools time{font-size:15px!important}
  .panel-chat-text{font-size:22px!important;line-height:1.58!important}
  .panel-chat-composer textarea{font-size:20px!important;line-height:1.5!important}
  .panel-chat-compose-actions .btn{font-size:17px!important}
}

/* v1.5.27 – Adminchat true-4K typography pass
   At 3840px the previous 18px message font was still too small inside FiveM/CEF. */
@media (min-width:3200px) {
  .panel-chat-layout{grid-template-columns:minmax(430px,520px) minmax(0,1fr)!important;gap:24px!important}
  .panel-chat-channels{padding:22px!important}
  .panel-chat-section-title{font-size:18px!important;line-height:1.4!important;letter-spacing:.04em}
  .panel-chat-channel{min-height:66px!important;padding:14px 16px!important;font-size:21px!important}
  .panel-chat-channel>span:not(.panel-chat-dm-copy){font-size:21px!important}
  .panel-chat-dm-name b{font-size:21px!important;line-height:1.35!important}
  .panel-chat-dm-name time{font-size:16px!important}
  .panel-chat-dm-role{font-size:16px!important;line-height:1.4!important}
  .panel-chat-dm-preview{font-size:17px!important;line-height:1.45!important}
  .panel-chat-context-unread{min-width:29px!important;height:29px!important;font-size:14px!important}
  .panel-chat-head{padding:22px 25px!important}
  .panel-chat-head h2{font-size:32px!important;line-height:1.25!important}
  .panel-chat-head #panelChatMessageCount{font-size:17px!important}
  .panel-chat-live{font-size:16px!important;padding:9px 13px!important}
  .panel-chat-messages{padding:24px 27px!important;gap:15px!important}
  .panel-chat-message{padding:16px 19px!important;border-radius:15px!important}
  .panel-chat-message-head{gap:13px!important;margin-bottom:10px!important}
  .panel-chat-message-head b{font-size:23px!important;line-height:1.35!important}
  .panel-chat-message-head span{font-size:16px!important}
  .panel-chat-message-tools time{font-size:16px!important;line-height:1.4!important}
  .panel-chat-message-tools button{min-width:38px!important;min-height:38px!important;font-size:19px!important}
  .panel-chat-text{font-size:25px!important;line-height:1.58!important;font-weight:450}
  .panel-chat-important,.panel-chat-origin{font-size:13px!important;padding:4px 7px!important}
  .panel-chat-receipt{font-size:15px!important}
  .adminchat-message-reply{padding:11px 13px!important;margin-bottom:11px!important}
  .adminchat-message-reply b,.adminchat-message-reply span{font-size:17px!important;line-height:1.45!important}
  .adminchat-reaction{min-height:35px!important;padding:5px 11px!important;font-size:16px!important}
  .panel-chat-composer{padding:20px 22px 22px!important;gap:12px!important}
  .panel-chat-composer textarea{min-height:108px!important;padding:16px 18px!important;font-size:22px!important;line-height:1.5!important}
  .panel-chat-compose-actions,.panel-chat-important-toggle{font-size:17px!important}
  .panel-chat-compose-actions .btn{min-height:48px!important;padding:10px 16px!important;font-size:18px!important}
  .adminchat-compose-reply.desktop,.adminchat-compose-media.desktop{font-size:17px!important}
  .adminchat-compose-reply.desktop b,.adminchat-compose-media.desktop b{font-size:18px!important}
  .adminchat-compose-reply.desktop small,.adminchat-compose-media.desktop small{font-size:16px!important}
}

/* v1.5.35 – restored robbery administration */
.robbery-control-card{padding:0;overflow:hidden}
.robbery-control-info{display:flex;gap:14px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line,#24242b);background:linear-gradient(135deg,rgba(102,2,163,.14),rgba(102,2,163,.03))}
.robbery-control-info>div:first-child{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(102,2,163,.2);color:#b968e7;flex:0 0 auto}
.robbery-control-info b,.robbery-control-info span{display:block}.robbery-control-info span{margin-top:3px;color:var(--muted,#9898a3);font-size:13px;line-height:1.45}
.robbery-control-list{display:flex;flex-direction:column}
.robbery-control-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line,#24242b)}
.robbery-control-row:last-child{border-bottom:0}.robbery-control-main{display:flex;gap:12px;align-items:center;min-width:0}.robbery-control-main b,.robbery-control-main span{display:block}.robbery-control-main span{margin-top:3px;color:var(--muted,#9898a3);font-size:12px}
.robbery-control-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.045);color:#c8c8d0;flex:0 0 auto}
.robbery-control-state{font-size:12px;font-weight:800;padding:6px 10px;border-radius:999px;min-width:72px;text-align:center}.robbery-control-state.enabled{background:rgba(66,201,113,.14);color:#57d786}.robbery-control-state.forced{background:rgba(102,2,163,.20);color:#d599ff}.robbery-control-state.disabled{background:rgba(255,85,85,.11);color:#ff7777}.robbery-control-state.waiting{background:rgba(255,190,70,.12);color:#ffc35c}
.robbery-mode-control{display:inline-flex;align-items:center;padding:3px;border-radius:10px;background:#26262d;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);gap:2px}.robbery-mode-control button{appearance:none;border:0;background:transparent;color:var(--muted,#aaa);font:inherit;font-size:11px;font-weight:800;padding:7px 9px;border-radius:7px;cursor:pointer;transition:.15s ease;white-space:nowrap}.robbery-mode-control button:hover{color:#fff;background:rgba(255,255,255,.06)}.robbery-mode-control button.active{background:#6602a3;color:#fff;box-shadow:0 2px 8px rgba(102,2,163,.28)}.robbery-mode-control button.force-on.active{background:#397e55}.robbery-mode-control button.force-off.active{background:#9c343d}.robbery-mode-control button:disabled{opacity:.5;cursor:wait}
@media(max-width:650px){.robbery-control-row{grid-template-columns:minmax(0,1fr);gap:10px}.robbery-control-state{justify-self:start;margin-left:50px}.robbery-mode-control{justify-self:start;margin-left:50px}.robbery-control-info{align-items:flex-start}}

/* v1.5.39 – NPC Control / Halloween */
.npc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.npc-tabs button{border:1px solid var(--line,#2b2b33);background:rgba(255,255,255,.035);color:var(--muted,#aaa);padding:9px 13px;border-radius:10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.npc-tabs button:hover{color:#fff;border-color:rgba(102,2,163,.55)}.npc-tabs button.active{background:rgba(102,2,163,.18);border-color:#6602a3;color:#e7c5ff;box-shadow:0 0 0 1px rgba(102,2,163,.12) inset}.npc-view{display:flex;flex-direction:column;gap:14px}.npc-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.npc-kpi{padding:18px}.npc-kpi>span,.npc-kpi>small{display:block;color:var(--muted,#999)}.npc-kpi>span{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.npc-kpi>b{display:block;font-size:24px;line-height:1.2;margin:8px 0 5px}.npc-kpi>small{font-size:12px}.npc-event-card{overflow:hidden}.npc-live-pill{font-size:11px;font-weight:900;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);color:#999}.npc-live-pill.active,.npc-head-live{background:rgba(102,2,163,.20);color:#e4b8ff}.npc-head-live i{width:7px;height:7px;border-radius:50%;display:inline-block;background:#d674ff;margin-right:6px;box-shadow:0 0 10px #a82bea}.npc-mode-launchers,.npc-live-actions,.npc-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.npc-mode-launchers{padding:4px 0 16px}.npc-live-actions{padding-top:14px;border-top:1px solid var(--line,#292930)}.npc-event-note{margin:13px 0 0;padding:11px 13px;border-radius:9px;background:rgba(255,190,70,.08);color:#e5bd70;font-size:12px;line-height:1.5}.npc-switch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0 16px}.npc-switch{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line,#2b2b33);border-radius:10px;background:rgba(255,255,255,.025);cursor:pointer}.npc-switch input{margin-top:2px;accent-color:#6602a3}.npc-switch b,.npc-switch small{display:block}.npc-switch b{font-size:13px}.npc-switch small{font-size:11px;color:var(--muted,#999);margin-top:3px;line-height:1.35}.npc-field-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 16px}.npc-field{display:flex;flex-direction:column;gap:6px}.npc-field>span{font-size:11px;color:var(--muted,#999);font-weight:800}.npc-field input,.npc-field select,.npc-code-list,.npc-class-table input,.npc-wave-inputs input{width:100%;box-sizing:border-box;background:#19191f;border:1px solid var(--line,#303039);border-radius:8px;color:#fff;padding:9px 10px;font:inherit;outline:none}.npc-field input:focus,.npc-code-list:focus,.npc-class-table input:focus,.npc-wave-inputs input:focus{border-color:#6602a3;box-shadow:0 0 0 2px rgba(102,2,163,.14)}.npc-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.npc-profile{padding:13px;border:1px solid var(--line,#2c2c34);border-radius:10px;background:rgba(255,255,255,.025)}.npc-profile b,.npc-profile span{display:block}.npc-profile span{font-size:11px;color:var(--muted,#999);margin-top:5px;line-height:1.5}.npc-zone-list{display:flex;flex-direction:column}.npc-zone-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--line,#292930)}.npc-zone-row:last-child{border-bottom:0}.npc-zone-row b,.npc-zone-row span{display:block}.npc-zone-row span{font-size:11px;color:var(--muted,#999);margin-top:4px}.npc-zone-row>div:last-child{display:flex;gap:7px}.npc-editor-card.hidden{display:none!important}.npc-class-table td input{min-width:72px;padding:7px}.npc-class-table td:first-child small{display:block;color:var(--muted,#999);font-size:10px;margin-top:4px}.npc-wave-list{display:flex;flex-direction:column;gap:10px}.npc-wave-row{display:grid;grid-template-columns:minmax(160px,.55fr) minmax(0,1.45fr);gap:14px;align-items:start;padding:13px;border:1px solid var(--line,#2c2c34);border-radius:10px;background:rgba(255,255,255,.02)}.npc-wave-row>div:first-child b,.npc-wave-row>div:first-child small{display:block}.npc-wave-row>div:first-child small{color:var(--muted,#999);font-size:11px;margin-top:5px;line-height:1.45}.npc-wave-inputs{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:8px}.npc-wave-inputs label span{display:block;font-size:10px;color:var(--muted,#999);margin-bottom:4px}.npc-wave-inputs input{padding:7px 8px}.npc-loot-card p{margin:0;color:var(--muted,#aaa);font-size:12px;line-height:1.6}.npc-loot-card code{color:#ddb1fb;background:rgba(102,2,163,.12);padding:2px 5px;border-radius:5px}.npc-advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.npc-code-list{min-height:220px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.55}.dashboard-zombie-banner{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 14px;padding:12px 15px;border:1px solid rgba(102,2,163,.45);border-radius:11px;background:linear-gradient(135deg,rgba(102,2,163,.18),rgba(102,2,163,.035))}.dashboard-zombie-banner b,.dashboard-zombie-banner span{display:block}.dashboard-zombie-banner b{color:#ebccff}.dashboard-zombie-banner span{color:var(--muted,#aaa);font-size:11px;margin-top:3px}.dashboard-zombie-banner .btn{flex:0 0 auto}
@media(max-width:1100px){.npc-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.npc-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.npc-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.npc-switch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.npc-advanced-grid{grid-template-columns:1fr}.npc-wave-row{grid-template-columns:1fr}}
@media(max-width:650px){.npc-overview-grid,.npc-field-grid,.npc-profile-grid,.npc-switch-grid{grid-template-columns:1fr}.npc-wave-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.npc-zone-row,.dashboard-zombie-banner{align-items:flex-start;flex-direction:column}.npc-zone-row>div:last-child{width:100%}.npc-zone-row>div:last-child .btn{flex:1}.npc-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.npc-tabs button{white-space:nowrap}}
@media(min-width:3200px){.npc-tabs button,.npc-switch b,.npc-field>span,.npc-zone-row span,.npc-wave-row small{font-size:16px!important}.npc-kpi>b{font-size:34px}.npc-kpi>span,.npc-kpi>small,.npc-switch small,.npc-profile span{font-size:15px!important}.npc-field input,.npc-code-list,.npc-class-table input,.npc-wave-inputs input{font-size:17px!important;padding:12px 13px!important}}
.npc-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.npc-mini-grid label>span{display:block;font-size:9px;color:var(--muted,#999);margin-bottom:3px}.npc-mini-grid input{width:100%;box-sizing:border-box;background:#19191f;border:1px solid var(--line,#303039);border-radius:7px;color:#fff;padding:7px 8px;font:inherit;font-size:11px}.npc-zone-kind{display:inline-flex;margin-left:6px;padding:3px 6px;border-radius:999px;font-style:normal;font-size:9px;vertical-align:middle;background:rgba(255,255,255,.08);color:#bbb}.npc-zone-kind.safe{background:rgba(66,201,113,.14);color:#68dc93}.npc-zone-kind.warning{background:rgba(255,190,70,.12);color:#ffc35c}.npc-zone-kind.danger{background:rgba(255,115,85,.13);color:#ff8e78}.npc-zone-kind.hotzone{background:rgba(192,54,255,.15);color:#dc8fff}.npc-zone-kind.horde{background:rgba(255,55,75,.15);color:#ff7887}
@media(min-width:3200px){.npc-mini-grid label>span,.npc-zone-kind{font-size:13px!important}.npc-mini-grid input{font-size:16px!important}}


/* === ORIGINAL public/rpo-team.css === */
/* RPO Control v1.5.51 – Teamaktivität */
.team-member-cell > div{min-width:0}
.team-last-seen{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:5px;padding:2px 7px;border-radius:7px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035);color:#9292a0;font-size:11px;font-weight:650;line-height:1.35;white-space:nowrap}
.team-last-seen.is-online{color:#8ee8b0;background:rgba(55,190,112,.10);border-color:rgba(55,190,112,.20)}
.team-last-seen.is-vacation{color:#e5c978;background:rgba(208,168,48,.09);border-color:rgba(208,168,48,.18)}
.team-last-seen.is-inactive{color:#ffb8bf;background:rgba(229,57,75,.17);border-color:rgba(255,78,96,.34);box-shadow:inset 0 0 0 1px rgba(255,78,96,.04)}
.team-last-seen.is-unknown{color:#7f7f8c}
@media(max-width:720px){.team-last-seen{white-space:normal;width:fit-content}}


/* === ORIGINAL public/faction-time.css === */
/* RPO Control v1.5.29 - Fraktions-Dienstzeiten */
.faction-member-columns,
.faction-member-row-time{
  display:grid!important;
  grid-template-columns:44px minmax(240px,1.5fr) minmax(190px,.9fr) minmax(150px,.72fr) 96px 138px 164px;
  gap:14px;
  align-items:center;
}
.faction-member-columns{
  padding:2px 16px 10px;
  color:var(--muted,#858594);
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.faction-member-row-time{min-width:0}
.faction-member-row-time>*{min-width:0}
.faction-member-last-time,.faction-member-total-time{display:flex;align-items:center;min-width:0}
.faction-member-total-time b{font-size:13px;color:#dedee8;white-space:nowrap}
.faction-member-time-link{
  appearance:none;border:0;background:transparent;padding:5px 0;margin:0;color:#c38be5;
  display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;font:inherit;font-weight:750;
  cursor:pointer;text-align:left;transition:.14s ease;
}
.faction-member-time-link:hover{color:#e0b5f8}
.faction-member-time-link.is-active{color:#78d9aa}
.faction-member-time-link .rpo-icon{width:14px;height:14px;flex:0 0 auto}
.faction-member-time-empty{color:var(--muted,#858594);font-size:12px}

.faction-time-modal{width:min(1080px,calc(100vw - 44px));max-height:min(860px,88vh);display:flex;flex-direction:column;overflow:hidden}
.faction-time-modal>h2{margin:6px 0 18px}
.faction-time-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.faction-time-summary>div{padding:13px 14px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);border-radius:12px}
.faction-time-summary span{display:block;color:var(--muted,#8d8d99);font-size:11px;margin-bottom:5px}
.faction-time-summary b{font-size:15px;color:#f2f2f5}
.faction-time-warning{padding:11px 13px;margin-bottom:14px;border-radius:11px;border:1px solid rgba(245,197,66,.24);background:rgba(245,197,66,.07);color:#e8d49a;font-size:12px}
.faction-time-list-head,.faction-time-session{display:grid;grid-template-columns:38px minmax(210px,1fr) minmax(210px,1fr) 125px;gap:12px;align-items:center}
.faction-time-list-head{padding:0 12px 8px;color:var(--muted,#858594);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.faction-time-list{overflow:auto;display:grid;gap:7px;padding-right:4px}
.faction-time-session{padding:11px 12px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.022);border-radius:11px}
.faction-time-session.is-active{border-color:rgba(71,196,134,.28);background:rgba(71,196,134,.055)}
.faction-time-session-mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:rgba(102,2,163,.13);color:#c98ae9}
.faction-time-session-mark .rpo-icon{width:17px;height:17px}
.faction-time-session div{min-width:0}
.faction-time-session div b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.faction-time-session div small{display:block;color:var(--muted,#888895);font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.faction-time-session>strong{font-size:13px;text-align:right;white-space:nowrap;color:#e7e7ed}

@media(max-width:1450px){
  .faction-member-columns,.faction-member-row-time{grid-template-columns:42px minmax(205px,1.35fr) minmax(160px,.8fr) minmax(128px,.65fr) 88px 124px 150px;gap:10px}
}
@media(max-width:1050px){
  .faction-member-columns{display:none!important}
  .faction-member-row-time{grid-template-columns:42px minmax(0,1fr) auto;gap:6px 12px;align-items:center}
  .faction-member-row-time>.faction-member-avatar{grid-column:1;grid-row:1/4}
  .faction-member-row-time>.faction-member-main{grid-column:2;grid-row:1}
  .faction-member-row-time>.faction-member-last-time{grid-column:2;grid-row:2}
  .faction-member-row-time>.faction-member-total-time{grid-column:2;grid-row:3}
  .faction-member-row-time>.faction-member-status{grid-column:3;grid-row:1}
  .faction-member-row-time>.badge{grid-column:3;grid-row:2;justify-self:end}
  .faction-member-row-time>.faction-member-rating{grid-column:3;grid-row:3}
  .faction-member-total-time b:before{content:'Gesamt: ';color:var(--muted,#858594);font-weight:500}
}
@media(max-width:720px){
  .faction-time-summary{grid-template-columns:1fr}
  .faction-time-list-head{display:none}
  .faction-time-session{grid-template-columns:32px 1fr;gap:8px 10px}
  .faction-time-session>div:nth-of-type(2),.faction-time-session>strong{grid-column:2}
  .faction-time-session>strong{text-align:left}
}


/*
 * 1080p / kleinere Desktop-Aufloesungen:
 * Das bestehende Fraktionslayout hat rechts eine feste Seitenleiste. Nach den
 * zusaetzlichen Zeitspalten wurde der Hauptbereich breiter und konnte unter die
 * Seitenkarten laufen. Unterhalb grosser Desktop-Aufloesungen werden Haupt- und
 * Seitenbereich deshalb sauber untereinander angeordnet. Auf 4K bleibt das
 * bisherige Zweispalten-Layout bestehen.
 */
@media (max-width: 2300px){
  .faction-detail-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px!important;
    align-items:start!important;
  }
  .faction-detail-main,
  .faction-detail-side{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    position:static!important;
  }
  .faction-detail-side{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
    align-items:start!important;
  }
  .faction-detail-side>.card{
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    position:static!important;
  }
  .faction-members-card{
    overflow:hidden!important;
    min-width:0!important;
  }
}

@media (max-width: 1280px){
  .faction-detail-side{
    grid-template-columns:minmax(0,1fr)!important;
  }
}


/* v1.5.30 - Dienstzeit-Modal: der globale Modal-Wrapper war auf ~560px begrenzt. */
.modal.modal-faction-time{
  width:min(1120px,calc(100vw - 56px))!important;
  max-width:min(1120px,calc(100vw - 56px))!important;
}
.modal.modal-xl .faction-time-modal{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box;
}
@media(max-width:1200px){
  .modal.modal-faction-time{width:calc(100vw - 40px)!important;max-width:calc(100vw - 40px)!important}
  .faction-time-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .faction-time-summary>div:last-child{grid-column:1/-1}
  .faction-time-list-head,.faction-time-session{grid-template-columns:34px minmax(150px,1fr) minmax(150px,1fr) 105px;gap:9px}
}
@media(max-width:780px){
  .modal.modal-faction-time{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}
  .faction-time-modal{max-height:90vh}
  .faction-time-summary{grid-template-columns:1fr}
  .faction-time-summary>div:last-child{grid-column:auto}
  .faction-time-list-head{display:none}
  .faction-time-session{grid-template-columns:32px minmax(0,1fr)!important}
  .faction-time-session>div,.faction-time-session>strong{grid-column:2!important;text-align:left!important}
}


/* === ORIGINAL public/discord-bot.css === */
/* RPO Control · Discord Bot Refactor */
.rpo-bot-page{--rpo-bot-accent:#6602a3;max-width:1600px;margin:0 auto;padding-bottom:36px;color:var(--text,#f5f5f7)}
.rpo-bot-page code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.rpo-bot-hero{padding:22px 24px;margin-bottom:18px;background:radial-gradient(circle at top left,rgba(139,35,201,.18),transparent 36%),linear-gradient(135deg,rgba(102,2,163,.32),rgba(18,18,26,.96));border:1px solid rgba(139,35,201,.22);display:flex;align-items:center;justify-content:space-between;gap:22px;overflow:hidden}
.rpo-bot-hero-main{display:flex;align-items:center;gap:18px;min-width:0}
.rpo-bot-logo-wrap{width:72px;height:72px;border-radius:20px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);display:grid;place-items:center;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.rpo-bot-logo{width:54px;height:54px;object-fit:contain}
.rpo-bot-kicker{font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.18em;color:#cf9df3;display:block;margin-bottom:8px}
.rpo-bot-hero h1{font-size:clamp(28px,2vw,36px);letter-spacing:-.04em;margin:0 0 8px}
.rpo-bot-hero p{font-size:13px;color:var(--muted,#9a9aa5);margin:0 0 12px;max-width:720px}
.rpo-bot-hero-badges{display:flex;flex-wrap:wrap;gap:8px}
.rpo-bot-hero-badges span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.06);font-size:12px;color:#e9e0f2}
.rpo-bot-online{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:10px 14px;white-space:nowrap;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:12px;font-weight:700;align-self:flex-start}
.rpo-bot-online i{height:8px;width:8px;border-radius:50%;background:#d27373}.rpo-bot-online.is-online i{background:#35d07f;box-shadow:0 0 0 4px rgba(53,208,127,.14)}
.rpo-bot-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}
.rpo-bot-sidebar{padding:14px;position:sticky;top:84px;background:linear-gradient(180deg,rgba(18,18,22,.98),rgba(12,12,18,.98))}
.rpo-bot-nav-group+ .rpo-bot-nav-group{margin-top:14px;padding-top:14px;border-top:1px solid #23232c}
.rpo-bot-nav-group small{display:block;font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#818191;margin:2px 8px 8px}
.rpo-bot-nav-btn{width:100%;border:1px solid transparent;background:transparent;color:#dfdfea;border-radius:12px;padding:11px 12px;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left;transition:all .16s ease}
.rpo-bot-nav-btn:hover{background:#181820;border-color:#272733}
.rpo-bot-nav-btn.current{background:linear-gradient(90deg,rgba(102,2,163,.26),rgba(102,2,163,.09));border-color:rgba(139,35,201,.45);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.rpo-bot-nav-icon{width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.06);display:grid;place-items:center;font-size:14px;flex:0 0 auto}
.rpo-bot-stage{min-width:0}
.rpo-bot-intro{margin:0 0 16px}.rpo-bot-intro h2{font-size:25px;letter-spacing:-.03em;margin:0 0 6px}.rpo-bot-intro p{margin:0;color:var(--muted,#999);font-size:13px;max-width:900px}
.rpo-bot-overview-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:16px}
.rpo-bot-overview-main,.rpo-bot-overview-side{display:grid;gap:16px;align-content:start}
.rpo-bot-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rpo-bot-kpi{padding:18px 18px 16px;background:linear-gradient(180deg,rgba(18,18,24,.98),rgba(12,12,16,.98));position:relative;overflow:hidden}
.rpo-bot-kpi::after{content:"";position:absolute;right:-18px;top:-18px;width:82px;height:82px;border-radius:50%;background:rgba(102,2,163,.12)}
.rpo-bot-kpi small{display:block;color:#9696a2;font-size:11px;margin-bottom:6px}.rpo-bot-kpi strong{display:block;font-size:32px;line-height:1.05}.rpo-bot-kpi span{display:block;font-size:11px;color:#b7a7c9;margin-top:6px}
.rpo-bot-status-card h3,.rpo-bot-preview-card h3{margin:0 0 14px;font-size:15px}
.rpo-bot-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.rpo-bot-status-grid>div{padding:12px;border-radius:12px;background:#17171e;border:1px solid #262631}
.rpo-bot-status-grid span{display:block;font-size:11px;color:#8e8e99;margin-bottom:6px}.rpo-bot-status-grid strong{display:block;font-size:14px;word-break:break-word}
.rpo-bot-quick-actions{display:grid;gap:8px}.rpo-bot-quick-actions .btn{justify-content:flex-start}
.rpo-bot-note-list{margin:0;padding-left:18px;color:#d7d7df;font-size:13px;display:grid;gap:8px}
.rpo-bot-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:16px}
.rpo-bot-editor{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:16px;align-items:start}
.rpo-bot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rpo-bot-form{display:flex;flex-direction:column;gap:16px}.rpo-bot-field{display:flex;flex-direction:column;gap:7px;margin:0;font-size:12px;font-weight:650}.rpo-bot-field>span{font-weight:700;color:#efeff4}
.rpo-bot-field input:not([type=checkbox]),.rpo-bot-field textarea,.rpo-bot-field select{width:100%;min-width:0;border-radius:10px;padding:12px 12px;background:rgba(12,12,18,.72);border:1px solid #2b2b34;color:#fafafa;outline-offset:2px;font:inherit;font-size:13px}
.rpo-bot-field textarea{resize:vertical;min-height:104px}
.rpo-bot-field input:focus,.rpo-bot-field textarea:focus,.rpo-bot-field select:focus,.rpo-bot-channel-trigger:focus,.rpo-bot-channel-search:focus{outline:none;border-color:rgba(139,35,201,.55);box-shadow:0 0 0 3px rgba(102,2,163,.16)}
.rpo-bot-field small{color:#9a94aa;font-size:11px;font-weight:400;line-height:1.45}
.rpo-bot-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.rpo-bot-note-box{margin-top:14px;padding:14px;border-radius:12px;background:rgba(102,2,163,.07);border:1px solid rgba(139,35,201,.18)}
.rpo-bot-note-box p{margin:0 0 8px}.rpo-bot-note-box ul{margin:0;padding-left:18px;display:grid;gap:6px;font-size:12px;color:#d4d0de}
.rpo-bot-preview{padding:14px;border-radius:14px;background:linear-gradient(180deg,#0f1117,#0d1015);border:1px solid #252730}
.rpo-bot-preview-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#8f90a1;margin-bottom:12px}
.rpo-bot-discord-message{display:flex;gap:12px;align-items:flex-start}.rpo-bot-discord-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:#161822}
.rpo-bot-discord-body{min-width:0;flex:1}
.rpo-bot-discord-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}.rpo-bot-discord-head strong{font-size:14px}.rpo-bot-discord-head span{background:#5865f2;color:#fff;border-radius:6px;padding:2px 6px;font-size:10px;font-weight:700;letter-spacing:.03em}.rpo-bot-discord-head small{color:#8d8f9e;font-size:11px}
.rpo-bot-discord-tags{font-size:12px;color:#c7cdfd;margin-bottom:8px}
.rpo-bot-discord-embed{display:flex;align-items:stretch;background:#11131a;border:1px solid #202431;border-radius:8px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.rpo-bot-discord-embed-line{width:4px;background:#6602a3;flex:0 0 auto}
.rpo-bot-discord-embed-body{padding:12px 12px 10px;min-width:0;flex:1}
.rpo-bot-discord-brand{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#d7c1ed;font-size:12px;font-weight:700}.rpo-bot-discord-brand img{width:22px;height:22px;border-radius:50%;object-fit:cover}
.rpo-bot-discord-embed-body h4{font-size:15px;margin:0 0 8px;line-height:1.3}.rpo-bot-discord-embed-body p{margin:0 0 10px;font-size:13px;line-height:1.5;color:#e7e7ed}
.rpo-bot-discord-field{margin-top:10px;padding:10px 11px;border-radius:8px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.rpo-bot-discord-field strong{display:block;font-size:12px;margin-bottom:5px}.rpo-bot-discord-field span{display:block;font-size:12px;color:#dddce4;line-height:1.45;white-space:normal}
.rpo-bot-discord-footer{margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.06);font-size:11px;color:#9899a8}
.rpo-bot-records{margin-top:22px;display:grid;gap:10px}.rpo-bot-records h3{margin:0 0 2px;font-size:15px;color:#fff}.rpo-bot-records>h3 small{color:#8f8f9b;font-weight:500}
.rpo-bot-record{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,rgba(18,18,24,.98),rgba(14,14,20,.98))}
.rpo-bot-record>div:first-child{display:flex;flex-direction:column;gap:6px;min-width:0}.rpo-bot-record strong{font-size:14px;overflow-wrap:anywhere}.rpo-bot-record small{font-size:11px;color:#9d9da9}
.rpo-bot-rights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.rpo-bot-rights label,.rpo-bot-checks label{display:flex;gap:8px;font-size:12px;align-items:flex-start;padding:10px;border:1px solid #2b2b35;border-radius:10px;background:#15151b}.rpo-bot-rights input,.rpo-bot-checks input{accent-color:var(--rpo-bot-accent)}
.rpo-bot-checks{display:grid;gap:10px}
.rpo-bot-table-wrap{overflow:auto}.rpo-bot-danger{color:#ed8c8c}
.rpo-bot-voters-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:12px 0}.rpo-bot-voters-grid>div{display:flex;flex-direction:column;gap:8px}.rpo-bot-voters-grid a{font-size:12px;color:#bda1ec;overflow-wrap:anywhere}.rpo-bot-voters-head{display:flex;align-items:center;justify-content:space-between;gap:12px}

/* custom channel picker */
.rpo-bot-channel-picker{position:relative}.rpo-bot-channel-trigger{width:100%;border-radius:10px;padding:12px 12px;background:rgba(12,12,18,.72);border:1px solid #2b2b34;color:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;text-align:left}
.rpo-bot-channel-display{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rpo-bot-channel-chevron{opacity:.8;font-size:16px;line-height:1}.rpo-bot-channel-popover{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:22;background:#101116;border:1px solid #2b2b34;border-radius:14px;padding:12px;box-shadow:0 24px 65px rgba(0,0,0,.46)}
.rpo-bot-channel-search{width:100%;height:40px;border-radius:10px;border:1px solid #2b2b34;background:#0c0d12;color:#fff;padding:0 12px;margin-bottom:10px;font:inherit}
.rpo-bot-channel-list{max-height:270px;overflow:auto;display:grid;gap:7px}.rpo-bot-channel-option{width:100%;text-align:left;border:1px solid #292b35;background:#151721;color:#f6f6fb;border-radius:10px;padding:10px 11px;display:flex;flex-direction:column;gap:4px;cursor:pointer}.rpo-bot-channel-option:hover{background:#1b1d28;border-color:#34384a}.rpo-bot-channel-option[aria-selected=true]{border-color:rgba(139,35,201,.55);background:rgba(102,2,163,.15)}.rpo-bot-channel-option:disabled{cursor:not-allowed;opacity:.46}
.rpo-bot-channel-name{font-size:13px;font-weight:700}.rpo-bot-channel-meta{font-size:11px;color:#9d9fb0}.rpo-bot-channel-empty{font-size:12px;color:#9195aa;padding:4px 2px 8px}.rpo-bot-channel-count{margin-top:10px;font-size:11px;color:#898b9a}

/* roles */
.rpo-bot-role-options{max-height:220px;overflow:auto;border:1px solid #2a2c35;border-radius:12px;padding:8px;background:#0f1015;display:grid;gap:6px}.rpo-bot-role{display:flex;align-items:center;gap:12px;font-size:12px;padding:10px;border-radius:10px;background:#15161c;border:1px solid #222430;cursor:pointer}.rpo-bot-role[hidden]{display:none}.rpo-bot-role small{margin-left:auto}.rpo-bot-role input{accent-color:var(--rpo-bot-accent)}

@media(max-width:1180px){.rpo-bot-layout{grid-template-columns:1fr}.rpo-bot-sidebar{position:static}.rpo-bot-overview-grid,.rpo-bot-editor,.rpo-bot-columns{grid-template-columns:1fr}}
@media(max-width:760px){.rpo-bot-hero{padding:18px;flex-direction:column;align-items:flex-start}.rpo-bot-hero-main{align-items:flex-start}.rpo-bot-metrics,.rpo-bot-grid,.rpo-bot-rights,.rpo-bot-status-grid{grid-template-columns:1fr 1fr}.rpo-bot-record{flex-direction:column;align-items:stretch}.rpo-bot-voters-grid{grid-template-columns:1fr}}
@media(max-width:520px){.rpo-bot-hero-main{flex-direction:column}.rpo-bot-logo-wrap{width:64px;height:64px}.rpo-bot-metrics,.rpo-bot-grid,.rpo-bot-rights,.rpo-bot-status-grid{grid-template-columns:1fr}.rpo-bot-sidebar{padding:12px}.rpo-bot-nav-btn{padding:10px 11px}.rpo-bot-discord-message{flex-direction:column}.rpo-bot-discord-avatar{width:36px;height:36px}}

/* 1.5.59 - Statusbearbeitung: RPO-internes Dialogfenster statt Browser-prompt */
.rpo-bot-status-dialog{color:#f5f5f7;background:#121219;border:1px solid #383040;border-radius:19px;width:min(650px,calc(100vw - 30px));max-height:min(860px,calc(100dvh - 34px));padding:0;box-shadow:0 30px 120px rgba(0,0,0,.78);overflow-y:auto;overscroll-behavior:contain}
.rpo-bot-status-dialog::backdrop{background:rgba(0,0,0,.76);backdrop-filter:blur(8px)}
.rpo-bot-status-dialog-head{padding:22px 24px 18px;background:radial-gradient(circle at top left,rgba(102,2,163,.25),transparent 75%),#17131f;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #34273e}
.rpo-bot-status-kicker{display:block;font-size:10px;color:#c590eb;letter-spacing:.14em;font-weight:750;margin-bottom:7px}
.rpo-bot-status-dialog h2{margin:0 0 8px;font-size:23px;letter-spacing:-.03em}
.rpo-bot-status-dialog-head p{margin:0;color:#ac9fb8;line-height:1.5;font-size:12px}
.rpo-bot-status-close{flex:0 0 auto;border:1px solid #39323f;background:#24202b;color:#f1eaf5;border-radius:9px;width:34px;height:34px;cursor:pointer;font-size:22px;line-height:1}
.rpo-bot-status-subject{margin:18px 24px 0;background:#1a1921;border:1px solid #302c38;border-radius:12px;padding:14px;display:grid;gap:5px}
.rpo-bot-status-subject span{font-size:10px;letter-spacing:.1em;color:#a79ab1;text-transform:uppercase}
.rpo-bot-status-subject strong{font-size:14px;overflow-wrap:anywhere}
.rpo-bot-status-subject small{font-size:11px;color:#a9a3b0}
.rpo-bot-status-form{padding:20px 24px 24px;display:grid;gap:19px}
.rpo-bot-status-fieldset{min-width:0;margin:0;padding:0;border:0}
.rpo-bot-status-fieldset legend{font-size:12px;font-weight:700;color:#eeeaf1;margin-bottom:11px}
.rpo-bot-status-options{display:grid;gap:7px}
.rpo-bot-status-choice{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #302d38;border-radius:11px;background:#191820;cursor:pointer;transition:background .13s,border-color .13s}
.rpo-bot-status-choice:hover{border-color:#6d398c;background:#221b29}
.rpo-bot-status-choice:has(input:checked){border-color:#9854ca;background:linear-gradient(90deg,rgba(102,2,163,.28),rgba(102,2,163,.09))}
.rpo-bot-status-choice:has(input:focus-visible){outline:2px solid #b472e4;outline-offset:2px}
.rpo-bot-status-choice input{position:absolute;opacity:0;width:1px;height:1px}
.rpo-bot-status-choice-icon{width:32px;height:32px;display:grid;place-items:center;background:#2b2633;border-radius:9px;flex:0 0 auto}
.rpo-bot-status-choice-text{display:grid;gap:3px;flex:1;min-width:0}
.rpo-bot-status-choice-text strong{font-size:12px;color:#f5f2fa}
.rpo-bot-status-choice-text small{font-size:11px;color:#9e99a8}
.rpo-bot-status-choice-check{color:#dda6ff;font-weight:900;opacity:0;font-size:16px}
.rpo-bot-status-choice:has(input:checked) .rpo-bot-status-choice-check{opacity:1}
.rpo-bot-status-form textarea{resize:vertical;min-height:90px}
.rpo-bot-status-form .rpo-bot-field>span small{font-size:11px;color:#9e99aa;font-weight:400}
.rpo-bot-status-error{margin:0;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,89,108,.4);background:rgba(255,89,108,.08);color:#ffb0b7;font-size:12px;line-height:1.5;white-space:pre-wrap}
.rpo-bot-status-footer{display:flex;gap:9px;align-items:center;justify-content:flex-end;padding-top:12px;border-top:1px solid #302c38}
@media(max-width:570px){.rpo-bot-status-dialog-head{padding:18px}.rpo-bot-status-subject{margin:14px 18px 0}.rpo-bot-status-form{padding:18px}.rpo-bot-status-footer{flex-wrap:wrap}.rpo-bot-status-footer .btn{flex:1}}

/* v1.5.60 · Wunschverwaltung */
.rpo-bot-reconcile{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px;background:linear-gradient(120deg,rgba(102,2,163,.08),#121217)}
.rpo-bot-reconcile strong{display:block;font-size:14px;margin-bottom:5px}
.rpo-bot-reconcile p{font-size:12px;color:#aaaab4;line-height:1.6;max-width:620px;margin:0 0 5px}
.rpo-bot-reconcile small{font-size:11px;color:#c1a5dd}
.rpo-bot-reconcile .btn{flex-shrink:0}
.rpo-bot-delete-dialog .rpo-bot-status-choice-text small{line-height:1.4}
.rpo-bot-delete-dialog .btn.danger{border-color:rgba(255,79,100,.4);background:rgba(255,79,100,.14);color:#ff9da8}
@media(max-width:720px){.rpo-bot-reconcile{flex-direction:column;align-items:stretch}.rpo-bot-reconcile .btn{width:100%}}

/* v1.5.62 · Ticket management within the isolated Discord Bot module */
.rpo-bot-ticket-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.rpo-bot-ticket-kpi{background:linear-gradient(160deg,#19131f,#111116);padding:18px 20px;display:flex;flex-direction:column;gap:10px}
.rpo-bot-ticket-kpi span{color:#a9a1b4;font-size:12px}.rpo-bot-ticket-kpi strong{font-size:30px;line-height:1}
.rpo-bot-ticket-hint{color:#b9adca;font-size:12px;line-height:1.5;border-left:3px solid #6602a3;padding-left:12px;margin-top:12px}
.rpo-bot-ticket-results{margin-top:14px;max-height:520px;overflow:auto}
.rpo-bot-ticket-archive-note{background:rgba(102,2,163,.14);border:1px solid rgba(139,35,201,.24);border-radius:10px;padding:12px;color:#dfc3ef;font-size:12px;margin-bottom:12px}
.rpo-bot-ticket-section{margin-top:18px}.rpo-bot-ticket-section h3{margin:0 0 12px;font-size:17px}
.rpo-bot-ticket-section>p,.rpo-bot-editor .card>p{color:#9f9fad;font-size:12px;line-height:1.55}
.rpo-bot-ticket-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.rpo-bot-ticket-category{background:#16151c;border:1px solid #292732;border-radius:13px;padding:14px;display:flex;flex-direction:column;gap:12px;min-width:0}
.rpo-bot-ticket-category-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.rpo-bot-ticket-category-head b{font-size:14px}.rpo-bot-ticket-category-head small{color:#8d879a;font-size:11px}
.rpo-bot-ticket-category .rpo-bot-field input[readonly]{opacity:.7;cursor:default}
@media(max-width:900px){.rpo-bot-ticket-summary,.rpo-bot-ticket-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.rpo-bot-ticket-summary,.rpo-bot-ticket-category-list{grid-template-columns:1fr}}
.rpo-bot-ticket-modal-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(2,2,7,.83);backdrop-filter:blur(7px);display:grid;place-items:center;padding:20px}
.rpo-bot-ticket-modal{width:min(560px,100%);background:#16141d;border:1px solid #373043;border-radius:18px;box-shadow:0 40px 100px rgba(0,0,0,.64);padding:24px;color:#f5f2f9}
.rpo-bot-ticket-modal-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:22px}.rpo-bot-ticket-modal-head span{font-size:10px;letter-spacing:.16em;color:#bc8ad6}.rpo-bot-ticket-modal-head h3{font-size:22px;margin:8px 0}.rpo-bot-ticket-modal-head p{font-size:13px;color:#aba3b5;line-height:1.55;margin:0}.rpo-bot-ticket-modal-head>button{border:1px solid #403746;background:#221d28;color:#ddd;border-radius:8px;padding:8px 12px;cursor:pointer}.rpo-bot-ticket-modal-foot{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}

.rpo-bot-check{display:flex;align-items:center;gap:10px;font-size:13px}.rpo-bot-check input{accent-color:#6602a3}

/* v1.5.69 · Direct messages / member autocomplete */
.rpo-bot-delivery-switch{display:grid;gap:9px}.rpo-bot-delivery-switch>span{font-size:12px;font-weight:700}
.rpo-bot-delivery-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.rpo-bot-delivery-options label{display:flex;align-items:center;cursor:pointer}
.rpo-bot-delivery-options input{position:absolute;opacity:0;width:1px;height:1px}
.rpo-bot-delivery-options label span{width:100%;text-align:center;font-size:12px;font-weight:700;padding:12px 8px;border:1px solid #30303b;background:#17171d;border-radius:10px;transition:.14s}
.rpo-bot-delivery-options label:hover span{background:#211b29}
.rpo-bot-delivery-options label input:checked+span{background:rgba(102,2,163,.25);border-color:#8643ba;color:#f1d6ff}
.rpo-bot-delivery-options input:focus-visible+span{outline:2px solid #b472e4;outline-offset:2px}
#rpoBotDirectTarget .rpo-bot-field{position:relative}
.rpo-bot-member-results{position:relative;z-index:2;background:#111118;border:1px solid #343040;border-radius:12px;max-height:300px;overflow-y:auto;padding:6px;display:grid;gap:5px;box-shadow:0 15px 30px #0005}
.rpo-bot-member-results[hidden],#rpoBotDirectTarget[hidden],#rpoBotChannelTarget[hidden],#rpoBotMessageRoles[hidden],#rpoBotMemberSelected[hidden]{display:none!important}
.rpo-bot-member-option{width:100%;display:flex;align-items:center;gap:10px;background:#191821;border:1px solid transparent;border-radius:10px;padding:9px 11px;color:#f5f5f9;text-align:left;cursor:pointer}
.rpo-bot-member-option:hover,.rpo-bot-member-option:focus-visible{background:rgba(102,2,163,.18);border-color:#8054a0;outline:0}
.rpo-bot-member-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(125deg,#6602a3,#2a2541);display:grid;place-items:center;font-weight:800;color:#fff;flex-shrink:0}
.rpo-bot-member-option span:last-child{min-width:0;display:grid;gap:3px}
.rpo-bot-member-option strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}.rpo-bot-member-option small{font-size:11px;color:#b1abb9}
.rpo-bot-member-empty{font-size:12px;padding:10px;color:#a9a0b8}
.rpo-bot-member-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(102,2,163,.11);border:1px solid rgba(141,70,196,.4);border-radius:11px;padding:12px}
.rpo-bot-member-selected div{min-width:0;display:grid;gap:4px}
.rpo-bot-member-selected strong{overflow-wrap:anywhere}.rpo-bot-member-selected small{color:#b7a4c7;overflow-wrap:anywhere}
.rpo-bot-discord-plain{font-size:13px;color:#e7e7ed;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:500px){.rpo-bot-delivery-options{grid-template-columns:1fr}}

/* v1.5.71 - Discord Ankündigungen: gemeinsame Redaktion für Nachrichten und Termine */
.rpo-bot-announcement-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 3px}
.rpo-bot-announcement-modes label{display:flex;align-items:center;cursor:pointer;min-width:0}
.rpo-bot-announcement-modes input{position:absolute;opacity:0;pointer-events:none}
.rpo-bot-announcement-modes label span{width:100%;display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border:1px solid #2c2d38;border-radius:10px;background:#15151d;color:#bdbbc6;font-size:12px;font-weight:700;transition:background .16s,border-color .16s}
.rpo-bot-announcement-modes input:checked+span{border-color:rgba(160,80,218,.57);background:rgba(102,2,163,.19);color:#f0dcff}
.rpo-bot-announcement-modes input:focus-visible+span{outline:2px solid #9c54ce;outline-offset:2px}
.rpo-bot-announcement-event{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px;border:1px solid rgba(139,35,201,.24);border-radius:12px;background:rgba(102,2,163,.07)}
.rpo-bot-announcement-event[hidden]{display:none!important}
.rpo-bot-format-toolbar{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:-7px;border:1px solid #2a2a35;border-radius:10px 10px 0 0;background:#11121a;padding:8px}
.rpo-bot-format-btn{display:grid;place-items:center;min-width:34px;height:32px;padding:4px 8px;border:1px solid #30303d;border-radius:7px;background:#1c1d27;color:#dddde7;font-size:12px;font-weight:700;cursor:pointer}
.rpo-bot-format-btn:hover,.rpo-bot-format-btn:focus-visible{background:rgba(102,2,163,.23);border-color:rgba(160,88,212,.65);color:#fff}
.rpo-bot-format-toolbar+textarea{border-top-left-radius:0!important;border-top-right-radius:0!important;line-height:1.55}
.rpo-bot-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#c4c1cb;font-size:12px;font-weight:600}
.rpo-bot-schedule-head{margin-top:3px;padding:12px 12px 0;border-top:1px solid #2b2935;display:grid;gap:5px}
.rpo-bot-schedule-head strong{font-size:13px}
.rpo-bot-schedule-head small{font-size:11px;color:#aaa6b6;line-height:1.5}
.rpo-bot-markdown-code{display:inline-block;padding:2px 5px;border-radius:4px;background:#08090e;color:#e4c3fe;font-family:ui-monospace,monospace;font-size:.9em}
.rpo-bot-markdown-spoiler{background:#292933;color:transparent;border-radius:3px;padding:0 2px}
.rpo-bot-markdown-spoiler:hover{color:inherit}
.rpo-bot-markdown-quote{display:inline-block;border-left:3px solid #9c4bd1;padding-left:9px;color:#bfb9c8}
.rpo-bot-discord-event-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 5px;padding-top:12px;border-top:1px solid #272835}
.rpo-bot-discord-event-fields div{display:grid;gap:5px;min-width:0}
.rpo-bot-discord-event-fields strong{font-size:12px;color:#e9d8f5}
.rpo-bot-discord-event-fields span{font-size:12px;color:#c8c6d0;overflow-wrap:anywhere}
.rpo-bot-reaction-preview{color:#92919d;font-size:11px;margin-top:11px;line-height:1.6}
@media(max-width:600px){.rpo-bot-announcement-event,.rpo-bot-discord-event-fields{grid-template-columns:1fr}}

/* RPO Ankündigungen – Bild-Upload mit Vorschau */
.rpo-bot-announcement-image{display:grid;gap:9px;padding:13px;border:1px solid #343041;border-radius:12px;background:#15131e}
.rpo-bot-announcement-image>span{font-size:13px;font-weight:700;color:#e6d8ef}
.rpo-bot-announcement-drop{display:inline-flex;align-items:center;justify-content:center;position:relative;min-height:42px;padding:10px 15px;border:1px dashed #8b4bb8;border-radius:10px;background:rgba(102,2,163,.14);color:#f3e7fb;cursor:pointer;font-size:13px;font-weight:600;overflow:hidden}
.rpo-bot-announcement-drop:hover,.rpo-bot-announcement-drop:focus-within{background:rgba(102,2,163,.26);border-color:#b67ee0}
.rpo-bot-announcement-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.rpo-bot-announcement-selected{display:grid;gap:9px;justify-items:start}
.rpo-bot-announcement-selected[hidden]{display:none!important}
.rpo-bot-announcement-selected img{display:block;width:min(100%,480px);max-height:260px;object-fit:contain;border-radius:9px;background:#0f0d16}
.rpo-bot-announcement-image small{font-size:11px;line-height:1.5;color:#b4aabd}
.rpo-bot-announcement-discord-image{display:block;width:100%;max-height:330px;object-fit:contain;object-position:left center;margin-top:11px;border-radius:7px}

/* v1.5.73 – DM Mehrfachauswahl und zugestellter Versandstatus */
#rpoBotMemberSelected[hidden],#rpoBotClearMember[hidden]{display:none!important}
.rpo-bot-members-selected{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.rpo-bot-member-chip{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%;border:1px solid rgba(141,70,196,.5);border-radius:10px;background:rgba(102,2,163,.14);padding:6px 6px 6px 10px;color:#f5ecfd;font-size:12px}
.rpo-bot-member-chip>span{min-width:0;overflow-wrap:anywhere;line-height:1.4}
.rpo-bot-member-chip small{color:#bdb0cc}
.rpo-bot-member-chip button{background:#282132;border:0;border-radius:7px;color:#ead6fb;font-size:18px;min-width:27px;min-height:27px;cursor:pointer}
.rpo-bot-member-chip button:hover{background:#6602a3;color:#fff}
.rpo-bot-dm-progress:not(:empty){border-radius:9px;padding:10px;margin-top:8px;background:rgba(102,2,163,.10);color:#ddc7ed;border:1px solid rgba(102,2,163,.3);font-size:12px;line-height:1.6;overflow-wrap:anywhere}

/* v1.5.74 – geschützter DM-Posteingang mit aufklappbaren Chatverläufen */
.rpo-bot-inbox[hidden],.rpo-bot-inbox-conversation[hidden]{display:none!important}
.rpo-bot-inbox{margin-top:18px;min-width:0}
.rpo-bot-inbox-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.rpo-bot-inbox-head h3{margin:0;color:#f2e8fa;font-size:17px}
.rpo-bot-inbox-head p{margin:5px 0 0;color:#aaa1b3;font-size:12px;line-height:1.55}
#rpoBotInboxBadge:not(:empty){display:inline-flex;min-width:22px;min-height:21px;align-items:center;justify-content:center;border-radius:20px;padding:1px 7px;background:#6602a3;color:white;font-size:11px}
.rpo-bot-inbox-empty{margin:0;padding:22px 12px;text-align:center;color:#a5a1b1;font-size:13px}
.rpo-bot-inbox-thread{border:1px solid #302a38;border-radius:12px;margin:9px 0;overflow:hidden;background:#121219}
.rpo-bot-inbox-toggle{display:flex;width:100%;align-items:center;text-align:left;gap:12px;padding:12px;border:0;color:#f5edf9;background:transparent;cursor:pointer}
.rpo-bot-inbox-toggle:hover,.rpo-bot-inbox-toggle[aria-expanded="true"]{background:rgba(102,2,163,.12)}
.rpo-bot-inbox-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;background:rgba(102,2,163,.25);color:#f2ddff;border-radius:50%;font-size:16px;font-weight:750}
.rpo-bot-inbox-description{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.rpo-bot-inbox-description strong{font-size:13px;overflow-wrap:anywhere}
.rpo-bot-inbox-description small{font-size:11px;color:#aaa2b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.rpo-bot-inbox-end{display:flex;align-items:center;gap:9px;flex-shrink:0}
.rpo-bot-inbox-end small{color:#aaa3b0;font-size:11px}
.rpo-bot-inbox-end b{display:inline-flex;min-width:20px;min-height:20px;align-items:center;justify-content:center;border-radius:12px;color:#fff;background:#6602a3;font-size:11px;padding:1px 6px}
.rpo-bot-inbox-conversation{padding:12px;border-top:1px solid #302a38;background:#0d0c13}
.rpo-bot-inbox-chat{display:flex;flex-direction:column;gap:11px;max-height:440px;overflow-y:auto;padding:9px 4px 14px;scrollbar-color:#58386d transparent}
.rpo-bot-chat-message{align-self:flex-start;max-width:min(87%,670px);border:1px solid #33313d;background:#191820;padding:10px 13px;border-radius:13px 13px 13px 3px;overflow-wrap:anywhere;line-height:1.5;font-size:13px;color:#ece5f0}
.rpo-bot-chat-message.is-outgoing{align-self:flex-end;border-color:rgba(147,68,205,.42);background:#291834;border-radius:13px 13px 3px 13px}
.rpo-bot-chat-meta{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin-bottom:7px}
.rpo-bot-chat-meta strong{font-size:11px;color:#d8b7f1}
.rpo-bot-chat-meta small{font-size:10px;color:#aaa0af}
.rpo-bot-chat-title{display:block;margin-bottom:6px}
.rpo-bot-chat-text{white-space:normal}
.rpo-bot-chat-message a{color:#d6a7f5;display:inline-block;margin-top:6px}
.rpo-bot-inbox-reply{border-top:1px solid #33303b;padding-top:12px;display:grid;gap:10px}
.rpo-bot-inbox-reply>label{font-size:12px;font-weight:700;color:#e9def0}
.rpo-bot-inbox-reply textarea{width:100%;resize:vertical;min-height:75px;border:1px solid #34303e;border-radius:0 0 9px 9px;background:#14131c;color:#f1e9f4;padding:10px;font:inherit;font-size:13px}
.rpo-bot-inbox-reply-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rpo-bot-inbox-reply-actions span{color:#aaa2b1;font-size:11px}
.rpo-bot-inbox-error:not([hidden]){color:#ffaaaa;font-size:12px}
.rpo-bot-inbox-note{padding:8px;background:rgba(125,95,27,.14);color:#dcc69c;border-radius:8px;font-size:12px}
@media(max-width:680px){.rpo-bot-inbox-head{flex-direction:column}.rpo-bot-inbox-toggle{gap:8px}.rpo-bot-inbox-end small{display:none}.rpo-bot-chat-message{max-width:95%}}

/* v1.5.75 – redaktionell bereinigte Oberfläche und lokale DM-Löschung */
.rpo-bot-quick-start{padding:21px}.rpo-bot-quick-start h3{margin:0 0 14px}
.rpo-bot-inbox-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #302a38;color:#baadca;font-size:12px}
.rpo-bot-delete-chat,.rpo-bot-dm-delete-dialog .btn.danger{color:#ffacb7!important;border-color:rgba(236,90,112,.5)!important;background:rgba(178,51,73,.12)!important}
.rpo-bot-delete-chat:hover,.rpo-bot-dm-delete-dialog .btn.danger:hover{background:rgba(178,51,73,.25)!important}
.rpo-bot-chat-delete{margin-left:auto;background:transparent;border:1px solid transparent;border-radius:7px;color:#b7a9c1;cursor:pointer;min-width:28px;height:27px;font-size:13px}
.rpo-bot-chat-delete:hover,.rpo-bot-chat-delete:focus-visible{border-color:rgba(240,117,141,.5);color:#ffacb7;background:rgba(178,51,73,.12)}
.rpo-bot-dm-delete-scope{margin:0;color:#ccc1d2;line-height:1.65;font-size:13px}

/* v1.5.76: hidden muss das Flex-Layout der Suchvorschläge übersteuern. */
.rpo-bot-page [hidden]{display:none!important}
.rpo-bot-channel-count{font-variant-numeric:tabular-nums}
/* Überblick ohne doppelte Navigation oder technische KPIs. */
.rpo-bot-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.rpo-bot-dashboard-card{min-width:0;padding:19px 20px;background:linear-gradient(160deg,rgba(21,19,29,.98),rgba(14,14,19,.98));border:1px solid rgba(151,120,181,.15);border-radius:16px}
.rpo-bot-dashboard-wide{grid-column:1/-1}
.rpo-bot-dashboard-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:0 0 16px}
.rpo-bot-dashboard-heading h3{margin:0;font-size:16px;font-weight:760;letter-spacing:-.015em}
.rpo-bot-dashboard-symbol{color:#cf8bfa;font-size:19px}
.rpo-bot-dashboard-heading small{color:#a6a1b0;font-size:11px}
.rpo-bot-dashboard-list{display:grid;gap:8px}
.rpo-bot-dashboard-item{min-width:0;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #2c2935;background:#17161e;border-radius:11px;color:inherit;text-decoration:none;text-align:left;width:100%;font:inherit}
button.rpo-bot-dashboard-item{cursor:pointer}
button.rpo-bot-dashboard-item:hover{border-color:rgba(159,81,205,.65);background:#201927}
.rpo-bot-dashboard-item-main{display:grid;gap:4px;flex:1;min-width:0}
.rpo-bot-dashboard-item-main strong{font-size:13px;overflow-wrap:anywhere}
.rpo-bot-dashboard-item-main span{font-size:12px;color:#b1aeba;line-height:1.45;overflow-wrap:anywhere}
.rpo-bot-dashboard-item time{white-space:nowrap;font-size:11px;color:#94909f}
.rpo-bot-dashboard-unread{flex:0 0 auto;border-radius:999px;background:#6602a3;color:#fff;padding:3px 7px;font-size:11px}
.rpo-bot-dashboard-empty{margin:0;color:#b6b0bf;font-size:13px;line-height:1.5;padding:13px 0}
.rpo-bot-dashboard-timeline{display:grid;gap:0}
.rpo-bot-dashboard-timeline .rpo-bot-dashboard-item{background:transparent;border:0;border-top:1px solid #2b2931;border-radius:0;padding:12px 2px}
.rpo-bot-dashboard-refresh{padding:5px 10px;font-size:11px}
@media(max-width:900px){.rpo-bot-dashboard{grid-template-columns:1fr}.rpo-bot-dashboard-wide{grid-column:auto}}
@media(max-width:520px){.rpo-bot-dashboard-item{align-items:flex-start;flex-wrap:wrap}.rpo-bot-dashboard-item time{margin-left:auto}}


/* === ORIGINAL public/discord-audit-page.css === */
/* RPO Control Discord-Audit v3: focused, compact chronological activity list. */
.da3-shell{max-width:1320px;margin:0 auto 32px;color:var(--text,#f4eff7)}
.da3-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}
.da3-kicker{font-size:11px;font-weight:750;letter-spacing:.14em;color:#b985ce}.da3-kicker span{color:#777}
.da3-header h2{font-size:27px;margin:6px 0}.da3-header p{font-size:13px;color:var(--text-muted,#ada7b6);margin:0}
.da3-refresh{white-space:nowrap}
.da3-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 20px;padding:5px;border-radius:12px;background:rgba(102,2,163,.06);border:1px solid rgba(165,136,184,.16)}
.da3-tab{display:inline-flex;gap:7px;align-items:center;border:0;background:transparent;color:#b5adc0;font-size:12px;font-weight:600;padding:10px 12px;cursor:pointer;border-radius:8px;white-space:nowrap}
.da3-tab:hover{color:#fff;background:rgba(167,103,205,.10)}.da3-tab.active{background:rgba(102,2,163,.32);color:#fff;box-shadow:inset 0 0 0 1px rgba(187,105,226,.25)}.da3-tab.active span{color:#dfa2ff}
.da3-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px}.da3-search{display:flex;align-items:center;gap:8px;min-width:230px;flex:1;border:1px solid rgba(166,142,179,.24);border-radius:10px;background:#15131b;padding:0 12px;color:#b5a5bf}.da3-search input{height:40px;background:transparent;border:0;outline:0;color:#fff;font-size:13px;min-width:0;width:100%}.da3-search input::placeholder{color:#888091}.da3-toggle{height:40px;background:#1a1621;color:#bfb1cb;border-radius:10px;border:1px solid rgba(166,142,179,.24);padding:0 14px;cursor:pointer;font-size:12px}.da3-toggle span{margin-left:10px}.da3-count{font-size:12px;color:#948b9e;white-space:nowrap}.da3-dates{display:flex;align-items:flex-end;gap:12px;padding:14px;border:1px solid rgba(166,142,179,.17);border-radius:10px;background:#191520;margin-bottom:16px}.da3-dates[hidden]{display:none}.da3-dates label{display:flex;flex-direction:column;gap:5px;color:#b6aabc;font-size:11px}.da3-dates input{color:#fff;background:#120f16;border:1px solid #39303d;border-radius:8px;padding:8px}
.da3-day{margin-bottom:20px}.da3-day-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 9px;padding:0 2px;color:#b6a8c0;font-size:12px;font-weight:700}.da3-day-header span:last-child{font-size:11px;font-weight:400;color:#827a8c}
.da3-day-events{border:1px solid rgba(166,142,179,.18);border-radius:12px;overflow:hidden;background:#111016}.da3-event{border-bottom:1px solid rgba(166,142,179,.11)}.da3-event:last-child{border-bottom:0}.da3-event-toggle{display:flex;align-items:center;gap:13px;cursor:pointer;background:transparent;color:inherit;border:0;width:100%;text-align:left;padding:13px 16px}.da3-event-toggle:hover,.da3-event-toggle[aria-expanded="true"]{background:rgba(102,2,163,.10)}.da3-event-icon{width:35px;height:35px;background:rgba(102,2,163,.2);color:#bf75e2;display:grid;place-items:center;flex-shrink:0;border-radius:9px;font-size:16px}.da3-nachrichten{color:#e2bcff}.da3-moderation{color:#f0b65c}.da3-sprache{color:#a5a1d6}.da3-kanaele{color:#f2ca70}.da3-event-info{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.da3-event-info strong{font-size:13px;font-weight:650}.da3-event-context{color:#a59ba9;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.da3-voice-preview{font-size:11px;color:#8d8595;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.da3-event-toggle time{font-size:11px;color:#8d8296;white-space:nowrap}.da3-chevron{color:#8d8296;font-size:16px;transition:transform .15s}.da3-event-toggle[aria-expanded="true"] .da3-chevron{transform:rotate(180deg)}
.da3-inline-message{margin:0 15px 12px 64px;max-width:900px}.da3-discord-message{display:flex;gap:11px;background:#1b1c23;border:1px solid rgba(143,143,159,.18);border-radius:9px;padding:12px 14px;align-items:flex-start}.da3-msg-avatar{width:31px;height:31px;flex:0 0 31px;border-radius:50%;background:#4a3465;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:800}.da3-msg-body{min-width:0;flex:1}.da3-msg-head{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-bottom:4px}.da3-msg-head strong{font-size:13px;color:#f4eefd}.da3-msg-head span{font-size:11px;color:#9e99aa}.da3-msg-text{font-size:13px;line-height:1.55;color:#e2dfeb;white-space:pre-wrap;overflow-wrap:anywhere;max-height:165px;overflow:auto}.da3-discord-embed{max-width:620px;background:#222127;border-left:4px solid #6602a3;border-radius:4px;padding:10px 12px;margin-top:8px;font-size:12px;line-height:1.48;color:#dedbe5;overflow-wrap:anywhere}.da3-embed-author{font-weight:700;color:#eee;font-size:11px;margin-bottom:6px}.da3-embed-title{display:block;font-size:13px;margin-bottom:6px}.da3-embed-description{white-space:pre-wrap}.da3-embed-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:9px 0}.da3-embed-fields>div{min-width:0}.da3-embed-fields b,.da3-embed-fields span{display:block;overflow-wrap:anywhere}.da3-embed-footer{display:block;color:#a9a2ae;margin-top:9px}.da3-embed-image-link{display:inline-block;margin-top:9px;color:#d29bfc;text-decoration:none}.da3-attachments{margin-top:7px;display:flex;flex-wrap:wrap;gap:8px;color:#c6a9de;font-size:12px}.da3-attachments a{color:#cda5ed;text-decoration:none}.da3-missing{font-size:12px;color:#a99cab;background:#1b1720;border-left:2px solid #665479;padding:11px 13px;border-radius:6px}.da3-bulk{color:#e4dce8;margin-top:8px;white-space:pre-wrap}
.da3-event-expanded{padding:2px 16px 15px 64px}.da3-event-expanded[hidden]{display:none}.da3-event-expanded .da3-discord-message{max-width:900px;margin-bottom:12px}.da3-event-deleted .da3-event-expanded>.da3-detail-wrap>.da3-discord-message{display:none}.da3-event-deleted .da3-event-expanded>.da3-detail-wrap>.da3-missing{display:none}.da3-metadata{display:flex;gap:16px;flex-wrap:wrap;margin:0 0 10px}.da3-metadata>div{min-width:140px}.da3-metadata dt{color:#91859c;font-size:11px}.da3-metadata dd{margin:4px 0 0;color:#dfd3e7;font-size:12px;white-space:pre-wrap}.da3-detail-note,.da3-none{font-size:11px;color:#92899d;margin:6px 0 0}.da3-tech{font-size:11px;color:#898093}.da3-tech summary{cursor:pointer;width:max-content;max-width:100%}.da3-tech>div{padding-top:4px;overflow-wrap:anywhere}
.da3-footer{display:flex;justify-content:space-between;align-items:center;margin:16px 0;font-size:12px;color:#92869d}.da3-controls{display:flex;gap:9px}.da3-disclaimer{color:#8f8598;font-size:11px;line-height:1.5;max-width:1000px;margin-top:18px}.da3-empty{padding:36px;border-radius:12px;border:1px dashed #3b3445;color:#a79bad;text-align:center}
@media(max-width:760px){.da3-tabs{flex-wrap:nowrap;overflow:auto}.da3-header{align-items:flex-start;flex-direction:column}.da3-header h2{font-size:23px}.da3-event-toggle{padding:10px;gap:8px}.da3-event-icon{width:30px;height:30px}.da3-inline-message{margin:0 10px 10px}.da3-event-expanded{padding:8px 10px}.da3-event-toggle time{font-size:10px}.da3-msg-head{display:block}.da3-msg-head span{display:block}.da3-embed-fields{grid-template-columns:1fr}}


/* === ORIGINAL public/discord-audit.css === */
/* RPO Discord audit + streams. Scoped to the existing bot view. */
.rpo-audit-filters{display:grid;grid-template-columns:1fr 1.7fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:12px}
.rpo-audit-filters label,.rpo-stream-add label{display:flex;flex-direction:column;gap:7px;color:#aeadb9;font-size:12px;font-weight:600}
.rpo-audit-filters input,.rpo-audit-filters select,.rpo-stream-add input,.rpo-stream-add select{border:1px solid #373141;border-radius:9px;background:#121119;color:#f6f4fa;min-width:0;padding:11px;font:inherit}
.rpo-audit-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:6px 2px 15px;color:#b0a8b9;font-size:12px}.rpo-audit-summary b{color:#f3e2ff}
.rpo-audit-results{padding:0!important;overflow:hidden}.rpo-audit-item{display:flex;gap:13px;padding:15px 18px;border-bottom:1px solid #2c2833;min-width:0}
.rpo-audit-symbol{width:36px;height:36px;background:#23172e;border-radius:10px;display:grid;place-items:center;flex-shrink:0}
.rpo-audit-body{flex:1;min-width:0}.rpo-audit-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.rpo-audit-title strong{font-size:13px;color:#f2eef6}.rpo-audit-title time{font-size:11px;color:#9f96aa;white-space:nowrap}
.rpo-audit-meta,.rpo-audit-detail{display:flex;gap:8px 12px;flex-wrap:wrap;font-size:11px;color:#b6adbf;margin-top:8px}.rpo-audit-meta code,.rpo-audit-detail b{color:#cfa8e8}
.rpo-audit-empty{padding:35px 20px;text-align:center;color:#9990a5;font-size:13px}.rpo-audit-pager{display:flex;justify-content:center;gap:18px;align-items:center;padding:14px;font-size:12px}
.rpo-audit-old{margin-top:14px}.rpo-audit-old summary{cursor:pointer;font-weight:600;color:#bfa0dc}.rpo-audit-old .rpo-bot-table-wrap{margin-top:14px}


/* === ORIGINAL public/voice-support.css === */
/* RPO Control · Voice-Support Slim. Nur .vsp-root, keine globalen Panel-Styles. */
.vsp-root{--vsp-purple:var(--rpo,#6602a3);--vsp-border:var(--line,#30303a);--vsp-card:var(--panel2,#18181f);--vsp-muted:var(--muted,#a4a1aa);color:var(--text,#f4f1f8);width:100%;max-width:none;font-size:14px}
.vsp-root *{box-sizing:border-box}
.vsp-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;flex-wrap:wrap}
.vsp-overline,.vsp-eyebrow{font-weight:750;font-size:10px;letter-spacing:.12em;color:#ad72d0;text-transform:uppercase}
.vsp-heading h1{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:clamp(25px,2vw,34px);line-height:1.2;margin:6px 0 5px;letter-spacing:-.03em}
.vsp-heading p{color:var(--vsp-muted);font-size:13px;margin:0}
.vsp-private{font-size:10px;letter-spacing:.08em;color:#eac8ff;background:rgba(102,2,163,.2);border:1px solid rgba(184,109,223,.3);padding:6px 9px;border-radius:7px}
.vsp-top-actions,.vsp-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.vsp-root .btn{min-height:39px;border-radius:9px;font-size:13px;font-weight:650;white-space:normal}
.vsp-icon-btn{width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--vsp-border);border-radius:9px;color:inherit;background:var(--vsp-card);cursor:pointer}
.vsp-icon-btn:hover,.vsp-root .btn:hover{filter:brightness(1.15)}
.vsp-workspace{display:grid;grid-template-columns:minmax(270px,320px) minmax(0,1fr);background:var(--panel,#121216);border:1px solid var(--vsp-border);border-radius:14px;min-height:570px;overflow:hidden;box-shadow:0 12px 35px #0002}
.vsp-sidebar{background:var(--vsp-card);border-right:1px solid var(--vsp-border);display:flex;flex-direction:column;min-width:0}
.vsp-side-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 16px 13px;gap:8px;font-size:14px}
.vsp-queue-counts{display:flex;gap:10px;padding:0 16px 15px;color:var(--vsp-muted);font-size:12px}
.vsp-queue-counts span{background:var(--panel,#121216);border:1px solid var(--vsp-border);border-radius:6px;padding:5px 9px}
.vsp-queue{padding:0 10px 20px;display:flex;flex-direction:column;gap:8px;overflow-y:auto;min-height:100px;max-height:65vh}
.vsp-queue-empty{font-size:13px;color:var(--vsp-muted);padding:18px 9px}
.vsp-active-case{display:flex;align-items:center;gap:12px;background:var(--panel,#121216);border:1px solid var(--vsp-border);color:inherit;border-radius:10px;text-align:left;width:100%;padding:13px 12px;cursor:pointer;min-width:0}
.vsp-active-case:hover{border-color:#8740bd;background:rgba(102,2,163,.1)}
.vsp-active-case.selected{border-color:#9b47d3;background:rgba(102,2,163,.18)}
.vsp-active-case>span:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.vsp-active-case strong{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.vsp-active-case small{color:var(--vsp-muted);font-size:11px}
.vsp-case-mark{flex:none}
.vsp-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:10px;background:linear-gradient(145deg,#512466,#29182f);border:1px solid #684184;color:#ecd6f7;font-weight:800}
.vsp-tag{font-size:11px;padding:5px 9px;border-radius:7px;color:#cbc5d0;border:1px solid var(--vsp-border);background:var(--vsp-card);white-space:nowrap}
.vsp-tag.success{color:#79e4ae;border-color:#2b7252;background:#17402e55}
.vsp-tag.warning{color:#f0ce8b;border-color:#725634;background:#5c421e33}
.vsp-side-footer{display:flex;gap:8px;align-items:center;margin-top:auto;padding:16px;font-size:11px;color:var(--vsp-muted);border-top:1px solid var(--vsp-border)}
.vsp-dot{width:8px;height:8px;background:#65626c;border-radius:50%;display:inline-block}
.vsp-dot.on{background:#52d88c;box-shadow:0 0 0 3px #52d88c20}
.vsp-main{min-width:0}
.vsp-tabs{display:flex;gap:15px;padding:0 22px;border-bottom:1px solid var(--vsp-border);height:59px;align-items:stretch}
.vsp-tab{font-size:13px;font-weight:700;background:none;border:0;border-bottom:2px solid transparent;color:var(--vsp-muted);cursor:pointer;padding:0 6px}
.vsp-tab:hover{color:inherit}
.vsp-tab.active{border-bottom-color:#a65cdb;color:#dfb2f5}
.vsp-main-body{padding:25px;display:flex;flex-direction:column;gap:17px}
.vsp-pane-header h3{font-size:21px;margin:0 0 8px}
.vsp-pane-header p{color:var(--vsp-muted);font-size:13px;margin:0}
.vsp-casebar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:3px}
.vsp-case-icon{height:49px;width:49px;display:grid;place-items:center;background:rgba(102,2,163,.2);border:1px solid #653581;border-radius:13px}
.vsp-case-title{flex:1;min-width:0}
.vsp-case-title h2{font-size:23px;margin:4px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.vsp-case-title p{font-size:12px;margin:0;color:var(--vsp-muted)}
.vsp-live-strip{display:flex;gap:20px;flex-wrap:wrap;align-items:center;background:var(--vsp-card);border:1px solid var(--vsp-border);border-radius:11px;padding:15px 17px;font-size:13px}
.vsp-live-indicator{font-weight:800;color:#d4a0e9;margin-right:auto}
.vsp-live-strip strong{font-weight:750}
.vsp-block{background:var(--vsp-card);border:1px solid var(--vsp-border);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:15px}
.vsp-block h4{font-size:15px;margin:0}
.vsp-block p{font-size:13px;color:var(--vsp-muted);line-height:1.55;margin:0}
.vsp-root .input{min-height:40px;color:inherit!important;background:var(--panel,#121216)!important;border:1px solid var(--vsp-border)!important;border-radius:8px;padding:9px 12px;font-size:13px!important}
.vsp-person{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 6px;border-top:1px solid var(--vsp-border);font-size:13px;flex-wrap:wrap}
.vsp-person:first-of-type{border-top:0}
.vsp-person small{display:block;color:var(--vsp-muted);margin-top:3px}
.vsp-empty{text-align:center;color:var(--vsp-muted);padding:75px 15px}
.vsp-empty h3{color:var(--text,#f4f1f8);margin:0 0 12px}
.vsp-empty p{font-size:13px;line-height:1.5}
.vsp-root .vsp-busy{opacity:.7;pointer-events:none}
.vsp-root button:focus-visible,.vsp-root a:focus-visible,.vsp-root input:focus-visible{outline:2px solid #bd75ed;outline-offset:2px}
@media(max-width:920px){.vsp-workspace{grid-template-columns:1fr}.vsp-sidebar{border-right:0;border-bottom:1px solid var(--vsp-border)}.vsp-queue{max-height:270px;min-height:0}.vsp-main-body{padding:18px}.vsp-top-actions{width:100%}}
@media(min-width:1900px){.vsp-root{font-size:16px}.vsp-workspace{grid-template-columns:minmax(340px,400px) minmax(0,1fr)}.vsp-main-body{padding:32px 36px}.vsp-root .btn,.vsp-tab,.vsp-active-case strong{font-size:15px}.vsp-case-title h2{font-size:27px}}

/* RPO_VOICE_TEAM_VIEWS_HISTORY_V4_20261024: zwei getrennte Warteschlangen und kompakte Verlaufs-Untertabs. */
.vsp-root .vsp-category-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto;max-height:545px;scrollbar-color:#393140 transparent;min-height:0}
.vsp-root .vsp-category-list .vsp-side-section{padding:0 10px 9px}
.vsp-root .vsp-category-list .vsp-queue{min-height:0!important;max-height:none!important;overflow:visible!important}
.vsp-root .vsp-category-list .vsp-side-label{padding:9px 9px;border-bottom:1px solid rgba(142,95,178,.23);margin-bottom:7px;color:#c39ce2}
.vsp-root .vsp-subtabs{display:flex;gap:8px;padding:8px 0 14px;margin:0 0 8px}
.vsp-root .vsp-subtabs .vsp-tab{font-size:12px;white-space:normal}
@media(max-width:900px){.vsp-root .vsp-category-list{max-height:370px}}


/* === ORIGINAL public/rpo-mobile-safe-area.css === */
/* RPO Control · mobile notch / Dynamic Island Safe Area fix v1 · 2026-10-24
 * Loaded after the existing Salty-NUI theme. No application logic changes.
 * The header background can cover the status bar; controls start BELOW it.
 */
@media (max-width: 760px) {
  :root {
    --rpo-mobile-safe-top: env(safe-area-inset-top, 0px);
    --rpo-mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
    --rpo-mobile-safe-left: env(safe-area-inset-left, 0px);
    --rpo-mobile-safe-right: env(safe-area-inset-right, 0px);
    --rpo-mobile-toolbar-height: 62px;
  }

  /* Keep the sticky topbar at y=0 but move both touch controls below the notch. */
  #app .topbar {
    height: calc(var(--rpo-mobile-toolbar-height) + var(--rpo-mobile-safe-top)) !important;
    min-height: calc(var(--rpo-mobile-toolbar-height) + var(--rpo-mobile-safe-top)) !important;
    padding-top: var(--rpo-mobile-safe-top) !important;
    padding-right: calc(12px + var(--rpo-mobile-safe-right)) !important;
    padding-left: calc(12px + var(--rpo-mobile-safe-left)) !important;
    box-sizing: border-box;
    top: 0;
  }
  #mobileNavToggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    touch-action: manipulation;
  }
  #app .global-search-wrap { min-width: 0; }
  #app .search-global { min-width: 0; }
  #app .search-global input { min-width: 0; font-size: 16px !important; }

  /* The search results are fixed and were hardcoded to top:54px, under the notch. */
  #app .global-search-results {
    top: calc(var(--rpo-mobile-safe-top) + var(--rpo-mobile-toolbar-height) + 5px) !important;
    left: calc(8px + var(--rpo-mobile-safe-left)) !important;
    right: calc(8px + var(--rpo-mobile-safe-right)) !important;
    max-height: min(65dvh, calc(100dvh - var(--rpo-mobile-safe-top) - var(--rpo-mobile-safe-bottom) - var(--rpo-mobile-toolbar-height) - 20px)) !important;
    overscroll-behavior: contain;
  }

  /* Open mobile menu: logo and first navigation item must also clear the status bar. */
  #app .sidebar {
    padding-top: calc(14px + var(--rpo-mobile-safe-top)) !important;
    padding-bottom: calc(14px + var(--rpo-mobile-safe-bottom)) !important;
    padding-left: calc(12px + var(--rpo-mobile-safe-left)) !important;
    box-sizing: border-box;
  }
}

/* Short, landscape-oriented phones can exceed 760 CSS px in width. Ensure
   the menu/logo and header never enter a left or right camera cutout. */
@media (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  #app .sidebar {
    padding-left: calc(12px + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }
  #app .topbar {
    padding-left: calc(12px + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(12px + env(safe-area-inset-right, 0px)) !important;
  }
}


/* === ORIGINAL public/rpo-player-action-colors.css === */
/* RPO_ACTION_COLORS_V1_2026_10_24
   RPO Control · player profile action toolbar only.
   Keep the Salty-NUI glass look; restore semantic action colors.
   Deliberately more specific than the later global button.btn:not(.primary) rule.
*/
.player-action-toolbar .btn.player-action-button {
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

/* Support: RPO purple */
.player-action-toolbar .btn.action-support {
  background: linear-gradient(180deg,rgba(128,38,189,.30),rgba(91,18,142,.20));
  border-color: rgba(189,104,239,.58);
  color: #f0cbff;
}
.player-action-toolbar .btn.action-support:hover:not(:disabled) {
  background: rgba(137,37,204,.35); border-color: #b868f1; color:#fff;
}

/* Observe: two distinct observation actions */
.player-action-toolbar .btn.action-screen {
  background: linear-gradient(180deg,rgba(56,142,200,.21),rgba(23,94,142,.13));
  border-color: rgba(91,176,232,.45); color: #b2e3ff;
}
.player-action-toolbar .btn.action-screen:hover:not(:disabled) {
  background: rgba(46,144,207,.30); border-color:#70c5f5; color:#e3f5ff;
}
.player-action-toolbar .btn.action-live-view {
  background: linear-gradient(180deg,rgba(121,58,198,.29),rgba(67,30,131,.18));
  border-color: rgba(172,121,244,.50); color:#dec9ff;
}
.player-action-toolbar .btn.action-live-view:hover:not(:disabled) {
  background:rgba(135,74,211,.33); border-color:#b08aff; color:#fff;
}

/* Moderation: actions carry clear semantic meaning */
.player-action-toolbar .btn.action-revive {
  background: linear-gradient(180deg,rgba(35,169,111,.23),rgba(24,103,79,.15));
  border-color: rgba(73,214,148,.51); color:#95f4bf;
}
.player-action-toolbar .btn.action-revive:hover:not(:disabled) {
  background:rgba(37,180,120,.32); border-color:#70e7aa; color:#d9ffe9;
}
.player-action-toolbar .btn.action-kill {
  background: linear-gradient(180deg,rgba(207,57,84,.22),rgba(130,32,56,.14));
  border-color:rgba(244,104,132,.48); color:#ffacba;
}
.player-action-toolbar .btn.action-kill:hover:not(:disabled) {
  background:rgba(213,60,91,.31); border-color:#fa829a; color:#ffe6eb;
}
.player-action-toolbar .btn.action-kick {
  background: linear-gradient(180deg,rgba(210,126,38,.22),rgba(132,74,28,.14));
  border-color:rgba(244,174,91,.48); color:#ffcd94;
}
.player-action-toolbar .btn.action-kick:hover:not(:disabled) {
  background:rgba(210,131,42,.30); border-color:#ffc072; color:#ffedcf;
}
.player-action-toolbar .btn.action-dm {
  background: linear-gradient(180deg,rgba(46,107,222,.26),rgba(27,71,148,.18));
  border-color:rgba(89,154,245,.54); color:#bddaff;
}
.player-action-toolbar .btn.action-dm:hover:not(:disabled) {
  background:rgba(53,119,226,.34); border-color:#7aaffe; color:#f0f7ff;
}

/* Character: creator purple; lock amber; unlock green; deletion red */
.player-action-toolbar .btn.action-char {
  background: linear-gradient(180deg,rgba(128,45,188,.28),rgba(77,25,116,.17));
  border-color:rgba(184,111,233,.52); color:#e6bafa;
}
.player-action-toolbar .btn.action-char:hover:not(:disabled) {
  background:rgba(136,60,195,.34); border-color:#c188ef; color:#fff;
}
.player-action-toolbar .btn.action-lock-character {
  background: linear-gradient(180deg,rgba(196,145,49,.21),rgba(119,80,24,.14));
  border-color:rgba(238,187,92,.49); color:#ffe0a0;
}
.player-action-toolbar .btn.action-lock-character:hover:not(:disabled) {
  background:rgba(205,152,58,.29); border-color:#f4c66d; color:#fff0cb;
}
.player-action-toolbar .btn.action-unlock-character {
  background: linear-gradient(180deg,rgba(34,162,114,.23),rgba(25,95,73,.13));
  border-color:rgba(81,205,147,.49); color:#a1f3c6;
}
.player-action-toolbar .btn.action-unlock-character:hover:not(:disabled) {
  background:rgba(42,179,126,.31); border-color:#6ee5a7; color:#e2ffef;
}
.player-action-toolbar .btn.action-delete-character {
  background: linear-gradient(180deg,rgba(199,48,80,.20),rgba(111,27,53,.13));
  border-color:rgba(239,105,133,.45); color:#ffaab9;
}
.player-action-toolbar .btn.action-delete-character:hover:not(:disabled) {
  background:rgba(205,57,86,.29); border-color:#fa7995; color:#ffe6eb;
}

/* Disabled actions are NOT clickable even if they retain their semantic hue. */
.player-action-toolbar .btn.player-action-button:disabled {
  opacity:.39; filter:saturate(.58); cursor:not-allowed; box-shadow:none;
}


/* === ORIGINAL public/rpo-emoji-picker-v3.css === */
/* RPO Control v2.0 · Cross-platform reaction palette · 2026-10-26 */
.rpo-emoji-overlay{--rpo-emoji-bg:#1b1d25;--rpo-emoji-line:#30333e;position:fixed;z-index:10000;inset:0;display:flex;justify-content:center;align-items:center;padding:20px;background:rgba(0,0,0,.65);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f4f4f8;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,"Segoe UI",sans-serif;box-sizing:border-box}
.rpo-emoji-overlay *{box-sizing:border-box}
.rpo-emoji-sheet{position:relative;display:flex;flex-direction:column;width:min(520px,100%);height:min(660px,calc(100dvh - 40px));min-height:280px;background:var(--rpo-emoji-bg);border:1px solid #383a46;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.5);overflow:hidden}
.rpo-emoji-head{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 12px;flex-shrink:0;gap:12px}
.rpo-emoji-head h2{font-size:22px!important;line-height:1.15!important;letter-spacing:-.025em!important;font-weight:710!important;margin:4px 0 0!important;color:#f4f4f8!important}
.rpo-emoji-eyebrow{font-size:10px;letter-spacing:.125em;font-weight:800;color:#b995da}
.rpo-emoji-icon{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--rpo-emoji-line);background:#272a35;border-radius:12px;color:#e9e9ee;cursor:pointer}
.rpo-emoji-icon svg,.rpo-emoji-search svg{width:20px;height:20px;flex:none}
.rpo-emoji-search{display:flex;align-items:center;gap:9px;margin:8px 22px 12px;padding:0 12px;height:46px;min-height:46px;background:#282b36;border:1px solid #383b49;border-radius:13px;color:#aab0c0}
.rpo-emoji-search input{height:100%!important;width:100%;background:transparent!important;color:#f4f4f8!important;border:0!important;box-shadow:none!important;outline:0!important;font-size:16px!important;min-width:0;padding:0!important;margin:0!important}
.rpo-emoji-search input::placeholder{color:#8e95a5;opacity:1}
.rpo-emoji-categories{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;margin:0!important;max-width:100%;padding:3px 16px 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;border-bottom:1px solid var(--rpo-emoji-line);flex-shrink:0;overscroll-behavior-inline:contain}
.rpo-emoji-categories::-webkit-scrollbar{display:none}
.rpo-emoji-category{flex:none;display:grid;place-items:center;min-width:43px;min-height:43px;padding:0;border:0;border-radius:12px;background:transparent;color:#cbd0de;font-size:21px;cursor:pointer;filter:saturate(.75)}
.rpo-emoji-category[aria-current="true"]{background:#443052;filter:none}
.rpo-emoji-content{padding:15px 18px 18px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-color:#454957 transparent;scrollbar-width:thin}
.rpo-emoji-section-name{font-size:12px;font-weight:720;color:#b0b5c5;margin:0 0 12px;letter-spacing:.015em}
.rpo-emoji-results{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}
.rpo-emoji-choice{display:grid;place-items:center;padding:2px;min-height:46px;min-width:0;border:1px solid transparent;border-radius:10px;font-size:25px;line-height:1.2;background:transparent;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}
.rpo-emoji-choice:hover{background:#343542;border-color:#4a4e60}
.rpo-emoji-choice:active{transform:scale(.94)}
.rpo-emoji-icon:focus-visible,.rpo-emoji-choice:focus-visible,.rpo-emoji-category:focus-visible,.rpo-emoji-more:focus-visible,.rpo-emoji-paste:focus-visible{outline:2px solid #cca5f4;outline-offset:1px}
.rpo-emoji-more{width:100%;margin:14px 0 4px;min-height:42px;background:#272b36;border:1px solid #414452;border-radius:11px;color:#e3d7f2;font-size:13px;font-weight:600;cursor:pointer}
.rpo-emoji-empty{color:#aeb3c3;font-size:14px;line-height:1.5;padding:14px 5px}
.rpo-emoji-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px 16px;background:#20232c;border-top:1px solid var(--rpo-emoji-line);flex-shrink:0;min-height:60px}
.rpo-emoji-footer span{font-size:12px;color:#9da5b5;line-height:1.35}
.rpo-emoji-paste{min-height:42px;max-width:180px;flex:none;padding:4px 14px;background:#7a4aab;color:#fff;border:0;border-radius:10px;font-size:15px;font-weight:650;cursor:pointer}
.rpo-emoji-error{font-size:12px;color:#ffc6c6;margin:0 6px 0 0}
.rpo-emoji-overlay.is-sending .rpo-emoji-choice,.rpo-emoji-overlay.is-sending .rpo-emoji-paste{pointer-events:none;opacity:.45}
@media(max-width:600px){.rpo-emoji-overlay{align-items:flex-end;padding:0}.rpo-emoji-sheet{width:100%;height:min(78dvh,750px);min-height:320px;border-radius:25px 25px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px)}.rpo-emoji-head{padding:23px 16px 9px}.rpo-emoji-head::before{content:"";position:absolute;width:38px;height:5px;border-radius:999px;top:8px;left:calc(50% - 19px);background:#575a66}.rpo-emoji-head h2{font-size:20px!important}.rpo-emoji-search{margin:7px 16px 10px}.rpo-emoji-content{padding:14px 12px}.rpo-emoji-results{grid-template-columns:repeat(7,minmax(0,1fr))}.rpo-emoji-choice{min-height:45px;font-size:25px}.rpo-emoji-categories{padding:3px 10px 9px}.rpo-emoji-footer{padding:10px 14px 12px}}
@media(max-width:355px){.rpo-emoji-results{grid-template-columns:repeat(6,minmax(0,1fr))}.rpo-emoji-choice{font-size:23px}.rpo-emoji-footer span{font-size:11px}}
@media(max-height:510px){.rpo-emoji-sheet{height:100dvh;max-height:100dvh;border-radius:15px}.rpo-emoji-head{padding-top:13px}}
@media(prefers-reduced-motion:reduce){.rpo-emoji-choice:active{transform:none}}


/* === ORIGINAL public/rpo-audit-details-v4.css === */
/* RPO Control: actionable, accessible Discord audit changes, native-style and neutral. */
.da4-diff{margin:0 0 14px;padding:13px;border:1px solid rgba(180,166,196,.17);border-radius:12px;background:rgba(13,12,17,.75);display:grid;gap:12px;min-width:0;}
.da4-diff-line{display:flex;align-items:flex-start;gap:12px;min-width:0;flex-wrap:wrap;}
.da4-diff-label{min-width:96px;flex:0 0 96px;font-size:11px;font-weight:730;line-height:22px;}
.da4-diff-label.add{color:#87d3a7}.da4-diff-label.remove{color:#ef9baf}
.da4-diff-values{display:flex;flex-wrap:wrap;gap:5px;min-width:0;flex:1}
.da4-diff-value{display:inline-block;max-width:100%;overflow-wrap:anywhere;padding:5px 8px;background:rgba(255,255,255,.045);border-radius:6px;font-size:12px;color:#efeaf4;}
.da4-field{padding:9px 0;border-top:1px solid rgba(255,255,255,.08);min-width:0;}
.da4-field strong{display:block;margin-bottom:5px;font-size:12px;color:#dfd7e6;}
.da4-field>div{display:grid;grid-template-columns:minmax(0,1fr)auto minmax(0,1fr);gap:9px;align-items:start;}
.da4-old,.da4-new{font-size:12px;padding:8px;background:#201c25;border-radius:7px;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;color:#d8d0db;}
.da4-new{background:rgba(102,2,163,.17);color:#f1e6fa;}
.da4-arrow{padding-top:9px;color:#a49ba9;}
.da3-event-info .da3-voice-preview{white-space:normal;overflow-wrap:anywhere;overflow:visible;color:#c8bed0;line-height:1.35;}
@media(max-width:760px){.da4-diff{padding:11px;}.da4-diff-line{display:block;}.da4-diff-label{display:block;margin-bottom:6px;}.da4-field>div{grid-template-columns:1fr;gap:5px;}.da4-arrow{padding:0;text-align:center;transform:rotate(90deg);}}


/* === ORIGINAL public/rpo-product-ui.css === */
/* RPO CONTROL 2.2.1 | CONSOLIDATED RPO BRAND PALETTE */
/* Original cascade is maintained below; 2.2 design tokens and quality rules are the single final authority. */

/* ----- Source: rpo-experience-v4.css ----- */
/* RPO Control 2.1 · iOS-inspired interface rules.
   Additive to v3. Scoped to installed mobile experience; desktop unaffected. */
@media (max-width:760px) {
  body.rpo-mobile-v2 {
    --rpo21-surface:#171820;
    --rpo21-surface-raised:#1e2029;
    --rpo21-border:#30323e;
    --rpo21-text:#f2f3f5;
    --rpo21-secondary:#a3a7b5;
    --rpo21-accent:#f2f3f5;
    --rpo21-safe-bottom:env(safe-area-inset-bottom,0px);
    --rpo21-safe-left:env(safe-area-inset-left,0px);
    --rpo21-safe-right:env(safe-area-inset-right,0px);
    background:#0e0f15;
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,"Segoe UI",sans-serif;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
  }
  body.rpo-mobile-v2 #view {
    padding-inline:calc(16px + var(--rpo21-safe-left)) calc(16px + var(--rpo21-safe-right));
    padding-bottom:calc(90px + var(--rpo21-safe-bottom));
    line-height:1.45;
  }
  body.rpo-mobile-v2 #view > :is(div,section,article),
  body.rpo-mobile-v2 #view :is(.card,.page-head,.table-wrap,.filters,.table-tools,.player-head,.player-profile-header) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view .page-head {gap:14px;margin-block:2px 20px;}
  body.rpo-mobile-v2 #view .page-head h1 {font-size:clamp(28px,7vw,35px);line-height:1.15;font-weight:760;letter-spacing:-.035em;overflow-wrap:normal;hyphens:auto;}
  body.rpo-mobile-v2 #view .page-head p {color:var(--rpo21-secondary);font-size:14px;line-height:1.55;}
  body.rpo-mobile-v2 #view .page-head .actions {display:flex;flex-wrap:wrap;gap:8px;}
  body.rpo-mobile-v2 #view .page-head .actions > * {min-width:0;}
  body.rpo-mobile-v2 #view .card,
  body.rpo-mobile-v2 #view .stat-card {border:1px solid var(--rpo21-border);border-radius:16px;background:var(--rpo21-surface);box-shadow:none;}
  body.rpo-mobile-v2 #view .card {padding:16px;}
  body.rpo-mobile-v2 #view .stat-card {padding:15px;}
  body.rpo-mobile-v2 #view :is(.stats,.dashboard-grid,.team-grid,.support-team-stats,.faction-kpi-grid) {gap:10px;}
  body.rpo-mobile-v2 #view :is(.card,.stat-card) :is(h2,h3,h4) {overflow-wrap:anywhere;line-height:1.28;}
  body.rpo-mobile-v2 #view :is(button,.btn,[role="button"]) {touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
  body.rpo-mobile-v2 #view :is(button,.btn,[role="button"],input,select,textarea) {max-width:100%;}
  body.rpo-mobile-v2 :is(#view,#modalHost) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {min-height:44px;font-size:max(16px,1rem)!important;}
  body.rpo-mobile-v2 #view input[type="checkbox"],body.rpo-mobile-v2 #view input[type="radio"] {accent-color:#6602a3;}
  body.rpo-mobile-v2 #view :is(.btn,.icon-btn,.row-actions button,.actions button,.tabs button,.filters button,.pager button,.nav-item) {min-height:44px;}
  body.rpo-mobile-v2 #view :is(.filters,.table-tools,.row-actions,.card-title-actions,.support-case-actions) {max-width:100%;gap:8px;}
  body.rpo-mobile-v2 #view :is(.filters,.table-tools) > * {min-width:0;}
  body.rpo-mobile-v2 #view label {line-height:1.4;}
  body.rpo-mobile-v2 #view :is(input,select,textarea,button,.btn):focus-visible,
  body.rpo-mobile-v2 #app .sidebar button:focus-visible,
  body.rpo-mobile-v2 .rpo-mobile-tab:focus-visible {outline:2px solid var(--rpo21-accent)!important;outline-offset:3px;}
  body.rpo-mobile-v2 #view :is(.tabs,.faction-tabs,.vsp-tabs,.ticket-ranking-segment) {gap:6px;}
  body.rpo-mobile-v2 #view :is(.tabs,.faction-tabs,.vsp-tabs,.ticket-ranking-segment) > :is(button,.tab) {font-size:13px!important;min-height:44px;padding:10px;white-space:normal;}
  body.rpo-mobile-v2 #view :is(.pagination,.pager,.pager-controls) {display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
  body.rpo-mobile-v2 #view :is(.pagination,.pager,.pager-controls) button {min-height:44px;min-width:44px;}
  body.rpo-mobile-v2 #view :is(pre,.server-console-output,.console-output,code) {max-width:100%;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view img,body.rpo-mobile-v2 #view iframe {max-width:100%;}
  body.rpo-mobile-v2 #view :is(.profile-grid,.dashboard-grid,.team-grid,.money-grid,.faction-money-grid,.refund-context-grid,.support-refund-columns,.server-control-grid,.permission-layout,.permission-grid,.announcement-workspace,.program-service-grid,.ticket-archive-detail-grid,.vsp-grid,.vsp-layout) {grid-template-columns:minmax(0,1fr)!important;min-width:0;}
  /* Complex matrices retain their semantics and interactions. Only their own region scrolls. */
  body.rpo-mobile-v2 :is(#view,#modalHost) .rpo21-table-scroll {display:block;max-width:100%;min-width:0;overflow-x:auto!important;overflow-y:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
  body.rpo-mobile-v2 :is(#view,#modalHost) .rpo21-table-note {position:sticky;left:0;margin:3px 0 8px;color:var(--rpo21-secondary);font-size:11px;letter-spacing:.015em;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table.rpo-mobile-card-table,
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table {display:table!important;min-width:max-content!important;max-width:none!important;width:max-content!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table.rpo-mobile-card-table > thead {display:table-header-group!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table.rpo-mobile-card-table > tfoot {display:table-footer-group!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table.rpo-mobile-card-table > tbody {display:table-row-group!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table.rpo-mobile-card-table > tbody > tr {display:table-row!important;border:0!important;padding:0!important;border-radius:0!important;background:transparent!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table.rpo-mobile-card-table > tbody > tr > :is(td,th) {display:table-cell!important;width:auto!important;max-width:none!important;min-width:0!important;padding:10px 12px!important;white-space:normal!important;vertical-align:middle!important;border-bottom:1px solid rgba(255,255,255,.065)!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo21-keep-table.rpo-mobile-card-table > tbody > tr > :is(td,th)::before {content:none!important;display:none!important;}
  body.rpo-mobile-v2 #view table.rpo-mobile-card-table:not(.rpo21-keep-table) > tbody > tr {border-radius:15px;background:#1b1d25;}
  body.rpo-mobile-v2 #view table.rpo-mobile-card-table:not(.rpo21-keep-table) > tbody > tr > :is(td,th) {grid-template-columns:minmax(80px,34%) minmax(0,1fr);}
  body.rpo-mobile-v2 #view table.rpo-mobile-card-table:not(.rpo21-keep-table) > tbody > tr > :is(td,th).rpo-mobile-primary {font-size:16px!important;}
  /* Navigation follows iOS patterns: stable tab bar, clear current context. */
  body.rpo-mobile-v2 #rpoMobileTabbar:not([hidden]) {background:rgba(23,24,32,.94);border-top:1px solid rgba(255,255,255,.1);padding-inline:calc(6px + var(--rpo21-safe-left)) calc(6px + var(--rpo21-safe-right));}
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab {border-radius:12px;min-height:56px;color:#a9acb9;font-size:10px;font-weight:640;}
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab[aria-current="page"] {background:rgba(102,2,163,.85);color:#f2f3f5;}
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab > span:not(.rpo-mobile-tab-badge) {display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  body.rpo-mobile-v2 #app .sidebar {background:#171820;}
  body.rpo-mobile-v2 #app .sidebar .nav-item {border-radius:12px;min-height:48px;}
  body.rpo-mobile-v2 #app .sidebar .nav-item.active {background:#1c1d24;}
  body.rpo-mobile-v2 #app .sidebar .nav-label {color:#9c9eaf;letter-spacing:.075em;}
  body.rpo-mobile-v2 #app .sidebar .rpo21-settings-trigger {display:flex;align-items:center;justify-content:center;border:1px solid #363842;border-radius:12px;background:#242631;color:#f2f3f5;padding:11px 12px;min-height:46px;font-size:13px;font-weight:650;cursor:pointer;margin-top:10px;}
  /* Native-feeling modal sheets: entirely within visible viewport and safe area. */
  body.rpo-mobile-v2 .modal-backdrop:not(.modal-backdrop-live-view):not(.modal-backdrop-screenshot) .modal:not(.modal-image-viewer) {padding-bottom:calc(18px + var(--rpo21-safe-bottom));scroll-padding-bottom:24px;border-radius:24px 24px 0 0;}
  body.rpo-mobile-v2 #modalHost .modal :is(input,textarea,select,button,.btn) {max-width:100%;}
  body.rpo-mobile-v2 #modalHost .modal .modal-actions {position:sticky;bottom:calc(-1 * var(--rpo21-safe-bottom));z-index:1;background:linear-gradient(180deg,rgba(23,24,32,0),#171820 16px);padding-block:14px calc(8px + var(--rpo21-safe-bottom));}
  /* Chat readability & unobstructed composer with Dynamic Island / home indicator. */
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-shell {color:var(--rpo21-text);}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-bubble {max-width:100%;border-radius:17px;background:#242631;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message.own .adminchat-mobile-bubble {background:#1c1d24;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message-stack {max-width:min(88%,600px);min-width:0;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-text {font-size:16px;line-height:1.48;overflow-wrap:anywhere;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-hit {min-height:74px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-hit:focus-visible {outline:2px solid var(--rpo21-accent);outline-offset:-2px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-input-wrap textarea {font-size:16px!important;line-height:1.4;max-height:118px;}
  body.rpo-mobile-v2.adminchat-mobile-route :is(.adminchat-mobile-send,.adminchat-mobile-attach,.adminchat-mobile-important-toggle,.adminchat-mobile-icon-button,.adminchat-mobile-jump) {min-width:44px;min-height:44px;}
  body.rpo-mobile-v2.adminchat-mobile-route .rpo21-chat-search-empty {margin:24px 15px;padding:19px 14px;text-align:center;border:1px solid #363845;border-radius:14px;background:#1d1e28;color:#bec3d1;font-size:14px;}
}
@media (max-width:375px) {
  body.rpo-mobile-v2 #view .card {padding:12px;}
  body.rpo-mobile-v2 #view .page-head h1 {font-size:27px;}
  body.rpo-mobile-v2 #view table.rpo-mobile-card-table:not(.rpo21-keep-table)>tbody>tr>:is(td,th) {grid-template-columns:minmax(71px,32%) minmax(0,1fr);gap:7px;}
}
/* Native dialog is in the document top layer; only opened from the mobile interface. */
.rpo21-settings-trigger {display:none;}
.rpo21-dialog {box-sizing:border-box;color:#f6f4f8;color-scheme:dark;background:#1b1d26;border:1px solid #404350;border-radius:22px;padding:0;box-shadow:0 22px 80px rgba(0,0,0,.55);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,"Segoe UI",sans-serif;max-width:510px;width:calc(100% - 26px);max-height:min(650px,90dvh);overflow:auto;overscroll-behavior:contain;}
.rpo21-dialog::backdrop {background:rgba(0,0,0,.66);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);}
.rpo21-dialog * {box-sizing:border-box;}
.rpo21-dialog-header {display:flex;align-items:start;justify-content:space-between;gap:14px;padding:21px 18px 15px;}
.rpo21-eyebrow {font-size:10px!important;line-height:1!important;color:#bd9ad3;letter-spacing:.13em;font-weight:760;margin:0 0 6px!important;}
.rpo21-dialog-header h2 {font-size:24px!important;line-height:1.2!important;letter-spacing:-.025em;font-weight:740;margin:0 0 7px!important;}
.rpo21-dialog-header p:last-child {color:#aeb2c0;font-size:13px;line-height:1.5;margin:0;}
.rpo21-close {display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #444552;border-radius:13px;background:#292b36;color:#eae9ef;font-size:26px;cursor:pointer;}
.rpo21-quick-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:4px 18px 18px;}
.rpo21-quick-choice {display:flex;align-items:center;gap:10px;min-width:0;min-height:48px;padding:8px 10px;text-align:left;border:1px solid #363944;border-radius:12px;background:#242630;color:#e5e5ef;font-size:13px;font-weight:620;cursor:pointer;}
.rpo21-quick-choice[aria-pressed="true"] {border-color:#b17de1;background:#382745;color:#f9f0ff;}
.rpo21-quick-choice:disabled {opacity:.42;cursor:default;}
.rpo21-quick-choice[data-rpo-fixed="dashboard"] {opacity:1!important;cursor:default;border-color:#6602a3;color:#fff;}
.rpo21-quick-choice[data-rpo-fixed="dashboard"] .rpo21-choice-mark {background:#6602a3;color:#fff;}
.rpo21-choice-mark {flex:none;display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#343643;color:#c3c8d0;font-size:16px;}
.rpo21-quick-choice[aria-pressed="true"] .rpo21-choice-mark {background:#b17de1;color:#1a1322;}
.rpo21-dialog-actions {position:sticky;bottom:0;display:flex;gap:10px;padding:12px 18px calc(15px + env(safe-area-inset-bottom,0px));border-top:1px solid #353744;background:#1b1d26;}
.rpo21-dialog-actions button {flex:1;min-height:46px;border:1px solid #40434f;background:#292c37;color:#f3f1f8;font-weight:670;font-size:14px;border-radius:12px;cursor:pointer;}
.rpo21-dialog-actions button.rpo21-primary {background:#844bb7;border-color:#955ac8;color:white;}
.rpo21-dialog :is(button,input):focus-visible {outline:2px solid #d3abf1;outline-offset:2px;}
@media (max-width:760px) {.rpo21-dialog {width:100%;max-width:none;max-height:92dvh;position:fixed;top:auto;bottom:0;left:0;right:0;margin:0;border-radius:24px 24px 0 0;border-bottom:0;}}
@media (max-width:350px) {.rpo21-quick-choices {grid-template-columns:minmax(0,1fr);}}
@media (prefers-reduced-motion:reduce) {.rpo21-dialog *,body.rpo-mobile-v2 * {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}}
/* Route audit additions – selectors taken from the actual Panel(8) renderers.
   Keep established buttons, input names and network actions untouched. */
@media(max-width:760px){
  /* Dashboard, support, voice queue, tickets */
  body.rpo-mobile-v2 #view :is(.dashboard-grid-team,.dashboard-jobs-grid,.support-kpis,.support-case-actions,.vsp-top,.vsp-casebar,.vsp-live-strip,.vsp-pane-header,.ticket-ranking-summary,.ticket-ranking-filters) {min-width:0;max-width:100%;gap:10px;}
  body.rpo-mobile-v2 #view :is(.support-kpis,.dashboard-jobs-grid) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  body.rpo-mobile-v2 #view :is(.vsp-root,.vsp-body,.vsp-queue,.vsp-side-section,.ticket-ranking-card,.ticket-archive-list) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view :is(.vsp-top,.vsp-pane-header,.ticket-ranking-summary,.ticket-ranking-filters) {flex-wrap:wrap;}
  body.rpo-mobile-v2 #view :is(.vsp-subtabs,.vsp-actions,.ticket-ranking-segment,.ticket-archive-modal-actions) {display:flex;flex-wrap:wrap;gap:7px;min-width:0;}
  body.rpo-mobile-v2 #view :is(.vsp-tab,.vsp-actions button,.ticket-ranking-segment button) {min-height:44px;}
  body.rpo-mobile-v2 #view .ticket-archive-categories {grid-template-columns:repeat(2,minmax(0,1fr));}
  /* Players, vehicle registry, items, team, fractions */
  body.rpo-mobile-v2 #view :is(.player-tools,.player-head,.player-profile-header,.identity,.faction-source-strip,.faction-category-card,.faction-card-list,.team-grid) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view :is(.player-tools,.card-title-actions,.faction-source-strip) {flex-wrap:wrap;gap:8px;}
  body.rpo-mobile-v2 #view :is(.faction-card-list,.team-grid) {grid-template-columns:minmax(0,1fr);}
  /* Discord Bot / Audit / Reports + Bugs: preserve content rather than force width */
  body.rpo-mobile-v2 #view :is(.rpo-bot-page,.rpo-bot-hero,.da3-shell,.da3-header,.da3-tabs,.rpo-reports-shell) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view .rpo-bot-hero {flex-wrap:wrap;padding:16px;border-radius:16px;}
  body.rpo-mobile-v2 #view .rpo-bot-page :is(.card,.rpo-bot-card,.rpo-bot-panel) {max-width:100%;min-width:0;}
  body.rpo-mobile-v2 #view .da3-header {flex-wrap:wrap;gap:10px;}
  body.rpo-mobile-v2 #view .da3-tabs {flex-wrap:wrap;gap:6px;}
  /* Server health, console and resource controls */
  body.rpo-mobile-v2 #view :is(.server-info-grid,.server-metrics-grid,.server-diagnostics-grid,.stats-history-grid,.control-status-strip,.server-health-banner) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view :is(.server-info-grid,.server-diagnostics-grid,.server-metrics-grid,.stats-history-grid) {grid-template-columns:minmax(0,1fr)!important;}
  body.rpo-mobile-v2 #view :is(.control-form-row,.control-actions,.control-resource-tools,.history-window-buttons,.server-health-banner) {display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;}
  body.rpo-mobile-v2 #view :is(.control-form-row,.control-actions,.control-resource-tools) > * {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view .server-console-output {font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.55;}
  /* Robberies, NPC and complex option grids */
  body.rpo-mobile-v2 #view :is(.robbery-control-row,.robbery-control-main,.rpo-v32-layout,.rpo-v32-profile,.rpo-v32-fields,.rpo-v32-actions,.rpo-v33-actions,.rpo-v32-switches) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view :is(.rpo-v32-fields,.rpo-v32-grid,.rpo-v32-layout) {grid-template-columns:minmax(0,1fr)!important;}
  body.rpo-mobile-v2 #view :is(.robbery-control-row,.rpo-v32-actions,.rpo-v33-actions) {flex-wrap:wrap;gap:9px;}
  body.rpo-mobile-v2 #view :is(.rpo-v32-input,.rpo-v32-field input,.rpo-v32-field select) {max-width:100%;min-width:0;}
  /* Backups, programs, role permissions, logs */
  body.rpo-mobile-v2 #view :is(.backup-list,.backup-row,.backup-summary-grid,.program-summary-grid,.program-service-grid,.audit-filter-grid,.permission-content,.permission-role-summary) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view :is(.backup-summary-grid,.program-summary-grid,.audit-filter-grid) {grid-template-columns:minmax(0,1fr)!important;}
  body.rpo-mobile-v2 #view :is(.backup-row,.backup-row-actions,.backup-settings-actions,.panel-autostart-actions,.audit-filter-actions,.audit-filter-buttons) {flex-wrap:wrap;gap:8px;}
  body.rpo-mobile-v2 #view :is(.backup-row-main,.backup-row-meta,.program-summary,.audit-stream) {min-width:0;max-width:100%;overflow-wrap:anywhere;}
  /* Help, changelog, preview editor and secondary sections */
  body.rpo-mobile-v2 #view :is(.help-hero,.help-content,.help-index,.help-topic-grid,.changelog-workspace,.changelog-history-card,.announcement-editor,.announcement-preview-card,.changelog-editor) {min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view :is(.help-topic-grid,.changelog-workspace) {grid-template-columns:minmax(0,1fr)!important;}
  body.rpo-mobile-v2 #view :is(.announcement-format-toolbar,.announcement-submit-row,.changelog-history-head) {flex-wrap:wrap;gap:8px;}
  body.rpo-mobile-v2 #view :is(.announcement-editor textarea,.changelog-editor textarea) {width:100%;min-height:120px;}
}
@media(max-width:375px){
 body.rpo-mobile-v2 #view :is(.dashboard-jobs-grid,.support-kpis,.ticket-archive-categories) {grid-template-columns:minmax(0,1fr)!important;}
}
@media (max-width:760px) {
  body.rpo-mobile-v2 #app .sidebar .rpo21-settings-trigger {margin:1px 0 10px;flex-shrink:0;}
  body.rpo-mobile-v2 #app .sidebar .rpo21-menu-empty {color:#adb1bf;font-size:13px;padding:14px 12px;margin:0;text-align:center;}
}


/* ----- Source: rpo-player-ux-v5.css ----- */
/* RPO Control 2.1.1 — player-only mobile design system, no desktop changes. */
@media (max-width:760px){
  body.rpo-mobile-v2 #view:has(> .player-profile-header) {--rpo5-ink:#f2f3f5;--rpo5-muted:#a1a2ae;--rpo5-stroke:rgba(255,255,255,.105);--rpo5-panel:#191a22;--rpo5-tint:#6602a3;}
  body.rpo-mobile-v2 #view > .player-profile-header {display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px 15px 17px!important;margin:0 0 12px!important;border-radius:20px!important;min-height:0;background:linear-gradient(155deg,#1c1d24 0%,#171820 55%,#171820 100%);border-color:#363842;}
  body.rpo-mobile-v2 #view .rpo5-back {align-self:flex-start;display:inline-flex;align-items:center;min-height:36px;min-width:44px;padding:2px 8px 2px 0;border:0;background:none;color:#b9bdc7;font-weight:650;font-size:14px;cursor:pointer;text-align:left;}
  body.rpo-mobile-v2 #view > .player-profile-header .identity {align-items:center;gap:12px;min-width:0;}
  body.rpo-mobile-v2 #view > .player-profile-header .avatar {width:49px;height:49px;flex:0 0 49px;font-size:17px;border-radius:14px;background:#1c1d24;border-color:#363842;color:#f2f3f5;}
  body.rpo-mobile-v2 #view > .player-profile-header .identity h1 {font-size:22px;line-height:1.24;font-weight:730;letter-spacing:-.025em;gap:7px;}
  body.rpo-mobile-v2 #view > .player-profile-header .identity h1 .badge {font-size:10px;padding:5px 9px;border-radius:12px;font-weight:650;letter-spacing:0;}
  body.rpo-mobile-v2 #view > .player-profile-header .identity p {display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px;font-size:11px;}
  body.rpo-mobile-v2 #view .rpo5-identifier {display:flex;align-items:center;min-width:0;max-width:100%;gap:8px;padding:5px 5px 5px 9px;background:rgba(0,0,0,.17);border:1px solid rgba(255,255,255,.07);border-radius:9px;}
  body.rpo-mobile-v2 #view > .player-profile-header .identity p .rpo5-id-text {display:block;min-width:0;max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;padding:0!important;border:0!important;background:none!important;color:#b9bdc7;}
  body.rpo-mobile-v2 #view .rpo5-copy {flex:0 0 auto;padding:6px 9px;border:0;border-radius:7px;min-height:32px;background:#1c1d24;color:#f2f3f5;font-size:11px;font-weight:650;}
  body.rpo-mobile-v2 #view .rpo5-action-bar {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:9px;margin:0 0 18px;min-width:0;}
  body.rpo-mobile-v2 #view .rpo5-action-bar:has(> button:only-child){grid-template-columns:1fr;}
  body.rpo-mobile-v2 #view .rpo5-action-bar button {display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;min-width:0;padding:10px 12px;font-size:14px;line-height:1.2;border-radius:13px;cursor:pointer;font-weight:675;}
  body.rpo-mobile-v2 #view .rpo5-primary {background:#1c1d24;border:1px solid #363842;color:#f2f3f5;}
  body.rpo-mobile-v2 #view .rpo5-action-more {background:#1c1d24;border:1px solid #363842;color:#f2f3f5;}
  body.rpo-mobile-v2 #view .rpo5-action-count {display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 4px;background:#1c1d24;border-radius:9px;font-size:11px;}
  /* RPO226_LEGACY_ACTION_HIDE_REMOVED */
  body.rpo-mobile-v2 #view > .tabs.rpo5-original-tabs {display:none!important;}
  body.rpo-mobile-v2 #view .rpo5-sections {min-width:0;margin:0 0 15px;}
  body.rpo-mobile-v2 #view .rpo5-segmented {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:4px;background:#1c1d24;border:1px solid #363842;border-radius:15px;}
  body.rpo-mobile-v2 #view .rpo5-section {min-height:48px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;overflow:hidden;padding:6px 3px;border:0;border-radius:11px;background:transparent;color:#b9bdc7;font-size:11px;font-weight:670;line-height:1.12;letter-spacing:-.01em;text-align:center;overflow-wrap:anywhere;cursor:pointer;}
  body.rpo-mobile-v2 #view .rpo5-section.active {color:#f2f3f5;background:#1c1d24;}
  body.rpo-mobile-v2 #view .rpo5-section small {color:#f2f3f5;font-size:9px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  body.rpo-mobile-v2 #view #playerTab {min-width:0;}
  body.rpo-mobile-v2 #view #playerTab .profile-grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-profile-card {padding:15px 15px 9px!important;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-profile-card>.card-title {display:flex;align-items:center;flex-wrap:nowrap;justify-content:space-between;gap:8px;margin-bottom:10px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-profile-card>.card-title h2 {font-size:17px;line-height:1.2;letter-spacing:-.01em;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-profile-card #editProfileBtn {margin-left:auto;flex:0 0 auto;width:auto;max-width:55%;min-height:39px;padding:7px 10px;font-size:12px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-glance {display:grid;gap:0;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-subtitle {color:#b9bdc7;font-weight:650;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin:3px 0 0;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-glance .info-row {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:13px 1px;border-bottom:1px solid rgba(255,255,255,.07);}
  body.rpo-mobile-v2 #view #playerTab .rpo5-glance .info-row>span:first-child {font-size:13px;color:#a7a9b6;flex:0 1 44%;line-height:1.3;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-glance .info-row>span:last-child {font-size:13px;color:#f2f3f5;text-align:right;flex:1;word-break:normal;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-glance .info-row .job-display {max-width:62%;min-width:0;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-glance .info-row .job-display b {display:block;font-size:14px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-glance .info-row .job-display small {display:block;color:#b9bdc7;font-size:11px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal {margin:0 -1px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal>summary {list-style:none;display:flex;align-items:center;min-height:47px;color:#b9bdc7;font-size:13px;font-weight:670;cursor:pointer;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal>summary::-webkit-details-marker {display:none;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal>summary:after {content:'⌄';font-size:19px;line-height:1;margin-left:auto;transition:transform .15s ease;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal[open]>summary:after {transform:rotate(180deg);}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal-content {padding:0 0 10px;border-top:1px solid rgba(255,255,255,.075);}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal-content .info-row {display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 1px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal-content .info-row>span {font-size:13px!important;min-width:0;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-personal-content .info-row>span:last-child {text-align:right;color:#f2f3f5;}
  body.rpo-mobile-v2 #view #playerTab .jobs-list {gap:0;}
  body.rpo-mobile-v2 #view #playerTab .job-line {border:0;border-bottom:1px solid rgba(255,255,255,.07);border-radius:0;background:transparent;padding:14px 0;min-width:0;gap:12px;}
  body.rpo-mobile-v2 #view #playerTab .job-line .row-actions {gap:8px;flex-wrap:wrap;}
  body.rpo-mobile-v2 #view #playerTab .job-line .row-actions .icon-btn {height:44px;width:44px;}
  body.rpo-mobile-v2 #view #playerTab .money-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;}
  body.rpo-mobile-v2 #view #playerTab .money-card {min-width:0;padding:15px 13px;background:#191b23;border:1px solid #363842;}
  body.rpo-mobile-v2 #view #playerTab .money-card strong {overflow-wrap:anywhere;font-size:19px;letter-spacing:-.02em;}
  body.rpo-mobile-v2 #view #playerTab .money-card button {min-width:0;min-height:40px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-source-table {display:none!important;}
  body.rpo-mobile-v2 #view #playerTab .table-wrap:has(> table.rpo5-source-table) {display:none!important;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-list {display:grid;gap:10px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record {min-width:0;border:1px solid #363842;border-radius:14px;background:#1b1c25;padding:14px;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record h3 {font-size:15px;font-weight:690;margin:0 0 5px;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-sub {font:11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:#9a9ea9;margin:0 0 10px;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-details {display:grid;grid-template-columns:minmax(85px,38%) minmax(0,1fr);gap:7px 12px;margin:10px 0 0;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-details dt {font-size:12px;color:#9d9fac;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-details dd {font-size:13px;color:#f2f3f5;margin:0;min-width:0;overflow-wrap:anywhere;text-align:right;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-actions {display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.065);}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-btn {border:1px solid #363842;border-radius:10px;background:#1c1d24;color:#f2f3f5;padding:8px 11px;min-height:44px;font-size:12px;font-weight:620;flex:1 1 auto;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-record-btn.danger {color:#ffb2c1;border-color:#64404a;background:#33212a;}
  body.rpo-mobile-v2 #view #playerTab .rpo5-empty {color:#a9abb7;font-size:13px;margin:8px 0;}
  body.rpo-mobile-v2 #view #playerTab .card-title-actions {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;}
  body.rpo-mobile-v2 #view #playerTab .card-title-actions .btn {min-height:42px;}
  body.rpo-mobile-v2 #view #playerTab :is(.filters,.support-akte-filters) {width:100%;display:flex;flex-wrap:wrap;gap:8px;}
  body.rpo-mobile-v2 #view #playerTab :is(.filters,.support-akte-filters)>* {flex:1 1 130px;min-width:0;}
  body.rpo-mobile-v2 #view #playerTab :is(input,select) {font-size:16px;}
  body.rpo-mobile-v2 #view :is(.rpo5-section,.rpo5-copy,.rpo5-back,.rpo5-action-bar button,.rpo5-record-btn):focus-visible {outline:2px solid #f2f3f5;outline-offset:2px;}
}
@media(max-width:360px){
 body.rpo-mobile-v2 #view > .player-profile-header .identity h1 {font-size:20px;}
 body.rpo-mobile-v2 #view .rpo5-section {font-size:10px;}
 body.rpo-mobile-v2 #view #playerTab .money-grid {grid-template-columns:1fr!important;}
}
/* Native dialogs live outside #view. */
.rpo5-sheet {box-sizing:border-box;color-scheme:dark;color:#f6f3f9;background:#1a1b24;border:1px solid #3a3946;border-radius:22px;padding:0;width:min(470px,calc(100% - 24px));max-height:min(85dvh,680px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 26px 85px rgba(0,0,0,.7);font-family:-apple-system,BlinkMacSystemFont,Inter,"Segoe UI",sans-serif;}
.rpo5-sheet *{box-sizing:border-box;}
.rpo5-sheet::backdrop{background:rgba(0,0,0,.70);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);}
.rpo5-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:19px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08);}
.rpo5-sheet-head h2{margin:0 0 6px;font-size:21px;line-height:1.2;letter-spacing:-.02em;}
.rpo5-sheet-head p{margin:0;font-size:12px;color:#a5a5b4;line-height:1.4;}
.rpo5-close{flex:0 0 auto;border:1px solid #474351;background:#292935;color:#e8e4ed;border-radius:10px;min-height:42px;padding:5px 11px;font-size:12px;font-weight:650;}
.rpo5-sheet-body{padding:8px 17px calc(18px + env(safe-area-inset-bottom,0px));}
.rpo5-group-title{color:#b2aebe;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin:17px 0 7px;font-weight:730;}
.rpo5-action-item,.rpo5-area-item{display:flex;align-items:center;gap:13px;text-align:left;width:100%;min-height:52px;padding:10px 12px;border:0;border-bottom:1px solid rgba(255,255,255,.075);background:transparent;color:#f1f0f7;font-size:14px;cursor:pointer;}
.rpo5-action-item svg{flex:0 0 19px;width:19px;height:19px;color:#bda5cf;fill:none;stroke:currentColor;stroke-width:1.8;}
.rpo5-action-item strong{display:block;font-size:14px;font-weight:630;}
.rpo5-action-item small{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:#a3a2ae;}
.rpo5-action-item:disabled{opacity:.52;cursor:not-allowed;}
.rpo5-action-item.rpo5-danger{color:#ffb7c3;}
.rpo5-action-item.rpo5-danger svg{color:#ffb7c3;}
.rpo5-unavailable{margin-top:14px;border-top:1px solid #383641;}
.rpo5-unavailable summary{color:#a6a6b5;min-height:44px;padding:12px 0;cursor:pointer;font-size:12px;}
.rpo5-area-item{justify-content:space-between;min-height:49px;border-radius:9px;}
.rpo5-area-item.active{color:#dbb5f1;background:#31243d;}
.rpo5-check{font-size:18px;color:#d7a9ed;}
.rpo5-empty{color:#a9a8b6;font-size:13px;line-height:1.55;}
.rpo5-sheet :is(button,summary):focus-visible {outline:2px solid #d9a9ff;outline-offset:2px;}
@media(max-width:760px){
 .rpo5-sheet{position:fixed;top:auto;bottom:0;left:0;right:0;margin:0;max-width:none;width:100%;border-radius:24px 24px 0 0;border-bottom:0;max-height:min(86dvh,800px);}
}
@media(prefers-reduced-motion:reduce){.rpo5-sheet *,body.rpo-mobile-v2 .rpo5-personal summary:after{transition:none!important;animation:none!important;}}


/* ----- Source: rpo-player-direct-v6.css ----- */
/* The mobile enhancement nodes must never leak into the unchanged desktop UI. */
.rpo6-heading,.rpo6-quick-actions,.rpo6-directory,.rpo6-detail-nav{display:none;}
@media(min-width:761px){#playerTab .rpo5-record-list{display:none!important;}}
/* RPO Control: direct, native-feeling mobile player navigation. Desktop is not affected. */
@media(max-width:760px){
  /* RPO226_LEGACY_DRAWER_HIDE_REMOVED */
  body.rpo-mobile-v2 #view.rpo6-player-route{max-width:100%;min-width:0;overflow-x:clip;}
  body.rpo-mobile-v2 #view.rpo6-player-route>.player-profile-header.rpo6-identity{
    position:relative;display:flex;flex-direction:column;gap:0;min-height:0;margin:0 0 0!important;padding:0 0 13px!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;min-height:40px;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-list-back,
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-more{
    border:0;background:transparent;color:#f2f3f5;display:inline-flex;align-items:center;gap:3px;
    min-height:44px;min-width:44px;padding:0 4px;font-size:15px;font-weight:590;cursor:pointer;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-more{justify-content:center;border:1px solid #363842;background:#1c1d24;border-radius:12px;width:44px;}
  .rpo6-icon{display:inline-grid;place-items:center;flex:none;width:21px;height:21px;}
  .rpo6-icon svg{display:block;width:100%;height:100%;}
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .identity{min-width:0;gap:12px;align-items:center;}
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .avatar{
    width:48px;height:48px;flex:0 0 48px;font-size:16px;border-radius:15px;background:#1c1d24;color:#f2f3f5;border:1px solid #363842;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .identity>div:last-child{flex:1;min-width:0;}
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .identity h1{
    margin:0;font-size:clamp(19px,5vw,23px);line-height:1.27;font-weight:720;letter-spacing:-.035em;display:flex;gap:7px;align-items:center;flex-wrap:wrap;overflow-wrap:anywhere;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .identity h1 .badge{font-size:10px;font-weight:650;border-radius:20px;padding:3px 8px;letter-spacing:0;}
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .identity p{display:none!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-profile-meta{color:#b9bdc7;margin-top:5px;font-size:12px;line-height:1.35;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view.rpo6-player-route>.tabs.rpo5-original-tabs{display:none!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick-actions{display:flex;gap:10px;margin:9px 0 20px;min-width:0;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick{
    flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:47px;
    border-radius:13px;border:1px solid #363842;background:#1c1d24;color:#f2f3f5;
    padding:10px 9px;font:650 13.5px/1.15 -apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;cursor:pointer;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick.primary{border-color:#363842;background:#1c1d24;color:#f2f3f5;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick:disabled{opacity:.38;cursor:not-allowed;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-directory{display:block;margin:0 0 15px;}
  body.rpo-mobile-v2 #view.rpo6-player-route [hidden]{display:none!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-group{margin:0 0 21px;min-width:0;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-group-label{
    font:720 10.5px/1.5 -apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;color:#b9bdc7;letter-spacing:.09em;
    margin:0 0 8px 10px;text-transform:uppercase;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-group-panel{overflow:hidden;border-radius:15px;border:1px solid #363842;background:#1a1b23;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link{
    width:100%;display:flex;gap:13px;align-items:center;text-align:left;min-width:0;min-height:52px;
    padding:10px 14px;border:0;background:transparent;color:#f2f3f5;font:580 14.5px/1.2 -apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;
    cursor:pointer;position:relative;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link+.rpo6-link:before{
    content:"";height:1px;background:rgba(255,255,255,.075);position:absolute;left:48px;right:0;top:0;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link .rpo6-icon:first-child{color:#b9bdc7;width:20px;height:20px;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link .rpo6-link-text{min-width:0;flex:1;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link .rpo6-icon:last-child{color:#65636e;width:17px;height:17px;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link:active{background:#1c1d24;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-detail-nav{
    display:flex;flex-direction:column;gap:7px;margin:2px 0 13px;min-width:0;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-detail-back{
    display:inline-flex;align-items:center;gap:4px;align-self:flex-start;background:transparent;border:0;color:#f2f3f5;
    font:600 14px/1.2 -apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;min-height:44px;padding:4px 0;cursor:pointer;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-detail-title{font:730 22px/1.25 -apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;color:#f2f3f5;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab{min-width:0;max-width:100%;}
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab .profile-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px;}
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab.rpo6-personal-view .rpo6-jobs-card,
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab.rpo6-jobs-view .rpo6-personal-card{display:none!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab .rpo6-personal-card .card-title h2{font-size:17px;}
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab .rpo6-personal-card .info-row{
    display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:52px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.07);
  }
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab .rpo6-personal-card .info-row>span:first-child{color:#b9bdc7;font-size:12px;flex:0 1 42%;}
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab .rpo6-personal-card .info-row>span:last-child{font-size:13px;min-width:0;max-width:60%;text-align:right;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view.rpo6-player-route #playerTab .rpo6-jobs-card .job-line{background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.08);border-radius:0;}
  body.rpo-mobile-v2 #view.rpo6-player-route :is(.rpo6-list-back,.rpo6-more,.rpo6-quick,.rpo6-link,.rpo6-detail-back):focus-visible{outline:2px solid #f2f3f5;outline-offset:2px;}
}
.rpo6-dialog{color-scheme:dark;box-sizing:border-box;color:#eeeaf3;background:#1d1d27;border:1px solid #3a3744;border-radius:22px;padding:0;width:min(420px,calc(100% - 24px));max-height:min(82dvh,740px);overflow:auto;box-shadow:0 18px 90px rgba(0,0,0,.67);font-family:-apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;}
.rpo6-dialog::backdrop{background:rgba(0,0,0,.68);backdrop-filter:blur(4px);}
.rpo6-dialog *{box-sizing:border-box;}
.rpo6-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 16px 12px;border-bottom:1px solid rgba(255,255,255,.07);}
.rpo6-dialog-header h2{font-size:18px;font-weight:720;letter-spacing:-.02em;margin:0;}
.rpo6-close{border:0;border-radius:9px;background:#333040;color:#e2d9eb;min-height:38px;padding:7px 12px;font-size:13px;font-weight:650;}
.rpo6-dialog-content{padding:5px 16px 18px;}
.rpo6-dialog-label{margin:16px 2px 6px;color:#a09cab;font-size:10px;letter-spacing:.09em;font-weight:750;}
.rpo6-menu-row{display:block;width:100%;min-height:50px;text-align:left;padding:10px 9px;border:0;border-bottom:1px solid rgba(255,255,255,.08);color:#efeaf2;background:transparent;font-size:14px;font-weight:580;}
.rpo6-menu-row.danger{color:#ffb9c4;}
.rpo6-menu-row:disabled{opacity:.4;}
.rpo6-hint{font-size:13px;color:#b4adbb;line-height:1.4;margin:16px 4px;}
.rpo6-unavailable{margin:14px 0 0;}
.rpo6-unavailable summary{font-size:12px;color:#99949f;min-height:44px;padding:13px 5px;}
.rpo6-dialog :is(button,summary):focus-visible{outline:2px solid #dbb0ef;outline-offset:2px;}
@media(max-width:760px){.rpo6-dialog{position:fixed;top:auto;bottom:0;left:0;right:0;margin:0;width:100%;max-width:none;border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom,0px);max-height:86dvh;}}
@media(prefers-reduced-motion:reduce){.rpo6-dialog *,body.rpo-mobile-v2 #view.rpo6-player-route *{transition-duration:0ms!important;animation-duration:0ms!important;}}

@media(max-width:760px){
  body.rpo-mobile-v2 #view.rpo6-player-route:not([data-rpo6-mode="home"]) .player-profile-header .identity,
  body.rpo-mobile-v2 #view.rpo6-player-route:not([data-rpo6-mode="home"]) .rpo6-quick-actions{display:none!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route:not([data-rpo6-mode="home"]) .rpo6-heading{margin-bottom:5px;}
  body.rpo-mobile-v2 #view.rpo6-player-route:not([data-rpo6-mode="home"]) .rpo6-detail-nav{margin-top:4px;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-list-back>span:last-child{max-width:min(62vw,245px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
}


/* ----- Source: rpo-player-brand-v7.css ----- */
/* RoleplayOnline / RPO Control 2.1.3: restore the official saturated RPO violet.
   Mobile only; never replace or restyle player actions, links or desktop screens. */
@media (max-width:760px) {
  body.rpo-mobile-v2 #view.rpo6-player-route {
    --rpo-player-accent:var(--rpo,#6602a3);
    --rpo-player-surface:#1c1d24;
    --rpo-player-stroke:rgba(255,255,255,.10);
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .avatar {
    background:linear-gradient(155deg,#1c1d24,#1c1d24)!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.12)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick.primary {
    background:#6602a3!important;
    border-color:#7d17b8!important;
    color:#fff!important;
    box-shadow:0 4px 18px rgba(0,0,0,.18)!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick:not(.primary) {
    background:#1c1d24!important;
    color:#f2f3f5!important;
    border-color:var(--rpo-player-stroke)!important;
    box-shadow:none!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-list-back,
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-detail-back {color:#b9bdc7!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-more {
    background:#1c1d24!important;
    border-color:var(--rpo-player-stroke)!important;
    color:#f2f3f5!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-group-panel {
    background:var(--rpo-player-surface)!important;
    border-color:var(--rpo-player-stroke)!important;
    box-shadow:none!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link {
    background:transparent!important;
    color:#f2f3f5!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link:active {background:rgba(255,255,255,.055)!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link .rpo6-icon:first-child {color:#b9bdc7!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link .rpo6-icon:last-child {color:#b9bdc7!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-group-label {color:#b9bdc7!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-profile-meta {color:#b9bdc7!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link:focus-visible,
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick:focus-visible {outline:2px solid #f2f3f5!important;outline-offset:2px;}
}
.rpo6-dialog {background:#121118!important;border-color:rgba(222,203,238,.17)!important;color:#f2eef5!important;}
.rpo6-dialog .rpo6-close {background:#25212b!important;color:#f2edf5!important;}
.rpo6-dialog .rpo6-menu-row {color:#f2eef5!important;}
.rpo6-dialog .rpo6-menu-row.danger {color:#ff9ca9!important;}
.rpo6-dialog .rpo6-dialog-label {color:#9f98a7!important;}
.rpo6-dialog :is(button,summary):focus-visible {outline-color:#ac50e1!important;}


/* ----- Source: rpo-mobile-v3.css ----- */
/* RPO Control Mobile UX v2.0 · progressive mobile-only enhancement.
   Scope: body.rpo-mobile-v2, max-width:760px. Desktop and legacy mode untouched. */
@media (max-width:760px) {
  body.rpo-mobile-v2 {
    --rpo-m-nav:68px;
    --rpo-m-gap:14px;
    --rpo-m-inset-l:env(safe-area-inset-left, 0px);
    --rpo-m-inset-r:env(safe-area-inset-right, 0px);
    --rpo-m-inset-b:env(safe-area-inset-bottom, 0px);
    --rpo-m-inset-t:env(safe-area-inset-top, 0px);
    background:#0a0b10;
    overflow-x:clip;
    -webkit-text-size-adjust:100%;
  }
  body.rpo-mobile-v2 #app,
  body.rpo-mobile-v2 #app .shell,
  body.rpo-mobile-v2 #app main,
  body.rpo-mobile-v2 #view,
  body.rpo-mobile-v2 #view > *,
  body.rpo-mobile-v2 #view .card,
  body.rpo-mobile-v2 #view .table-wrap,
  body.rpo-mobile-v2 #view .page-head,
  body.rpo-mobile-v2 #view .table-tools {
    min-width:0;
    max-width:100%;
  }
  body.rpo-mobile-v2 #app { width:100%; }
  body.rpo-mobile-v2 .shell { display:grid;grid-template-columns:minmax(0,1fr); }
  body.rpo-mobile-v2 main { width:100%; overflow-x:clip; }
  body.rpo-mobile-v2 #view {
    width:100%;
    padding:18px calc(var(--rpo-m-gap) + var(--rpo-m-inset-r)) calc(var(--rpo-m-nav) + 24px + var(--rpo-m-inset-b)) calc(var(--rpo-m-gap) + var(--rpo-m-inset-l));
    margin:0;
    overflow-wrap:break-word;
  }
  body.rpo-mobile-v2 #app .topbar {
    width:100%;gap:11px;
    background:rgba(13,14,20,.94)!important;
    -webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);
    border-bottom:1px solid rgba(255,255,255,.07);
  }
  body.rpo-mobile-v2 .search-global { height:44px;border-radius:14px;background:#1b1c24; }
  body.rpo-mobile-v2 .search-global input {font-size:16px!important;letter-spacing:0}
  body.rpo-mobile-v2 #mobileNavToggle {border-radius:13px;background:#1c1d25!important;border-color:#2b2d38!important;}
  body.rpo-mobile-v2 .global-search-results { z-index:100; }
  body.rpo-mobile-v2 .page-head { margin:2px 0 18px;display:flex;flex-direction:column;align-items:stretch;gap:12px; }
  body.rpo-mobile-v2 .page-eyebrow {font-size:10px;letter-spacing:.12em;color:#b9bdc7}
  body.rpo-mobile-v2 .page-head h1 {font-size:clamp(26px,7vw,34px);line-height:1.12;letter-spacing:-.04em;margin:3px 0 5px}
  body.rpo-mobile-v2 .page-head p {font-size:13px;line-height:1.48;margin:0;color:#9aa0af}
  body.rpo-mobile-v2 .page-head .actions {justify-content:flex-start;display:flex;gap:8px;flex-wrap:wrap;min-width:0}
  body.rpo-mobile-v2 .page-head .actions .btn {min-height:42px;max-width:100%;white-space:normal}
  body.rpo-mobile-v2 .card {border-radius:18px;box-shadow:none;background:#14151c;border-color:#282a36;padding:15px;}
  body.rpo-mobile-v2 .card + .card {margin-top:10px}
  body.rpo-mobile-v2 .stat-card {border-radius:17px;padding:16px;background:linear-gradient(155deg,#191a23,#13141b);box-shadow:none}
  body.rpo-mobile-v2 .stats,body.rpo-mobile-v2 .stats.two {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  body.rpo-mobile-v2 .stats>.stat-card:last-child:nth-child(odd) {grid-column:1/-1}
  body.rpo-mobile-v2 .stat-card .v {font-size:clamp(23px,6vw,31px)}
  body.rpo-mobile-v2 .dashboard-grid,body.rpo-mobile-v2 .profile-grid,body.rpo-mobile-v2 .health-grid,body.rpo-mobile-v2 .money-grid,body.rpo-mobile-v2 .team-grid,body.rpo-mobile-v2 .server-lower-grid,body.rpo-mobile-v2 .server-diagnostics-grid,body.rpo-mobile-v2 .stats-history-grid {grid-template-columns:minmax(0,1fr)!important}
  body.rpo-mobile-v2 .jobs-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rpo-mobile-v2 .filters {display:flex!important;flex-wrap:wrap;align-items:stretch;justify-content:flex-start;gap:8px}
  body.rpo-mobile-v2 .filters > * {flex:1 1 145px;max-width:100%;min-width:0}
  body.rpo-mobile-v2 .filters select,body.rpo-mobile-v2 .filters input {width:100%;height:44px;font-size:16px!important}
  body.rpo-mobile-v2 .table-tools {display:flex;align-items:stretch;flex-direction:column;gap:10px;margin:0 0 12px}
  body.rpo-mobile-v2 .table-tools > *,body.rpo-mobile-v2 .search-box {width:100%;min-width:0;max-width:100%}
  body.rpo-mobile-v2 .search-box {height:46px;border-radius:13px}
  body.rpo-mobile-v2 .search-box input {font-size:16px!important;min-width:0}
  body.rpo-mobile-v2 #view :is(input,textarea,select) {font-size:16px!important;max-width:100%;}
  body.rpo-mobile-v2 #view :is(button,.btn,[role="button"]) {touch-action:manipulation}
  body.rpo-mobile-v2 #view :is(.btn,.icon-btn,.tab,.tabs button,.filters button) {min-height:42px}
  body.rpo-mobile-v2 :is(.rpo-mobile-tabs,.tabs,.faction-tabs,.ticket-ranking-segment,.vsp-tabs) {display:flex!important;align-items:stretch;flex-wrap:wrap;gap:6px;max-width:100%;min-width:0;overflow:visible!important}
  body.rpo-mobile-v2 :is(.tabs,.faction-tabs,.ticket-ranking-segment,.vsp-tabs) > :is(button,.tab) {flex:1 1 auto;min-height:44px;min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:12px!important;line-height:1.25;padding:9px 11px}
  body.rpo-mobile-v2 .tabs {margin:0 0 12px}
  body.rpo-mobile-v2 .pager {flex-wrap:wrap;gap:9px}
  body.rpo-mobile-v2 .pager-controls {display:flex;flex-wrap:wrap;overflow:visible;gap:5px;width:100%}
  body.rpo-mobile-v2 .pager-controls button {min-width:40px;min-height:42px}
  body.rpo-mobile-v2 .page-jump {max-width:100%;margin:0}
  body.rpo-mobile-v2 .page-jump input {min-width:60px;font-size:16px!important}
  body.rpo-mobile-v2 #view :is(.row-actions,.card-title-actions,.player-actions,.modal-actions,.vsp-actions,.announcement-submit-row,.ticket-archive-modal-actions) {flex-wrap:wrap;gap:8px}
  body.rpo-mobile-v2 #view :is(.row-actions,.card-title-actions,.player-actions,.modal-actions,.vsp-actions,.announcement-submit-row,.ticket-archive-modal-actions) > .btn {min-height:44px}
  body.rpo-mobile-v2 #view :is(.support-team-stats,.refund-table,.ticket-archive-table,.table) {min-width:0!important;}
  body.rpo-mobile-v2 #view .table-wrap {width:100%;margin:0;overflow-x:visible!important;overflow-y:visible;border-radius:0;}
  body.rpo-mobile-v2 #view .table-wrap::after {display:none!important}
  /* Existing rows and their listeners remain in the DOM; nothing is cloned or removed. */
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table {display:block!important;width:100%!important;table-layout:auto!important;min-width:0!important;border:0!important;background:transparent!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > thead,
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tfoot {display:none!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody {display:flex!important;flex-direction:column;gap:10px;width:100%;min-width:0;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr {display:flex!important;flex-direction:column;width:100%;min-width:0;max-width:100%;height:auto!important;padding:10px 13px;border:1px solid #2a2b36;border-radius:16px;background:#191a22;box-shadow:none;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr[hidden],
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr.hidden {display:none!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th) {display:grid!important;grid-template-columns:minmax(85px,35%) minmax(0,1fr);align-items:center;gap:10px;min-width:0!important;max-width:100%;width:100%!important;height:auto!important;padding:10px 0!important;margin:0!important;border:0!important;background:transparent!important;text-align:left!important;white-space:normal!important;font-size:13px!important;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th) + :is(td,th) {border-top:1px solid rgba(255,255,255,.045)!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th)::before {content:attr(data-rpo-label);color:#888e9f;font-size:11px;line-height:1.4;font-weight:600;letter-spacing:.01em;align-self:start;margin-top:2px;min-width:0;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th).rpo-mobile-primary {display:block!important;padding:7px 0 11px!important;font-weight:730;color:#f2f3f5;font-size:15px!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th).rpo-mobile-primary::before {display:block;font-size:10px;margin:0 0 3px;text-transform:uppercase;letter-spacing:.08em;color:#b9bdc7;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th).rpo-mobile-wide-cell {display:block!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th).rpo-mobile-wide-cell::before {display:none}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th) :is(button,.btn,select,input) {max-width:100%;min-width:0}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th) .row-actions {display:flex;flex-wrap:wrap;gap:6px;min-width:0}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th) a {overflow-wrap:anywhere}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th) [style*="white-space: nowrap"] {white-space:normal!important}
  body.rpo-mobile-v2 #view :is(.card,.table-wrap,.row-actions,.info-row,.job-line,.player-head,.identity,.faction-card,.vsp-shell,.vsp-body,.vsp-queue,.ticket-archive-list,.support-builder-person,.support-team-stats) {min-width:0;max-width:100%}
  body.rpo-mobile-v2 #view :is(.card,.stats,.dashboard-grid,.program-summary-grid,.faction-kpi-grid,.server-metrics-grid,.vsp-grid,.support-team-stats) {overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view :is(.faction-kpi-grid,.faction-money-grid,.program-service-grid,.vehicle-lab-detail-grid,.refund-context-grid,.ticket-archive-detail-grid,.support-refund-columns,.announcement-workspace,.vsp-grid,.rpo-v32-grid) {grid-template-columns:minmax(0,1fr)!important;}
  body.rpo-mobile-v2 #view :is(.ticket-archive-categories,.changelog-history,.console-tools,.vehicle-lab-tools,.support-case-actions) {max-width:100%;min-width:0;flex-wrap:wrap}
  body.rpo-mobile-v2 #view .ticket-archive-categories {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible;padding:0;gap:8px}
  body.rpo-mobile-v2 #view .ticket-archive-category {min-width:0;width:100%;padding:10px;gap:6px;grid-template-columns:22px minmax(0,1fr) auto}
  body.rpo-mobile-v2 #view .ticket-archive-category b {font-size:12px}
  body.rpo-mobile-v2 #view .changelog-history-head {flex-direction:column;align-items:flex-start}
  body.rpo-mobile-v2 #view :is(.server-console-output,pre,code,.console-output) {max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;}
  body.rpo-mobile-v2 #view .server-console-output {overflow:auto;max-height:55dvh;overscroll-behavior:contain;}
  body.rpo-mobile-v2 #view :is(img,video,canvas,svg) {max-width:100%;}
  body.rpo-mobile-v2 #view iframe {display:block;max-width:100%;}
  body.rpo-mobile-v2 #view :is(.announcement-preview-card,.announcement-editor,.player-profile-header,.ticket-ranking-card) {min-width:0;width:100%;}
  /* Drawer: single vertical list, not an overflowing desktop sidebar. */
  body.rpo-mobile-v2 #app .sidebar {width:min(330px,calc(100vw - 36px));max-width:calc(100vw - 36px);z-index:160!important;background:#13141b;border-right:1px solid #363842;box-shadow:24px 0 80px rgba(0,0,0,.66);}
  body.rpo-mobile-v2 #app .sidebar>nav {display:flex!important;flex-direction:column;grid-template-columns:none!important;gap:4px;overflow:auto!important;min-width:0;padding-bottom:12px}
  body.rpo-mobile-v2 #app .sidebar .nav-label {display:block;font-size:10px;margin-top:8px}
  body.rpo-mobile-v2 #app .sidebar .nav-item {display:flex;justify-content:flex-start;min-height:46px;padding:10px 12px;font-size:14px}
  body.rpo-mobile-v2 #app .sidebar .nav-text {font-size:14px}
  body.rpo-mobile-v2 #app .sidebar>.sidebar-foot {display:block!important;min-width:0}
  body.rpo-mobile-v2 #app .sidebar .logout {min-height:44px}
  body.rpo-mobile-v2.nav-open .nav-backdrop {z-index:150!important;}
  body.rpo-mobile-v2 .rpo-mobile-tabbar {position:fixed;display:flex;flex-direction:row!important;align-items:center!important;justify-content:space-around;gap:0;left:0;right:0;bottom:0;min-width:0;padding:6px calc(7px + var(--rpo-m-inset-r)) calc(5px + var(--rpo-m-inset-b)) calc(7px + var(--rpo-m-inset-l));min-height:calc(var(--rpo-m-nav) + var(--rpo-m-inset-b));z-index:44;border-top:1px solid rgba(255,255,255,.09);background:rgba(21,22,30,.94);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);box-shadow:0 -8px 36px rgba(0,0,0,.18);}
  body.rpo-mobile-v2 .rpo-mobile-tab {display:flex;flex:1 1 0;min-width:0;max-width:120px;min-height:55px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:12px;background:transparent;color:#9ca0b0;font-size:10px;font-weight:650;line-height:1.1;cursor:pointer;padding:5px 2px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
  body.rpo-mobile-v2 .rpo-mobile-tab svg {display:block;width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
  body.rpo-mobile-v2 .rpo-mobile-tab[aria-current="page"] {color:#f2f3f5;background:rgba(102,2,163,.85);}
  body.rpo-mobile-v2 .rpo-mobile-tab-badge {position:absolute;transform:translate(15px,-15px);min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#6602a3;color:#fff;font-size:9px;font-weight:800;display:grid;place-items:center;border:2px solid #15161e}
  body.rpo-mobile-v2 .rpo-mobile-tab:focus-visible {outline:3px solid #f2f3f5;outline-offset:2px}
  body.rpo-mobile-v2 .toast-host {bottom:calc(var(--rpo-m-nav) + var(--rpo-m-inset-b) + 10px);z-index:250}
  /* Modal sheet keeps destructive actions and confirmation buttons reachable. */
  body.rpo-mobile-v2 .modal-backdrop {z-index:220;align-items:end!important;padding:0!important;overscroll-behavior:contain}
  body.rpo-mobile-v2 .modal-backdrop .modal:not(.modal-screenshot):not(.modal-live-view):not(.modal-image-viewer) {width:100%!important;max-width:none!important;max-height:calc(100dvh - var(--rpo-m-inset-t) - 12px)!important;border-radius:24px 24px 0 0;padding:22px 16px calc(20px + var(--rpo-m-inset-b));overflow:auto!important;overscroll-behavior:contain;}
  body.rpo-mobile-v2 :is(.modal,.modal-backdrop) :is(input,select,textarea) {font-size:16px!important;max-width:100%}
  body.rpo-mobile-v2 :is(.modal,.modal-backdrop) :is(button,.btn,[role="button"]) {min-height:44px}
  body.rpo-mobile-v2 .modal-backdrop .modal-actions {display:flex;flex-wrap:wrap;gap:8px;}
  body.rpo-mobile-v2 .modal-backdrop .modal-actions > .btn {flex:1 1 120px;}
  body.rpo-mobile-v2 .modal-backdrop .modal :is(.field,.form-row) {min-width:0;max-width:100%}
  body.rpo-mobile-v2 :is(.modal-screenshot,.modal-live-view,.modal-image-viewer) {max-width:calc(100vw - 16px)!important}
  /* Chat: retain the existing event handling while refining the iOS messenger layout. */
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-shell {background:#0b0c12;color:#f2f3f5;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-head,
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-chat-head {background:rgba(19,20,29,.94);border-bottom-color:rgba(255,255,255,.08);padding-left:calc(10px + var(--rpo-m-inset-l));padding-right:calc(10px + var(--rpo-m-inset-r));gap:8px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-title h1 {font-size:29px;letter-spacing:-.045em;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-icon-button,
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-row-action {min-width:44px;min-height:44px;width:44px;height:44px;flex-basis:44px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-chat-title {min-width:0;flex:1;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-chat-title b {max-width:100%;font-size:15px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-chat-actions {gap:0;margin-left:auto;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-search {margin:12px 13px 7px;height:46px;background:#1b1d27;border-color:#292b39}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-search input {font-size:16px!important;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-row {min-width:0;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-hit {min-height:76px;padding:11px 12px;gap:10px;grid-template-columns:48px minmax(0,1fr) auto;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-avatar {width:46px;height:46px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-copy {min-width:0;max-width:100%;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-name b {font-size:14px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-copy small {font-size:12px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-name time {font-size:10px;white-space:nowrap;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-row.channel {grid-template-columns:minmax(0,1fr) 54px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-body {padding-bottom:calc(var(--rpo-m-nav) + var(--rpo-m-inset-b) + 17px)!important;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message-stack {max-width:min(88%,580px);}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-bubble {border-radius:18px;box-shadow:none;padding:10px 12px 8px;background:#22242f;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message.own .adminchat-mobile-bubble {background:#24262e;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-text {font-size:15px;line-height:1.5;overflow-wrap:anywhere;word-break:normal;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message-meta {font-size:10px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-messages {padding:12px calc(10px + var(--rpo-m-inset-r)) 20px calc(10px + var(--rpo-m-inset-l))!important;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-compose-shell {border-top-color:rgba(255,255,255,.09);background:rgba(19,20,29,.98);padding-left:calc(9px + var(--rpo-m-inset-l));padding-right:calc(9px + var(--rpo-m-inset-r));}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-input-wrap {background:#292b38;border:1px solid #3a3c4b;border-radius:22px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-input-wrap textarea {font-size:16px!important;min-height:43px;background:transparent!important;color:#f2f3f5!important;border:0!important;box-shadow:none!important;outline:0!important;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-send,
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-attach,
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-important-toggle {min-width:44px;min-height:44px;width:44px;height:44px;flex-basis:44px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-compose-reply,
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-compose-media {font-size:12px;border-radius:12px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-reaction {min-height:30px;padding:4px 8px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-shell.chat ~ .rpo-mobile-tabbar,
  body.rpo-mobile-v2.adminchat-mobile-route:has(.adminchat-mobile-shell.chat) .rpo-mobile-tabbar,
  body.rpo-mobile-v2.adminchat-mobile-route.adminchat-keyboard-open .rpo-mobile-tabbar {display:none!important;}
  body.rpo-mobile-v2.adminchat-mobile-route.nav-open .adminchat-mobile-shell {z-index:31!important;}
  body.rpo-mobile-v2.adminchat-mobile-route.nav-open #app .sidebar {z-index:162!important;}
  body.rpo-mobile-v2.adminchat-mobile-route.nav-open #navBackdrop {z-index:161!important;}
  body.rpo-mobile-v2.adminchat-mobile-route:not(:has(.adminchat-mobile-shell.chat)) .rpo-mobile-tabbar {z-index:72;}
  body.rpo-mobile-v2.adminchat-mobile-route .modal-backdrop {z-index:250!important;}
  body.rpo-mobile-v2.adminchat-mobile-route.adminchat-keyboard-open .adminchat-mobile-compose-shell {padding-bottom:7px!important;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-jump {min-width:44px;min-height:44px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-list-body {scrollbar-width:none;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-text a {overflow-wrap:anywhere;}
  body.rpo-mobile-v2.adminchat-mobile-route :is(.adminchat-mobile-composer,.adminchat-mobile-chat-head,.adminchat-mobile-list-head) {min-width:0;}
  /* Landscape cutouts, compact-height mode, and assistive text zoom. */
  @media (max-height:570px) {body.rpo-mobile-v2 .rpo-mobile-tabbar {padding-top:2px}body.rpo-mobile-v2 .rpo-mobile-tab {min-height:47px;gap:1px}}
}
@media (max-width:375px) {
  body.rpo-mobile-v2 .stats,body.rpo-mobile-v2 .stats.two {grid-template-columns:1fr!important}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table > tbody > tr > :is(td,th) {grid-template-columns:minmax(74px,32%) minmax(0,1fr);gap:7px}
  body.rpo-mobile-v2 .rpo-mobile-tab {font-size:9px}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-chat-head .adminchat-mobile-avatar {display:none}
}
@media (prefers-reduced-motion:reduce) {
  body.rpo-mobile-v2 *,body.rpo-mobile-v2 *::before,body.rpo-mobile-v2 *::after {animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@media (max-width:760px) {
  body.rpo-mobile-v2 #view .rpo-mobile-table-sort {display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;padding:6px 0;font-size:11px;color:#8a91a2}
  body.rpo-mobile-v2 #view .rpo-mobile-table-sort button {min-height:38px;border:1px solid #363842;background:#1c1d24;border-radius:10px;padding:7px 10px;color:#f2f3f5;font-size:12px;cursor:pointer}
  body.rpo-mobile-v2 #view .rpo-mobile-table-sort button:focus-visible {outline:2px solid #f2f3f5}
}

/* The legacy stylesheet uses nav{display:flex}; this bar must remain hidden
   outside of mobile mode, including when the JS has created the node. */
#rpoMobileTabbar {display:none!important}
@media(max-width:760px){
  body.rpo-mobile-v2 #rpoMobileTabbar:not([hidden]) {display:flex!important;flex-direction:row!important;align-items:center!important;}
}

@media(max-width:760px){
  body.rpo-mobile-v2 .rpo-mobile-tabbar[hidden] {display:none!important}
  body.rpo-mobile-v2 #view :is(.permission-layout,.permission-grid,.permission-role-summary,.permission-content,.backup-settings-grid,.ticket-archive-detail-grid,.faction-detail-grid,.player-head,.server-control-grid,.vsp-layout,.rpo-npc-v31,.rpo-v33-grid) {min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)!important;}
  body.rpo-mobile-v2 #view .permission-role-panel {position:static;top:auto;}
  body.rpo-mobile-v2 #modalHost .table-wrap {overflow-x:visible!important;}
  body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table {min-width:0!important;}
}

/* RPO Control 2.0 refinement · restrained native-inspired hierarchy, no desktop changes. */
@media(max-width:760px){
  body.rpo-mobile-v2{--rpo-m-gap:16px;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,"Segoe UI",sans-serif;}
  body.rpo-mobile-v2 #view {padding-top:20px;}
  body.rpo-mobile-v2 .page-head h1 {font-weight:740;letter-spacing:-.035em;}
  body.rpo-mobile-v2 .page-head p {font-size:14px;line-height:1.5;}
  body.rpo-mobile-v2 #view .card {background:#171920;border:1px solid #2a2c36;border-radius:17px;box-shadow:none;}
  body.rpo-mobile-v2 .stat-card {background:#1a1b24;border-color:#2a2c36;}
  body.rpo-mobile-v2 #view :is(button,.btn,[role=button],.nav-item) { -webkit-tap-highlight-color:transparent;}
  body.rpo-mobile-v2 #view :is(.btn,.icon-btn,.tab,.tabs button,.filters button) {min-height:44px;}
  body.rpo-mobile-v2 #view :is(a,button,input,textarea,select,[tabindex]):focus-visible {outline:2px solid #f2f3f5;outline-offset:2px;}
  body.rpo-mobile-v2 #view :is(input,textarea,select) {min-height:44px;border-radius:12px;}
  body.rpo-mobile-v2 #view textarea {resize:vertical;min-height:80px;}
  body.rpo-mobile-v2 .rpo-mobile-tabbar {background:rgba(20,22,29,.94);border-top-color:rgba(255,255,255,.11);}
  body.rpo-mobile-v2 .rpo-mobile-tab {color:#9da3b3;font-size:10px;font-weight:600;}
  body.rpo-mobile-v2 .rpo-mobile-tab[aria-current="page"] {color:#f2f3f5;background:rgba(102,2,163,.85);}
  body.rpo-mobile-v2 .rpo-mobile-tab-badge {background:#6602a3;}
  body.rpo-mobile-v2 .rpo-mobile-nav-search {display:block;padding:12px 14px 8px;border-top:1px solid #2a2c36;background:#15161e;}
  body.rpo-mobile-v2 .rpo-mobile-nav-search input {width:100%;height:43px;min-height:43px;border:1px solid #303440;border-radius:12px;background:#22252f;color:#f2f3f5;padding:0 13px;font-size:16px;outline-offset:2px;}
  body.rpo-mobile-v2 .rpo-mobile-nav-search-filtered {display:none!important;}
  body.rpo-mobile-v2 #view .card :is(h2,h3) {letter-spacing:-.015em;}
  body.rpo-mobile-v2 #view .table-wrap table.rpo-mobile-card-table >tbody>tr {background:#1b1d25;border-color:#323541;border-radius:14px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-bubble {background:#242630;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message.own .adminchat-mobile-bubble {background:#1c1d24;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-text {font-size:16px;line-height:1.47;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message-meta {font-size:11px;}
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-input-wrap {border-radius:20px;background:#282a35;}
  body.rpo-mobile-v2 :is(.modal-backdrop .modal,.modal-backdrop [role=dialog]) {overscroll-behavior:contain;}
  body.rpo-mobile-v2 #view :is(.faction-tabs,.tabs,.vsp-tabs) > :is(button,.tab) {font-size:13px!important;}
  body.rpo-mobile-v2 #view .row-actions button {min-height:44px;}
}
.rpo-mobile-nav-search {display:none;}


/* ============ RPO PRODUCT SYSTEM v2.2.1 ============ */
@media (max-width:760px) {
  body.rpo-mobile-v2 {
    --rpo-product-brand:#6602a3;
    --rpo-product-brand-hover:#790ab9;
    --rpo-product-bg:#08090d;
    --rpo-product-panel:#1c1d24;
    --rpo-product-panel-raised:#1c1d24;
    --rpo-product-line:#1c1d24;
    --rpo-product-text:#f2f3f5;
    --rpo-product-muted:#aab0bd;
    --rpo-product-danger:#ff9ca9;
    --rpo-product-radius:14px;
    --rpo-product-target:44px;
    color-scheme:dark;
    background:var(--rpo-product-bg);
  }
  body.rpo-mobile-v2 :is(#view,#modalHost) {color:var(--rpo-product-text)}
  body.rpo-mobile-v2 #view {min-width:0;overflow-x:clip;}
  body.rpo-mobile-v2 #view :is(.card,.stat-card,.money-card,.profile-card,.rpo5-record) {
    box-shadow:none; border-color:var(--rpo-product-line); background:var(--rpo-product-panel);
  }
  body.rpo-mobile-v2 #view :is(.card,.stat-card,.money-card) {border-radius:var(--rpo-product-radius)}
  body.rpo-mobile-v2 #view :is(.page-head h1,.card-title h2,.rpo6-detail-title) {letter-spacing:-.025em}
  body.rpo-mobile-v2 :is(#view,#sidebar,#modalHost) :is(button,.btn,[role=button],a.nav-item,summary) {touch-action:manipulation}
  body.rpo-mobile-v2 #view :is(button,.btn,[role=button],.icon-btn,.tab,summary) {min-height:var(--rpo-product-target)}
  body.rpo-mobile-v2 :is(#sidebar,#modalHost) :is(button,.btn,[role=button],summary) {min-height:var(--rpo-product-target)}
  body.rpo-mobile-v2 #view :is(input:not([type=checkbox]):not([type=radio]),textarea,select),
  body.rpo-mobile-v2 #sidebar :is(input,select),
  body.rpo-mobile-v2 #modalHost :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {
    font-size:16px!important; max-width:100%; min-width:0;
  }
  body.rpo-mobile-v2 :is(#view,#modalHost) :is(.btn.primary,button.primary):not(:disabled),
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick.primary:not(:disabled) {
    color:#fff!important;background:var(--rpo-product-brand)!important;
    border-color:var(--rpo-product-brand-hover)!important;box-shadow:none!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick:not(.primary) {
    background:var(--rpo-product-panel-raised)!important;border-color:var(--rpo-product-line)!important;
    color:var(--rpo-product-text)!important;box-shadow:none!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-group-panel {
    background:var(--rpo-product-panel)!important;border:1px solid var(--rpo-product-line)!important;
    border-radius:var(--rpo-product-radius)!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link {min-height:52px;color:var(--rpo-product-text)!important}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-group-label {color:var(--rpo-product-muted)!important}
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .avatar {
    border:1px solid rgba(255,255,255,.12)!important;background:#1c1d24!important;color:#f2f3f5!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route :is(.rpo6-heading,.rpo6-quick-actions) {margin-block-end:12px}
  body.rpo-mobile-v2 #view .rpo5-record,
  body.rpo-mobile-v2 #view .rpo-mobile-card-table tbody tr {background:var(--rpo-product-panel);border-color:var(--rpo-product-line)}
  body.rpo-mobile-v2 #rpoMobileTabbar {background:rgba(255,255,255,.055);border-color:var(--rpo-product-line)}
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab[aria-current=page] {color:#fff}
  body.rpo-mobile-v2 .rpo-mobile-tab :is(svg,span) {pointer-events:none}
  body.rpo-mobile-v2 :is(#view,#sidebar,#modalHost,#rpoMobileTabbar) :focus-visible {
    outline:2px solid #f2f3f5!important;outline-offset:2px;
  }
  body.rpo-mobile-v2 #view .rpo21-keep-table {width:max-content;min-width:100%;}
  body.rpo-mobile-v2 #view .rpo21-table-scroll {max-width:100%;overscroll-behavior-x:contain;}
  body.rpo-mobile-v2 #view :is(img,video,canvas,svg) {max-width:100%;}
  body.rpo-mobile-v2 #view pre {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
  body.rpo-mobile-v2 #view :is(.table-wrap,.rpo21-table-scroll) {max-width:100%}
  body.rpo-mobile-v2 #view :is(.badge,.chip):not(button):not([role=button]) {max-width:100%;overflow-wrap:anywhere}
  body.rpo-mobile-v2 #rpoProductOffline {position:sticky;top:0;z-index:101;display:flex;align-items:center;gap:9px;
    border-bottom:1px solid #75571b;background:#30230c;color:#ffe7a9;padding:10px 14px;font:600 13px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
  body.rpo-mobile-v2 #rpoProductOffline[hidden] {display:none!important}
  body.rpo-mobile-v2 #rpoProductOffline svg {width:18px;height:18px;flex:none}
  body.rpo-mobile-v2 #rpoProductOffline span {min-width:0}

  /* RPO 2.2.1: Brand tokens – vivid violet only for primary/selection, not passive surfaces. */
  body.rpo-mobile-v2 {
    --rpo:#6602a3; --rpo2:#6602a3;
    --rpo-product-brand:#6602a3; --rpo-product-brand-hover:#790ab9;
    --rpo-product-bg:#08090d; --rpo-product-panel:#14151b;
    --rpo-product-panel-raised:#202128; --rpo-product-line:#34363f;
    --rpo-product-text:#f2f3f5; --rpo-product-muted:#acb1bd;
    --rpo21-surface:#14151b; --rpo21-surface-raised:#202128;
    --rpo21-border:#34363f; --rpo21-text:#f2f3f5;
    --rpo21-secondary:#acb1bd; --rpo21-accent:#f2f3f5;
    --bg:#08090d; --sidebar:#111219; --panel:#14151b;
    --panel2:#202128; --line:#34363f; --text:#f2f3f5;
    --muted:#acb1bd; --salty-border:rgba(255,255,255,.09);
    --salty-border-hover:rgba(255,255,255,.16);
    --salty-light:rgba(255,255,255,.04);
    --salty-glass:linear-gradient(155deg,#202128,#14151b);
  }
  body.rpo-mobile-v2 #view :is(.card,.stat-card,.money-card,.profile-card,.rpo5-record) {
    background:var(--rpo-product-panel);border-color:var(--rpo-product-line);
  }
  body.rpo-mobile-v2 :is(#view,#modalHost) :is(.badge.purple,.badge.violet) {
    background:#202128;color:#f2f3f5;border-color:#34363f;
  }
  body.rpo-mobile-v2 #app .sidebar .nav-item.active,
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab[aria-current="page"] {
    background:#6602a3;color:#fff;border-color:#6602a3;
  }
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab[aria-current="page"] :is(svg,span),
  body.rpo-mobile-v2 #app .sidebar .nav-item.active :is(svg,span) {color:#fff;}
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab:not([aria-current="page"]) {
    background:transparent;color:#aeb3be;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .player-profile-header .avatar {
    border-color:#40414c!important;background:#202128!important;color:#f2f3f5!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-quick.primary,
  body.rpo-mobile-v2 #view :is(.btn.primary,button.primary):not(:disabled) {
    background:#6602a3!important;color:#fff!important;border-color:#790ab9!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route :is(.rpo6-list-back,.rpo6-detail-back),
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link .rpo6-icon:first-child {
    color:#d1d4dc!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo6-link:active,
  body.rpo-mobile-v2 #view .rpo-mobile-card-table tbody tr:active {
    background:#24262e!important;
  }
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message.own .adminchat-mobile-bubble {
    background:#202128;border-left:3px solid #6602a3;
  }
  body.rpo-mobile-v2.adminchat-mobile-route .adminchat-mobile-message.other .adminchat-mobile-bubble {
    background:#191a21;
  }
  body.rpo-mobile-v2 :is(#view,#modalHost) :is(input,select,textarea):focus-visible,
  body.rpo-mobile-v2 :is(#view,#sidebar,#modalHost,#rpoMobileTabbar) :focus-visible {
    outline:2px solid #f2f3f5!important;outline-offset:2px;
  }
  /* Portal dialogs are attached to body, not #view. Keep desktop unchanged. */
  body.rpo-mobile-v2 .rpo6-dialog,
  body.rpo-mobile-v2 .rpo21-dialog,
  body.rpo-mobile-v2 .rpo-emoji-dialog {
    background:#15161c!important;border-color:#34363f!important;color:#f2f3f5!important;
  }
  body.rpo-mobile-v2 .rpo6-dialog :is(.rpo6-close,.rpo6-menu-row,.rpo6-dialog-label),
  body.rpo-mobile-v2 .rpo21-dialog :is(.rpo21-close,.rpo21-dialog-header p,.rpo21-eyebrow) {
    color:#d4d7de!important;
  }
  body.rpo-mobile-v2 .rpo21-dialog .rpo21-quick-choice[aria-pressed="true"] {
    background:#6602a3;border-color:#790ab9;color:#fff;
  }
  body.rpo-mobile-v2 .rpo21-dialog .rpo21-quick-choice[aria-pressed="true"] .rpo21-choice-mark {
    background:#fff;color:#6602a3;
  }
  body.rpo-mobile-v2 .rpo21-dialog button.rpo21-primary {background:#6602a3;border-color:#790ab9;color:white;}
  body.rpo-mobile-v2 .rpo5-sheet {
    background:#15161c;color:#f2f3f5;border-color:#34363f;
  }
  body.rpo-mobile-v2 .rpo5-sheet :is(.rpo5-action-item,.rpo5-area-item) {
    color:#f2f3f5;background:transparent;
  }
  body.rpo-mobile-v2 .rpo5-sheet :is(.rpo5-action-item svg,.rpo5-check) {color:#c5c9d2;}
  body.rpo-mobile-v2 .rpo5-sheet .rpo5-area-item.active {
    color:#fff;background:#6602a3;
  }
  body.rpo-mobile-v2 .rpo5-sheet :is(button,summary):focus-visible {
    outline:2px solid #f2f3f5;
  }
  body.rpo-mobile-v2 .rpo6-dialog .rpo6-close {background:#25262e!important;}
  body.rpo-mobile-v2 .rpo6-dialog :is(button,summary):focus-visible,
  body.rpo-mobile-v2 .rpo21-dialog :is(button,summary):focus-visible {outline-color:#f2f3f5!important;}
}
/* Dialogs rendered into <body> require product styling outside #view. */
.rpo6-dialog, .rpo21-dialog, .rpo-emoji-dialog {
  color-scheme:dark; border-color:#36313c!important;background:#15141b!important;
}
@media (max-width:760px) {
  .rpo6-dialog,.rpo21-dialog {max-height:min(84dvh,780px);overscroll-behavior:contain}
  .rpo6-dialog button,.rpo21-dialog button {min-height:44px}
}
@media (prefers-reduced-motion:reduce) {
  body.rpo-mobile-v2 :is(#view,#sidebar,#rpoMobileTabbar,#modalHost) *,
  body.rpo-mobile-v2 :is(#view,#sidebar,#rpoMobileTabbar,#modalHost) *::before,
  body.rpo-mobile-v2 :is(#view,#sidebar,#rpoMobileTabbar,#modalHost) *::after {
    transition-duration:.01ms!important;animation-duration:.01ms!important;
  }
}
@media (prefers-contrast:more) {
 body.rpo-mobile-v2 {--rpo-product-muted:#ded8e6;--rpo-product-line:#64606d}
 body.rpo-mobile-v2 #view :is(.badge,.chip) {border-width:1.5px}
}

/* RPO_UX_226_INLINE_ACTIONS */
@media (max-width:760px) {
  /* 2.2.6: Five real favorite tabs; full sidebar remains accessible via top-left. */
  body.rpo-mobile-v2 #mobileNavToggle {
    /* Match the working adminchat hamburger: three lines stacked vertically. */
    display:grid!important;place-content:center!important;grid-template-columns:18px;
    gap:4px!important;flex:0 0 40px!important;width:40px!important;height:40px!important;
    min-width:40px!important;padding:0!important;border:0!important;border-radius:50%!important;
    background:transparent!important;box-shadow:none!important;color:#c8cad2!important;
    -webkit-tap-highlight-color:transparent;
  }
  body.rpo-mobile-v2 #mobileNavToggle > span {
    display:block!important;width:18px!important;height:1.5px!important;
    border-radius:99px!important;background:currentColor!important;margin:0!important;
  }
  body.rpo-mobile-v2 #mobileNavToggle:active {background:rgba(255,255,255,.075)!important;}
  body.rpo-mobile-v2 #mobileNavToggle:focus-visible {outline:2px solid #f2f3f5!important;outline-offset:2px;}
  body.rpo-mobile-v2 #view.rpo6-player-route .rpo227-teleport-action .rpo6-icon {
    width:17px;height:17px;flex:0 0 17px;
  }
  body.rpo-mobile-v2 #rpoMobileTabbar .rpo-mobile-tab {flex:1 1 0;min-width:0;padding-inline:2px;}
  /* All original player actions are visible on the overview. Direct handlers, rights,
     disabled states and original confirmations remain on the source buttons. */
  body.rpo-mobile-v2 #view.rpo6-player-route[data-rpo6-mode="home"] > .player-action-toolbar.rpo5-original-actions {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
    padding:4px 0 10px!important;margin:0 0 13px!important;min-width:0;max-width:100%;
    background:transparent!important;border-bottom:1px solid rgba(255,255,255,.09)!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route:not([data-rpo6-mode="home"]) > .player-action-toolbar {display:none!important;}
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-cluster {
    display:block;min-width:0;padding:9px 0 10px!important;border:0!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-cluster + .player-action-cluster {
    border-top:1px solid rgba(255,255,255,.065)!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-cluster-label {
    display:block;font-size:11px!important;font-weight:680;letter-spacing:.065em;
    margin:0 0 8px!important;color:#b9bdc7!important;line-height:1.3;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-list,
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-list.single-action {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
    align-items:stretch;min-width:0;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button {
    width:100%!important;min-width:0;min-height:43px!important;
    display:inline-flex!important;align-items:center;justify-content:flex-start!important;
    gap:9px;padding:9px 11px!important;border-radius:11px!important;
    /* Respect the desktop panel's semantic action colors. The variables below
       are overridden by each existing action class, not by button order/text. */
    --rpo-action-bg:#202129;
    --rpo-action-border:#343640;
    --rpo-action-fg:#f2f3f5;
    border:1px solid var(--rpo-action-border)!important;
    background:var(--rpo-action-bg)!important;
    color:var(--rpo-action-fg)!important;box-shadow:none!important;
    font:600 12.5px/1.25 -apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif!important;
    text-align:left;white-space:normal;overflow-wrap:anywhere;
  }
  /* Player actions: reuse the desktop RPO semantic palette on mobile.
     Only the original .action-* classes determine color. */
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-support {
    --rpo-action-bg:linear-gradient(180deg,rgba(128,38,189,.30),rgba(91,18,142,.20));
    --rpo-action-border:rgba(189,104,239,.58);
    --rpo-action-fg:#f0cbff;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-screen {
    --rpo-action-bg:linear-gradient(180deg,rgba(56,142,200,.21),rgba(23,94,142,.13));
    --rpo-action-border:rgba(91,176,232,.45);
    --rpo-action-fg:#b2e3ff;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-live-view {
    --rpo-action-bg:linear-gradient(180deg,rgba(121,58,198,.29),rgba(67,30,131,.18));
    --rpo-action-border:rgba(172,121,244,.50);
    --rpo-action-fg:#dec9ff;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-revive {
    --rpo-action-bg:linear-gradient(180deg,rgba(35,169,111,.23),rgba(24,103,79,.15));
    --rpo-action-border:rgba(73,214,148,.51);
    --rpo-action-fg:#95f4bf;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-kill {
    --rpo-action-bg:linear-gradient(180deg,rgba(207,57,84,.22),rgba(130,32,56,.14));
    --rpo-action-border:rgba(244,104,132,.48);
    --rpo-action-fg:#ffacba;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-kick {
    --rpo-action-bg:linear-gradient(180deg,rgba(210,126,38,.22),rgba(132,74,28,.14));
    --rpo-action-border:rgba(244,174,91,.48);
    --rpo-action-fg:#ffcd94;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-dm {
    --rpo-action-bg:linear-gradient(180deg,rgba(46,107,222,.26),rgba(27,71,148,.18));
    --rpo-action-border:rgba(89,154,245,.54);
    --rpo-action-fg:#bddaff;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-char {
    --rpo-action-bg:linear-gradient(180deg,rgba(128,45,188,.28),rgba(77,25,116,.17));
    --rpo-action-border:rgba(184,111,233,.52);
    --rpo-action-fg:#e6bafa;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-lock-character {
    --rpo-action-bg:linear-gradient(180deg,rgba(196,145,49,.21),rgba(119,80,24,.14));
    --rpo-action-border:rgba(238,187,92,.49);
    --rpo-action-fg:#ffe0a0;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-unlock-character {
    --rpo-action-bg:linear-gradient(180deg,rgba(34,162,114,.23),rgba(25,95,73,.13));
    --rpo-action-border:rgba(81,205,147,.49);
    --rpo-action-fg:#a1f3c6;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.action-delete-character {
    --rpo-action-bg:linear-gradient(180deg,rgba(199,48,80,.20),rgba(111,27,53,.13));
    --rpo-action-border:rgba(239,105,133,.45);
    --rpo-action-fg:#ffaab9;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button.rpo227-teleport-action {
    --rpo-action-bg:linear-gradient(180deg,rgba(38,120,190,.24),rgba(23,75,128,.15));
    --rpo-action-border:rgba(91,172,235,.50);
    --rpo-action-fg:#bce3ff;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button:active:not(:disabled) {
    filter:brightness(1.14);
  }

  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button .rpo-icon {
    width:17px!important;height:17px!important;flex:0 0 17px!important;color:inherit!important;
  }
  /* 2.2.9: Support inherits the original .action-support color like Desktop. */
  /* 2.2.9: Delete inherits .action-delete-character and its warning palette. */
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button:disabled {
    opacity:.38!important;cursor:not-allowed!important;filter:none!important;
  }
  body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button:focus-visible {
    outline:2px solid #f2f3f5!important;outline-offset:2px;
  }
  @media (max-width:340px) {
    body.rpo-mobile-v2 #view.rpo6-player-route > .player-action-toolbar .player-action-button {font-size:11.5px!important;padding-inline:8px!important;gap:6px;}
  }

}

/* RPO_PULL_REFRESH_2210_BEGIN */
/* RPO 2.2.10 — mobile pull-to-refresh indicator; never changes desktop layout. */
#rpoPullRefreshIndicator{display:none;pointer-events:none;position:fixed;z-index:65;left:50%;top:calc(72px + env(safe-area-inset-top, 0px));transform:translate3d(-50%,calc(-100% + var(--rpo-pull-offset,0px)),0);align-items:center;gap:9px;padding:9px 14px;border:1px solid #39343f;border-radius:999px;background:#17171e;color:#f1eff4;box-shadow:0 12px 34px rgba(0,0,0,.33);font:600 12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;opacity:0;transition:opacity .14s ease,transform .12s ease;max-width:calc(100vw - 28px)}
#rpoPullRefreshIndicator .rpo-pull-ring{display:block;flex:0 0 auto;width:16px;height:16px;border:2px solid #594665;border-top-color:#ab34fa;border-radius:50%}
#rpoPullRefreshIndicator.rpo-pull-visible{opacity:1}
#rpoPullRefreshIndicator.rpo-pull-loading .rpo-pull-ring{animation:rpoPullSpin .75s linear infinite}
#rpoPullRefreshIndicator.rpo-pull-finished .rpo-pull-ring{border-color:#35b882;border-top-color:#35b882}
#rpoPullRefreshIndicator.rpo-pull-error .rpo-pull-ring{border-color:#dc6b77;border-top-color:#dc6b77}
@keyframes rpoPullSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){body.rpo-mobile-v2 #rpoPullRefreshIndicator{display:flex}}
@media(prefers-reduced-motion:reduce){#rpoPullRefreshIndicator{transition:none}#rpoPullRefreshIndicator.rpo-pull-loading .rpo-pull-ring{animation-duration:1.8s}}
/* RPO_PULL_REFRESH_2210_END */


/* === ORIGINAL public/rpo-player-history.css === */
/* RPO Control 2.2.4 – real event-based player count. */
.rpo-player-trend{min-width:0;width:100%;color:#f2f3f5}
.rpo-player-trend *{box-sizing:border-box}
.rpo-trend-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rpo-trend-top h3{margin:0;font-size:16px;letter-spacing:-.02em;font-weight:700}
.rpo-trend-top p{margin:4px 0 0;font-size:12px;color:#9fa3af}
.rpo-trend-period{display:flex;align-items:center;gap:3px;padding:4px;background:#202128;border:1px solid #363842;border-radius:12px}
.rpo-trend-period button{appearance:none;border:0;background:transparent;color:#b5b8c2;border-radius:8px;font:inherit;font-size:12px;min-height:36px;padding:0 12px;cursor:pointer}
.rpo-trend-period button.active{background:#6602a3;color:#fff;font-weight:650}
.rpo-trend-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 8px}
.rpo-trend-stats>div{background:#16171d;border:1px solid #30313b;border-radius:12px;padding:10px 13px;min-width:0}
.rpo-trend-stats span{display:block;font-size:11px;color:#acb1bd}
.rpo-trend-stats strong{display:block;font-size:20px;font-weight:700;margin-top:3px;font-variant-numeric:tabular-nums}
.rpo-trend-chart-wrap{position:relative;width:100%;min-width:0;min-height:220px;touch-action:pan-y}
.rpo-trend-svg{display:block;width:100%;height:clamp(220px,30vw,320px);overflow:visible;touch-action:pan-y;outline:none;cursor:crosshair;user-select:none;-webkit-user-select:none}
.rpo-trend-svg:focus-visible{outline:2px solid #6602a3;outline-offset:2px;border-radius:8px}
.rpo-trend-grid{stroke:#353741;stroke-width:1;vector-effect:non-scaling-stroke}
.rpo-trend-label{fill:#aeb3bf;font-size:13px;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.rpo-trend-line-mean{fill:none;stroke:#6602a3;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.rpo-trend-crosshair{stroke:#f2f3f5;stroke-width:1;stroke-dasharray:3 4;opacity:.9;vector-effect:non-scaling-stroke}
.rpo-trend-tooltip{position:absolute;pointer-events:none;z-index:2;top:12px;transform:translateX(-50%);background:#24262e;color:#fff;border:1px solid #555965;border-radius:9px;padding:9px 12px;font-size:12px;white-space:nowrap;box-shadow:0 8px 26px #0009;max-width:90%}
.rpo-trend-tooltip b,.rpo-trend-tooltip span{display:block;overflow:hidden;text-overflow:ellipsis}
.rpo-trend-tooltip span{color:#c7cbd3;margin-top:3px}
.rpo-trend-blank{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;text-align:center;color:#aeb3bf;font-size:13px}
.rpo-trend-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:6px}
.rpo-trend-zoom{display:flex;gap:5px}
.rpo-trend-zoom button{border:1px solid #373a45;color:#e8e9ec;background:#202128;font:inherit;font-size:16px;min-width:42px;min-height:42px;border-radius:10px;cursor:pointer}
.rpo-trend-zoom button[data-nav="now"]{font-size:12px;font-weight:650;padding:0 10px}
.rpo-trend-foot{color:#999da8;font-size:11px;margin:10px 0 0;line-height:1.5}
.rpo-player-trend button:focus-visible{outline:2px solid #6602a3;outline-offset:2px}
@media(max-width:760px){
  .rpo-trend-top{gap:10px}
  .rpo-trend-top h3{font-size:16px}
  .rpo-trend-period{width:100%;justify-content:stretch}
  .rpo-trend-period button{flex:1;min-height:44px;font-size:13px}
  .rpo-trend-stats{gap:7px;margin:13px 0 8px}
  .rpo-trend-stats>div{padding:9px 8px;border-radius:10px}
  .rpo-trend-stats strong{font-size:17px}
  .rpo-trend-stats span{font-size:10px}
  .rpo-trend-svg{height:245px}
  .rpo-trend-tooltip{font-size:11px}
  .rpo-trend-controls{justify-content:flex-start}
  .rpo-trend-zoom{width:100%}
  .rpo-trend-zoom button{flex:1;min-width:0;min-height:44px}
}

.rpo-trend-dot{fill:#6602a3;stroke:#14151b;stroke-width:2}

/* Gestures: one-finger horizontal pan, two-finger pinch; allow normal vertical page scroll. */
.rpo-trend-svg{overscroll-behavior-inline:contain;-webkit-tap-highlight-color:transparent}
.rpo-trend-hint{display:flex;gap:15px;flex-wrap:wrap;color:#aeb1bd;font-size:11px;line-height:1.5;margin:10px 0 0}
.rpo-trend-hint-touch{display:none}
@media(hover:none) and (pointer:coarse){.rpo-trend-hint-touch{display:inline}.rpo-trend-hint-mouse{display:none}}
@media(hover:hover) and (pointer:fine){.rpo-trend-svg{cursor:grab}.rpo-trend-svg:active{cursor:grabbing}}
@media(max-width:760px){.rpo-trend-controls{margin-top:12px}}

/* The step graph uses the primary RPO color, no faded purple overlays. */
.rpo-trend-line-mean{stroke-linejoin:miter;stroke-linecap:butt}

/* 2.2.5: No extra navigation buttons or instructional paragraphs. */
.rpo-player-trend .rpo-trend-controls,.rpo-player-trend .rpo-trend-hint,.rpo-player-trend .rpo-trend-foot{display:none!important}
.rpo-trend-stats{margin-bottom:16px}
.rpo-trend-line-history{fill:none;stroke:#8e94a2;stroke-width:1.6;stroke-dasharray:4 5;opacity:.85;vector-effect:non-scaling-stroke}
.rpo-trend-dot-history{fill:#aab0bc;stroke:#14151b;stroke-width:1.5}

.rpo-trend-dotpath-history{fill:none;stroke:#b5bac6;stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke}


/* RPO_WORLD_STEUERUNG_2 */
/* RPO Weltsteuerung – bestehendes Produkt-Stylesheet, keine weitere CSS-Datei */
.rpo-world-status{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#a5a5ae;margin:12px 0 20px;font-size:13px}
.rpo-world-ok{color:#69da9e}.rpo-world-offline{color:#f0aa68}
.rpo-world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rpo-world-full{grid-column:1/-1}
.rpo-world-panel{min-width:0;padding:20px}.rpo-world-panel h2{margin:0 0 12px;font-size:19px}.rpo-world-panel p{color:#aaaab4;line-height:1.5;font-size:13px}
.rpo-world-panel .btn{margin-top:13px}.rpo-world-panel select,.rpo-world-panel input[type=number]{width:100%;min-width:0;padding:12px;border-radius:10px;color:#efeff4;border:1px solid #393940;background:#1c1c23;font-size:16px}
.rpo-world-label{display:block;font-size:13px;font-weight:600;margin:15px 0 7px}
.rpo-world-clock{display:flex;gap:9px;align-items:center}.rpo-world-clock span{font-size:24px}
.rpo-world-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #303038}.rpo-world-toggle strong,.rpo-world-toggle small{display:block}.rpo-world-toggle small{color:#aaaab4;font-size:12px;margin-top:4px}
.rpo-world-toggle input{width:22px;height:22px;accent-color:#6602a3;flex:none}
@media(max-width:780px){.rpo-world-grid{grid-template-columns:1fr}.rpo-world-panel{padding:15px}}



/* RPO ADMINCHAT REACTIONS V1 · Desktop, mobile PWA, 4K */
.adminchat-reaction{touch-action:pan-y;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;}
.adminchat-reaction:focus-visible{outline:2px solid #b66af3;outline-offset:2px;}
.adminchat-reaction-details{width:min(480px,calc(100vw - 36px));max-height:min(74dvh,680px);display:flex;flex-direction:column;color:#f2edf8;}
.adminchat-reaction-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;}
.adminchat-reaction-details-head small{font-size:10px;letter-spacing:.13em;color:#b787d1;font-weight:800;}
.adminchat-reaction-details-head h3{font-size:21px;margin:4px 0 3px;letter-spacing:-.025em;}
.adminchat-reaction-details-head p{font-size:12px;color:#b8acc2;margin:0;}
.adminchat-reaction-details-close{width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(192,135,235,.22);background:#17121e;color:#f2ebfa;border-radius:10px;display:grid;place-items:center;cursor:pointer;}
.adminchat-reaction-details-close svg{width:17px;height:17px;}
.adminchat-reaction-details-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;max-height:55dvh;padding-right:2px;}
.adminchat-reaction-group{background:rgba(10,8,15,.58);border:1px solid rgba(197,144,238,.14);border-radius:14px;padding:12px;margin-bottom:9px;}
.adminchat-reaction-group h4{font-size:13px;font-weight:800;color:#f3eff9;display:flex;gap:9px;align-items:center;margin:0 0 8px;}
.adminchat-reaction-group h4 span{font-size:19px;}
.adminchat-reaction-people{display:flex;flex-direction:column;gap:4px;}
.adminchat-reaction-person{display:flex;align-items:center;gap:10px;padding:6px 5px;min-height:38px;color:#e9e5ef;}
.adminchat-reaction-person b{font-size:13px;overflow-wrap:anywhere;font-weight:650;}
.adminchat-reaction-avatar{flex:0 0 28px;width:28px;height:28px;background:linear-gradient(145deg,rgba(102,2,163,.5),rgba(59,34,77,.8));border:1px solid rgba(198,146,238,.28);border-radius:50%;display:grid;place-items:center;color:#f0d8ff;font-weight:800;font-size:10px;}
.adminchat-reaction-details-all{margin-top:9px;align-self:flex-start;padding:9px 12px;background:rgba(102,2,163,.22);border:1px solid rgba(170,84,221,.35);border-radius:9px;color:#f5e5ff;cursor:pointer;}
@media(max-width:760px){
 .adminchat-reaction-details{width:100%;max-height:min(69dvh,650px);}
 .adminchat-reaction-details-head h3{font-size:19px;}
 .adminchat-reaction-details-scroll{max-height:53dvh;}
 .adminchat-reaction-group{padding:11px;}
 .adminchat-reaction-people{gap:5px;}
 .adminchat-reaction-person{min-height:42px;}
}
@media(min-width:1800px){
 .adminchat-reaction-details{width:min(530px,90vw);}
 .adminchat-reaction-person b{font-size:14px;}
 .adminchat-reaction-details-head h3{font-size:23px;}
}

/* RPO ADMINCHAT REACTIONS V2: gemeinsame Darstellung mobile/Desktop/4K */
.adminchat-reactions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:31px;}
.adminchat-reaction{transition:background .16s ease,border-color .16s ease,transform .16s ease;}
.adminchat-reaction:active{transform:scale(.94)}
.adminchat-reaction.active{border-color:rgba(177,87,232,.8)!important;background:rgba(102,2,163,.3)!important;box-shadow:inset 0 0 0 1px rgba(170,84,221,.13)}
.adminchat-reactions.reaction-updated .adminchat-reaction.active{animation:rpo-reaction-pop .3s ease-out}
@keyframes rpo-reaction-pop{0%{transform:scale(.92)}50%{transform:scale(1.10)}100%{transform:scale(1)}}
.adminchat-reaction-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px 1px 12px;scrollbar-width:thin;}
.adminchat-reaction-tabs button{display:inline-flex;gap:6px;align-items:center;flex:0 0 auto;min-height:36px;padding:6px 12px;border-radius:12px;border:1px solid rgba(177,132,220,.20);background:rgba(255,255,255,.035);color:#cfc0dd;cursor:pointer;font-size:14px}
.adminchat-reaction-tabs button.active{background:rgba(102,2,163,.30);border-color:rgba(178,89,232,.7);color:#fff}
.adminchat-reaction-tabs button b{font-size:11px;font-weight:800}
.adminchat-reaction-person-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}
.adminchat-reaction-person-info small{font-size:11px;font-weight:600}
.adminchat-reaction-avatar{width:36px;height:36px;flex-basis:36px;position:relative;overflow:hidden}
.adminchat-reaction-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.adminchat-reaction-avatar span{display:grid;place-items:center;width:100%;height:100%}
@media (max-width:760px){.adminchat-reaction-tabs button{min-height:40px}.adminchat-reaction-avatar{width:38px;height:38px;flex-basis:38px}}
@media (min-width:1800px){.adminchat-reaction-tabs button{min-height:42px;font-size:16px}.adminchat-reaction-avatar{width:42px;height:42px;flex-basis:42px}}
@media (prefers-reduced-motion:reduce){.adminchat-reaction{transition:none!important}.adminchat-reactions.reaction-updated .adminchat-reaction.active{animation:none}}

/* RPO Adminchat Typing V3: non-intrusive layout for desktop, PWA and high DPI. */
.rpo-chat-typing{display:none;font-size:12px;line-height:1.5;color:#cbb3df;padding:4px 12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rpo-chat-typing.visible{display:block}
@media(min-width:2500px){.rpo-chat-typing{font-size:17px;padding:8px 15px}}

/* RPO STANDARD 3.0.3 — calmer hierarchy, compact navigation, original dashboard content. */
.sr-only {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;}
:root {color-scheme: dark; --rpo: #6602a3; --rpo2: #7e1eb7; --rpo-bright: #b75be8; --rpo-soft: #c878f6; --rpo-stroke: rgba(102,2,163,.28); --rpo-tint: rgba(102,2,163,.20); --bg: #0d0c10; --sidebar: rgba(13,12,16,.96); --panel: rgba(22,20,27,.86); --panel2: rgba(255,255,255,.025); --panel3: rgba(255,255,255,.045); --line: rgba(255,255,255,.085); --line-strong: rgba(255,255,255,.14); --text: #eeecf2; --muted: rgba(237,232,244,.60); --muted-2: rgba(255,255,255,.55); --good: #7ed3a7; --warn: #e9c37d; --bad: #f28a9c; --sidebar-width: 16.5rem; --topbar-height: 4rem; --content-max: 112rem; --radius-lg: .75rem; --radius-md: .625rem; --shadow: none; --shadow-soft: none; --surface-glass: var(--panel); --focus: 0 0 0 2px rgba(102,2,163,.65); --rpo-product-bg: var(--bg); --rpo-product-panel: var(--panel); --rpo-product-panel-raised: var(--panel2); --rpo-product-line: var(--line); --rpo-product-text: var(--text); --rpo-product-muted: var(--muted); font-size: 16px;}
html[data-ui-size=large] {font-size: 18px;}
html body,html body.rpo-mobile-v2 {background: var(--bg); color: var(--text); background-image: none; background-attachment: fixed; font-family: Montserrat,"Segoe UI",Arial,sans-serif; font-size: .875rem; line-height: 1.5; --rpo-product-bg: var(--bg); --rpo-product-panel: var(--panel); --rpo-product-panel-raised: var(--panel2); --rpo-product-line: var(--line); --rpo-product-text: var(--text); --rpo-product-muted: var(--muted); font-weight: 400;}
html button,html input,html select,html textarea {font-family: inherit;}
html :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible {outline: 2px solid rgba(166,95,209,.9); outline-offset: 3px; box-shadow: none;}
html [hidden],html .standard-search-hidden {display: none !important;}
html .shell {display: grid; grid-template-columns: var(--sidebar-width) minmax(0,1fr); min-height: 100dvh;}
html #sidebar.sidebar {position: sticky; top: 0; width: auto; height: 100dvh; padding: 1rem .75rem .75rem; display: flex; flex-direction: column; gap: 0; background: var(--sidebar); border-right: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; overflow: hidden;}
html #sidebar .brand {padding: .25rem .3rem 1rem; margin: 0 0 .65rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); gap: .65rem; background: transparent; border-radius: 0;}
html #sidebar .brand-logo {width: 3rem; height: 2.8rem; min-width: 3rem; filter: none; object-fit: contain;}
html #sidebar .brand strong {font-size: .93rem; font-weight: 700; letter-spacing: 0;}
html #sidebar .brand span {font-size: .64rem; letter-spacing: .035em; color: rgba(255,255,255,.64); font-weight: 400;}
html #sidebar nav {flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: block !important; padding-right: .15rem; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;}
html #sidebar .nav-item,html #sidebar .standard-shortcut {display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 2.25rem; padding: .42rem .65rem; margin: .15rem 0; border: 1px solid transparent; border-radius: .45rem; background: transparent; color: var(--muted); font-size: .8rem; font-weight: 500; text-align: left; box-shadow: none; cursor: pointer; transform: none; transition: background .12s,color .12s;}
html #sidebar .nav-item .nav-text {width: auto; flex: 1; text-align: left; color: inherit; white-space: normal; line-height: 1.35;}
html #sidebar .nav-item>.nav-icon,html #sidebar .standard-shortcut>.nav-icon {width: 1.15rem; flex: 0 0 1.15rem; color: var(--muted);}
html #sidebar .nav-item:hover,html #sidebar .standard-shortcut:hover {background: var(--panel2); color: var(--text); transform: none; border-color: transparent; box-shadow: none;}
html #sidebar .nav-item.active,html #sidebar .standard-shortcut.active {background: rgba(102,2,163,.20); border-color: transparent; color: #e1beef; box-shadow: none;}
html #sidebar .nav-item.active .nav-icon {color: #bf80df;}
html .standard-nav-group {margin: .15rem 0; border: 0; border-radius: 0; background: transparent; overflow: visible;}
html .standard-group-heading {display: flex; align-items: center; gap: .5rem; padding: .65rem .6rem; cursor: pointer; list-style: none; font-size: .69rem; font-weight: 600; color: rgba(237,232,244,.55); user-select: none; letter-spacing: .025em; min-height: 2.1rem;}
html .standard-group-heading::-webkit-details-marker {display: none;}
html .standard-group-heading::after {content: '›'; margin-left: auto; font-size: 1rem; transform: rotate(0); transition: transform .12s;}
html .standard-nav-group[open]>.standard-group-heading::after {transform: rotate(90deg);}
html .standard-nav-group.contains-active>.standard-group-heading {color: #d8a5f4;}
html #sidebar .standard-nav-group .nav-item {padding-left: 1rem;}
html .standard-nav-top {padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin-bottom: .25rem;}
html .standard-favorite-head {display: flex; justify-content: space-between; align-items: center; padding: .3rem .55rem; color: var(--muted); font-size: .68rem; font-weight: 600;}
html .standard-favorite-head button {width: 1.65rem; height: 1.65rem; border: 0; border-radius: .35rem; background: transparent; color: #c878f6; font-size: 1rem; cursor: pointer;}
html .standard-favorite-head button:hover {background: var(--panel2);}
html .standard-nav-hint {font-size: .75rem; color: var(--muted); padding: 0 .7rem;}
html .standard-menu-search {display: block; margin: .1rem .1rem .65rem;}
html .standard-menu-search input {width: 100%; height: 2.2rem; border: 1px solid var(--line); border-radius: .625rem; background: rgba(255,255,255,.025); color: #fff; padding: 0 .65rem; font-size: .73rem; border-color: var(--line);}
html #sidebar .sidebar-foot {margin-top: .7rem; padding: .8rem .5rem .2rem; border-top: 1px solid var(--line); flex: 0 0 auto;}
html #sidebar .user-mini {font-size: .85rem; margin-bottom: .6rem; color: var(--text);}
html #sidebar .user-mini .sub {font-size: .7rem;}
html .standard-profile-bottom {display: flex; justify-content: space-between; align-items: center; gap: .6rem;}
html .standard-info-link,html .logout {display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .75rem; text-decoration: none;}
html .standard-info-link:hover,html .logout:hover {color: var(--text);}
html button.standard-info-link {border: 0; background: transparent; padding: 0; cursor: pointer;}
html .topbar {height: var(--topbar-height); padding: 0 1.75rem; gap: .8rem; background: rgba(13,12,16,.94); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none;}
html .global-search-wrap {max-width: 48rem; min-width: 0;}
html .search-global {height: 2.5rem; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.18); border-radius: .625rem;}
html .search-global input {font-size: .85rem; color: var(--text);}
html .search-hint {font-size: .7rem; color: var(--muted);}
html .status-pill {background: var(--panel); color: var(--muted); font-size: .75rem; border: 1px solid var(--line); padding: .4rem .65rem; box-shadow: none; white-space: nowrap;}
html .status-pill i {box-shadow: none;}
html .standard-display {display: flex; align-items: center; gap: .5rem; margin-left: auto; color: var(--muted); font-size: .75rem; white-space: nowrap;}
html .standard-display select {height: 2.25rem; padding: 0 .5rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--panel); color: var(--text); font-size: .75rem; max-width: 6.5rem;}
html .topbar .status-pill {margin-left: 0;}
html .view,html body.rpo-mobile-v2 #view {width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 1.5rem 2rem; background: transparent;}
html .page-head {align-items: center; gap: 1rem; margin-bottom: 1.5rem;}
html .page-eyebrow {display: none; color: rgba(255,255,255,.64); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem;}
html .page-head h1,html body.rpo-mobile-v2 .page-head h1 {font-size: 1.6rem; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; color: var(--text);}
html .page-head p,html body.rpo-mobile-v2 .page-head p {font-size: .8rem; line-height: 1.5; color: var(--muted); margin: .4rem 0 0;}
html .actions {gap: .5rem; flex-wrap: wrap;}
html .btn,html body.rpo-mobile-v2 #view .btn {min-height: 2.35rem; border: 1px solid var(--line-strong); border-radius: .5rem; padding: .55rem .85rem; background: rgba(255,255,255,.07); color: #f5eef9; font-size: .82rem; font-weight: 550; box-shadow: none; transform: none;}
html .btn:hover:not(:disabled),html body.rpo-mobile-v2 #view .btn:hover:not(:disabled) {background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.27); transform: none; box-shadow: none;}
html .btn.primary,html body.rpo-mobile-v2 #view .btn.primary {background: #6602a3; border-color: #8328b8; color: #fff; box-shadow: none;}
html .btn.primary:hover:not(:disabled) {background: #7e1eb7;}
html .btn.danger,html body.rpo-mobile-v2 #view .btn.danger {background: #f2849212; border-color: #f2849255; color: #ffabb6;}
html .btn.warning {background: #e8bb6312; border-color: #e8bb6355; color: #f4d496;}
html .btn.ghost {background: transparent;}
html .btn.small {min-height: 2.1rem; font-size: .8rem; padding: .35rem .65rem;}
html .btn:disabled {opacity: .45; cursor: not-allowed;}
html :is(.card,.stat-card),html body.rpo-mobile-v2 #view :is(.card,.stat-card) {background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;}
html .card,html body.rpo-mobile-v2 #view .card {padding: 1rem 1.15rem;}
html .stat-card,html body.rpo-mobile-v2 #view .stat-card {padding: 1rem 1.15rem;}
html .stat-card::after,html .stat-card::before {display: none;}
html .stat-card .k {font-size: .76rem; color: var(--muted); font-weight: 500;}
html .stat-card .v {font-size: 1.85rem; line-height: 1.3; letter-spacing: -.04em; margin-top: .35rem; font-weight: 650;}
html .card-title h2,html body.rpo-mobile-v2 #view .card-title h2 {font-size: .9rem; font-weight: 600; color: var(--text);}
html .card-title span {font-size: .7rem; color: var(--muted);}
html .table-wrap {border-color: var(--line); border-radius: .625rem;}
html .table th {background: #19161f; color: var(--muted); font-size: .75rem; padding: .8rem .9rem; border-bottom-color: var(--line); font-weight: 500;}
html .table td {color: var(--text); font-size: .82rem; padding: .9rem; border-bottom-color: var(--line);}
html .table tr.clickable:hover {background: var(--panel2);}
html .sub {font-size: .75rem; color: var(--muted);}
html .muted {color: var(--muted);}
html .badge {font-size: .72rem; padding: .2rem .5rem;}
html :is(.field input,.field select,.field textarea,.search-box,.filters select,.input,.report-toolbar input,.report-toolbar select) {border: 1px solid var(--line-strong); border-radius: .625rem; background: rgba(255,255,255,.075); color: #fff; min-height: 2.5rem; font-size: .875rem; box-shadow: none;}
html .field label {font-size: .8rem; color: #fff; font-weight: 650;}
html .field textarea {padding: .65rem; line-height: 1.5;}
html .search-box input {font-size: .875rem;}
html .tabs {background: var(--panel); border: 1px solid var(--line); border-radius: .6rem; padding: .3rem;}
html .tab {min-height: 2.4rem; border-radius: .4rem; font-size: .8rem; color: var(--muted); font-weight: 500;}
html .tab.active {background: rgba(102,2,163,.23); border: 1px solid transparent; color: #e3c7f0; box-shadow: none;}
html .identity h1 {font-size: 1.5rem;}
html .info-row span:first-child {font-size: .8rem; color: var(--muted);}
html .info-row span:last-child {font-size: .875rem;}
html :is(.info-row,.online-row) {border-bottom-color: var(--line);}
html :is(.team-role-card,.job-card,.money-card,.health-item,.job-line) {background: var(--panel2); border-color: var(--line); box-shadow: none; border-radius: .75rem;}
html .money-card strong {font-size: 1.5rem;}
html .team-role-head {font-size: .74rem; font-weight: 550;}
html .team-member {font-size: .72rem; font-weight: 400;}
html .online-row b {font-size: .875rem;}
html .online-row small {font-size: .75rem; color: var(--muted);}
html .report-row {background: var(--panel); border-color: var(--line); border-radius: .55rem;}
html .report-row:hover {background: var(--panel2);}
html .report-row-title {font-size: .9rem;}
html .report-meta {font-size: .78rem; color: var(--muted);}
html .modal {background: rgba(0,0,0,.94); color: #fff; border: 1px solid var(--rpo-stroke); border-radius: .875rem; box-shadow: 0 22px 75px rgba(0,0,0,.52),0 0 32px rgba(102,2,163,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);}
html .toast {background: var(--panel2); color: var(--text); border-color: var(--line-strong); font-size: .875rem;}
html .login {background: radial-gradient(ellipse at 50% 10%,rgba(102,2,163,.20),transparent 65%),var(--bg);}
html .login-card {background: var(--panel); border: 1px solid var(--rpo-stroke); box-shadow: var(--shadow); border-radius: 1rem; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);}
html .standard-favorite-dialog {width: min(34rem,calc(100vw - 2rem)); max-height: 85dvh; overflow: auto; background: rgba(0,0,0,.94); color: #fff; border: 1px solid var(--rpo-stroke); border-radius: .9rem; padding: 1.4rem; box-shadow: 0 22px 75px rgba(0,0,0,.52),0 0 32px rgba(102,2,163,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);}
html .standard-favorite-dialog::backdrop {background: #0009;}
html .standard-dialog-head {display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem;}
html .standard-dialog-head h2 {font-size: 1.2rem; margin: 0;}
html .standard-dialog-head p {font-size: .85rem; color: var(--muted); margin: .4rem 0 0;}
html .standard-favorite-options {display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;}
html .standard-favorite-options label {display: flex; align-items: center; gap: .6rem; padding: .65rem; background: var(--panel2); border: 1px solid var(--line); border-radius: .625rem; font-size: .85rem; cursor: pointer;}
html .standard-favorite-options input {accent-color: #6602a3; width: 1rem; height: 1rem;}
html .standard-favorite-options label:has(input:disabled) {opacity: .5;}
html #sidebar .rpo-mobile-nav-search,html #sidebar #rpo21Customize {display: none !important;}
@media (min-width:761px) {html body.nav-collapsed .shell {grid-template-columns: 4.6rem minmax(0,1fr);}html body.nav-collapsed #sidebar {padding-inline: .55rem; overflow: visible;}html body.nav-collapsed #sidebar .brand {padding-inline: 0; justify-content: center;}html body.nav-collapsed #sidebar .brand-logo {width: 2.8rem; height: 2.8rem; min-width: 2.8rem;}html body.nav-collapsed #sidebar .brand>div,html body.nav-collapsed #sidebar .nav-text,html body.nav-collapsed #sidebar .standard-menu-search,html body.nav-collapsed #sidebar .standard-favorite-head,html body.nav-collapsed #sidebar #standardFavorites,html body.nav-collapsed #sidebar .sidebar-foot,html body.nav-collapsed #sidebar .standard-group-heading {display: none;}html body.nav-collapsed #sidebar .standard-nav-group:not([hidden])>.standard-group-items {display: block;}html body.nav-collapsed #sidebar .standard-nav-group {content-visibility: visible;}html body.nav-collapsed #sidebar .standard-nav-group::details-content {content-visibility: visible; display: block;}html body.nav-collapsed #sidebar .nav-item {justify-content: center; padding: .65rem .4rem; min-height: 2.7rem;}html body.nav-collapsed #sidebar .nav-item .nav-icon {margin: 0;}html body.nav-collapsed #sidebar .nav-unread-badge {position: absolute; right: 0; top: 0; font-size: .6rem;}html .mobile-nav-toggle {display: flex;}}
@media (min-width:2560px) {:root {font-size: 18px; --content-max: 130rem; --bg: #0d0c10; --sidebar: rgba(13,12,16,.96); --panel: rgba(22,20,27,.86); --panel2: rgba(255,255,255,.025); --panel3: rgba(255,255,255,.045); --line: rgba(255,255,255,.085); --line-strong: rgba(255,255,255,.14); --rpo-stroke: rgba(102,2,163,.28); --text: #eeecf2; --muted: rgba(237,232,244,.60); --sidebar-width: 16.5rem; --topbar-height: 4rem; --shadow: none; --shadow-soft: none; --radius-lg: .75rem;}html[data-ui-size=large] {font-size: 20px;}}
@media (max-width:1200px) {html .standard-display>span {display: none;}}
@media (max-width:760px) {:root {font-size: 16px; --topbar-height: 4rem; --bg: #0d0c10; --sidebar: rgba(13,12,16,.96); --panel: rgba(22,20,27,.86); --panel2: rgba(255,255,255,.025); --panel3: rgba(255,255,255,.045); --line: rgba(255,255,255,.085); --line-strong: rgba(255,255,255,.14); --rpo-stroke: rgba(102,2,163,.28); --text: #eeecf2; --muted: rgba(237,232,244,.60); --sidebar-width: 16.5rem; --shadow: none; --shadow-soft: none; --radius-lg: .75rem;}html[data-ui-size=large] {font-size: 18px;}html body.rpo-mobile-v2 {--rpo-product-panel: var(--panel); --rpo-product-panel-raised: var(--panel2); --rpo-product-line: var(--line);}html .shell {display: block;}html #sidebar.sidebar {position: fixed; left: 0; top: 0; bottom: 0; z-index: 80; width: min(88vw,22rem); height: 100dvh; transform: translateX(-105%); transition: transform .18s; visibility: hidden; padding-top: calc(1rem + env(safe-area-inset-top)); box-shadow: none; border-right: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 1rem .75rem .75rem;}html body.nav-open #sidebar.sidebar {transform: translateX(0); visibility: visible;}html .topbar {padding: 0 1.75rem; gap: .8rem; background: rgba(13,12,16,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none;}html .topbar .status-pill {display: none;}html .standard-display {gap: 0; margin-left: 0;}html .standard-display select {max-width: 5rem; font-size: .75rem;}html .global-search-wrap {flex: 1; max-width: none;}html .search-global input {font-size: 16px; min-width: 0;}html .search-hint,html .search-leading {display: none;}html .view,html body.rpo-mobile-v2 #view {padding: 1.5rem 2rem;}html .page-head {align-items: start; flex-wrap: wrap; margin-bottom: 1.2rem;}html .page-head h1,html body.rpo-mobile-v2 .page-head h1 {font-size: 1.6rem; font-weight: 650; letter-spacing: -.025em;}html .standard-favorite-options {grid-template-columns: 1fr;}html .standard-display select {min-height: 2.75rem;}html #sidebar .nav-item,html #sidebar .standard-shortcut {min-height: 2.25rem; font-size: .8rem; padding: .42rem .65rem; font-weight: 500; border-radius: .45rem; color: var(--muted);}html .standard-group-heading {min-height: 2.1rem; font-size: .69rem; font-weight: 600; letter-spacing: .025em; padding: .65rem .6rem; color: rgba(237,232,244,.55);}}
@media (prefers-reduced-motion:reduce) {html *,html *::before,html *::after {scroll-behavior: auto; transition: none !important;}}
html :is(.field input,.field select,.field textarea,.search-box,.filters select,.input,.report-toolbar input,.report-toolbar select):focus-within {outline: 2px solid rgba(102,2,163,.65); outline-offset: 1px; border-color: #6602a3; box-shadow: none;}
html :is(input[type=checkbox],input[type=radio],input[type=range]) {accent-color: #6602a3;}
html select option {background: #20142b; color: #fff;}
html ::selection {background: rgba(102,2,163,.65); color: #fff;}
html .standard-nav-group {background: transparent; border: 0; border-radius: 0; overflow: visible; margin: .15rem 0;}
html .standard-nav-group[open]>.standard-group-heading {background: transparent; border-bottom: 0;}
html .standard-group-items {padding: 0;}
html .standard-group-heading {padding: .65rem .6rem; font-weight: 600; font-size: .69rem; letter-spacing: .025em; color: rgba(237,232,244,.55); min-height: 2.1rem;}
html .stat-card .stat-icon {background: transparent; border: 0; color: #ae70ca; border-radius: 0; box-shadow: none; width: 1.1rem; height: 1.1rem; padding: 0;}
html .stat-card .v {font-weight: 650; font-size: 1.85rem; margin-top: .35rem;}
html .dashboard-jobs-card {background: var(--panel); border-color: var(--line); box-shadow: none; backdrop-filter: none; padding: 0;}
html .dashboard-jobs-card>summary {color: #fff;}
html .dashboard-jobs-card[open]>summary {border-bottom: 1px solid rgba(255,255,255,.10); padding-bottom: .85rem; margin-bottom: .85rem;}
html .card .card {box-shadow: none; border-color: var(--line); background: rgba(255,255,255,.035);}
html .rpo-player-count-card .rpo-ph-shell {background: transparent; border-color: var(--line); box-shadow: none;}
html .global-search-results {background: rgba(0,0,0,.96); border: 1px solid var(--rpo-stroke); border-radius: .75rem; box-shadow: var(--shadow); backdrop-filter: blur(18px);}
html .search-hit:hover {background: rgba(255,255,255,.075);}
html .standard-display select {background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.18); border-radius: .625rem;}
html .standard-favorite-options label {background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: .625rem;}
html .team-role-card {border-left-color: var(--team-role,rgba(102,2,163,.55));}
html :is(.vsp-card,.vsp-panel,.permission-role-panel,.permission-content,.discord-card,.faction-card,.rpo-wiki-card) {font-family: inherit;}
@media (max-width:760px) {html body.rpo-mobile-v2 .rpo-mobile-tabbar {background: rgba(0,0,0,.94); border-top: 1px solid rgba(102,2,163,.42); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);}html body.rpo-mobile-v2 .rpo-mobile-tab[aria-current=page] {background: rgba(102,2,163,.84); color: #fff; border-radius: .625rem;}html body.rpo-mobile-v2 #app #sidebar {background: rgba(0,0,0,.94); border-right: 1px solid rgba(102,2,163,.42);}html body.rpo-mobile-v2 #sidebar .brand-logo {width: 3.6rem; height: 3.4rem; min-width: 3.6rem;}html body.rpo-mobile-v2 #view>.player-profile-header {background: rgba(0,0,0,.79); border-color: var(--rpo-stroke); box-shadow: none;}html body.rpo-mobile-v2 :is(#view,#modalHost) table.rpo-mobile-card-table>tbody>tr {background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.12); border-radius: .75rem;}}
html :is(.rpo-bot-sidebar,.rpo-bot-kpi,.rpo-bot-ticket-kpi,.vsp-workspace,.permission-role-panel,.permission-content,.rpow-list,.rpow-editor) {background: var(--panel); border: 1px solid var(--rpo-stroke); border-radius: var(--radius-lg); box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);}
html .rpo-bot-hero {background: linear-gradient(180deg,rgba(102,2,163,.19),transparent),var(--panel); border-color: var(--rpo-stroke); border-radius: var(--radius-lg);}
html :is(.rpo-bot-record,.rpo-bot-ticket-category,.rpo-bot-role-options,.rpo-bot-member-results,.rpo-bot-format-toolbar,.vsp-sidebar,.rpo-trend-period,.rpo-trend-stats>div) {background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.12); border-radius: .75rem;}
html :is(.rpo-bot-nav-btn.current,.rpow-item.sel,.vsp-active-case.selected,.rpo-trend-period button.active) {background: rgba(102,2,163,.84); border-color: rgba(255,255,255,.13); color: #fff; box-shadow: 0 4px 14px rgba(102,2,163,.25);}
html :is(.rpo-bot-nav-btn:hover:not(.current),.rpow-item:hover:not(.sel)) {background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.12);}
html :is(.rpo-bot-page,.rpow-admin,.vsp-root) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea) {background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.18); color: #fff; border-radius: .625rem; font-family: inherit;}
html :is(.rpo-bot-page,.rpow-admin,.vsp-root) :is(input,select,textarea):focus-visible {outline: 2px solid rgba(102,2,163,.65); outline-offset: 1px; border-color: #6602a3;}
html :is(.rpo-bot-ticket-modal,.rpo-bot-status-dialog) {background: rgba(0,0,0,.96); border-color: var(--rpo-stroke); border-radius: .875rem; box-shadow: var(--shadow);}
html .rpo-bot-status-dialog-head {background: linear-gradient(180deg,rgba(102,2,163,.19),transparent);}
html .rpow-head p,html .rpow-muted,html .rpow-item small,html .rpo-trend-top p {color: var(--muted);}
html .rpow-kicker,html .rpo-bot-kicker,html .vsp-overline,html .vsp-eyebrow {color: rgba(255,255,255,.64); letter-spacing: .12em;}
html .card .card {backdrop-filter: none; -webkit-backdrop-filter: none;}
@font-face {font-family: 'Montserrat'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/montserrat-latin-ext-400-800.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Montserrat'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/montserrat-latin-400-800.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
html #sidebar .nav-icon {display: grid; place-items: center; width: 1rem; height: 1.1rem; flex: 0 0 1rem; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;}
html #sidebar .nav-icon .rpo-icon {display: block; width: 1rem; height: 1rem; min-width: 1rem; margin: 0; padding: 0;}
html #sidebar .nav-item:focus-visible,html #sidebar .standard-shortcut:focus-visible {outline: 1px solid #ae70ca; outline-offset: 0;}
html .mobile-nav-toggle {display: grid; place-content: center; align-items: center; justify-content: center; gap: 4px; width: 2.3rem; height: 2.3rem; min-width: 2.3rem; flex: 0 0 2.3rem; padding: 0; border: 1px solid var(--line); border-radius: .5rem; background: rgba(255,255,255,.025);}
html .mobile-nav-toggle span {display: block; width: 16px; height: 1.5px; margin: 0; background: #bcb7c4; border-radius: 2px;}
html .team-grid {align-items: start; gap: .65rem;}
html .team-role-card {height: auto; min-height: 0; padding: .7rem .8rem; border-color: rgba(255,255,255,.065); background: rgba(255,255,255,.018); border-radius: .55rem; box-shadow: none;}
html .team-role-card::before {width: 2px; opacity: .65;}
html .team-role-dot {width: 5px; height: 5px; box-shadow: none;}
html .team-role-head b {font-size: .9rem; font-weight: 600;}
html .team-role-members {display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: .2rem .65rem; margin-top: .45rem; min-height: 0;}
html .team-member {min-height: 1.4rem; max-width: 100%; padding: .15rem 0; line-height: 1.45; white-space: normal;}
html .team-member-id {font-size: .64rem; min-width: 1.35rem; color: var(--muted-2);}
html .team-none {font-size: .65rem; color: rgba(237,232,244,.38);}
html .dashboard-jobs-card>summary {padding: .85rem 1.15rem; min-height: 3.6rem;}
html .dashboard-jobs-card>summary h2 {font-size: .82rem; font-weight: 550;}
html .dashboard-jobs-card>summary span {font-size: .7rem; margin-top: .2rem;}
html #sidebar #standardFavoriteToggle {display: flex; align-items: center; gap: .4rem; width: auto; height: 1.65rem; padding: 0; color: var(--muted); font: inherit; font-size: .68rem; font-weight: 600; background: transparent; border: 0;}
html #sidebar #standardFavoriteToggle::after {content: '›'; display: inline-block; font-size: .9rem; transform: rotate(0);}
html #sidebar #standardFavoriteToggle[aria-expanded=true]::after {transform: rotate(90deg);}
html .rpo-trend-stats>div {padding: .65rem .8rem; background: rgba(255,255,255,.018); border-color: var(--line); border-radius: .5rem;}
html .rpo-trend-stats strong {font-size: 1.25rem; font-weight: 600;}
@media (max-width:760px) {html .view,html body.rpo-mobile-v2 #view {padding: 1.1rem 1rem calc(6rem + env(safe-area-inset-bottom));}html #sidebar .nav-item,html #sidebar .standard-shortcut {min-height: 2.75rem;}html .standard-group-heading {min-height: 2.75rem;}html .team-grid {grid-template-columns: 1fr;}html .team-role-members {gap: .25rem .65rem;}}
