LuminaWebsite/assets/css/style.css
Maaxxs 0123d4d028 Developer accounts (by Discord ID) always have all permissions and are protected
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 18:58:20 +02:00

3942 lines
99 KiB
CSS

:root {
--bg: #1a1a1a;
--bg-panel: #232323;
--bg-panel-alt: #2e2e2e;
--border: #3d3d3d;
--text: #e8e8e8;
--text-muted: #a0a0a0;
--gold: #c9a227;
--gold-hover: #e0b930;
--danger: #d9534f;
--success: #4caf50;
--discord: #5865f2;
--discord-hover: #4752c4;
--sidebar-width: 260px;
}
* { box-sizing: border-box; }
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; }
.icon { flex-shrink: 0; }
/* Oeffentliche/nicht eingeloggte Seiten: schlichte Kopfzeile */
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 1.5rem;
background: var(--bg-panel);
border-bottom: 1px solid var(--border);
}
.navbar-brand a {
display: block;
font-size: 1.25rem;
font-weight: bold;
color: var(--gold);
}
.navbar-brand img {
display: block;
height: 46px;
width: auto;
}
.navbar-user {
display: flex;
align-items: center;
gap: 1rem;
font-size: 0.9rem;
}
/* Eingeloggter Bereich: Sidebar-Layout */
.app-shell {
display: flex;
align-items: stretch;
min-height: 100vh;
}
.sidebar {
width: var(--sidebar-width);
flex-shrink: 0;
display: flex;
flex-direction: column;
background: var(--bg-panel);
border-right: 1px solid var(--border);
padding: 1.5rem 1rem;
position: sticky;
top: 0;
height: 100vh;
overflow-y: auto;
/* Nichts in der Sidebar soll je waagerecht scrollen - lange Menuepunkte werden
stattdessen umgebrochen (siehe .sidebar-link .label). */
overflow-x: hidden;
}
.sidebar-brand {
padding: 0 0.65rem 1.5rem;
font-size: 1.15rem;
font-weight: bold;
}
.sidebar-brand a { display: block; }
/* Logo mit Emblem und Schriftzug (Seitenverhaeltnis etwa 5:2, Hintergrund transparent).
Breite und Hoehe beide "auto" mit Obergrenzen - so bleibt das Seitenverhaeltnis erhalten,
egal welche Grenze greift, und es entsteht keine waagerechte Scrollleiste. */
.sidebar-brand img {
display: block;
width: auto;
height: auto;
max-width: 100%;
max-height: 80px;
margin: 0 auto;
}
.sidebar-brand a { color: var(--gold); }
.sidebar-nav {
display: flex;
flex-direction: column;
gap: 0.2rem;
flex: 1;
}
.sidebar-section-label {
margin-top: 1rem;
padding: 0.5rem 0.65rem 0.25rem;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-muted);
}
/* Unbeschrifteter Trenner zwischen "Dashboard/Mein Profil/Mitglieder" und
"Raids/Premades" - optisch etwas getrennter, aber ohne eigene Ueberschrift
wie beim Admin-Bereich. */
.sidebar-nav-gap {
height: 0;
margin-top: 0.6rem;
padding-top: 0.6rem;
border-top: 1px solid var(--border);
}
/* Mobile Kopfleiste mit Burger-Button: ersetzt auf schmalen Bildschirmen die
Sidebar, die dort stattdessen als ausklappbare Schublade (siehe unten)
fungiert. Auf Desktop-Breiten bleibt sie unsichtbar. */
.mobile-topbar {
display: none;
align-items: center;
gap: 0.75rem;
padding: 0.6rem 1rem;
background: var(--bg-panel);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 900;
}
.mobile-topbar-brand img {
display: block;
height: 36px;
width: auto;
}
.sidebar-toggle {
display: none;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
flex-shrink: 0;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text);
cursor: pointer;
}
.sidebar-toggle:hover { border-color: var(--gold); color: var(--gold); background: var(--bg-panel-alt); }
.sidebar-backdrop {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
z-index: 999;
}
.sidebar-link {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.65rem 0.75rem;
border-radius: 6px;
color: var(--text);
font-weight: 500;
font-size: 0.95rem;
}
/* Lange Bezeichnungen wie "Berechtigungsgruppen" duerfen den Menuepunkt nicht breiter
machen als die Sidebar (Flex-Kinder waeren sonst mindestens so breit wie ihr laengstes
Wort). */
.sidebar-link .label {
min-width: 0;
overflow-wrap: anywhere;
}
.sidebar-link:hover {
background: var(--bg-panel-alt);
color: var(--text);
text-decoration: none;
}
.sidebar-link.active {
background: rgba(201, 162, 39, 0.15);
color: var(--gold);
}
.sidebar-footer {
border-top: 1px solid var(--border);
margin-top: 1rem;
padding-top: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.sidebar-user {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0 0.65rem;
font-size: 0.82rem;
color: var(--text-muted);
}
.sidebar-user strong { color: var(--text); }
.avatar {
display: inline-block;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
vertical-align: middle;
}
.avatar-placeholder {
display: inline-flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: 700;
border: 1px solid rgba(255, 255, 255, 0.15);
}
.avatar-wrap { display: inline-flex; }
.hero .avatar,
.hero .avatar-wrap { margin-bottom: 1rem; }
.avatar-edit-wrap {
position: relative;
display: inline-flex;
flex-shrink: 0;
}
.avatar-edit-btn {
position: absolute;
top: -2px;
right: -2px;
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--gold);
color: #1a1a1a;
border: 2px solid var(--bg-panel);
cursor: pointer;
transition: background 0.15s ease;
}
.avatar-edit-btn:hover { background: var(--gold-hover); }
.avatar-edit-btn .icon { width: 15px; height: 15px; }
.app-content {
flex: 1;
min-width: 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.app-content.bg-dashboard {
background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape1-bg.jpg');
}
.app-content.bg-profile {
background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape2-bg.jpg');
}
.app-content.bg-members {
background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape9-bg.jpg');
}
.app-content.bg-admin {
background-image: linear-gradient(rgba(26, 26, 26, 0.58), rgba(26, 26, 26, 0.74)), url('/assets/images/Landscapes/web/landscape3-bg.jpg');
}
.app-content.bg-roles {
background-image: linear-gradient(rgba(26, 26, 26, 0.58), rgba(26, 26, 26, 0.74)), url('/assets/images/Landscapes/web/landscape7-bg.jpg');
}
.app-content.bg-reports {
background-image: linear-gradient(rgba(26, 26, 26, 0.58), rgba(26, 26, 26, 0.74)), url('/assets/images/Landscapes/web/landscape10-bg.jpg');
}
.app-content.bg-raids {
background-image: linear-gradient(rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.82)), url('/assets/images/Landscapes/web/landscape6-bg.jpg');
}
.app-content.bg-premades {
background-image: linear-gradient(rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.82)), url('/assets/images/Landscapes/web/landscape5-bg.jpg');
}
/* Gast-Ansicht (nicht eingeloggt, z.B. Login/Startseite): .container ist mittig mit fester
Maximalbreite, deshalb kommt der Hintergrund hier auf body statt auf einen Content-Wrapper. */
body.guest-bg {
background-image: linear-gradient(rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.78)), url('/assets/images/Landscapes/web/landscape11-bg.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 2rem 1.5rem;
}
.panel {
background: rgba(35, 35, 35, 0.62);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.5rem 2rem;
margin-bottom: 1.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.panel-narrow {
max-width: 420px;
margin: 3rem auto;
}
h1, h2, h3 { color: var(--gold); }
table {
width: 100%;
border-collapse: collapse;
}
th, td {
text-align: left;
padding: 0.75rem;
border-bottom: 1px solid var(--border);
vertical-align: top;
}
th {
color: var(--text-muted);
font-weight: 600;
font-size: 0.85rem;
text-transform: uppercase;
}
tr:hover td { background: var(--bg-panel-alt); }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 720px; }
.actions {
display: flex;
align-items: center;
flex-wrap: nowrap;
gap: 0.75rem;
white-space: nowrap;
}
/* --- Reports: Kartenliste statt Tabelle --- */
.report-list {
display: flex;
flex-direction: column;
gap: 0.85rem;
margin-bottom: 1.5rem;
}
.report-card {
background: rgba(35, 35, 35, 0.62);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid var(--border);
border-left-width: 3px;
border-left-color: var(--success);
border-radius: 10px;
padding: 1.1rem 1.35rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
/* Hover-Rahmenfarbe passt sich der Statusfarbe links an (gruen = aktiv,
gedaempft = archiviert) statt generischem Gold - siehe .report-card-archived:hover. */
.report-card:hover {
border-color: var(--success);
transform: translateY(-2px);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.report-card-archived {
border-left-color: var(--text-muted);
opacity: 0.7;
}
.report-card-archived:hover {
border-color: var(--text-muted);
opacity: 0.95;
}
.report-card-main {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.report-card-user {
display: flex;
align-items: center;
gap: 0.75rem;
min-width: 0;
}
.report-card-user-info {
display: flex;
flex-direction: column;
gap: 0.1rem;
min-width: 0;
}
.report-card-user-info strong {
font-size: 1.05rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.report-card-user-info .text-muted { font-size: 0.82rem; }
.report-card-badges {
display: flex;
align-items: center;
gap: 0.5rem;
flex-shrink: 0;
}
.report-card-body {
margin-top: 0.9rem;
padding-top: 0.9rem;
border-top: 1px dashed var(--border);
}
.report-reason-text {
white-space: pre-wrap;
line-height: 1.45;
}
.report-evidence {
display: flex;
align-items: center;
gap: 0.4rem;
margin-top: 0.6rem;
padding-top: 0.6rem;
border-top: 1px dashed var(--border);
font-size: 0.82rem;
color: var(--text-muted);
}
.report-evidence .icon { width: 14px; height: 14px; flex-shrink: 0; }
.report-evidence a { color: var(--gold); }
.report-evidence a:hover { color: var(--gold-hover); }
.report-evidence-text {
overflow-wrap: anywhere;
}
.report-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
margin-top: 0.9rem;
padding-top: 0.8rem;
border-top: 1px solid var(--border);
font-size: 0.8rem;
}
#report-filter-empty {
margin-bottom: 1.5rem;
}
.text-button {
background: none;
border: none;
padding: 0;
margin: 0;
font: inherit;
font-weight: 600;
color: var(--danger);
cursor: pointer;
text-decoration: none;
}
.text-button:hover { color: #ff6b66; text-decoration: underline; }
form { display: flex; flex-direction: column; gap: 1rem; }
label { font-weight: 600; font-size: 0.9rem; }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="datetime-local"],
textarea,
select {
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 6px;
padding: 0.6rem 0.75rem;
color: var(--text);
font-size: 1rem;
width: 100%;
}
input:focus, select:focus, textarea:focus {
outline: none;
border-color: var(--gold);
}
/* Chrome/Edge faerben das Kalender-/Uhr-Icon standardmaessig schwarz, das im
dunklen Theme unsichtbar waere. */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
filter: invert(1);
cursor: pointer;
}
.field-hint {
color: var(--text-muted);
font-size: 0.8rem;
}
.checkbox-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 0.5rem;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 6px;
padding: 1rem;
}
.checkbox-grid label {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: normal;
}
.checkbox-grid input { width: auto; }
.button, button {
display: inline-block;
background: var(--gold);
color: #1a1a1a;
border: none;
border-radius: 6px;
padding: 0.6rem 1.25rem;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
text-align: center;
width: fit-content;
transition: background 0.15s ease;
}
.button:hover, button:hover { background: var(--gold-hover); text-decoration: none; }
.button-danger { background: var(--danger); color: #fff; }
.button-danger:hover { background: #c9302c; }
.button-secondary { background: var(--bg-panel-alt); color: var(--text); border: 1px solid var(--border); }
.button-secondary:hover { background: #30304a; }
.button-success { background: var(--success); color: #fff; }
.button-success:hover { background: #3d8b40; }
.button:disabled, button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.button:disabled:hover, button:disabled:hover { background: var(--gold); }
.inline-form { display: inline; }
.badge {
display: inline-block;
padding: 0.15rem 0.5rem;
border-radius: 4px;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
font-size: 0.8rem;
color: var(--text-muted);
}
.badge-active { border-color: var(--success); color: var(--success); }
.badge-disabled { border-color: var(--danger); color: var(--danger); }
.badge-group {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.35rem;
}
.flash {
padding: 0.75rem 1rem;
border-radius: 6px;
margin-bottom: 1rem;
font-size: 0.95rem;
}
.flash-success { background: rgba(76, 175, 80, 0.15); border: 1px solid var(--success); color: var(--success); }
.flash-error { background: rgba(217, 83, 79, 0.15); border: 1px solid var(--danger); color: var(--danger); }
.text-muted { color: var(--text-muted); }
/* --- Erfolgs-Popup: zentriert mit animiertem Haken statt Balken oben --- */
.success-popup-overlay {
position: fixed;
inset: 0;
z-index: 1100;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.4);
opacity: 0;
cursor: pointer;
transition: opacity 0.25s ease;
}
.success-popup-overlay.visible { opacity: 1; }
.success-popup-overlay.closing { opacity: 0; }
.success-popup {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
padding: 2.25rem 2.5rem;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
text-align: center;
max-width: 360px;
transform: scale(0.85);
transition: transform 0.25s ease;
}
.success-popup-overlay.visible .success-popup { transform: scale(1); }
.success-popup p {
margin: 0;
color: var(--text);
font-size: 1rem;
font-weight: 600;
}
.success-check {
width: 64px;
height: 64px;
flex-shrink: 0;
}
.success-check-circle {
stroke: var(--success);
stroke-width: 2.5;
stroke-dasharray: 151;
stroke-dashoffset: 151;
}
.success-check-mark {
stroke: var(--success);
stroke-width: 4;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 40;
stroke-dashoffset: 40;
}
.success-popup-overlay.visible .success-check-circle {
animation: success-circle-draw 0.5s ease-out forwards;
}
.success-popup-overlay.visible .success-check-mark {
animation: success-mark-draw 0.35s 0.45s ease-out forwards;
}
@keyframes success-circle-draw {
to { stroke-dashoffset: 0; }
}
@keyframes success-mark-draw {
to { stroke-dashoffset: 0; }
}
.text-muted.error { color: var(--danger); }
.hero {
text-align: center;
padding: 4rem 1rem;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
}
.stat-card {
display: flex;
align-items: center;
gap: 1rem;
}
.stat-card .icon-badge {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 8px;
background: rgba(201, 162, 39, 0.15);
color: var(--gold);
flex-shrink: 0;
}
.stat-card > div:last-child { min-width: 0; }
.stat-card h3 { margin: 0 0 0.15rem; color: var(--text); font-size: 1rem; overflow-wrap: break-word; }
.stat-card p { margin: 0; overflow-wrap: break-word; }
.raid-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.raid-header h2 { margin: 0; }
.raid-groups {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.raid-group {
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 8px;
padding: 1rem;
}
.raid-group h3 { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--text); }
.raid-group ul { margin: 0; padding: 0; list-style: none; }
.raid-group li {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.3rem;
margin-bottom: 0.4rem;
}
/* Mobile-/Touch-Alternative zum Drag&Drop: natives HTML5-Drag&Drop funktioniert
auf Touch-Geraeten nicht, daher gibt es im Editor-Modus zusaetzlich dieses
Dropdown pro Spieler. Ausserhalb des Editor-Modus bleibt es versteckt. */
.raid-move-select {
display: none;
width: auto;
max-width: 110px;
margin-left: auto;
padding: 0.15rem 0.3rem;
font-size: 0.75rem;
border-radius: 4px;
}
.raid-card.editing .raid-move-select { display: block; }
@media (max-width: 480px) {
.raid-move-select {
max-width: none;
flex: 1 1 100%;
margin-left: 1.75rem;
}
}
.class-icon {
width: 28px;
height: 28px;
vertical-align: middle;
margin-right: 0.5rem;
flex-shrink: 0;
}
.class-icon-placeholder {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin-right: 0.5rem;
flex-shrink: 0;
font-size: 1rem;
}
.raid-group-bench { border-style: dashed; }
.raid-signup-pending { color: var(--text-muted); font-style: italic; }
.raid-declined {
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 1px solid var(--border);
}
.raid-meta-line {
display: flex;
align-items: center;
gap: 0.4rem;
}
.raid-meta-line .icon { color: var(--text-muted); }
.panel-archived { opacity: 0.7; }
.raid-signup-note {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
}
.raid-signup-form {
flex-direction: row;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
}
.raid-signup-form select { width: auto; }
.filter-tabs {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1rem;
}
/* --- Reports: eigenes "Nach Nutzer filtern"-Dropdown mit Avataren --- */
/* .panel triggert per backdrop-filter eine eigene Stacking-Context - ohne diese Regel
waere das Dropdown-Popup (obwohl z-index:500) im nachfolgenden .panel (Tabelle)
"gefangen" und wuerde dahinter gerendert, siehe Kommentar bei .user-filter-panel. */
.panel-filter-bar {
position: relative;
z-index: 20;
}
.user-filter {
position: relative;
max-width: 320px;
margin-top: 0.75rem;
}
.user-filter-trigger {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
width: 100%;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.5rem 0.85rem;
color: var(--text);
font-size: 0.95rem;
font-weight: 500;
text-align: left;
cursor: pointer;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* background explizit wiederholen: sonst gewinnt button:hover (Gold-Flaeche), siehe .icon-button */
.user-filter-trigger:hover { background: var(--bg-panel-alt); border-color: var(--gold); }
.user-filter-trigger.open {
border-color: var(--gold);
box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.user-filter-trigger > .icon {
width: 16px;
height: 16px;
flex-shrink: 0;
color: var(--text-muted);
transition: transform 0.2s ease, color 0.15s ease;
}
.user-filter-trigger.open > .icon { transform: rotate(180deg); color: var(--gold); }
.user-filter-trigger-content,
.user-filter-option-visual {
display: flex;
align-items: center;
gap: 0.6rem;
min-width: 0;
overflow: hidden;
}
.user-filter-option-name {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.user-filter-all-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border-radius: 50%;
background: var(--bg-panel);
color: var(--text-muted);
flex-shrink: 0;
}
.user-filter-all-icon .icon { width: 14px; height: 14px; }
.user-filter-panel {
position: absolute;
top: calc(100% + 0.5rem);
left: 0;
right: 0;
z-index: 500;
max-height: 320px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.15rem;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.5rem;
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
opacity: 0;
transform: translateY(-6px) scale(0.98);
transform-origin: top center;
pointer-events: none;
transition: opacity 0.15s ease, transform 0.15s ease;
}
.user-filter-panel.open {
opacity: 1;
transform: translateY(0) scale(1);
pointer-events: auto;
}
.user-filter-option {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.6rem;
width: 100%;
background: none;
border: none;
border-radius: 6px;
padding: 0.45rem 0.6rem;
color: var(--text);
font-size: 0.9rem;
font-weight: 500;
text-align: left;
cursor: pointer;
transition: background 0.12s ease;
}
.user-filter-option:hover { background: var(--bg-panel-alt); }
.user-filter-option.selected {
background: rgba(201, 162, 39, 0.15);
color: var(--gold);
font-weight: 600;
}
.user-filter-option > .icon {
width: 16px;
height: 16px;
flex-shrink: 0;
color: var(--gold);
opacity: 0;
transition: opacity 0.12s ease;
}
.user-filter-option.selected > .icon { opacity: 1; }
.filter-tab {
padding: 0.4rem 0.9rem;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--bg-panel-alt);
color: var(--text-muted);
font-size: 0.85rem;
font-weight: 600;
}
.filter-tab:hover { color: var(--text); text-decoration: none; }
.filter-tab.active {
background: rgba(201, 162, 39, 0.15);
border-color: var(--gold);
color: var(--gold);
}
.profile-header {
display: flex;
align-items: center;
gap: 1.25rem;
}
.profile-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
align-items: start;
}
.discord-card {
border: 1px solid var(--discord);
background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), var(--bg-panel) 65%);
}
.discord-card-header {
display: flex;
align-items: center;
gap: 0.85rem;
margin-bottom: 1rem;
}
.discord-card-header h2 { margin: 0 0 0.3rem; color: var(--discord); }
.discord-logo { color: var(--discord); flex-shrink: 0; }
.discord-connect-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--discord);
color: #fff;
}
.discord-connect-button:hover { background: var(--discord-hover); }
.discord-connect-button .discord-logo { color: #fff; }
@media (max-width: 700px) {
.profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
.app-shell {
flex-direction: column;
min-height: 0;
}
/* Die Sidebar selbst wird auf schmalen Bildschirmen zur ausklappbaren
Schublade: per Default ausserhalb des Viewports (transform), das
".open"-Klasse (via assets/js/nav.js) schiebt sie rein. Sie behaelt
dabei exakt die gleiche Optik/Beschriftung wie am Desktop. */
.mobile-topbar { display: flex; }
.sidebar-toggle { display: inline-flex; }
.sidebar {
position: fixed;
top: 0;
left: 0;
width: min(280px, 82vw);
height: 100vh;
transform: translateX(-100%);
transition: transform 0.25s ease;
z-index: 1000;
padding: 1.25rem 1rem;
}
.sidebar.open {
transform: translateX(0);
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}
.sidebar-backdrop.open { display: block; }
}
/* --- Raid-Verwaltung: Icon-Buttons, Editor-Modus, Modal, Drag & Drop --- */
.icon-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
padding: 0;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text-muted);
cursor: pointer;
}
/* background explizit wiederholen: sonst gewinnt die globale "button:hover"-Regel
(Gold-Flaeche) fuer die Hover-Hintergrundfarbe, da .icon-button sie nur im
Ruhezustand setzt. */
.icon-button:hover { color: var(--gold); border-color: var(--gold); background: var(--bg-panel-alt); }
.icon-button-danger:hover { color: var(--danger); border-color: var(--danger); }
.raid-card.editing .raid-edit-toggle { color: var(--gold); border-color: var(--gold); }
.raid-edit-panel {
display: none;
margin-top: 1rem;
padding: 1rem;
background: var(--bg-panel-alt);
border: 1px dashed var(--border);
border-radius: 8px;
}
.raid-card.editing .raid-edit-panel { display: block; }
.raid-edit-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 0.75rem;
margin-bottom: 1rem;
}
.raid-edit-requirements { margin-bottom: 1rem; }
.raid-edit-requirements textarea {
resize: vertical;
min-height: 4.5rem;
font-family: inherit;
}
.raid-edit-form .actions { align-items: center; }
.group-editor { margin-bottom: 1rem; }
.group-editor-rows {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin: 0.5rem 0 0.75rem;
}
.group-editor-row {
display: flex;
align-items: center;
gap: 0.5rem;
}
.group-editor-name {
flex: 1;
min-width: 0;
}
.group-editor-lock {
display: flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
flex-shrink: 0;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text-muted);
cursor: pointer;
transition: color 0.15s ease, border-color 0.15s ease;
}
.group-editor-lock.checked {
color: var(--gold);
border-color: var(--gold);
background: rgba(201, 162, 39, 0.15);
}
.group-editor-lock-checkbox {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}
.group-editor-remove { flex-shrink: 0; }
.raid-premade-form {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
}
.raid-premade-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
}
.raid-premade-row select { width: auto; }
.premade-roster {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
margin: 0.75rem 0 0;
}
@media (max-width: 480px) {
.premade-roster { grid-template-columns: 1fr; }
}
/* Rechteck mit angeschraegten Ecken (Parallelogramm-Anmutung) statt eines reinen
Rechtecks. clip-path schneidet dabei auch einen ggf. gesetzten "border" weg,
deshalb simuliert ein aeusseres (Rahmenfarbe) + inneres (Fuellfarbe) Element
in Kombination einen sauber umlaufenden Rahmen. */
.premade-slot {
background: var(--border);
padding: 1.5px;
clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.premade-slot-inner {
display: flex;
align-items: center;
gap: 0.75rem;
height: 100%;
min-height: 64px;
padding: 0.7rem 1rem;
background: var(--bg-panel-alt);
clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
}
.premade-slot-lead { background: var(--gold); }
.premade-slot-lead .premade-slot-inner { background: #332b18; }
.premade-slot-pending .premade-slot-inner { color: var(--text-muted); }
.premade-slot-empty .premade-slot-inner { justify-content: center; }
.premade-slot-empty:not(.premade-slot-invitable) { opacity: 0.4; }
.premade-slot-placeholder {
color: var(--text-muted);
font-size: 1.3rem;
}
.premade-slot-invite-btn {
background: none;
border: none;
padding: 1rem 2rem;
color: var(--text-muted);
font-size: 1.5rem;
line-height: 1;
cursor: pointer;
}
.premade-slot-invite-btn:hover { color: var(--gold); }
/* Eigene Klassen-Aktion: sitzt als zusaetzliche Kachel im (bei 5 Slots stets
freien) 6. Grid-Feld neben der Mitgliederliste, bewusst mit gestricheltem
Rahmen statt der angeschraegten Karten-Optik, damit sie klar als Aktion
und nicht als weiterer Mitglieder-Slot erkennbar ist. */
.premade-class-action {
display: flex;
align-items: center;
gap: 0.75rem;
width: 100%;
height: 100%;
min-height: 64px;
padding: 0.7rem 1rem;
background: rgba(201, 162, 39, 0.05);
border: 1.5px dashed rgba(201, 162, 39, 0.4);
border-radius: 10px;
color: inherit;
text-align: left;
font: inherit;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease;
}
.premade-class-action:hover {
border-color: var(--gold);
background: rgba(201, 162, 39, 0.1);
}
.premade-class-action-icon { color: var(--text-muted); }
.premade-class-action-label {
margin-left: auto;
flex-shrink: 0;
font-size: 0.75rem;
font-weight: 600;
color: var(--gold);
white-space: nowrap;
}
.premade-invite-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
max-height: 340px;
overflow-y: auto;
margin: 1.25rem 0;
}
.premade-invite-option {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem 0.75rem;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
cursor: pointer;
text-align: left;
font-size: 0.95rem;
width: 100%;
}
.premade-invite-option:hover { border-color: var(--gold); color: var(--gold); }
.premade-slot-name {
display: flex;
flex-direction: column;
min-width: 0;
flex: 1;
gap: 0.1rem;
}
.premade-slot-class {
display: inline-flex;
align-items: center;
gap: 0.3rem;
}
.premade-slot-class-icon {
width: 20px;
height: 20px;
object-fit: contain;
flex-shrink: 0;
}
.premade-slot-name strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.95rem;
}
.premade-slot-name .text-muted { font-size: 0.78rem; }
.premade-crown {
display: inline-flex;
color: var(--gold);
flex-shrink: 0;
margin-left: auto;
}
.premade-crown .icon { width: 18px; height: 18px; }
.premade-slot .icon-button {
width: 26px;
height: 26px;
flex-shrink: 0;
margin-left: auto;
}
.premade-slot .icon-button .icon { width: 14px; height: 14px; }
.premade-invite-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
padding: 0.6rem 0;
border-bottom: 1px solid var(--border);
}
.premade-invite-row:last-child { border-bottom: none; }
.premade-manage {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px dashed var(--border);
}
.raid-empty-hint { margin: 0; }
/* Drag & Drop nur optisch aktiv, wenn die Karte im Editor-Modus ist */
.raid-card.editing .raid-signup-item { cursor: grab; }
.raid-signup-item.dragging { opacity: 0.4; }
.raid-drop-zone { transition: background 0.15s ease, border-color 0.15s ease; }
.raid-card.editing .raid-drop-zone.drag-over {
background: rgba(201, 162, 39, 0.15);
border-color: var(--gold);
}
/* Gesperrte Gruppen nehmen im Editor-Modus keine Drag&Drop-Ziele an. */
.raid-card.editing .raid-drop-zone.raid-group-locked {
cursor: not-allowed;
opacity: 0.6;
background-image: repeating-linear-gradient(
45deg,
rgba(255, 255, 255, 0.03),
rgba(255, 255, 255, 0.03) 6px,
transparent 6px,
transparent 12px
);
}
/* --- Anmelde-Popup --- */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.65);
z-index: 1000;
padding: 1rem;
display: none;
}
/* Das "hidden"-Attribut steuert die Sichtbarkeit; ohne diese Regel würde
"display: flex" das Standard-UA-"display: none" von [hidden] überstimmen
und das Popup waere immer sichtbar. */
.modal-overlay:not([hidden]) {
display: flex;
align-items: center;
justify-content: center;
}
.modal {
position: relative;
width: 100%;
max-width: 480px;
max-height: 90vh;
overflow-y: auto;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: 10px;
padding: 2rem;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.modal .modal-close {
position: absolute;
top: 1rem;
right: 1rem;
}
.class-picker {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.6rem;
margin: 1.25rem 0;
}
@media (max-width: 480px) {
.class-picker { grid-template-columns: repeat(2, 1fr); }
}
/* Grid statt Flex-Wrap, damit jede Wunschgruppen-Kachel unabhaengig von ihrer
Textlaenge exakt die gleiche Spaltenbreite bekommt (wie beim Klassen-Picker). */
.group-picker {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
gap: 0.5rem;
margin: 0.75rem 0 1.25rem;
}
.group-picker-option {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 0.5rem 1.1rem;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 999px;
color: var(--text);
cursor: pointer;
font-size: 0.85rem;
font-weight: 500;
text-align: center;
transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.group-picker-option:hover {
border-color: var(--gold);
transform: translateY(-1px);
}
.group-picker-option.selected {
border-color: var(--gold);
background: rgba(201, 162, 39, 0.18);
color: var(--gold);
font-weight: 600;
box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4);
}
.group-picker-option.locked,
.group-picker-option:disabled {
opacity: 0.5;
cursor: not-allowed;
color: var(--text-muted);
}
.group-picker-option.locked:hover,
.group-picker-option:disabled:hover {
border-color: var(--border);
transform: none;
}
/* Grid-Zellen sind gleich breit (1fr), aber Buttons schrumpfen sich sonst
ueber die globale "button"-Regel auf ihre Textbreite (width: fit-content)
und wirken dadurch unterschiedlich gross - deshalb hier explizit 100%. */
.class-picker-option {
display: flex;
width: 100%;
flex-direction: column;
align-items: center;
justify-content: flex-start;
gap: 0.5rem;
padding: 0.85rem 0.5rem;
min-height: 96px;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 10px;
color: var(--text);
cursor: pointer;
font-size: 0.8rem;
text-align: center;
transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.class-picker-option:hover {
border-color: var(--gold);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.class-picker-option.selected {
border-color: var(--gold);
background: rgba(201, 162, 39, 0.15);
color: var(--gold);
box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
}
.group-picker-option:focus-visible,
.class-picker-option:focus-visible {
outline: 2px solid var(--gold);
outline-offset: 2px;
}
/* Einheitlicher Rahmen um jedes Klassen-Icon, damit alle Kaestchen trotz
unterschiedlicher Icon-Formen/-Kontraste gleich wirken. */
.class-icon-frame {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
flex-shrink: 0;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: 8px;
transition: border-color 0.15s ease;
}
.class-picker-option:hover .class-icon-frame,
.class-picker-option.selected .class-icon-frame {
border-color: var(--gold);
}
.class-icon-frame img {
width: 30px;
height: 30px;
object-fit: contain;
}
.class-picker-label {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.2;
}
.raid-modal-feedback {
min-height: 1.2rem;
margin-bottom: 0.5rem;
font-size: 0.9rem;
}
.raid-modal-feedback.success { color: var(--success); }
.raid-modal-feedback.error { color: var(--danger); }
/* --- Reports: Punktwert-Liste + "Rolle hinzufuegen"-Popup --- */
.role-weight-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.role-weight-row {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 0.75rem;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 8px;
}
.role-weight-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.role-weight-name {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 600;
}
/* flex-shrink:0 auf beiden Formularen der Zeile - sonst nimmt sich .role-weight-name (flex:1)
den gesamten Platz und quetscht die Buttons/das Eingabefeld unter ihre Mindestbreite,
wodurch der Speichern-Button in die naechste Zeile umbricht. */
.role-weight-row > form {
flex-shrink: 0;
}
.role-weight-form {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.4rem;
}
/* input[type="text"] (Attribut-Selektor, hoehere Spezifitaet als eine einzelne Klasse) setzt
sonst width:100% und ueberstimmt die feste Breite hier. */
input.role-weight-input {
width: 70px;
text-align: center;
}
.role-picker-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
max-height: 340px;
overflow-y: auto;
margin: 1.25rem 0;
}
.role-picker-option {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 0.75rem;
background: var(--bg-panel-alt);
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
cursor: pointer;
width: 100%;
}
.role-picker-option:hover { border-color: var(--gold); }
.role-picker-option input[type="checkbox"] { width: auto; flex-shrink: 0; }
.role-picker-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
/* --- Events: geplante Erinnerungen des Discord-Bots --- */
.app-content.bg-events {
background-image: linear-gradient(rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.82)), url('/assets/images/Landscapes/web/landscape4-bg.jpg');
}
.event-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.event-card {
border-left-width: 3px;
border-left-color: var(--gold);
}
.event-card-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.event-card-header h2 {
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0;
font-size: 1.2rem;
}
.event-card-header h2 .icon { color: var(--gold); }
.event-meta {
display: flex;
flex-wrap: wrap;
gap: 0.4rem 1.25rem;
margin-top: 0.75rem;
font-size: 0.9rem;
}
.event-meta-item {
display: inline-flex;
align-items: center;
gap: 0.4rem;
}
.event-meta-item .icon {
width: 16px;
height: 16px;
color: var(--text-muted);
}
/* Faellig, aber noch nicht versendet (z.B. Bot war offline) - auffaellig, aber kein Fehler. */
.event-meta-overdue { color: var(--gold); }
.event-role { font-weight: 600; }
.event-message {
margin-top: 0.9rem;
padding: 0.75rem 1rem;
background: var(--bg-panel-alt);
border-left: 3px solid var(--border);
border-radius: 0 6px 6px 0;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
/* --- Anlegen-/Bearbeiten-Formular --- */
.event-edit-panel {
display: none;
margin-top: 1rem;
padding: 1rem;
background: var(--bg-panel-alt);
border: 1px dashed var(--border);
border-radius: 8px;
}
.event-card.editing .event-edit-panel { display: block; }
.event-card.editing .event-edit-toggle { color: var(--gold); border-color: var(--gold); }
.event-form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.75rem;
}
.event-form-interval .event-interval-row {
display: flex;
gap: 0.5rem;
}
.event-interval-row input { max-width: 90px; }
.event-form-hint {
margin: 0.25rem 0 0;
font-size: 0.8rem;
}
.event-form-message { margin-top: 0.75rem; }
.event-form-message textarea {
width: 100%;
resize: vertical;
}
/* Vorschau auf die spaetere Discord-Nachricht - entspricht dem Vorschau-Schritt,
den /event_planen im Bot vor dem Einplanen zeigt. */
.event-preview {
margin-top: 1rem;
padding: 0.85rem 1rem;
background: rgba(0, 0, 0, 0.25);
border: 1px solid var(--border);
border-radius: 8px;
}
.event-preview-label {
display: block;
font-size: 0.72rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.event-preview-ping {
color: var(--discord);
background: rgba(88, 101, 242, 0.12);
border-radius: 4px;
display: inline-block;
padding: 0 0.25rem;
font-weight: 600;
margin-bottom: 0.4rem;
}
.event-preview-embed {
border-left: 4px solid var(--gold);
border-radius: 0 6px 6px 0;
background: var(--bg-panel);
padding: 0.7rem 0.9rem;
}
.event-preview-title { display: block; }
.event-preview-message {
margin-top: 0.35rem;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.event-creator {
display: flex;
align-items: center;
gap: 0.45rem;
margin-top: 0.8rem;
font-size: 0.85rem;
}
/* --- Karte --- */
.app-content.bg-map {
background-image: linear-gradient(rgba(20, 20, 20, 0.72), rgba(20, 20, 20, 0.85)), url('/assets/images/Landscapes/web/landscape8-bg.jpg');
}
/* Die Karte braucht mehr Platz als die 1100px der normalen Inhaltsspalte. */
.container-wide { max-width: 1600px; }
/* Der Viewer zeichnet auf ein Canvas in Fenstergroesse - im iframe also genau so gross
wie der Rahmen. 4rem = oberes und unteres Padding von .container. */
.map-frame {
display: block;
width: 100%;
height: calc(100vh - 4rem);
min-height: 420px;
border: 1px solid var(--border);
border-radius: 10px;
background: #1a1a2e;
}
.map-setup {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
padding: 0.9rem 1.25rem;
margin-bottom: 1rem;
}
.map-setup p { margin: 0; }
/* --- Login, Freischaltung, Discord-Abgleich --- */
.login-panel { text-align: center; }
.login-panel h1 { margin-bottom: 0.4rem; }
.login-discord-button {
justify-content: center;
width: 100%;
margin: 1rem 0 1.25rem;
padding: 0.85rem 1rem;
font-size: 1.05rem;
font-weight: 600;
}
.login-password {
text-align: left;
border-top: 1px solid var(--border);
padding-top: 1rem;
}
.login-password summary {
cursor: pointer;
color: var(--text-muted);
font-size: 0.9rem;
text-align: center;
list-style: none;
}
.login-password summary::-webkit-details-marker { display: none; }
.login-password summary::after { content: ' ▾'; }
.login-password[open] summary::after { content: ' ▴'; }
.login-password summary:hover { color: var(--text); }
.login-password[open] summary { margin-bottom: 1rem; }
.pending-panel { text-align: center; }
.pending-panel .avatar { margin: 0 auto 0.75rem; }
.pending-actions { justify-content: center; }
.badge-pending { border-color: var(--gold); color: var(--gold); }
.row-pending td { background: rgba(201, 162, 39, 0.08); }
.button-small { padding: 0.3rem 0.7rem; font-size: 0.85rem; }
.discord-inline {
display: inline-flex;
align-items: center;
gap: 0.35rem;
}
.checkbox-managed { opacity: 0.75; cursor: default; }
.checkbox-managed .discord-logo { margin-left: 0.15rem; }
/* Als Abzeichen auf dem Symbol - so bricht die Beschriftung nicht um und die Zahl bleibt
auch bei eingeklappter Seitenleiste sichtbar. */
.sidebar-link { position: relative; }
.sidebar-badge {
position: absolute;
top: 0.25rem;
left: 1.55rem;
min-width: 1.1rem;
padding: 0 0.3rem;
border-radius: 999px;
background: var(--gold);
color: #1a1a1a;
font-size: 0.68rem;
font-weight: 700;
line-height: 1.1rem;
text-align: center;
}
.settings-toggle {
margin: 0 0 1.25rem;
padding: 0.75rem 1rem;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg-panel-alt);
}
.settings-toggle label { display: flex; align-items: center; gap: 0.5rem; margin: 0; cursor: pointer; }
.settings-toggle input { width: auto; }
/* Tabellen mit Aktionen-Spalte (Verwaltung): die letzte Spalte bleibt rechts angeheftet,
damit Bearbeiten/Loeschen/Freischalten auch bei seitlich scrollender Tabelle sichtbar sind. */
.table-actions th:last-child,
.table-actions td:last-child {
position: sticky;
right: 0;
z-index: 1;
background: var(--bg-panel);
box-shadow: -8px 0 8px -8px rgba(0, 0, 0, 0.8);
white-space: nowrap;
}
.table-actions tr:hover td:last-child { background: var(--bg-panel-alt); }
.table-actions .row-pending td:last-child { background: #2e2a1c; }
/* Icon-Links (Bearbeiten) sollen beim Ueberfahren nicht unterstrichen werden. */
a.icon-button:hover { text-decoration: none; }
/* Aktionen-Spalte der Verwaltung: Icons und Freischalten-Knopf auf einer Linie. */
.table-actions td:last-child .actions { align-items: center; flex-wrap: nowrap; }
.discord-sync-form {
display: flex;
/* Formulare sind global als Spalte gesetzt - hier Knopf und Erklaerung nebeneinander. */
flex-direction: row;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem 1rem;
margin: 0 0 1rem;
}
.discord-sync-form span { flex: 1; min-width: 240px; font-size: 0.85rem; }
.flash-info { background: rgba(201, 162, 39, 0.12); border: 1px solid var(--gold); color: var(--gold); }
/* --- Lagerhaus --- */
.app-content.bg-warehouse {
background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.85)), url('/assets/images/Landscapes/web/landscape6-bg.jpg');
}
.warehouse-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem 1.5rem;
}
.warehouse-head h1, .warehouse-head h2 { margin-bottom: 0.25rem; }
.warehouse-head p { margin-top: 0; }
.warehouse-filters {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin: 1rem 0;
}
.warehouse-filters input { flex: 1; min-width: 220px; }
.warehouse-filters select { width: auto; min-width: 200px; }
th.num, td.num { text-align: right; white-space: nowrap; }
.warehouse-no-match { margin-top: 0.75rem; }
.warehouse-pages {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1rem;
font-size: 0.9rem;
}
.pagination {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.3rem;
}
.page-link {
min-width: 2.1rem;
padding: 0.3rem 0.6rem;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--bg-panel-alt);
color: var(--text);
text-align: center;
}
a.page-link:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.page-link.active { border-color: var(--gold); background: var(--gold); color: #1a1a1a; font-weight: 700; }
.page-link.disabled { opacity: 0.4; }
.page-gap { padding: 0 0.2rem; color: var(--text-muted); }
.warehouse-row,
.warehouse-counterpart {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.75rem;
}
.warehouse-counterpart + .field-hint { margin: -0.25rem 0 0.75rem; }
.warehouse-new-item {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem 1rem;
padding: 0.6rem 0.8rem;
margin-bottom: 0.75rem;
border: 1px solid var(--gold);
border-radius: 6px;
background: rgba(201, 162, 39, 0.08);
}
.warehouse-new-item label { margin: 0; }
.warehouse-new-item select { width: auto; }
@media (max-width: 600px) {
.warehouse-row, .warehouse-counterpart { grid-template-columns: 1fr; }
}
/* Bestand als Kacheln: Bild mit Menge, darunter Name und Kategorie */
.warehouse-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 0.75rem;
}
.warehouse-card {
display: flex;
flex-direction: column;
border: 1px solid var(--border);
border-radius: 10px;
background: rgba(35, 35, 35, 0.72);
transition: border-color 0.15s, transform 0.15s;
}
.warehouse-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.warehouse-card[hidden] { display: none; }
.warehouse-card-link {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.35rem;
flex: 1;
padding: 0.9rem 0.6rem 0.6rem;
color: var(--text);
text-align: center;
}
.warehouse-card-link:hover { text-decoration: none; color: var(--text); }
.warehouse-card-image { position: relative; display: inline-block; }
.warehouse-card-qty {
position: absolute;
right: -0.5rem;
bottom: -0.35rem;
min-width: 1.6rem;
padding: 0.05rem 0.4rem;
border-radius: 999px;
background: var(--gold);
color: #1a1a1a;
font-size: 0.8rem;
font-weight: 700;
line-height: 1.3rem;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.warehouse-card-name {
margin-top: 0.3rem;
font-weight: 600;
font-size: 0.88rem;
line-height: 1.25;
overflow-wrap: anywhere;
}
.warehouse-card-category { font-size: 0.75rem; color: var(--text-muted); }
.warehouse-card-actions {
display: flex;
justify-content: center;
gap: 0.4rem;
padding: 0 0.6rem 0.7rem;
}
.warehouse-card-actions .icon-button { width: 30px; height: 30px; font-size: 1.05rem; }
.warehouse-icon {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
border-radius: 8px;
background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.35));
object-fit: contain;
}
.warehouse-icon-placeholder { color: var(--text-muted); border: 1px dashed var(--border); }
.warehouse-icon-placeholder .icon { width: 45%; height: 45%; }
.warehouse-item-inline {
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
/* --- Lumipunkte --- */
.app-content.bg-contributions {
background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.86)), url('/assets/images/Landscapes/web/landscape2-bg.jpg');
}
.contribution-coin { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.contribution-hero {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 1rem 1.5rem;
}
.contribution-hero-coin { filter: drop-shadow(0 4px 10px rgba(201, 162, 39, 0.35)); }
.contribution-hero-text { flex: 1; min-width: 220px; }
.contribution-hero-text h1 { margin: 0 0 0.25rem; }
.contribution-hero-text p { margin: 0; }
.contribution-hero-balance {
display: flex;
flex-direction: column;
align-items: flex-end;
font-size: 0.85rem;
}
.contribution-hero-balance strong {
display: flex;
align-items: center;
gap: 0.4rem;
font-size: 1.8rem;
color: var(--gold);
}
.contribution-head {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem 1.5rem;
margin-bottom: 1rem;
}
.contribution-head h1, .contribution-head h2 {
display: flex;
align-items: center;
gap: 0.6rem;
margin: 0;
}
.contribution-head input[type="search"] { width: auto; min-width: 240px; }
.contribution-filter-balance {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.15rem 0.6rem;
border-radius: 999px;
background: rgba(201, 162, 39, 0.15);
font-size: 1rem;
}
/* Rangliste */
.contribution-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 0.75rem;
}
.contribution-card {
position: relative;
border: 1px solid var(--border);
border-radius: 10px;
background: rgba(35, 35, 35, 0.72);
transition: border-color 0.15s, transform 0.15s;
}
.contribution-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.contribution-card[hidden] { display: none; }
.contribution-card.is-me { border-color: rgba(201, 162, 39, 0.6); background: rgba(201, 162, 39, 0.08); }
.contribution-card.rank-1 { box-shadow: 0 0 0 1px #e8c35a inset, 0 0 18px rgba(232, 195, 90, 0.25); }
.contribution-card.rank-2 { box-shadow: 0 0 0 1px #c9ced6 inset; }
.contribution-card.rank-3 { box-shadow: 0 0 0 1px #c98a55 inset; }
.contribution-card-link {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.4rem;
padding: 1rem 0.6rem 0.8rem;
color: var(--text);
text-align: center;
}
.contribution-card-link:hover { color: var(--text); text-decoration: none; }
.contribution-rank {
position: absolute;
top: 0.45rem;
left: 0.55rem;
font-size: 0.75rem;
font-weight: 700;
color: var(--text-muted);
}
.rank-1 .contribution-rank { color: #e8c35a; }
.rank-2 .contribution-rank { color: #c9ced6; }
.rank-3 .contribution-rank { color: #c98a55; }
.contribution-card-name { font-weight: 600; font-size: 0.9rem; overflow-wrap: anywhere; }
.contribution-card-points {
display: inline-flex;
align-items: center;
gap: 0.3rem;
font-weight: 700;
color: var(--gold);
}
.contribution-card-add {
position: absolute;
top: 0.35rem;
right: 0.35rem;
width: 26px;
height: 26px;
font-size: 1rem;
opacity: 0;
transition: opacity 0.15s;
}
.contribution-card:hover .contribution-card-add,
.contribution-card-add:focus { opacity: 1; }
a.contribution-card-add:hover { text-decoration: none; }
@media (hover: none) {
.contribution-card-add { opacity: 1; }
}
/* Verlauf der Vergaben */
.contribution-awards { display: flex; flex-direction: column; gap: 0.6rem; }
.contribution-award {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 0.8rem 1rem;
border: 1px solid var(--border);
border-radius: 10px;
background: rgba(35, 35, 35, 0.6);
}
.contribution-award-points {
display: flex;
flex-direction: column;
align-items: center;
min-width: 76px;
gap: 0.15rem;
font-size: 0.75rem;
}
.contribution-award-points strong { font-size: 1.25rem; color: var(--success); }
.contribution-award-points.negative strong { color: var(--danger); }
.contribution-award-body { flex: 1; min-width: 0; }
.contribution-award-title {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.contribution-award-note { margin: 0.3rem 0 0; font-size: 0.9rem; }
.contribution-award-meta { margin-top: 0.3rem; font-size: 0.8rem; }
.contribution-badge-raid { border-color: #d9534f; color: #ff8a86; }
.contribution-badge-event { border-color: var(--discord); color: #9aa3ff; }
.contribution-badge-other { border-color: var(--border); }
.contribution-award-members { margin-top: 0.4rem; font-size: 0.85rem; }
.contribution-award-members summary { cursor: pointer; color: var(--text-muted); }
.contribution-award-members[open] summary { margin-bottom: 0.4rem; }
.contribution-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.contribution-chip {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.15rem 0.3rem 0.15rem 0.6rem;
border: 1px solid var(--border);
border-radius: 999px;
background: var(--bg-panel-alt);
}
.contribution-chip.highlight { border-color: var(--gold); }
.contribution-chip a { color: var(--text); }
button.contribution-chip-remove {
padding: 0 0.3rem;
border: none;
background: none;
color: var(--text-muted);
font-size: 1rem;
line-height: 1;
cursor: pointer;
}
button.contribution-chip-remove:hover { background: none; color: var(--danger); }
.contribution-award-delete { flex-shrink: 0; }
.contribution-pages {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1rem;
font-size: 0.9rem;
}
/* Formular */
.contribution-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.contribution-form-wide { grid-column: 1 / -1; }
.contribution-form-grid [hidden] { display: none; }
.contribution-picker-head {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.contribution-picker-head label { margin-right: auto; }
.contribution-picker-head input[type="search"] { width: auto; min-width: 200px; }
.contribution-picker-count { font-weight: 400; color: var(--text-muted); }
.contribution-raid-info { margin: 0.5rem 0 0; }
.contribution-picker-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 0.4rem;
margin-top: 0.6rem;
max-height: 420px;
overflow-y: auto;
padding: 0.2rem;
}
.contribution-pick {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.6rem;
border: 1px solid var(--border);
border-radius: 8px;
font-weight: 500;
cursor: pointer;
}
.contribution-pick[hidden] { display: none; }
.contribution-pick input { width: auto; }
.contribution-pick.checked { border-color: var(--gold); background: rgba(201, 162, 39, 0.1); }
.contribution-pick-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contribution-pick-points { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.8rem; color: var(--text-muted); }
/* Lumipunkte als Kaestchen ueber dem Profil (ueber dem Strich der Fusszeile) */
.sidebar-points {
display: flex;
align-items: center;
gap: 0.7rem;
margin-top: 1rem;
padding: 0.6rem 0.8rem;
border: 1px solid rgba(201, 162, 39, 0.45);
border-radius: 10px;
background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.04));
color: var(--text);
transition: border-color 0.15s, background 0.15s;
}
.sidebar-points:hover {
border-color: var(--gold);
background: linear-gradient(135deg, rgba(201, 162, 39, 0.24), rgba(201, 162, 39, 0.06));
color: var(--text);
text-decoration: none;
}
.sidebar-points img { flex-shrink: 0; filter: drop-shadow(0 2px 5px rgba(201, 162, 39, 0.35)); }
.sidebar-points > span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sidebar-points-label { font-size: 0.72rem; color: var(--text-muted); }
.sidebar-points strong { font-size: 1.2rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.sidebar-points + .sidebar-footer { margin-top: 0.85rem; }
@media (max-width: 700px) {
.contribution-form-grid { grid-template-columns: 1fr; }
.contribution-hero-balance { align-items: flex-start; }
.contribution-award { flex-wrap: wrap; }
}
.contribution-top-label {
padding: 0.1rem 0.5rem;
border: 1px solid var(--gold);
border-radius: 999px;
font-size: 0.8rem;
font-weight: 600;
}
.contribution-own { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.contribution-own h3 { margin: 0 0 0.6rem; font-size: 1rem; }
.contribution-limit-note { margin: 1rem 0 0; font-size: 0.85rem; }
/* --- Raids: Anwesenheit und automatische Lumipunkte --- */
.raid-points-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem;
margin-top: 0.75rem;
}
.raid-points-fields label { display: flex; align-items: center; gap: 0.35rem; }
.raid-points-fields .field-hint { grid-column: 1 / -1; margin: 0; }
.raid-attendance-line {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
margin: 0.25rem 0 0.75rem;
}
a.button-small:hover { text-decoration: none; }
.raid-auto-points { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; }
.attendance-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
}
.attendance-head h1 { margin-bottom: 0.2rem; }
.attendance-head p { margin-top: 0; }
.attendance-status {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem 1rem;
padding: 0.75rem 1rem;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg-panel-alt);
font-size: 0.9rem;
}
.attendance-auto { display: inline-flex; align-items: center; gap: 0.35rem; }
.attendance-bulk {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.4rem;
font-size: 0.9rem;
}
.attendance-list { display: flex; flex-direction: column; gap: 0.35rem; }
.attendance-row {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.5rem 1rem;
padding: 0.55rem 0.8rem;
border: 1px solid var(--border);
border-radius: 8px;
background: rgba(35, 35, 35, 0.6);
}
.attendance-person { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.6rem; }
.attendance-person .text-muted { font-size: 0.85rem; }
.attendance-choice { display: flex; gap: 0.3rem; }
.attendance-option {
display: inline-flex;
align-items: center;
padding: 0.3rem 0.7rem;
border: 1px solid var(--border);
border-radius: 999px;
font-size: 0.85rem;
font-weight: 500;
cursor: pointer;
user-select: none;
}
.attendance-option input { position: absolute; opacity: 0; pointer-events: none; }
.attendance-option:hover { border-color: var(--text-muted); }
.attendance-present:has(input:checked) { border-color: var(--success); background: rgba(76, 175, 80, 0.2); color: #8fdc92; }
.attendance-absent:has(input:checked) { border-color: var(--danger); background: rgba(217, 83, 79, 0.2); color: #ff9b97; }
.attendance-excused:has(input:checked) { border-color: var(--gold); background: rgba(201, 162, 39, 0.18); color: var(--gold); }
.attendance-none:has(input:checked) { border-color: var(--text-muted); background: var(--bg-panel-alt); }
.attendance-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.attendance-add { display: flex; flex-direction: column; gap: 0.3rem; max-width: 420px; }
@media (max-width: 600px) {
.raid-points-fields { grid-template-columns: 1fr; }
}
.contribution-raid-mode {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.4rem;
margin-top: 0.5rem;
font-size: 0.9rem;
}
.contribution-raid-mode[hidden] { display: none; }
.contribution-raid-mode .button-small.active { border-color: var(--gold); color: var(--gold); }
/* Kina im Lagerhaus */
.warehouse-kina {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.55rem 0.9rem;
border: 1px solid rgba(201, 162, 39, 0.5);
border-radius: 10px;
background: rgba(201, 162, 39, 0.08);
}
.warehouse-kina > div:not(.warehouse-kina-actions) { display: flex; flex-direction: column; line-height: 1.2; }
.warehouse-kina .text-muted { font-size: 0.8rem; }
.warehouse-kina strong { font-size: 1.35rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.warehouse-kina .warehouse-icon { background: none; }
.warehouse-kina-actions { display: flex; flex-direction: column; gap: 0.3rem; margin-left: 0.5rem; }
/* --- Lumishop --- */
.app-content.bg-shop {
background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.86)), url('/assets/images/Landscapes/web/landscape7-bg.jpg');
}
.shop-reserved { font-size: 0.75rem; margin-top: 0.1rem; }
.shop-hero-actions { display: flex; flex-direction: column; gap: 0.4rem; }
.shop-count {
display: inline-block;
min-width: 1.2rem;
margin-left: 0.2rem;
padding: 0 0.35rem;
border-radius: 999px;
background: #1a1a1a;
color: var(--gold);
font-size: 0.75rem;
font-weight: 700;
line-height: 1.2rem;
text-align: center;
}
.button-secondary .shop-count { background: var(--gold); color: #1a1a1a; }
.shop-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 0.85rem;
}
.shop-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.35rem;
padding: 1rem 0.75rem 0.85rem;
border: 1px solid var(--border);
border-radius: 10px;
background: rgba(35, 35, 35, 0.72);
text-align: center;
transition: border-color 0.15s, transform 0.15s;
}
.shop-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.shop-card[hidden] { display: none; }
.shop-card.sold-out { opacity: 0.55; }
.shop-card.sold-out:hover { transform: none; border-color: var(--border); }
.shop-card-image { display: inline-block; }
.shop-card-name { margin-top: 0.3rem; font-weight: 600; font-size: 0.92rem; line-height: 1.25; overflow-wrap: anywhere; }
.shop-card-description { font-size: 0.8rem; color: var(--text-muted); line-height: 1.35; overflow-wrap: anywhere; }
.shop-card-price {
display: inline-flex;
align-items: center;
gap: 0.3rem;
margin-top: auto;
padding-top: 0.35rem;
font-size: 1.15rem;
font-weight: 700;
color: var(--gold);
}
.shop-card-stock { font-size: 0.75rem; color: var(--text-muted); }
.shop-card-stock.is-empty { color: var(--danger); }
.shop-card .shop-buy { width: 100%; margin-top: 0.25rem; }
.shop-buy-title { margin: 0; font-size: 1.05rem; }
.shop-buy-total {
display: flex;
align-items: center;
gap: 0.4rem;
padding: 0.6rem 0;
font-size: 1.3rem;
font-weight: 700;
color: var(--gold);
}
.shop-buy-hint { margin: 0; font-size: 0.85rem; }
/* Antraege */
.shop-orders { display: flex; flex-direction: column; gap: 0.6rem; }
.shop-order {
display: flex;
align-items: center;
gap: 0.9rem;
padding: 0.75rem 0.9rem;
border: 1px solid var(--border);
border-left: 3px solid var(--border);
border-radius: 8px;
background: rgba(35, 35, 35, 0.72);
}
.shop-order-pending { border-left-color: var(--gold); }
.shop-order-approved { border-left-color: #5fa8ff; }
.shop-order-delivered { border-left-color: var(--success); }
.shop-order-rejected { border-left-color: var(--danger); }
.shop-order-rejected, .shop-order-cancelled { opacity: 0.75; }
.shop-order-icon { flex-shrink: 0; }
.shop-order-body { flex: 1; min-width: 0; }
.shop-order-title { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.6rem; }
.shop-order-meta { margin-top: 0.2rem; font-size: 0.8rem; }
.shop-order-buyer { color: var(--text); }
.shop-order-note { margin-top: 0.25rem; font-size: 0.88rem; overflow-wrap: anywhere; }
.shop-order-price {
display: inline-flex;
align-items: center;
gap: 0.3rem;
flex-shrink: 0;
font-size: 1.05rem;
font-weight: 700;
color: var(--text-muted);
white-space: nowrap;
}
.shop-order-price.is-paid { color: var(--gold); }
.shop-order-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.shop-order-actions form { display: inline; }
.shop-order-actions .button-small { display: inline-flex; align-items: center; gap: 0.3rem; }
.shop-order-actions .button-small .icon { width: 15px; height: 15px; }
.shop-order-balance { margin: 0.4rem 0 -0.3rem 0.2rem; font-size: 0.8rem; color: var(--text-muted); }
.shop-order-balance.is-short { color: var(--danger); }
.shop-badge-approved { border-color: #5fa8ff; color: #8cc0ff; }
.shop-badge-warehouse { border-color: var(--gold); color: var(--gold); }
@media (max-width: 700px) {
.shop-order { flex-wrap: wrap; }
.shop-order-body { flex-basis: calc(100% - 60px); }
.shop-order-price { margin-left: 56px; }
.shop-order-actions { margin-left: auto; }
}
/* Verwaltung */
.shop-manage-table tr.is-inactive td:not(:last-child) { opacity: 0.55; }
.shop-categories { display: flex; flex-direction: column; gap: 0.5rem; max-width: 640px; }
.shop-category-row { display: flex; align-items: center; gap: 0.5rem; }
.shop-category-form { flex-direction: row; align-items: center; gap: 0.5rem; flex: 1; }
.shop-category-form input[type="text"] { flex: 1; min-width: 0; }
.shop-category-new { margin-top: 0.4rem; padding-top: 0.75rem; border-top: 1px dashed var(--border); }
input.shop-sort-input { width: 80px; text-align: center; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.checkbox-label input { width: auto; }
[data-mode-field][hidden] { display: none; }
.modal.modal-wide { max-width: 720px; }
.shop-import-price { display: flex; gap: 0.5rem; }
.shop-import-price input { flex: 1; min-width: 0; }
.shop-import-list {
display: flex;
flex-direction: column;
max-height: 45vh;
overflow-y: auto;
border: 1px solid var(--border);
border-radius: 8px;
}
.shop-import-row {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.45rem 0.7rem;
border-bottom: 1px solid var(--border);
}
.shop-import-row:last-child { border-bottom: none; }
.shop-import-row label {
display: flex;
align-items: center;
gap: 0.55rem;
flex: 1;
min-width: 0;
font-weight: 400;
cursor: pointer;
}
.shop-import-row label input { width: auto; }
.shop-import-row label span:not(.text-muted) { overflow-wrap: anywhere; }
.shop-import-row label .text-muted { margin-left: auto; font-size: 0.8rem; white-space: nowrap; }
input.shop-import-row-price { width: 100px; }
.shop-import-all { font-weight: 400; cursor: pointer; background: var(--bg-panel-alt); position: sticky; top: 0; z-index: 1; }
.shop-import-all input { width: auto; }
.contribution-badge-shop { border-color: var(--gold); color: var(--gold); }
.warehouse-card-shop {
display: inline-flex;
align-items: center;
gap: 0.2rem;
font-size: 0.72rem;
color: var(--gold);
}
#shop-item-description { font-family: inherit; }
/* Lumishop: Teilbewilligung */
.shop-order-actions .shop-approve-form { display: inline-flex; flex-direction: row; align-items: center; gap: 0.35rem; }
input.shop-approve-quantity { width: 72px; padding: 0.3rem 0.45rem; font-size: 0.9rem; }
.shop-approve-of { font-size: 0.8rem; white-space: nowrap; }
.shop-order-partial { color: var(--gold); font-weight: 600; }
.shop-order-stock { color: var(--text-muted); }
.shop-order-stock.is-short { color: var(--danger); }
/* Dashboard: eigener Bereich fuer die Lumipunkte */
.dashboard-points {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 1rem 1.5rem;
border-color: rgba(201, 162, 39, 0.45);
background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(35, 35, 35, 0.92) 60%);
}
.dashboard-points-coin { flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(201, 162, 39, 0.4)); }
.dashboard-points-main { min-width: 160px; }
.dashboard-points-main h2 { margin: 0; font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.dashboard-points-value { font-size: 2.2rem; font-weight: 700; line-height: 1.15; color: var(--gold); font-variant-numeric: tabular-nums; }
.dashboard-points-main p { margin: 0.1rem 0 0; font-size: 0.85rem; }
.dashboard-points-shop { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.dashboard-points-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-left: auto; }
@media (max-width: 700px) {
.shop-order-actions { flex-wrap: wrap; justify-content: flex-end; width: 100%; }
}
/* --- Fehlermeldungen (Dashboard + /bugs.php) --- */
.bug-report-details > summary {
display: flex;
align-items: center;
gap: 0.9rem;
cursor: pointer;
list-style: none;
}
.bug-report-details > summary::-webkit-details-marker { display: none; }
.bug-report-details > summary > span:nth-child(2) {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
}
.bug-report-details > summary .text-muted { font-size: 0.88rem; }
.bug-panel .icon-badge {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 8px;
background: rgba(201, 162, 39, 0.15);
color: var(--gold);
flex-shrink: 0;
}
.bug-report-details[open] .bug-report-toggle { visibility: hidden; }
.bug-form {
margin-top: 1.25rem;
padding-top: 1.25rem;
border-top: 1px solid var(--border);
}
.bug-form-row {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
gap: 1rem;
}
.bug-form textarea { resize: vertical; font-family: inherit; }
.bug-my-list {
margin-top: 1.25rem;
padding-top: 1.1rem;
border-top: 1px solid var(--border);
}
.bug-my-list h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.bug-my-item {
padding: 0.75rem 0;
border-bottom: 1px dashed var(--border);
}
.bug-my-item:last-child { border-bottom: none; padding-bottom: 0; }
.bug-my-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
}
.bug-my-meta { font-size: 0.82rem; margin-top: 0.15rem; }
.bug-admin-note {
margin-top: 0.5rem;
padding: 0.55rem 0.75rem;
border-left: 3px solid var(--gold);
border-radius: 4px;
background: rgba(201, 162, 39, 0.08);
font-size: 0.9rem;
white-space: pre-wrap;
}
.bug-badge-progress { border-color: #5b9bd5; color: #5b9bd5; }
.filter-tab-count {
margin-left: 0.3rem;
padding: 0 0.4rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
font-size: 0.75rem;
}
/* Statusfarbe links an der Karte */
.bug-card-open { border-left-color: var(--gold); }
.bug-card-open:hover { border-color: var(--gold); }
.bug-card-in_progress { border-left-color: #5b9bd5; }
.bug-card-in_progress:hover { border-color: #5b9bd5; }
.bug-card-done { border-left-color: var(--success); opacity: 0.8; }
.bug-card-rejected { border-left-color: var(--danger); opacity: 0.7; }
.bug-card-rejected:hover { border-color: var(--danger); }
.bug-manage-form { margin-top: 0.9rem; }
.bug-manage-row {
display: flex;
align-items: center;
gap: 0.6rem;
}
.bug-manage-row select { width: auto; flex-shrink: 0; }
.bug-manage-row input { flex: 1; min-width: 0; }
.bug-manage-row button { flex-shrink: 0; }
@media (max-width: 700px) {
.bug-form-row { grid-template-columns: 1fr; }
.bug-report-details > summary { flex-wrap: wrap; }
.bug-manage-row { flex-wrap: wrap; }
.bug-manage-row input { flex-basis: 100%; }
}
/* --- Einfuehrung (Dashboard-Tour, assets/js/tour.js) --- */
.tour-root {
position: fixed;
inset: 0;
z-index: 10000;
animation: tour-fade-in 0.25s ease;
}
.tour-root.tour-leaving {
opacity: 0;
transition: opacity 0.25s ease;
}
.tour-backdrop {
position: absolute;
inset: 0;
background: transparent;
transition: background 0.3s ease;
}
.tour-backdrop.dim {
background: rgba(8, 8, 12, 0.72);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
}
/* Das "Loch" im abgedunkelten Hintergrund um den erklaerten Bereich */
.tour-spotlight {
position: fixed;
border-radius: 12px;
box-shadow:
0 0 0 2px var(--gold),
0 0 24px 4px rgba(201, 162, 39, 0.45),
0 0 0 9999px rgba(8, 8, 12, 0.72);
pointer-events: none;
opacity: 0;
transition: left 0.35s ease, top 0.35s ease, width 0.35s ease, height 0.35s ease, opacity 0.25s ease;
}
.tour-spotlight.visible { opacity: 1; }
.tour-card {
position: fixed;
width: min(360px, calc(100vw - 24px));
padding: 1.25rem 1.35rem 1.1rem;
background: rgba(30, 30, 34, 0.97);
border: 1px solid rgba(201, 162, 39, 0.45);
border-radius: 16px;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
transition: left 0.35s ease, top 0.35s ease;
}
.tour-card.tour-animate { animation: tour-pop 0.3s ease; }
.tour-card.centered {
left: 50% !important;
top: 50% !important;
width: min(440px, calc(100vw - 24px));
transform: translate(-50%, -50%);
text-align: center;
}
.tour-card.centered .tour-actions { justify-content: center; }
/* Handy: Karte fest am unteren (bzw. oberen) Rand */
.tour-card.docked {
left: 12px !important;
right: 12px;
top: auto !important;
bottom: 12px;
width: auto;
}
.tour-card.docked.docked-top {
top: 12px !important;
bottom: auto;
}
.tour-progress {
height: 4px;
margin-bottom: 0.85rem;
border-radius: 4px;
background: rgba(255, 255, 255, 0.08);
overflow: hidden;
}
.tour-progress-bar {
height: 100%;
border-radius: 4px;
background: linear-gradient(90deg, var(--gold), var(--gold-hover));
transition: width 0.35s ease;
}
.tour-step-count {
color: var(--gold);
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.tour-title {
margin: 0.3rem 0 0.4rem;
font-size: 1.2rem;
}
.tour-text {
margin: 0;
color: #cfcfcf;
line-height: 1.55;
}
.tour-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-top: 1.1rem;
}
.tour-nav { display: flex; gap: 0.5rem; }
.tour-actions button { padding: 0.5rem 1rem; font-size: 0.92rem; }
.tour-skip {
background: none;
color: var(--text-muted);
padding-left: 0 !important;
font-weight: 500;
}
.tour-skip:hover { background: none; color: var(--text); }
.tour-card.centered .tour-actions { flex-direction: column-reverse; }
.tour-card.centered .tour-skip { padding: 0.3rem !important; }
/* Hervorgehobene Seitenleisten-Eintraege sollen lesbar bleiben */
.sidebar .tour-target { background: var(--bg-panel-alt); }
@keyframes tour-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tour-pop {
from { opacity: 0; transform: translateY(6px) scale(0.98); }
to { opacity: 1; transform: none; }
}
.tour-card.centered.tour-animate { animation: tour-pop-center 0.3s ease; }
@keyframes tour-pop-center {
from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); }
to { opacity: 1; transform: translate(-50%, -50%); }
}
@media (prefers-reduced-motion: reduce) {
.tour-root, .tour-card, .tour-spotlight, .tour-progress-bar { animation: none !important; transition: none !important; }
}
/* Profil: Einfuehrung neu starten */
.tour-restart {
display: flex;
align-items: center;
gap: 1rem;
}
.tour-restart > div { flex: 1; }
.tour-restart h2 { margin: 0 0 0.2rem; }
.tour-restart p { margin: 0; }
.tour-restart .icon-badge {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 8px;
background: rgba(201, 162, 39, 0.15);
color: var(--gold);
flex-shrink: 0;
}
@media (max-width: 700px) {
.tour-restart { flex-wrap: wrap; }
.tour-restart form, .tour-restart button { width: 100%; }
}
/* --- Oeffentliche Startseite --- */
body.home-page {
--home-bg: #0b0b10;
--home-surface: rgba(255, 255, 255, 0.035);
--home-line: rgba(255, 255, 255, 0.08);
--home-text: #ecebf2;
--home-muted: #a3a1b0;
--home-gold: #e6c15a;
background: var(--home-bg);
color: var(--home-text);
font-family: "Segoe UI Variable Display", "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
/* Belebter Hintergrund: langsam treibende Farbfelder (Gold, Violett, Blau) und feiner
Sternenstaub. Beides liegt fest hinter dem Inhalt, der darueber scrollt. */
body.home-page::before,
body.home-page::after {
content: '';
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
}
body.home-page::before {
background:
radial-gradient(45% 40% at 85% 15%, rgba(230, 193, 90, 0.22), transparent 70%),
radial-gradient(40% 45% at 8% 45%, rgba(139, 92, 246, 0.24), transparent 70%),
radial-gradient(45% 40% at 90% 75%, rgba(88, 101, 242, 0.24), transparent 70%),
radial-gradient(35% 35% at 30% 95%, rgba(236, 72, 153, 0.13), transparent 70%),
linear-gradient(160deg, #0d0b16 0%, #0a0b14 45%, #0c0a12 100%);
background-size: 140% 140%;
animation: home-aurora 28s ease-in-out infinite alternate;
}
body.home-page::after {
background-image:
radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.55), transparent 60%),
radial-gradient(1px 1px at 72% 34%, rgba(255, 255, 255, 0.45), transparent 60%),
radial-gradient(1.5px 1.5px at 38% 62%, rgba(247, 227, 161, 0.55), transparent 60%),
radial-gradient(1px 1px at 88% 82%, rgba(255, 255, 255, 0.4), transparent 60%),
radial-gradient(1px 1px at 22% 88%, rgba(255, 255, 255, 0.35), transparent 60%),
radial-gradient(1.5px 1.5px at 56% 12%, rgba(195, 200, 255, 0.5), transparent 60%);
background-size: 420px 420px;
opacity: 0.6;
}
@keyframes home-aurora {
0% { background-position: 0% 0%; }
50% { background-position: 60% 40%; }
100% { background-position: 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
body.home-page::before { animation: none; }
}
body.home-page .navbar {
position: sticky;
top: 0;
z-index: 20;
background: rgba(11, 11, 16, 0.72);
backdrop-filter: blur(14px) saturate(140%);
-webkit-backdrop-filter: blur(14px) saturate(140%);
border-bottom: 1px solid var(--home-line);
}
.navbar-discord {
display: inline-flex;
align-items: center;
gap: 0.4rem;
color: var(--text);
font-weight: 500;
}
.navbar-discord:hover { color: #fff; text-decoration: none; }
.navbar-user a.button-small { border-radius: 999px; padding: 0.35rem 0.95rem; }
.navbar-user a.button-small:hover { color: #1a1a1a; }
.page-full { display: block; overflow-x: clip; } /* Lichtschein des Banners ragt seitlich hinaus */
/* Banner randlos ueber die ganze Breite, direkt unter der Kopfzeile */
.home-banner {
position: relative;
line-height: 0;
}
/* Das Bild selbst blendet unten weich aus (Maske statt dunkler Ueberlagerung), damit der
farbige Seitenhintergrund durchscheint. Viele Zwischenstufen = kein sichtbarer Rand. */
.home-banner img {
position: relative;
z-index: 1;
display: block;
width: 100%;
height: auto;
max-height: 78vh;
object-fit: cover;
-webkit-mask-image: linear-gradient(to bottom,
#000 0%, #000 52%,
rgba(0, 0, 0, 0.94) 60%, rgba(0, 0, 0, 0.82) 67%, rgba(0, 0, 0, 0.64) 74%,
rgba(0, 0, 0, 0.44) 81%, rgba(0, 0, 0, 0.25) 88%, rgba(0, 0, 0, 0.1) 94%,
transparent 100%);
mask-image: linear-gradient(to bottom,
#000 0%, #000 52%,
rgba(0, 0, 0, 0.94) 60%, rgba(0, 0, 0, 0.82) 67%, rgba(0, 0, 0, 0.64) 74%,
rgba(0, 0, 0, 0.44) 81%, rgba(0, 0, 0, 0.25) 88%, rgba(0, 0, 0, 0.1) 94%,
transparent 100%);
}
/* Warmer Lichtschein: fuehrt das Gold des Banners unter dem Bild in die Seite weiter */
.home-banner::after {
content: '';
position: absolute;
left: 50%;
bottom: -22vh;
width: min(1400px, 120vw);
height: 55vh;
transform: translateX(-50%);
background:
radial-gradient(50% 45% at 50% 40%, rgba(230, 193, 90, 0.2), transparent 70%),
radial-gradient(35% 35% at 50% 45%, rgba(247, 227, 161, 0.1), transparent 70%);
filter: blur(20px);
pointer-events: none;
}
/* Eckdaten: schwebende Leiste, die in den unteren Bannerrand ragt */
.home-facts-wrap {
position: relative;
z-index: 2;
max-width: 1120px;
margin: -3.25rem auto 0;
padding: 0 1.5rem;
}
.home-facts {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
margin: 0;
padding: 0.5rem;
list-style: none;
background: rgba(20, 20, 28, 0.72);
backdrop-filter: blur(18px) saturate(150%);
-webkit-backdrop-filter: blur(18px) saturate(150%);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.home-facts li {
display: flex;
flex-direction: column;
gap: 0.15rem;
padding: 0.9rem 1.25rem;
border-radius: 14px;
}
.home-facts li + li { box-shadow: -1px 0 0 var(--home-line); }
.home-facts span {
color: var(--home-muted);
font-size: 0.78rem;
font-weight: 500;
letter-spacing: 0.02em;
}
.home-facts strong {
font-size: 1.15rem;
font-weight: 650;
letter-spacing: -0.01em;
}
.home-facts li.is-highlight {
background: linear-gradient(135deg, rgba(230, 193, 90, 0.18), rgba(230, 193, 90, 0.04));
box-shadow: inset 0 0 0 1px rgba(230, 193, 90, 0.35);
}
.home-facts li.is-highlight strong {
color: var(--home-gold);
font-size: 1.5rem;
line-height: 1.1;
}
/* Abschnitte */
.home-section {
max-width: 1120px;
margin: 0 auto;
padding: 5.5rem 1.5rem 0;
}
.home-pill {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.3rem 0.8rem;
border: 1px solid rgba(230, 193, 90, 0.35);
border-radius: 999px;
background: rgba(230, 193, 90, 0.08);
color: var(--home-gold);
font-size: 0.8rem;
font-weight: 600;
}
.home-page h1,
.home-page h2,
.home-page h3 {
color: var(--home-text);
font-weight: 700;
letter-spacing: -0.025em;
}
.home-gradient-text {
background: linear-gradient(100deg, #f7e3a1, #e6c15a 45%, #c89530);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* Ueber uns: grosse Ueberschrift links, Text rechts */
.home-about {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
gap: 3rem;
align-items: start;
}
.home-about h1 {
margin: 1rem 0 0;
font-size: clamp(2.4rem, 5.2vw, 4rem);
line-height: 1.02;
}
.home-about-text { padding-top: 2.6rem; }
.home-about-text p {
margin: 0 0 1.1rem;
color: #c9c7d3;
font-size: 1.1rem;
line-height: 1.75;
}
.home-about-text strong { color: var(--home-text); font-weight: 600; }
.home-link {
display: inline-flex;
align-items: center;
gap: 0.4rem;
margin-top: 0.4rem;
color: var(--home-gold);
font-weight: 600;
}
.home-link span { transition: transform 0.2s ease; }
.home-link:hover { color: #f7e3a1; text-decoration: none; }
.home-link:hover span { transform: translateX(4px); }
/* Gemeinschaftsfoto */
.home-photo-section { padding-top: 4rem; }
.home-photo {
position: relative;
margin: 0;
overflow: hidden;
border-radius: 28px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow:
0 30px 80px rgba(0, 0, 0, 0.55),
0 0 0 1px rgba(230, 193, 90, 0.08),
0 0 80px rgba(139, 92, 246, 0.12);
}
.home-photo img {
display: block;
width: 100%;
height: auto;
transition: transform 0.8s ease;
}
.home-photo:hover img { transform: scale(1.02); }
/* Dunkler Verlauf unten, damit die Bildunterschrift lesbar bleibt */
.home-photo::after {
content: '';
position: absolute;
inset: auto 0 0 0;
height: 40%;
background: linear-gradient(transparent, rgba(8, 8, 14, 0.75));
pointer-events: none;
}
.home-photo figcaption {
position: absolute;
left: 1.5rem;
right: 1.5rem;
bottom: 1.35rem;
z-index: 1;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.6rem 0.9rem;
color: #f1eff7;
font-weight: 600;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.home-photo-tag {
padding: 0.35rem 0.85rem;
border-radius: 999px;
background: rgba(20, 20, 28, 0.6);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.18);
font-size: 0.85rem;
text-shadow: none;
}
/* Werte: Bento-Raster */
.home-section-head { margin-bottom: 2rem; }
.home-section-head h2 {
margin: 0.9rem 0 0;
font-size: clamp(2rem, 4vw, 3rem);
line-height: 1.05;
}
.home-values {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: 1rem;
}
.home-value {
position: relative;
grid-column: span 5;
padding: 1.75rem;
overflow: hidden;
background: var(--home-surface);
border: 1px solid var(--home-line);
border-radius: 24px;
transition: border-color 0.25s ease, background 0.25s ease;
}
.home-value:nth-child(1),
.home-value:nth-child(4) { grid-column: span 7; }
.home-value::before {
content: '';
position: absolute;
inset: -40% -20% auto auto;
width: 60%;
aspect-ratio: 1;
background: radial-gradient(circle, rgba(230, 193, 90, 0.14), transparent 65%);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.home-value:hover { border-color: rgba(230, 193, 90, 0.3); background: rgba(255, 255, 255, 0.05); }
.home-value:hover::before { opacity: 1; }
.home-value-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 2.25rem;
}
.home-value-emoji {
display: grid;
place-items: center;
width: 52px;
height: 52px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--home-line);
font-size: 1.6rem;
}
.home-value-no {
color: rgba(255, 255, 255, 0.18);
font-size: 2.2rem;
font-weight: 700;
letter-spacing: -0.04em;
line-height: 1;
}
.home-value h3 {
margin: 0 0 0.55rem;
font-size: 1.4rem;
}
.home-value p {
margin: 0;
color: #b9b7c4;
line-height: 1.7;
}
/* Erste Schritte: Glas-Karten mit Icon, Pfeil zum naechsten Schritt, Ziel hervorgehoben */
.home-section-lead {
margin: 0.75rem 0 0;
max-width: 560px;
color: var(--home-muted);
font-size: 1.05rem;
}
.home-steps {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.25rem 2rem;
margin: 0;
padding: 0;
list-style: none;
}
.home-step {
position: relative;
padding: 1.5rem 1.5rem 1.6rem;
background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
border: 1px solid rgba(255, 255, 255, 0.09);
border-radius: 22px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-step:hover {
transform: translateY(-4px);
border-color: rgba(230, 193, 90, 0.35);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(230, 193, 90, 0.08);
}
/* Pfeil zwischen den Karten einer Reihe */
.home-step:not(:nth-child(3n))::after {
content: '';
position: absolute;
top: 50%;
right: -1.55rem;
width: 1.1rem;
height: 1.1rem;
border-top: 2px solid rgba(230, 193, 90, 0.55);
border-right: 2px solid rgba(230, 193, 90, 0.55);
transform: translateY(-50%) rotate(45deg) scale(0.6);
}
.home-step-head {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1.1rem;
}
.home-step-icon {
display: grid;
place-items: center;
width: 46px;
height: 46px;
border-radius: 14px;
background: linear-gradient(135deg, rgba(230, 193, 90, 0.28), rgba(139, 92, 246, 0.22));
border: 1px solid rgba(230, 193, 90, 0.35);
color: #f7e3a1;
box-shadow: 0 6px 18px rgba(230, 193, 90, 0.12);
}
.home-step-icon .icon,
.home-step-icon .discord-logo { color: #f7e3a1; width: 22px; height: 22px; }
.home-step-label {
color: var(--home-gold);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.home-step h3 {
margin: 0 0 0.45rem;
font-size: 1.2rem;
}
.home-step p {
position: relative;
z-index: 1;
margin: 0;
color: #c2c0cd;
line-height: 1.65;
}
/* Grosse, blasse Nummer in der Ecke */
.home-step-no {
position: absolute;
right: 1.1rem;
top: 0.4rem;
font-size: 4.5rem;
font-weight: 800;
line-height: 1;
letter-spacing: -0.05em;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
pointer-events: none;
}
/* Letzter Schritt = das Ziel */
.home-step:last-child {
background:
radial-gradient(120% 120% at 100% 0%, rgba(230, 193, 90, 0.28), transparent 60%),
linear-gradient(160deg, rgba(230, 193, 90, 0.14), rgba(255, 255, 255, 0.03));
border-color: rgba(230, 193, 90, 0.5);
box-shadow: 0 0 40px rgba(230, 193, 90, 0.12);
}
.home-step:last-child .home-step-icon {
background: linear-gradient(135deg, #f7e3a1, #e6c15a 55%, #c89530);
border-color: transparent;
}
.home-step:last-child .home-step-icon .icon { color: #1a1406; }
.home-step:last-child .home-step-no {
background: linear-gradient(180deg, rgba(247, 227, 161, 0.35), rgba(247, 227, 161, 0));
-webkit-background-clip: text;
background-clip: text;
}
/* Discord */
.home-discord {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
gap: 2.5rem;
padding: 2.5rem;
overflow: hidden;
border-radius: 28px;
border: 1px solid rgba(124, 135, 255, 0.35);
background:
radial-gradient(700px 300px at 0% 0%, rgba(88, 101, 242, 0.45), transparent 70%),
radial-gradient(500px 300px at 100% 100%, rgba(230, 193, 90, 0.12), transparent 70%),
#13142a;
}
.home-discord-server {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.25rem;
}
.home-discord-server img {
width: 64px;
height: 64px;
border-radius: 20px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.home-discord-label {
display: inline-flex;
align-items: center;
gap: 0.4rem;
color: #c3c8ff;
font-size: 0.85rem;
font-weight: 600;
}
.home-discord-label .discord-logo { color: #c3c8ff; }
.home-discord h2 {
margin: 0.15rem 0 0;
font-size: clamp(1.6rem, 3vw, 2.2rem);
line-height: 1.1;
}
.home-discord-main p {
margin: 0 0 1.75rem;
color: #cfd2ee;
font-size: 1.05rem;
line-height: 1.7;
}
.home-discord-button {
display: inline-flex;
align-items: center;
gap: 0.6rem;
padding: 0.9rem 1.6rem;
border-radius: 999px;
background: #fff;
color: #1e1f3b;
font-weight: 700;
font-size: 1.02rem;
box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-discord-button .discord-logo { color: var(--discord); }
.home-discord-button:hover {
color: #1e1f3b;
text-decoration: none;
transform: translateY(-2px);
box-shadow: 0 14px 36px rgba(88, 101, 242, 0.5);
}
.home-discord-stats {
display: grid;
gap: 0.75rem;
align-content: center;
}
.home-discord-stats > div {
padding: 1.1rem 1.35rem;
border-radius: 18px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.home-discord-stats strong {
display: flex;
align-items: center;
gap: 0.6rem;
font-size: 2rem;
font-weight: 700;
letter-spacing: -0.03em;
line-height: 1.1;
}
.home-discord-stats span { color: #aab0d8; font-size: 0.9rem; }
.pulse {
position: relative;
width: 12px;
height: 12px;
border-radius: 50%;
background: #23a55a;
}
.pulse::after {
content: '';
position: absolute;
inset: 0;
border-radius: 50%;
background: #23a55a;
animation: home-pulse 2s ease-out infinite;
}
@keyframes home-pulse {
from { transform: scale(1); opacity: 0.7; }
to { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.pulse::after { animation: none; }
}
.home-footer {
max-width: 1120px;
margin: 5.5rem auto 0;
padding: 1.75rem 1.5rem 2.5rem;
border-top: 1px solid var(--home-line);
text-align: center;
color: var(--home-muted);
font-size: 0.85rem;
}
.home-footer p { margin: 0.2rem 0; }
@media (max-width: 900px) {
.home-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-facts li + li { box-shadow: none; }
.home-facts li.is-highlight { grid-column: 1 / -1; order: -1; }
.home-about { grid-template-columns: 1fr; gap: 0; }
.home-about-text { padding-top: 1.5rem; }
.home-value,
.home-value:nth-child(1),
.home-value:nth-child(4) { grid-column: span 12; }
.home-discord { grid-template-columns: 1fr; padding: 1.75rem; }
.home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.home-step:not(:nth-child(3n))::after { display: none; }
.home-discord-stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}
@media (max-width: 520px) {
.navbar { padding: 0.6rem 1rem; }
.navbar-brand img { height: 36px; }
.navbar-discord { font-size: 0; gap: 0; } /* nur das Logo */
.home-facts-wrap { margin-top: -1.5rem; padding: 0 1rem; }
.home-facts li { padding: 0.75rem 0.9rem; }
.home-section { padding: 4rem 1rem 0; }
.home-about-text p { font-size: 1rem; }
.home-value { padding: 1.4rem; border-radius: 20px; }
.home-value-top { margin-bottom: 1.5rem; }
.home-discord { border-radius: 22px; padding: 1.4rem; }
.home-steps { grid-template-columns: 1fr; }
.home-step { padding: 1.25rem; border-radius: 18px; }
.home-step-no { font-size: 3.6rem; }
.home-discord-button { width: 100%; justify-content: center; }
.home-discord-stats strong { font-size: 1.6rem; }
.home-footer { margin-top: 4rem; }
.home-photo-section { padding-top: 3rem; }
.home-photo { border-radius: 18px; }
.home-photo figcaption { left: 0.9rem; right: 0.9rem; bottom: 0.8rem; font-size: 0.85rem; }
}
/* --- Administrator-Rechte (users.is_admin) --- */
.badge-admin {
display: inline-flex;
align-items: center;
gap: 0.25rem;
border-color: var(--gold);
color: var(--gold);
background: rgba(201, 162, 39, 0.12);
}
.badge-admin .icon { width: 13px; height: 13px; }
.admin-toggle {
padding: 0.85rem 1rem;
border: 1px solid rgba(201, 162, 39, 0.4);
border-radius: 8px;
background: rgba(201, 162, 39, 0.07);
}
.admin-toggle label {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--gold);
}
.admin-toggle .icon { width: 18px; height: 18px; }
.field-hint .icon { width: 14px; height: 14px; vertical-align: -2px; }
/* Entwickler der Website (DEVELOPER_DISCORD_IDS) */
.badge-developer {
display: inline-flex;
align-items: center;
gap: 0.25rem;
border-color: #8b5cf6;
color: #b79cff;
background: rgba(139, 92, 246, 0.14);
}
.badge-developer .icon { width: 13px; height: 13px; }