/* Siel-Panel - Farben wie lumina-ascendens.de, dazu das Smaragdgruen aus dem Elyos-Allianz-Logo */ :root { --bg: #161616; --bg-panel: #212121; --bg-panel-alt: #2b2b2b; --border: #383838; --text: #e8e8e8; --text-muted: #a0a0a0; --gold: #c9a227; --gold-hover: #e0b930; --emerald: #2fbf5a; --danger: #d9534f; --success: #4caf50; --discord: #5865f2; --discord-hover: #4752c4; --sidebar: 260px; } * { box-sizing: border-box; } * { scrollbar-width: thin; scrollbar-color: rgba(201, 162, 39, 0.3) transparent; } body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.5; } a { color: var(--gold); text-decoration: none; } a:hover { color: var(--gold-hover); text-decoration: underline; } h1 { font-size: 1.6rem; margin: 0 0 1.25rem; color: var(--gold); font-weight: 600; } h2 { font-size: 1.1rem; margin: 0 0 0.5rem; } .muted { color: var(--text-muted); } .small { font-size: 0.85rem; } .nowrap { white-space: nowrap; } input, select, textarea, button { font: inherit; } /* ---------- Layout ---------- */ .shell { display: flex; min-height: 100vh; } .nav-toggle { display: none; } .topbar { display: none; } .sidebar { width: var(--sidebar); flex-shrink: 0; background: var(--bg-panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 1.25rem 1rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; } .brand img { display: block; width: 100%; max-width: 210px; margin: 0 auto; } .brand-sub { text-align: center; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.35rem 0 1.25rem; } nav { display: flex; flex-direction: column; gap: 2px; flex: 1; } .nav-heading { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 1.1rem 0.6rem 0.35rem; } .nav-link { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.7rem; border-radius: 6px; color: var(--text); } .nav-link:hover { background: var(--bg-panel-alt); color: var(--text); text-decoration: none; } .nav-link.active { background: rgba(201, 162, 39, 0.14); color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); } .nav-link.disabled { color: var(--text-muted); cursor: default; } .nav-link.disabled:hover { background: none; } .nav-link small { font-size: 0.7rem; border: 1px solid var(--border); border-radius: 999px; padding: 0 0.45rem; } .me { display: flex; align-items: center; gap: 0.6rem; border-top: 1px solid var(--border); padding-top: 0.9rem; margin-top: 1rem; } .me-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .me-name small { display: block; color: var(--text-muted); font-size: 0.75rem; } .content { flex: 1; min-width: 0; padding: 2rem 2.25rem; max-width: 1200px; } /* ---------- Bausteine ---------- */ .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; } .avatar-sm { width: 26px; height: 26px; } .panel { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; } .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; } .card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; } .card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.35rem; } .stat { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 600; } .stat-sm { font-size: 1rem; } .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } .dot-on { background: var(--emerald); box-shadow: 0 0 8px var(--emerald); } .dot-off { background: var(--text-muted); } .roadmap { margin: 0; padding-left: 1.2rem; } .roadmap li { margin: 0.3rem 0; } .plain { list-style: none; padding: 0; margin: 0; } .plain li { padding: 0.25rem 0; } .btn { display: inline-block; border: 0; border-radius: 6px; cursor: pointer; background: var(--gold); color: #1a1a1a; font-weight: 600; padding: 0.55rem 1.1rem; } .btn:hover { background: var(--gold-hover); color: #1a1a1a; text-decoration: none; } .btn-sm { padding: 0.3rem 0.7rem; font-size: 0.85rem; } .btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); } .btn-danger:hover { background: var(--danger); color: #fff; } .btn-discord { background: var(--discord); color: #fff; width: 100%; text-align: center; padding: 0.75rem 1rem; } .btn-discord:hover { background: var(--discord-hover); color: #fff; } .btn-link { background: none; border: 0; color: var(--text-muted); cursor: pointer; font-size: 0.8rem; padding: 0; } .btn-link:hover { color: var(--gold); } .field { display: flex; flex-direction: column; gap: 0.3rem; margin: 0.9rem 0 1.1rem; max-width: 520px; } .field > span { font-size: 0.85rem; color: var(--text-muted); } input[type=text], select, textarea { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 0.55rem 0.7rem; width: 100%; } input[type=text]:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); } .checks, .areas-form { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; } .check { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; cursor: pointer; } .check input { accent-color: var(--gold); } .flash { border-radius: 8px; padding: 0.7rem 1rem; margin-bottom: 1rem; border: 1px solid; } .flash-success { border-color: rgba(76, 175, 80, 0.5); background: rgba(76, 175, 80, 0.1); } .flash-error { border-color: rgba(217, 83, 79, 0.55); background: rgba(217, 83, 79, 0.1); } .table-wrap { overflow-x: auto; } .table { width: 100%; border-collapse: collapse; } .table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; padding: 0.5rem; border-bottom: 1px solid var(--border); } .table td { padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: middle; } .table tr:last-child td { border-bottom: 0; } .person { display: flex; align-items: center; gap: 0.6rem; } /* ---------- Anmeldung ---------- */ .login { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 16px; background: radial-gradient(circle at 50% 30%, rgba(47, 191, 90, 0.08), transparent 55%), var(--bg); } .login-card { width: 100%; max-width: 400px; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.75rem; text-align: center; } .login-logo { width: 100%; max-width: 300px; margin-bottom: 0.5rem; } .login-card h1 { font-size: 1.25rem; margin-bottom: 0.25rem; } .login-card .flash { text-align: left; } .login-card .btn { margin-top: 1rem; } /* ---------- Handy ---------- */ @media (max-width: 860px) { .shell { flex-direction: column; } .topbar { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 16px; background: var(--bg-panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; } .topbar-menu { font-size: 1.4rem; cursor: pointer; color: var(--gold); line-height: 1; } .topbar-logo { height: 34px; width: auto; } .sidebar { position: fixed; left: 0; top: 0; z-index: 30; transform: translateX(-100%); transition: transform 0.2s; box-shadow: 0 0 30px rgba(0, 0, 0, 0.6); } .nav-toggle:checked ~ .sidebar { transform: none; } .content { padding: 1.25rem 16px; } } /* ---------- Seiten mit Einstellungen ---------- */ .page-head { margin-bottom: 1.25rem; } .page-head h1 { margin-bottom: 0.25rem; } .page-head p { margin: 0; } h3 { font-size: 1rem; margin: 0 0 0.2rem; } .panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; } .panel-head p { margin: 0.1rem 0 0; } .panel-body { margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 0.5rem; } .is-off { opacity: 0.45; } .subpanel { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem; margin-top: 1.25rem; } .subpanel .card-grid { margin-top: 1rem; } .field-row { display: flex; flex-wrap: wrap; gap: 0 1.25rem; } .field-row .field { flex: 1 1 200px; } textarea { resize: vertical; min-height: 2.6rem; line-height: 1.45; } .counter { align-self: flex-end; color: var(--text-muted); font-size: 0.75rem; } .counter.over { color: var(--danger); } .btn-secondary { background: var(--bg-panel-alt); color: var(--text); border: 1px solid var(--border); } .btn-secondary:hover { background: #363636; color: var(--text); } .btn-ghost { background: transparent; color: var(--gold); border: 1px dashed var(--border); } .btn-ghost:hover { background: rgba(201, 162, 39, 0.1); color: var(--gold-hover); } .btn-link.danger { color: var(--danger); } /* Ein/Aus-Schalter */ .switch { position: relative; flex-shrink: 0; cursor: pointer; } .switch input { position: absolute; opacity: 0; width: 0; height: 0; } .switch-track { display: flex; align-items: center; width: 64px; height: 30px; border-radius: 999px; background: #4a4a4a; position: relative; transition: background 0.15s; font-size: 0.7rem; font-weight: 700; } .switch-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.15s; } .switch input:checked + .switch-track { background: var(--emerald); } .switch input:checked + .switch-track::after { transform: translateX(34px); } .switch input:focus-visible + .switch-track { outline: 2px solid var(--gold); outline-offset: 2px; } .switch-label-on, .switch-label-off { position: absolute; } .switch-label-on { left: 9px; color: #fff; opacity: 0; } .switch-label-off { right: 8px; color: #ddd; } .switch input:checked + .switch-track .switch-label-on { opacity: 1; } .switch input:checked + .switch-track .switch-label-off { opacity: 0; } /* Farbauswahl */ .swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.45rem 0.55rem; } .swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); cursor: pointer; padding: 0; } .swatch.active { outline: 2px solid var(--gold); outline-offset: 2px; } .swatches input[type=color] { width: 30px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; } /* Willkommenskarte */ .card-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; } .card-preview { position: relative; aspect-ratio: 1024 / 450; background: var(--bg-panel-alt); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); } .card-preview img { display: block; width: 100%; height: 100%; object-fit: cover; } .card-preview img:not([src]) { visibility: hidden; } .card-preview-state { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); color: var(--text-muted); font-size: 0.9rem; padding: 1rem; text-align: center; } .card-preview-state[hidden] { display: none; } .bg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; } .bg-actions input[type=file] { max-width: 100%; color: var(--text-muted); font-size: 0.85rem; } input[type=range] { accent-color: var(--gold); width: 100%; } /* Rollen */ .role-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.35rem; max-height: 320px; overflow-y: auto; margin: 0.75rem 0 0.5rem; padding: 0.25rem; } .role-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.55rem; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); cursor: pointer; font-size: 0.9rem; min-width: 0; } .role-item input { accent-color: var(--gold); } .role-item.disabled { opacity: 0.45; cursor: not-allowed; } .role-dot { width: 10px; height: 10px; border-radius: 50%; background: #99aab5; flex-shrink: 0; } .placeholders { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.5rem 0; } .ph { font-size: 0.85rem; color: var(--text-muted); } code { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 0 0.3rem; font-size: 0.85em; color: var(--gold); } .savebar { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: flex-end; align-items: center; gap: 0.75rem; flex-wrap: wrap; background: rgba(22, 22, 22, 0.92); backdrop-filter: blur(6px); border-top: 1px solid var(--border); padding: 0.8rem 0; margin-top: 0.5rem; } .savebar #dirty-note { margin-right: auto; color: var(--gold); } /* ---------- Nachrichten-Editor ---------- */ .msg-editor { margin-top: 0.5rem; } .msg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; } .msg-form .field { max-width: none; margin: 0.6rem 0 0.8rem; } .msg-preview-col { position: sticky; top: 1rem; } .msg-preview-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.35rem; } .seg { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 3px; margin-top: 0.5rem; } .seg button { background: none; border: 0; color: var(--text-muted); padding: 0.35rem 0.9rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 600; } .seg button.active { background: var(--bg-panel-alt); color: var(--text); } .embed-form { border-left: 3px solid var(--border); padding-left: 0.9rem; } .embed-fields { display: flex; flex-direction: column; gap: 0.6rem; } .embed-field { display: flex; flex-direction: column; gap: 0.35rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem; } .embed-field-actions { display: flex; justify-content: space-between; align-items: center; } /* Discord-Vorschau */ .dc-preview { background: #313338; border-radius: 8px; padding: 0.9rem 1rem; font-family: "gg sans", "Noto Sans", "Segoe UI", sans-serif; font-size: 0.95rem; color: #dbdee1; overflow: hidden; } .dc-msg { display: flex; gap: 0.85rem; } .dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: #1e1f22; object-fit: cover; } .dc-body { min-width: 0; flex: 1; } .dc-head { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.1rem; } .dc-name { color: #f2f3f5; font-weight: 600; } .dc-bot { background: #5865f2; color: #fff; font-size: 0.62rem; font-weight: 700; border-radius: 3px; padding: 0 0.3rem; line-height: 1.35; } .dc-time { color: #949ba4; font-size: 0.72rem; margin-left: 0.2rem; } .dc-text { line-height: 1.375; overflow-wrap: anywhere; } .dc-mention { background: rgba(88, 101, 242, 0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; font-weight: 500; } .dc-emoji { width: 1.3em; height: 1.3em; vertical-align: -0.3em; } .dc-spoiler { background: #1e1f22; color: #1e1f22; border-radius: 3px; } .dc-quote { display: block; border-left: 4px solid #4e5058; padding-left: 0.6rem; } .dc-li { display: block; padding-left: 1rem; position: relative; } .dc-li::before { content: "\2022"; position: absolute; left: 0.2rem; } .dc-h1 { display: block; font-size: 1.5rem; font-weight: 700; } .dc-h2 { display: block; font-size: 1.25rem; font-weight: 700; } .dc-h3 { display: block; font-size: 1.05rem; font-weight: 700; } .dc-preview code { background: #2b2d31; border: 0; color: #dbdee1; } .dc-code { background: #2b2d31; border-radius: 4px; padding: 0.4rem; margin: 0.2rem 0; white-space: pre-wrap; } .dc-attachment { display: block; max-width: 100%; border-radius: 8px; margin-top: 0.35rem; } .dc-embed { display: flex; gap: 1rem; background: #2b2d31; border-left: 4px solid #c9a227; border-radius: 4px; padding: 0.6rem 0.9rem 0.8rem 0.75rem; margin-top: 0.3rem; max-width: 520px; } .dc-embed-main { min-width: 0; flex: 1; } .dc-embed-author { font-size: 0.85rem; font-weight: 600; color: #f2f3f5; margin: 0.15rem 0 0.35rem; } .dc-embed-title { font-weight: 700; color: #f2f3f5; margin: 0.15rem 0 0.35rem; overflow-wrap: anywhere; } .dc-embed-desc { font-size: 0.875rem; line-height: 1.375; overflow-wrap: anywhere; } .dc-embed-fields { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.5rem; } .dc-embed-field { flex: 1 1 100%; min-width: 0; font-size: 0.875rem; } .dc-embed-field.inline { flex: 1 1 28%; } .dc-embed-fname { font-weight: 600; color: #f2f3f5; margin-bottom: 0.1rem; } .dc-embed-image { display: block; max-width: 100%; border-radius: 4px; margin-top: 0.75rem; } .dc-embed-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; flex-shrink: 0; } .dc-embed-footer { font-size: 0.75rem; color: #b5bac1; margin-top: 0.5rem; } @media (max-width: 1100px) { .msg-grid, .card-grid { grid-template-columns: minmax(0, 1fr); } .msg-preview-col { position: static; } }