/*
 * Erweiterungen 2026-10 im bestehenden VScripts-Glas-Look (glass.css).
 * FiveM-NUI: kein color-mix(), :has(), backdrop-filter; feste rgba-Werte.
 */
#palette { position: fixed; left: 0; top: 0; width: var(--vg-canvas-width, 100vw); height: var(--vg-canvas-height, 100vh); zoom: var(--vg-ui-scale, 1); }
.wait { color: var(--muted); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wait.warn { color: #ffcc70; }
.wait.late { color: #ff6f8d; }
.dash-none { color: var(--muted); font-size: 12px; padding: 14px 0; }
.plus-staff { color: #ffd5b9; font-weight: 600; }
.plus-art { width: 180px; height: 180px; object-fit: contain; margin-bottom: 6px; }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border: 1px solid var(--border); border-radius: 7px; background: rgba(114, 144, 197, 0.08); color: #c9d3eb; font-size: 10px; font-weight: 600; white-space: nowrap; }
.pill .vg-icon { width: 13px; height: 13px; }
.pill.amber { border-color: rgba(207, 169, 78, 0.42); background: rgba(162, 120, 36, 0.2); color: #fff1c5; }
.pill.red { border-color: rgba(239, 95, 110, 0.42); background: rgba(176, 47, 63, 0.2); color: #ffd6dd; }
.pill.teal, .pill.cyan { border-color: rgba(51, 189, 215, 0.4); background: rgba(17, 149, 163, 0.18); color: #aeeff5; }
.pill.violet, .pill.pink { border-color: rgba(var(--v-accent-hi-rgb), 0.42); background: rgba(var(--v-accent-rgb), 0.2); color: var(--v-accent-hi); }
.pill.blue { border-color: rgba(69, 145, 255, 0.42); background: rgba(44, 115, 226, 0.2); color: #c2e2ff; }
.pill.green { border-color: rgba(73, 202, 113, 0.42); background: rgba(39, 151, 72, 0.2); color: #c3fada; }

.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: rgba(8, 15, 29, 0.42); }
.seg button { height: 26px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.seg button:hover { color: #fff; }
.seg button.active { background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.35), rgba(var(--v-accent-lo-rgb), 0.15)); color: #fff7f1; box-shadow: inset 0 0 0 1px rgba(var(--v-accent-hi-rgb), 0.35); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { height: 28px; padding: 0 11px; border: 1px solid var(--border); border-radius: 8px; background: rgba(114, 144, 197, 0.075); color: #d9e3f6; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.chips button:hover { border-color: var(--border-hover); }
.chips button.active { border-color: rgba(var(--v-accent-hi-rgb), 0.6); background: rgba(var(--v-accent-rgb), 0.25); color: #fff; }

/* Navigation: Abschnitte statt „Mehr Werkzeuge“ */
#app .sidebar-nav { overflow-y: auto; }
#app .ow-nav-search { display: flex; align-items: center; gap: 8px; height: 36px; margin: 0 0 6px; padding: 0 11px; border: 1px solid var(--border); border-radius: 9px; background: rgba(136, 168, 218, 0.07); color: #b3c0dd; }
#app .ow-nav-search .vg-icon { width: 16px; height: 16px; }
#app .ow-nav-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0 !important; background: transparent !important; font-size: 12px; outline: 0; }
#app .vg-nav-section { margin-top: 8px; padding: 12px 12px 6px; }
#app .vg-nav-section.is-first { margin-top: 0; border-top: 0; padding-top: 8px; }
#app .nav-item .nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app .nav-item .vg-icon { width: 19px; height: 19px; }
.nav-badge { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: linear-gradient(110deg, var(--v-accent), #eb945a); color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }
#app .ticket-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.35) !important; border-radius: 10px; color: var(--v-accent-hi); cursor: pointer; }
#app .ticket-pill .vg-icon { width: 15px; height: 15px; }
#app .palette-trigger { cursor: pointer; color: #99a9c7; font: inherit; font-size: 12px; text-align: left; }
#app .palette-trigger > span:not(.vg-icon) { flex: 1; }
#app .palette-trigger kbd, #palette kbd { display: inline-block; min-width: 18px; padding: 1px 5px; border: 1px solid var(--border); border-radius: 5px; background: rgba(255, 255, 255, 0.05); color: #c9d3eb; font-family: inherit; font-size: 10px; font-weight: 700; line-height: 15px; text-align: center; }
#app .mode-text small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }

/* Dashboard-Ergänzungen */
.vg-team-avatars { position: relative; z-index: 1; display: flex; gap: 4px; margin-top: 12px; }
.vg-team-avatars .vg-initial { width: 30px; height: 30px; font-size: 11px; }
.vg-today-panel { display: flex; flex-direction: column; }
.dq-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dq-stat { padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: rgba(14, 24, 42, 0.3); text-align: center; }
.dq-stat strong { display: block; font-size: 26px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dq-stat span { color: var(--muted); font-size: 10px; }
.dq-stat.tone-amber strong { color: #ffd98a; }
.dq-stat.tone-red strong { color: #ff8da2; }
.dq-stat.tone-violet strong { color: var(--v-accent-hi); }
.dq-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: auto; padding-top: 14px; }
.dq-quick { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1px solid rgba(var(--v-accent-rgb), 0.32); border-radius: 10px; background: linear-gradient(145deg, rgba(var(--v-accent-rgb), 0.2), rgba(132, 79, 44, 0.06)); color: #fff0e6; font: inherit; font-size: 10.5px; font-weight: 600; cursor: pointer; }
.dq-quick .vg-icon { width: 20px; height: 20px; color: var(--v-accent-hi); }
.dq-quick:hover { filter: brightness(1.18); transform: translateY(-1px); }
.dq-list { display: grid; gap: 6px; margin-top: 14px; max-width: 420px; }
.dq-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.2); border-radius: 9px; background: rgba(44, 28, 18, 0.42); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.dq-row:hover { border-color: rgba(var(--v-accent-hi-rgb), 0.45); }
.dq-id { color: #d9beac; font-size: 11px; }
.dq-main { min-width: 0; font-size: 12px; }
.dq-main small { display: block; overflow: hidden; color: var(--muted); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
#app .vg-support-button { margin-top: 16px; }
.vg-initial.tone-police { color: #c2e2ff; border-color: #3f73c7; background: rgba(44, 115, 226, 0.2); }
.vg-initial.tone-medic, .player-item-av.tone-medic { color: #ffd6dd; border-color: #b9465a; background: rgba(176, 47, 63, 0.2); }
.vg-initial.tone-mechanic { color: #ffe1bb; border-color: #a27b49; background: rgba(175, 120, 49, 0.15); }
.vg-initial.tone-staff { color: var(--v-accent-hi); border-color: var(--v-accent-hi); background: rgba(var(--v-accent-rgb), 0.22); }

/* Spielerliste & Akte */
.players-filter { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.players-filter button { height: 24px; padding: 0 9px; border: 1px solid var(--border); border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 10px; font-weight: 600; cursor: pointer; }
.players-filter button.active { border-color: rgba(var(--v-accent-hi-rgb), 0.5); background: rgba(var(--v-accent-rgb), 0.22); color: #fff7f1; }
#app .player-item-av { display: grid; place-items: center; color: var(--v-accent-hi); font-weight: 700; flex: none; }
.player-spectate-btn .vg-icon { width: 15px; height: 15px; }
#app .vg-profile .player-profile-head { display: flex; align-items: center; }
#app .vg-profile .player-profile-av { display: grid; place-items: center; flex: none; color: #fff; font-weight: 700; }
.akte-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.akte-flags:empty { display: none; }
.akte-head-side { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.akte-head-side .btn { min-height: 34px !important; font-size: 11px !important; padding: 7px 11px !important; }
.akte-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: rgba(20, 32, 51, 0.4); }
.akte-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border: 0; border-radius: 7px; background: transparent; color: #b0bed7; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.akte-tabs button:hover { color: #fff; background: rgba(144, 169, 219, 0.1); }
.akte-tabs button.active { background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.3), rgba(var(--v-accent-lo-rgb), 0.08)); color: #fff7f1; box-shadow: inset 0 0 0 1px rgba(var(--v-accent-hi-rgb), 0.32); }
.akte-tabs .count { min-width: 18px; padding: 0 5px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #d9e3f6; font-size: 10px; line-height: 16px; text-align: center; }
.akte-tab-body { display: grid; gap: 14px; }
.akte-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.akte-counter { padding: 12px 8px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(140deg, rgba(26, 48, 70, 0.29), rgba(36, 23, 15, 0.4)); color: var(--text); font: inherit; text-align: center; cursor: pointer; }
.akte-counter:hover { border-color: var(--border-hover); }
.akte-counter strong { display: block; font-size: 24px; font-weight: 750; letter-spacing: -0.03em; }
.akte-counter span { color: var(--muted); font-size: 10.5px; }
.akte-counter.tone-amber strong { color: #ffd98a; }
.akte-counter.tone-red strong { color: #ff8da2; }
.akte-counter.tone-teal strong { color: #7fe7f2; }
.akte-counter.tone-violet strong { color: var(--v-accent-hi); }
.akte-recent { padding: 18px; }
.akte-recent .vg-panel-head { margin-bottom: 6px; }
.panel { min-width: 0; padding: 4px 18px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(140deg, rgba(26, 48, 70, 0.29), rgba(36, 23, 15, 0.4)); }
.panel-body { min-height: 0; overflow-y: auto; }
.staff-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid rgba(160, 182, 224, 0.09); }
.staff-row:last-child { border-bottom: 0; }
.staff-meta { flex: 1; min-width: 0; font-size: 12px; }
.staff-meta small { display: block; font-size: 10.5px; }

.timeline { padding: 6px 0; }
.tl { position: relative; padding: 9px 0 9px 24px; }
.tl::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(160, 182, 224, 0.14); }
.tl:first-child::before { top: 15px; }
.tl:last-child::before { bottom: calc(100% - 15px); }
.tl::after { content: ''; position: absolute; left: 2px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--tc, #44dcec); box-shadow: 0 0 0 3px #131a2c; }
.tl.tone-amber { --tc: #f2b84b; }
.tl.tone-red { --tc: #ff6f8d; }
.tl.tone-pink { --tc: var(--v-accent-hi); }
.tl-head { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.tl-head b { font-size: 12.5px; color: #f0f4ff; }
.tl-head time { margin-left: auto; color: var(--muted); font-size: 10.5px; }
.tl p { margin-top: 3px; color: #d3ddef; font-size: 12px; line-height: 1.5; }
.tl small { color: var(--muted); font-size: 10.5px; }
.tl .vg-text-link .vg-icon { width: 13px; height: 13px; }
.note-form { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid rgba(160, 182, 224, 0.1); }
.note-form textarea { min-height: 80px; padding: 10px 12px; resize: vertical; font-size: 12px; }
.note-form .row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10.5px; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: #70c8ef; font: inherit; font-size: 11px; cursor: pointer; }
.link-btn .vg-icon { width: 13px; height: 13px; }

/* Strafen-Dialog */
#modal .modal-box.is-wide { width: 860px; max-width: calc(100vw - 40px); }
.sanction { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
.sanction-list { max-height: 400px; overflow-y: auto; padding-right: 4px; }
.sanction-list h5 { padding: 10px 4px 5px; color: #8d9bb6; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sanction-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #d9e3f6; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.sanction-item span { flex: 1; }
.sanction-item small { color: var(--muted); font-size: 10.5px; }
.sanction-item:hover { background: rgba(144, 169, 219, 0.1); }
.sanction-item.active { border-color: rgba(var(--v-accent-hi-rgb), 0.4); background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.3), rgba(var(--v-accent-lo-rgb), 0.08)); color: #fff; }
.sanction-form { display: grid; gap: 11px; align-content: start; }
.sanction-form > label, .sanction-form #sanction-duration > label { color: var(--muted); font-size: 11px; font-weight: 600; }
.sanction-type { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.sanction-type button { min-height: 64px; border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(145deg, rgba(46, 76, 112, 0.18), rgba(26, 42, 72, 0.08)); color: #d9e3f6; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.sanction-type button .vg-icon { display: block; width: 22px; height: 22px; margin: 0 auto 5px; }
.sanction-type button.active { border-color: rgba(239, 95, 110, 0.55); background: linear-gradient(145deg, rgba(176, 47, 63, 0.32), rgba(118, 34, 46, 0.11)); color: #fff; }
.sanction-type button[data-type="warn"].active { border-color: rgba(207, 169, 78, 0.55); background: linear-gradient(145deg, rgba(162, 120, 36, 0.33), rgba(113, 76, 24, 0.11)); }
.sanction-note { padding: 10px 12px; border: 1px dashed var(--border); border-radius: 9px; color: #bdc9df; font-size: 11px; line-height: 1.5; }
.sanction-art { display: block; width: 110px; height: 110px; margin: 2px auto 6px; object-fit: contain; }
#modal .modal-textarea, #modal textarea.field { min-height: 84px; }

/* Tickets: Warteschlange · Verlauf · Bearbeitung */
.tk { display: grid; grid-template-columns: minmax(220px, 27%) minmax(0, 1fr) minmax(250px, 26%); gap: 14px; height: 100%; min-height: 0; }
.tk > .panel, .tk-side > .panel { padding: 0; display: flex; flex-direction: column; min-height: 0; }
.tk .panel-head { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; border-bottom: 1px solid rgba(160, 182, 224, 0.1); }
.tk .panel-head h2, .tk .panel-head h3 { flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; color: #f0f4ff; }
.tk .panel-head h2 small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; font-weight: 400; }
.tk .panel-head .count { min-width: 22px; padding: 0 6px; border-radius: 7px; background: rgba(var(--v-accent-rgb), 0.25); color: var(--v-accent-hi); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.tk .panel-body { flex: 1; padding: 6px 8px; }
.tk-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; width: 100%; padding: 13px 11px; border: 0; border-bottom: 1px solid rgba(160, 182, 224, 0.08); border-left: 2px solid var(--prio, transparent); background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tk-item:hover { background: rgba(118, 170, 214, 0.065); }
.tk-item.active { border-radius: 9px; background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.3), rgba(134, 84, 50, 0.12)); box-shadow: inset 2px 0 #41d8ee; }
.tk-item.prio-high { --prio: #f2b84b; }
.tk-item.prio-urgent { --prio: #ff6f8d; }
.tk-item .tk-top { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; color: #d9beac; }
.tk-item .tk-name { grid-column: 1 / -1; font-size: 13px; font-weight: 600; }
.tk-item p { grid-column: 1 / -1; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tk-chat { background: radial-gradient(ellipse at 90% 0, rgba(25, 133, 153, 0.09), transparent 55%), rgba(53, 37, 27, 0.21) !important; }
.tk-chat .panel-head { min-height: 70px; }
.tk-head-art { width: 54px; height: 54px; object-fit: contain; flex: none; }
.tk-msgs { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.msg { max-width: 78%; }
.msg .who { margin-bottom: 4px; color: var(--muted); font-size: 10.5px; }
.msg .bubble { padding: 11px 14px; border: 1px solid var(--border); border-radius: 4px 12px 12px 12px; background: rgba(14, 24, 42, 0.45); font-size: 12.5px; line-height: 1.55; overflow-wrap: anywhere; }
.msg.team { align-self: flex-end; }
.msg.team .who { text-align: right; }
.msg.team .bubble { border-color: rgba(255, 194, 154, 0.4); border-radius: 12px 4px 12px 12px; background: linear-gradient(110deg, rgba(243, 139, 70, 0.45), rgba(235, 148, 90, 0.32) 58%, rgba(8, 121, 192, 0.3)); }
.msg.sys { align-self: center; max-width: 90%; color: var(--muted); font-size: 10.5px; text-align: center; }
.tk-compose { padding: 12px 14px 14px; border-top: 1px solid rgba(160, 182, 224, 0.1); }
.tk-compose .chips { margin-bottom: 9px; }
.tk-compose .chips button { height: 25px; font-size: 10.5px; }
.tk-compose-row { display: flex; gap: 8px; }
.tk-compose-row .field { flex: 1; min-height: 40px; padding: 0 12px; font-size: 12px; }
.tk-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; }
.tk-player { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.tk-player strong { display: block; font-size: 13.5px; }
.tk-player small { color: var(--muted); font-size: 11px; }
.tk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 14px 16px; }
.tk-actions .full { grid-column: 1 / -1; }
.tk-act { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 9px; background: linear-gradient(145deg, rgba(46, 76, 112, 0.18), rgba(26, 42, 72, 0.08)); color: #e6edfb; font: inherit; font-size: 11px; font-weight: 600; text-align: left; cursor: pointer; }
.tk-act .vg-icon { width: 18px; height: 18px; }
.tk-act:hover:not(:disabled) { border-color: var(--border-hover); transform: translateY(-1px); }
.tk-act:disabled { opacity: 0.42; cursor: not-allowed; }
.tk-act.tone-claim { justify-content: center; border-color: #e6ac86; background: linear-gradient(110deg, var(--v-accent), #d58651 55%, #097fa2); color: #fff; }
.tk-act.tone-teal { border-color: rgba(51, 189, 215, 0.32); background: linear-gradient(135deg, rgba(17, 149, 163, 0.23), rgba(13, 67, 96, 0.11)); }
.tk-act.tone-close { justify-content: center; border-color: rgba(239, 95, 110, 0.38); background: linear-gradient(145deg, rgba(176, 47, 63, 0.26), rgba(118, 34, 46, 0.09)); color: #ffd6dd; }
.tk-section { display: grid; gap: 8px; padding: 13px 16px; }
.tk-section + .tk-section { border-top: 1px solid rgba(160, 182, 224, 0.1); }
.tk-section h4 { color: #c4d1e9; font-size: 11px; font-weight: 600; }
.check { display: flex; align-items: center; gap: 9px; color: #d3ddef; font-size: 11.5px; cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--v-accent); }
.empty { display: grid; place-items: center; gap: 6px; height: 100%; min-height: 160px; padding: 24px; color: var(--muted); text-align: center; font-size: 12px; }
.empty strong { color: #f0f4ff; font-size: 14px; }

/* Live-Karte */
.map-filters { position: absolute; left: 58px; top: 12px; z-index: 800; display: flex; gap: 6px; }
.map-filters button { height: 30px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: rgba(16, 22, 38, 0.92); color: #d9e3f6; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.map-filters button.active { border-color: rgba(var(--v-accent-hi-rgb), 0.6); background: rgba(160, 95, 52, 0.9); color: #fff; }
.map-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.map-actions .btn { width: 100%; min-height: 34px !important; font-size: 11px !important; padding: 6px 8px !important; }
.map-actions .vg-icon { width: 15px !important; height: 15px !important; }

/* Befehlspalette */
#palette { z-index: 1600; display: flex; justify-content: center; padding-top: 14vh; }
#palette.hidden { display: none; }
.pal-overlay { position: absolute; inset: 0; background: rgba(14, 8, 4, 0.55); }
.pal { position: relative; display: flex; flex-direction: column; width: 660px; max-height: 540px; overflow: hidden; border: 1px solid rgba(216, 177, 151, 0.3); border-radius: 14px; background: linear-gradient(135deg, #18243b, #36261c); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6); font-family: var(--font); color: var(--text); }
.pal-input { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px; border-bottom: 1px solid var(--border); }
.pal-input .vg-icon { width: 20px; height: 20px; color: var(--v-accent-hi); }
.pal-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.pal-input input::placeholder { color: #99a9c7; }
.pal-results { flex: 1; min-height: 0; overflow-y: auto; padding: 8px; }
.pal-section { padding: 10px 10px 5px; color: #8d9bb6; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pal-item { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: #d9e3f6; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.pal-item .vg-icon { width: 18px; height: 18px; color: #a5b4d0; }
.pal-item .vg-initial { width: 28px; height: 28px; font-size: 11px; }
.pal-item > span:not(.vg-initial):not(.vg-icon) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-item small { color: var(--muted); font-size: 11px; }
.pal-item.active { background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.3), rgba(var(--v-accent-lo-rgb), 0.08)); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--v-accent-hi-rgb), 0.32); }
.pal-item.active .vg-icon { color: var(--v-accent-hi); }
.pal-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.pal-target { display: flex; align-items: center; gap: 8px; margin: 8px 10px 2px; padding: 8px 10px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.35); border-radius: 9px; background: rgba(var(--v-accent-rgb), 0.16); font-size: 12px; }
.pal-target .vg-initial { width: 26px; height: 26px; font-size: 10.5px; }

/* Team-Statistik */
.ts-head { display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin-bottom: 14px; }
.ts-head .ts-art { width: 92px; height: 92px; object-fit: contain; }
.ts-head h2 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.ts-head .seg { margin-left: auto; }
.ts-table { display: grid; gap: 2px; padding: 6px 0; }
.ts-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) 100px 100px 100px; gap: 14px; align-items: center; padding: 11px 6px; border-bottom: 1px solid rgba(160, 182, 224, 0.08); font-size: 12px; }
.ts-headrow { color: #8d9bb6; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ts-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ts-name b { display: block; font-size: 12.5px; }
.ts-name small { display: block; font-size: 10.5px; }
.ts-duty { display: flex; align-items: center; gap: 10px; }
.ts-duty b { width: 110px; text-align: right; }
.ts-bar { flex: 1; height: 7px; overflow: hidden; border-radius: 6px; background: rgba(101, 193, 176, 0.11); }
.ts-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #24d5ed, #4ef0b1); }

/* Admin-Chat (vorher Inline-Stile) */
#ig-chat { position: absolute; z-index: 900; }
#ig-chat-panel { position: absolute; right: 0; bottom: 46px; display: none; flex-direction: column; width: 320px; height: 400px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: linear-gradient(145deg, rgba(56, 40, 29, 0.985), rgba(28, 19, 13, 0.985)); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.12); }
.chat-head { padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-weight: 700; }
.chat-head small { color: #98a0b3; font-size: 0.68rem; font-weight: 400; }
#ig-chat-messages { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; padding: 10px; }
.chat-msg { max-width: 85%; align-self: flex-start; }
.chat-msg.mine { align-self: flex-end; }
.chat-msg .who { color: #98a0b3; font-size: 0.66rem; }
.chat-msg .bubble { padding: 6px 10px; border-radius: 10px; background: #38302a; color: #fff; font-size: 0.84rem; word-break: break-word; }
.chat-msg.mine .bubble { background: #f19c63; }
.chat-send { display: flex; gap: 6px; padding: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.chat-send .field { flex: 1; padding: 8px; }
.chat-send .btn { min-height: 0 !important; padding: 8px 12px !important; }
.chat-send .btn .vg-icon { width: 16px !important; height: 16px !important; }

/* Sperren-Seite & Spielerauswahl */
.plus-hero { display: flex; align-items: center; gap: 16px; }
.plus-hero > div { flex: 1; min-width: 0; }
.plus-hero-art { width: 76px; height: 76px; object-fit: contain; flex: none; }
.ban-edit-btn { margin-right: 6px; }
.pick-list { display: grid; gap: 4px; max-height: 360px; overflow-y: auto; }
.pick-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pick-row:hover { border-color: rgba(var(--v-accent-hi-rgb), 0.4); background: rgba(var(--v-accent-rgb), 0.16); }
.pick-row b { display: block; font-size: 12.5px; }
.pick-row small { color: var(--muted); font-size: 10.5px; }
.empty-art { display: block; width: 120px; height: 120px; margin: 4px auto 6px; object-fit: contain; }

/* Server-Ansage (für alle Spieler, außerhalb des Menüs) */
#announce-overlay { position: fixed; left: 0; right: 0; top: 7vh; z-index: 99997; display: flex; justify-content: center; pointer-events: none; font-family: PanelInter, Inter, 'Segoe UI', sans-serif; }
#announce-overlay.hidden { display: none; }
.announce-card { display: flex; align-items: center; gap: 18px; max-width: 760px; padding: 18px 26px 18px 18px; border: 1px solid rgba(216, 177, 151, 0.45); border-radius: 18px; background: radial-gradient(ellipse at 0% 50%, rgba(182, 97, 40, 0.35), transparent 60%), linear-gradient(135deg, rgba(24, 36, 59, 0.97), rgba(54, 38, 28, 0.97)); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); color: #f4f7ff; animation: announce-in 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.announce-art { width: 84px; height: 84px; object-fit: contain; flex: none; }
.announce-title { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.announce-text { margin-top: 6px; font-size: 15px; line-height: 1.5; color: #e2e9f8; white-space: pre-wrap; overflow-wrap: anywhere; }
.announce-author { margin-top: 8px; font-size: 11px; color: var(--v-accent-hi); }
@keyframes announce-in { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

/* Serverlogs: Bereiche links, jeder Eintrag als Szene (wer → was → wen/woher) */
#app #page-scriptlogs { display: flex; flex-direction: column; overflow: hidden; padding: 16px 20px 20px; }
.lg-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; flex: 1; min-height: 0; }
.lg-side { display: flex; flex-direction: column; gap: 5px; min-height: 0; overflow-y: auto; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: rgba(14, 22, 40, 0.42); }
.lg-scope { display: flex; margin-bottom: 8px; }
.lg-scope button { flex: 1; }
.lg-group { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 46px; padding: 4px 10px 4px 5px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #d9e3f6; font: inherit; font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; }
.lg-group img { width: 38px; height: 38px; object-fit: contain; }
.lg-group span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-group b { min-width: 26px; padding: 2px 7px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.lg-group:hover { border-color: var(--border); background: rgba(144, 169, 219, 0.07); }
.lg-group.active { border-color: rgba(var(--v-accent-hi-rgb), 0.45); background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.3), rgba(var(--v-accent-lo-rgb), 0.08)); color: #fff; }
.lg-group.active b { background: rgba(var(--v-accent-rgb), 0.45); color: #fff; }
.lg-subs { display: flex; flex-direction: column; gap: 2px; margin: 0 0 6px 24px; padding-left: 10px; border-left: 1px solid rgba(var(--v-accent-hi-rgb), 0.25); }
.lg-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 28px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: #aebbd6; font: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.lg-sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-sub b { color: var(--muted); font-size: 10px; font-weight: 600; }
.lg-sub:hover { background: rgba(144, 169, 219, 0.08); color: #fff; }
.lg-sub.active { background: rgba(var(--v-accent-rgb), 0.28); color: #fff; }

.lg-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.lg-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.lg-toolbar h3 { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 0; font-size: 16px; }
.lg-toolbar .lg-search { width: 260px; height: 34px; }
.lg-toolbar .btn { min-height: 34px; }
.lg-toolbar .btn .vg-icon { width: 15px; height: 15px; }
.lg-clear { height: 28px; cursor: pointer; font: inherit; font-size: 11px; }
.lg-clear .vg-icon { width: 12px; height: 12px; }
.lg-export-msg { margin: -4px 0 8px; color: #c3fada; font-size: 11px; }
.lg-list { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
.lg-more-wrap { display: flex; justify-content: center; padding-top: 10px; }

.lg-row { --tone: 166, 138, 255; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; flex: none; padding: 10px 14px 10px 8px; border: 1px solid rgba(var(--tone), 0.2); border-left: 3px solid rgba(var(--tone), 0.75); border-radius: 13px; background: linear-gradient(100deg, rgba(var(--tone), 0.1), rgba(14, 22, 40, 0.45) 45%); }
.lg-row.tone-green, .lg-group.tone-green.active { --tone: 73, 202, 113; }
.lg-row.tone-blue { --tone: 69, 145, 255; }
.lg-row.tone-pink { --tone: 236, 104, 201; }
.lg-row.tone-red { --tone: 239, 95, 110; }
.lg-row.tone-amber { --tone: 222, 178, 82; }
.lg-row.tone-teal { --tone: 51, 189, 215; }
.lg-art { width: 64px; height: 64px; object-fit: contain; align-self: center; }
.lg-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lg-head { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.lg-source { flex: none; padding: 2px 8px; border-radius: 6px; background: rgba(var(--tone), 0.18); color: rgb(var(--tone)); font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.lg-title { flex: 1; min-width: 0; overflow: hidden; color: #f2f5fc; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.lg-head time { flex: none; color: var(--muted); font-size: 10.5px; }

.lg-scene { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lg-person, .lg-place { display: flex; align-items: center; gap: 9px; min-width: 0; max-width: 330px; padding: 6px 8px 6px 6px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.22); border-radius: 12px; background: rgba(44, 28, 18, 0.5); }
.lg-av { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; overflow: visible; border-radius: 11px; background: linear-gradient(145deg, rgba(var(--v-accent-rgb), 0.45), rgba(44, 115, 226, 0.25)); }
.lg-av img { position: absolute; inset: 0; width: 40px; height: 40px; object-fit: cover; border-radius: 11px; }
.lg-av b { position: relative; color: #fff; font-size: 15px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
.lg-av img + b { display: none; }
.lg-online { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border: 2px solid #2a1c12; border-radius: 50%; background: #49ca71; }
.lg-person-text, .lg-place > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lg-person-text small, .lg-place small { color: var(--muted); font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.lg-person-text strong, .lg-place strong { overflow: hidden; color: #fff; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.lg-person-text em { color: #e0bda6; font-size: 10.5px; font-style: normal; }
.lg-person-actions { display: flex; gap: 4px; margin-left: 4px; }
.lg-btn { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.45); border-radius: 8px; background: rgba(var(--v-accent-rgb), 0.28); color: #fff3eb; font: inherit; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.lg-btn .vg-icon { width: 13px; height: 13px; }
.lg-btn.ghost { padding: 0 7px; border-color: var(--border); background: transparent; color: #b0bed7; }
.lg-btn:hover { filter: brightness(1.2); }
.lg-place { border-color: rgba(var(--tone), 0.28); background: rgba(var(--tone), 0.08); }
.lg-place-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(var(--tone), 0.2); color: rgb(var(--tone)); }
.lg-place-icon .vg-icon { width: 20px; height: 20px; }

.lg-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lg-arrow { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--tone), 0.2); color: rgb(var(--tone)); }
.lg-arrow .vg-icon { width: 15px; height: 15px; }
.lg-obj { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 11px 4px 4px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 11px; background: rgba(255, 255, 255, 0.045); color: #e6ecf8; font-size: 12px; }
.lg-obj img { width: 36px; height: 36px; object-fit: contain; }
.lg-obj > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.lg-obj b { color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.lg-obj small { color: var(--muted); font-size: 10px; }
.lg-obj-fallback { width: 36px; height: 36px; border-radius: 9px; background: rgba(var(--v-accent-rgb), 0.25); }
.lg-obj.vehicle img { width: 60px; }
.lg-obj.vehicle > .vg-icon { width: 24px; height: 24px; margin: 0 6px; }
.lg-coin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; font-weight: 800; }
.lg-obj.money.plus { border-color: rgba(73, 202, 113, 0.35); background: rgba(39, 151, 72, 0.14); }
.lg-obj.money.plus .lg-coin { background: rgba(73, 202, 113, 0.28); color: #c3fada; }
.lg-obj.money.plus b { color: #8ff0b2; }
.lg-obj.money.minus { border-color: rgba(239, 95, 110, 0.35); background: rgba(176, 47, 63, 0.14); }
.lg-obj.money.minus .lg-coin { background: rgba(239, 95, 110, 0.28); color: #ffd6dd; }
.lg-obj.money.minus b { color: #ff9fb0; }
.lg-obj.plate { padding: 4px; }
.lg-plate { display: inline-block; padding: 5px 12px 5px 22px; border: 2px solid #402a1b; border-radius: 6px; background: linear-gradient(90deg, #2c5bd6 0 14px, #f4f6fb 14px); color: #2a1a10; font-family: Consolas, monospace; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; }

.lg-facts { display: flex; flex-wrap: wrap; gap: 5px; }
.lg-fact { display: inline-flex; align-items: baseline; gap: 5px; max-width: 100%; padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.045); color: #d3dcef; font-size: 11px; overflow-wrap: anywhere; }
.lg-fact small { color: var(--muted); font-size: 10px; }
.lg-fact.pos { font-family: Consolas, monospace; font-size: 10.5px; }
.lg-more { height: 22px; padding: 0 9px; border: 1px dashed var(--border); border-radius: 7px; background: transparent; color: #e0bda6; font: inherit; font-size: 10.5px; cursor: pointer; }
.lg-more:hover { color: #fff; border-color: rgba(var(--v-accent-hi-rgb), 0.5); }.lg-swatch { display: inline-block; width: 14px; height: 14px; margin-left: 3px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 4px; vertical-align: -2px; }
.lg-self { height: 26px; }

.lg-obj.money.neutral { border-color: rgba(222, 178, 82, 0.35); background: rgba(162, 120, 36, 0.14); }
.lg-obj.money.neutral .lg-coin { background: rgba(222, 178, 82, 0.28); color: #fff1c5; }
.lg-obj.money.neutral b { color: #ffe3a3; }

/* Item-Verlauf & Lager-Inhalt (Fenster über der Seite) */
#app #page-scriptlogs, #app #page-logs { position: relative; }
.lg-traceable { position: relative; cursor: pointer; font: inherit; text-align: left; }
.lg-traceable:hover { border-color: rgba(var(--v-accent-hi-rgb), 0.6); background: rgba(var(--v-accent-rgb), 0.18); }
.lg-trace-hint { position: absolute; top: -8px; right: -6px; padding: 1px 6px; border-radius: 6px; background: var(--v-accent); color: #fff; font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; opacity: 0; transition: opacity 0.15s; }
.lg-traceable:hover .lg-trace-hint { opacity: 1; }
.lg-place .lg-btn { margin-left: 4px; }
.lg-overlay { --tone: 166, 138, 255; position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(16, 9, 4, 0.72); }
.lg-dialog { display: flex; flex-direction: column; width: min(980px, 100%); max-height: 100%; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.35); border-radius: 16px; background: linear-gradient(160deg, rgba(70, 42, 24, 0.98), rgba(34, 22, 14, 0.98)); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.lg-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid rgba(var(--v-accent-hi-rgb), 0.18); }
.lg-dialog-head h3 { margin: 0; font-size: 17px; }
.lg-dialog-head p { margin: 3px 0 0; color: var(--muted); font-size: 11.5px; }
.lg-dialog-body { min-height: 0; overflow-y: auto; padding: 14px 18px 18px; }
.lg-trace-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lg-trace-head > img, .lg-trace-head > .lg-obj-fallback { width: 52px; height: 52px; object-fit: contain; }
.lg-trace-head strong { display: block; color: #fff; font-size: 15px; text-transform: capitalize; }
.lg-trace-head small { color: var(--muted); font-size: 10.5px; }
.lg-trace-now { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lg-trace-now > small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.lg-trace { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; }
.lg-trace::before { content: ''; position: absolute; top: 8px; bottom: 8px; left: 12px; width: 2px; background: linear-gradient(rgba(var(--v-accent-hi-rgb), 0.6), rgba(var(--v-accent-hi-rgb), 0.1)); }
.lg-trace li { position: relative; margin-bottom: 10px; }
.lg-trace-dot { position: absolute; top: 10px; left: -34px; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #2a1c12; border-radius: 50%; background: #86583a; color: #fff; font-size: 11px; font-weight: 700; }
.lg-trace li.is-start .lg-trace-dot { background: var(--v-accent); box-shadow: 0 0 0 4px rgba(var(--v-accent-rgb), 0.25); }
.lg-trace-step { padding: 9px 12px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.18); border-radius: 12px; background: rgba(14, 22, 40, 0.5); }
.lg-trace li.is-start .lg-trace-step { border-color: rgba(var(--v-accent-hi-rgb), 0.55); background: rgba(var(--v-accent-rgb), 0.12); }
.lg-trace-step header { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.lg-trace-step header strong { flex: 1; color: #f2f5fc; font-size: 12.5px; }
.lg-trace-step header time { color: var(--muted); font-size: 10.5px; }
.lg-peek-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.lg-peek-facts .btn { margin-left: auto; }
.lg-peek-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.lg-peek-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: rgba(255, 255, 255, 0.04); text-align: center; }
.lg-peek-item img, .lg-peek-item .lg-obj-fallback { width: 48px; height: 48px; object-fit: contain; }
.lg-peek-item b { color: #fff; font-size: 13px; }
.lg-peek-item span { color: #c9d3eb; font-size: 11px; text-transform: capitalize; overflow-wrap: anywhere; }
/* Team-Logs im Szenen-Stil */
.tl-hub .logs-feed-head { display: flex; align-items: center; gap: 14px; }
.tl-hub .tl-head-art { width: 74px; height: 74px; object-fit: contain; flex: none; }
.tl-hub .logs-feed-title { flex: 1; min-width: 0; }
.tl-hub .tl-stat-art { width: 44px; height: 44px; object-fit: contain; flex: none; }
.tl-hub .logs-feed-stat { display: flex; align-items: center; gap: 10px; }
.tl-hub .logs-category-chip { display: inline-flex; align-items: center; gap: 6px; }
.tl-hub .logs-category-chip img { width: 24px; height: 24px; object-fit: contain; margin: -4px 0; }
.tl-hub .logs-feed-group { display: flex; flex-direction: column; gap: 8px; }
.tl-hub .logs-feed-group > h3 { margin: 6px 0 2px; }
.tl-hub .lg-row { flex: none; }
/* Geldspur */
.lg-coin-big { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(222, 178, 82, 0.28); color: #fff1c5; font-size: 24px; font-weight: 800; flex: none; }
.lg-endpoint { display: flex; flex-direction: column; justify-content: center; min-height: 52px; max-width: 300px; padding: 6px 12px; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 12px; background: rgba(255, 255, 255, 0.03); line-height: 1.25; }
.lg-endpoint small { color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.lg-endpoint strong { overflow: hidden; color: #fff; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.lg-endpoint em { color: #a9b3cc; font-size: 10.5px; font-style: normal; }
.lg-endpoint.is-source { border-color: rgba(73, 202, 113, 0.45); background: rgba(39, 151, 72, 0.12); }
.lg-endpoint.is-sink { border-color: rgba(239, 95, 110, 0.45); background: rgba(176, 47, 63, 0.12); }
.lg-trace li.is-gap .lg-trace-step { border-style: dashed; opacity: 0.8; }
.lg-endpoint.is-gap { border-color: rgba(240, 190, 90, 0.4); background: rgba(160, 120, 40, 0.1); }
.lg-endpoint.is-gap strong { white-space: normal; }
.inv-trace-btn { margin: 0 0 12px; }
.lg-trace-note { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
/* Fahrzeug: Tuning & Lack */
.ow-tuning { flex: 1; min-height: 0; display: flex; }
.tn-wrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 14px; flex: 1; min-height: 0; }
.tn-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: rgba(14, 22, 40, 0.42); }
.tn-car { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.28); border-radius: 12px; background: linear-gradient(160deg, rgba(var(--v-accent-rgb), 0.18), rgba(34, 22, 14, 0.4)); text-align: center; }
.tn-car-img { position: relative; display: grid; place-items: center; width: 100%; height: 110px; border-radius: 10px; background: radial-gradient(60% 60% at 50% 70%, var(--paint1, #555) 0%, transparent 70%); }
.tn-car-img img { max-width: 100%; max-height: 104px; object-fit: contain; }
.tn-car strong { color: #fff; font-size: 15px; }
.tn-car-paint { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10.5px; }
.tn-car-paint i { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }
.tn-groups { display: flex; flex-direction: column; gap: 3px; }
.tn-group { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 40px; padding: 3px 9px 3px 4px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #d9e3f6; font: inherit; font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; }
.tn-group img { width: 34px; height: 34px; object-fit: contain; }
.tn-group b { min-width: 22px; padding: 1px 6px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 10px; text-align: center; }
.tn-group:hover { background: rgba(144, 169, 219, 0.08); }
.tn-group.active { border-color: rgba(var(--v-accent-hi-rgb), 0.45); background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.3), rgba(var(--v-accent-lo-rgb), 0.08)); color: #fff; }
.tn-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tn-actions .btn { flex: 1; min-height: 32px; font-size: 11px; }
.tn-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.tn-head h2 { margin: 0; font-size: 18px; }
.tn-head p { margin: 2px 0 10px; color: var(--muted); font-size: 11.5px; }
.tn-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
.tn-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.16); border-radius: 12px; background: rgba(14, 22, 40, 0.45); }
.tn-row.tn-col { flex-direction: column; align-items: stretch; }
.tn-row-label { display: flex; flex-direction: column; color: #f2f5fc; font-size: 12.5px; font-weight: 600; }
.tn-row-label small { color: var(--muted); font-size: 10px; font-weight: 500; }
.tn-stepper { display: flex; align-items: center; gap: 4px; min-width: 0; }
.tn-stepper > button { flex: none; width: 30px; height: 32px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--v-accent-hi); font: inherit; font-size: 16px; cursor: pointer; }
.tn-stepper > button:hover { background: rgba(var(--v-accent-rgb), 0.3); }
.tn-stepper select, .tn-row > select { width: 240px; max-width: 100%; height: 32px; padding: 0 8px; border: 1px solid var(--border); border-radius: 8px; background: rgba(8, 15, 29, 0.6); color: #f2f5fc; font: inherit; font-size: 12px; }
.tn-levels, .tn-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tn-chip { height: 28px; padding: 0 11px; border: 1px solid var(--border); border-radius: 8px; background: rgba(114, 144, 197, 0.075); color: #d9e3f6; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.tn-chip:hover { border-color: rgba(var(--v-accent-hi-rgb), 0.5); }
.tn-chip.active { border-color: rgba(var(--v-accent-hi-rgb), 0.7); background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.45), rgba(var(--v-accent-lo-rgb), 0.2)); color: #fff; }
.tn-toggle { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.04); color: #c9d3eb; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.tn-toggle i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.15); }
.tn-toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left 0.15s; }
.tn-toggle.on { border-color: rgba(73, 202, 113, 0.5); color: #c3fada; }
.tn-toggle.on i { background: #3fbf6a; }
.tn-toggle.on i::after { left: 14px; }
.tn-preset { display: flex; gap: 8px; }
.tn-paint { padding: 10px 12px 12px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.16); border-radius: 12px; background: rgba(14, 22, 40, 0.45); }
.tn-paint h4 { margin: 0 0 8px; color: var(--v-accent-hi); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.tn-paint .tn-chips { margin-bottom: 9px; }
.tn-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 6px; }
.tn-swatch { width: 100%; height: 30px; border: 2px solid rgba(255, 255, 255, 0.12); border-radius: 8px; cursor: pointer; box-shadow: inset 0 -8px 12px rgba(0, 0, 0, 0.25); }
.tn-swatch.round { width: 30px; border-radius: 50%; }
.tn-swatch:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.45); }
.tn-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(var(--v-accent-rgb), 0.8); }
.tn-custom { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: #c9d3eb; font-size: 11.5px; }
.tn-row input[type="color"], .tn-custom input[type="color"], .tn-lightrow input[type="color"] { width: 44px; height: 30px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: transparent; cursor: pointer; }
.tn-lightrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tn-empty { color: var(--muted); font-size: 12px; }
/* Garagen: Fahrzeugbild je Karte, Kofferraum mit Item-Icons */
#app .veh-card .veh-card-main { display: flex; flex-direction: column; gap: 10px; }
.veh-card-photo { position: relative; display: grid; place-items: center; width: 100%; height: 130px; overflow: hidden; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.25); border-radius: 12px; background: radial-gradient(70% 70% at 50% 75%, rgba(var(--v-accent-rgb), 0.35), rgba(34, 22, 14, 0.6)); }
.veh-card-photo .veh-card-fallback { width: 90px; height: 90px; object-fit: contain; opacity: 0.55; }
.veh-card-photo .veh-card-img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.veh-card-photo .veh-card-img + .veh-card-plate-tag, .veh-card-photo .veh-card-plate-tag { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border: 1.5px solid #402a1b; border-radius: 4px; background: #f4f6fb; color: #2a1a10; font-family: Consolas, monospace; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; white-space: nowrap; }
#app .veh-trunk-tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
#app .veh-trunk-tag { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 7px; align-items: center; padding: 5px 8px 5px 5px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: #e6ecf8; font-size: 11px; line-height: 1.2; text-align: left; }
#app .veh-trunk-tag .veh-trunk-icon { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; }
#app .veh-trunk-tag .veh-trunk-icon img, #app .veh-trunk-tag .veh-trunk-icon .lg-obj-fallback { width: 34px; height: 34px; object-fit: contain; }
#app .veh-trunk-tag b { color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
#app .veh-trunk-tag .veh-trunk-name { overflow: hidden; color: #b9c4dc; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
#app .veh-trunk-tag.is-removable { cursor: pointer; }
#app .veh-trunk-tag.is-removable:hover { border-color: rgba(239, 95, 110, 0.5); background: rgba(176, 47, 63, 0.14); }
#app .veh-trunk-tag .veh-trunk-tag-x { position: absolute; top: 3px; right: 5px; color: #ff9fb0; font-size: 12px; opacity: 0; }
#app .veh-trunk-tag.is-removable:hover .veh-trunk-tag-x { opacity: 1; }
/* Tuning: eigenes Auswahlmenü */
.tn-row { position: relative; }
.tn-row.is-raised { z-index: 20; }
.tn-drop { position: relative; flex: 0 1 280px; width: 280px; min-width: 160px; }
.tn-drop-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 34px; padding: 0 12px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.3); border-radius: 9px; background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.18), rgba(8, 15, 29, 0.6)); color: #f2f5fc; font: inherit; font-size: 12.5px; font-weight: 600; text-align: left; cursor: pointer; }
.tn-drop-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-drop-btn i { color: #efc3a6; font-size: 11px; font-style: normal; }
.tn-drop-btn:hover, .tn-drop.is-open .tn-drop-btn { border-color: rgba(var(--v-accent-hi-rgb), 0.75); box-shadow: 0 0 0 3px rgba(var(--v-accent-rgb), 0.18); }
.tn-drop-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: 280px; overflow-y: auto; padding: 5px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.4); border-radius: 12px; background: linear-gradient(165deg, rgba(78, 48, 28, 0.99), rgba(32, 21, 14, 0.99)); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.tn-drop-opt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 4px 9px 4px 5px; border: 0; border-radius: 8px; background: transparent; color: #dfe6f6; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.tn-drop-opt span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-drop-num { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: #a9b3cc; font-size: 10px; font-weight: 700; }
.tn-drop-opt:hover { background: rgba(var(--v-accent-rgb), 0.25); color: #fff; }
.tn-drop-opt.active { background: linear-gradient(100deg, rgba(var(--v-accent-rgb), 0.55), rgba(var(--v-accent-lo-rgb), 0.25)); color: #fff; }
.tn-drop-opt.active .tn-drop-num { background: rgba(255, 255, 255, 0.2); color: #fff; }
.tn-drop-opt b { color: #c3fada; font-size: 12px; }
.tn-stepper > button { height: 34px; }
/* Dev-Tool im Adminmenü */
.dv-page { display: flex; flex-direction: column; gap: 14px; }
.dv-hero { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.28); border-radius: 16px; background: linear-gradient(120deg, rgba(var(--v-accent-rgb), 0.2), rgba(14, 22, 40, 0.5)); }
.dv-hero img { width: 70px; height: 70px; object-fit: contain; flex: none; }
.dv-hero h2 { margin: 0; font-size: 20px; }
.dv-hero p { margin: 4px 0 0; color: #c9d3eb; font-size: 12px; line-height: 1.5; }
.dv-hero code { color: var(--v-accent-hi); }
.dv-page kbd { padding: 1px 6px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: #fff; font-family: inherit; font-size: 11px; }
.dv-aim { display: inline-block; padding: 1px 7px; border-radius: 6px; background: rgba(222, 178, 82, 0.22); color: #ffe3a3; font-size: 10px; font-weight: 700; letter-spacing: 0.03em; }
.dv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.dv-section { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: rgba(14, 22, 40, 0.45); }
.dv-section > header { display: flex; align-items: center; gap: 10px; }
.dv-section > header img { width: 46px; height: 46px; object-fit: contain; }
.dv-section h3 { margin: 0; font-size: 15px; }
.dv-section small { color: var(--muted); font-size: 11px; }
.dv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 7px; }
.dv-tile { position: relative; display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 7px 10px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.18); border-radius: 12px; background: linear-gradient(150deg, rgba(var(--v-accent-rgb), 0.12), rgba(255, 255, 255, 0.02)); color: #f2f5fc; font: inherit; text-align: left; cursor: pointer; transition: transform 0.12s, border-color 0.15s; }
.dv-tile:hover { transform: translateY(-1px); border-color: rgba(var(--v-accent-hi-rgb), 0.6); }
.dv-tile.is-done { border-color: rgba(73, 202, 113, 0.65); background: rgba(39, 151, 72, 0.18); }
.dv-tile-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(var(--v-accent-rgb), 0.3); color: var(--v-accent-hi); }
.dv-tile-icon .vg-icon { width: 17px; height: 17px; }
.dv-tile-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.dv-tile-text strong { font-size: 12.5px; }
.dv-tile-text small { overflow: hidden; color: var(--muted); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.dv-tile .dv-aim { position: absolute; top: 5px; right: 6px; }
.dv-spawn .field { height: 36px; }
.dv-hint { margin: 0; color: var(--muted); font-size: 11px; }
/* Fahrzeugkatalog: alle installierten Fahrzeuge mit Arten-Filter */
.ow-kind-chips { margin: 8px 0 10px; }
.ow-kind-chips button { display: inline-flex; align-items: center; gap: 6px; }
.ow-kind-chips small { padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #c9d3eb; font-size: 10px; font-weight: 700; }
.ow-kind-chips button.active small { background: rgba(255, 255, 255, 0.22); color: #fff; }
#app .ow-car { position: relative; }
.ow-car-shop { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 2px 7px; border-radius: 6px; background: rgba(222, 178, 82, 0.25); color: #ffe3a3; font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em; }/* Waffe geben: Waffenliste mit Aufsätzen, Lackierung, Munition */
#app #page-inventory { position: relative; }
.inv-weapon-open { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.35); border-radius: 12px; background: linear-gradient(135deg, rgba(230, 144, 86, 0.22), rgba(80, 50, 30, 0.35)); color: var(--text, #fff5ee); text-align: left; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.inv-weapon-open:hover { border-color: rgba(var(--v-accent-hi-rgb), 0.7); background: linear-gradient(135deg, rgba(var(--v-accent-rgb), 0.32), rgba(96, 60, 36, 0.45)); }
.inv-weapon-open img { width: 58px; height: 34px; object-fit: contain; }
.inv-weapon-open span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inv-weapon-open strong { font-size: 13px; }
.inv-weapon-open small { color: var(--muted); font-size: 11px; }
.wp-overlay .lg-dialog { width: min(1080px, 100%); height: 100%; }
.wp-overlay .lg-dialog-body { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.wp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; flex: 1; min-height: 0; }
.wp-list { display: flex; flex-direction: column; min-height: 0; }
.wp-list .field { width: 100%; }
.wp-kinds { margin: 10px 0; flex-wrap: wrap; }
.wp-kinds button { display: inline-flex; align-items: center; gap: 6px; }
.wp-kinds small { padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #c9d3eb; font-size: 10px; font-weight: 700; }
.wp-kinds button.active small { background: rgba(255, 255, 255, 0.22); color: #fff; }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; align-content: start; min-height: 0; overflow-y: auto; padding-right: 4px; }
.wp-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 8px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.16); border-radius: 12px; background: rgba(255, 255, 255, 0.035); color: inherit; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.wp-item:hover { border-color: rgba(var(--v-accent-hi-rgb), 0.5); background: rgba(var(--v-accent-hi-rgb), 0.1); transform: translateY(-1px); }
.wp-item.active { border-color: rgba(var(--v-accent-hi-rgb), 0.9); background: rgba(var(--v-accent-rgb), 0.22); box-shadow: 0 0 0 1px rgba(var(--v-accent-hi-rgb), 0.35) inset; }
.wp-item img, .wp-item .lg-obj-fallback { width: 86px; height: 46px; object-fit: contain; }
.wp-item strong { font-size: 11.5px; text-align: center; line-height: 1.25; }
.wp-item small { color: var(--muted); font-size: 10px; }
.wp-detail { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; padding: 12px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.2); border-radius: 14px; background: rgba(26, 15, 8, 0.45); }
.wp-detail.wp-empty { align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.wp-detail.wp-empty img { width: 120px; opacity: 0.5; }
.wp-hero { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(var(--v-accent-hi-rgb), 0.15); }
.wp-hero img, .wp-hero .lg-obj-fallback { width: 110px; height: 60px; object-fit: contain; }
.wp-hero div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wp-hero strong { font-size: 15px; }
.wp-hero small { color: var(--muted); font-size: 10.5px; word-break: break-all; }
.wp-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; color: #c9d3eb; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.wp-label b { color: #fff; font-size: 13px; }
.wp-label small { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.wp-range { width: 100%; accent-color: #ffb98a; }
.wp-comps { display: flex; flex-direction: column; gap: 5px; }
.wp-comp { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.16); border-radius: 9px; background: rgba(255, 255, 255, 0.03); color: inherit; font-size: 11.5px; text-align: left; cursor: pointer; }
.wp-comp i { flex: 0 0 14px; height: 14px; border: 1.5px solid rgba(var(--v-accent-hi-rgb), 0.6); border-radius: 4px; }
.wp-comp:hover { border-color: rgba(var(--v-accent-hi-rgb), 0.45); }
.wp-comp.active { border-color: rgba(var(--v-accent-hi-rgb), 0.8); background: rgba(var(--v-accent-rgb), 0.2); }
.wp-comp.active i { border-color: #ffc8a4; background: #ffb98a; box-shadow: 0 0 0 2px rgba(26, 15, 8, 0.9) inset; }
.wp-tints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.wp-tint { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid rgba(var(--v-accent-hi-rgb), 0.16); border-radius: 9px; background: rgba(255, 255, 255, 0.03); color: inherit; font-size: 11px; text-align: left; cursor: pointer; overflow: hidden; }
.wp-tint span { flex: 0 0 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); }
.wp-tint.active { border-color: rgba(var(--v-accent-hi-rgb), 0.8); background: rgba(var(--v-accent-rgb), 0.2); }
.wp-give { margin-top: 6px; justify-content: center; }
.wp-none { margin: 0; color: var(--muted); font-size: 11px; }
/* Waffe geben: Aufsatz-Slots und Live-Vorschau im Spiel */
.wp-slot { display: flex; flex-direction: column; gap: 4px; }
.wp-slot-name { color: var(--muted); font-size: 10.5px; font-weight: 600; }
.wp-comps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-stage-hint { display: none; }
/* transform/Animation am Shell würde position:fixed an den Shell binden statt an den Bildschirm */
#app.wp-live .shell { visibility: hidden; transform: none !important; animation: none !important; }
#app.wp-live .wp-overlay { visibility: visible; position: fixed; inset: 0; justify-content: flex-end; padding: 3vh 2.5vw; background: linear-gradient(90deg, rgba(16, 9, 4, 0) 40%, rgba(16, 9, 4, 0.55) 100%); cursor: grab; }
#app.wp-live .wp-overlay:active { cursor: grabbing; }
#app.wp-live .wp-overlay .lg-dialog { width: min(700px, 46%); height: 100%; cursor: default; background: linear-gradient(160deg, rgba(60, 36, 20, 0.94), rgba(28, 18, 12, 0.94)); }
#app.wp-live .wp-wrap { grid-template-columns: minmax(0, 1fr) 290px; }
#app.wp-live .wp-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
#app.wp-live .wp-stage-hint { display: block; position: absolute; left: 2.5vw; right: calc(min(700px, 46%) + 5vw); bottom: 6vh; padding: 8px 14px; border-radius: 999px; background: rgba(26, 15, 8, 0.6); border: 1px solid rgba(var(--v-accent-hi-rgb), 0.3); color: #ffe5d3; font-size: 12px; text-align: center; pointer-events: none; justify-self: center; width: max-content; max-width: 100%; margin: 0 auto; }
