:root { --bg: #0f1419; --bg-elevated: #171d25; --bg-panel: #1c2430; --border: #2a3544; --text: #e8edf4; --text-muted: #8b9cb0; --accent: #5eb3ff; --accent-soft: rgba(94, 179, 255, 0.12); --success: #4ade80; --warning: #fbbf24; --danger: #f87171; --radius: 12px; --shadow: 0 8px 32px rgba(0, 0, 0, 0.35); --font: "Segoe UI", system-ui, -apple-system, sans-serif; } * { box-sizing: border-box; } body { margin: 0; font-family: var(--font); background: linear-gradient(135deg, #0b1015 0%, #121820 50%, #0f1419 100%); color: var(--text); min-height: 100vh; } code { font-family: ui-monospace, monospace; font-size: 0.9em; background: rgba(255, 255, 255, 0.06); padding: 0.15em 0.4em; border-radius: 4px; } .layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; } .sidebar { background: var(--bg-elevated); border-right: 1px solid var(--border); padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 2rem; } .brand { display: flex; align-items: center; gap: 0.75rem; padding: 0 0.5rem; } .brand-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #3d7fd6); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; } .brand small { display: block; color: var(--text-muted); font-size: 0.75rem; } .nav { display: flex; flex-direction: column; gap: 0.35rem; } .nav-link { color: var(--text-muted); text-decoration: none; padding: 0.65rem 0.85rem; border-radius: 8px; transition: background 0.15s, color 0.15s; } .nav-link:hover, .nav-link.active { background: var(--accent-soft); color: var(--text); } .sidebar-footer { margin-top: auto; font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; padding: 0 0.5rem; } .main { padding: 2rem; max-width: 1200px; } .page-header { margin-bottom: 1.75rem; } .page-header h1 { margin: 0 0 0.35rem; font-size: 1.85rem; } .subtitle { margin: 0; color: var(--text-muted); } .alert { padding: 0.85rem 1rem; border-radius: var(--radius); margin-bottom: 1.5rem; border: 1px solid transparent; } .alert-warning { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.25); color: #fde68a; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; } .stat-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); } .stat-label { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.35rem; } .stat-value { font-size: 1.75rem; line-height: 1.1; } .stat-value.accent { color: var(--success); } .panel { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); } .panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; } .panel-header h2 { margin: 0; font-size: 1.1rem; } .badge { background: var(--accent-soft); color: var(--accent); padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.85rem; } .table { width: 100%; border-collapse: collapse; } .table th, .table td { text-align: left; padding: 0.75rem 0.65rem; border-bottom: 1px solid var(--border); } .table th { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .table tbody tr:last-child td { border-bottom: none; } .table-clickable tbody tr { cursor: pointer; transition: background 0.12s; } .table-clickable tbody tr:hover { background: rgba(255, 255, 255, 0.03); } .player-name { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; } .muted { color: var(--text-muted); font-size: 0.82rem; } .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; } .status-dot.online { background: var(--success); box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); } .status-dot.offline { background: #64748b; } .status-dot.inline { width: 7px; height: 7px; } .tag { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; } .tag-online { background: rgba(74, 222, 128, 0.15); color: var(--success); } .tag-offline { background: rgba(100, 116, 139, 0.2); color: #94a3b8; } .tag-alive { background: rgba(74, 222, 128, 0.15); color: var(--success); } .tag-dead { background: rgba(248, 113, 113, 0.15); color: var(--danger); } .death-date { display: block; margin-top: 0.2rem; } .link { color: var(--accent); text-decoration: none; } .link:hover { text-decoration: underline; } .empty { color: var(--text-muted); margin: 0; } .profile-layout { display: grid; gap: 1.5rem; } .profile-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; } .avatar { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #334155, #1e293b); display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; } .detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 0; } .detail-grid div { background: rgba(0, 0, 0, 0.15); border-radius: 8px; padding: 0.85rem; } .detail-grid dt { margin: 0 0 0.25rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); } .detail-grid dd { margin: 0; font-size: 1.05rem; font-weight: 600; } .chip-list { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } .chip-label { color: var(--text-muted); font-size: 0.85rem; margin-right: 0.25rem; } .chip { background: var(--accent-soft); color: var(--accent); padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.85rem; } .coming-soon { border-style: dashed; } .coming-soon-page, .error-page { text-align: center; padding: 3rem 2rem; } .coming-soon-icon { font-size: 2.5rem; margin-bottom: 1rem; } .btn { display: inline-block; margin-top: 1.25rem; background: var(--accent); color: #0b1015; text-decoration: none; padding: 0.65rem 1.1rem; border-radius: 8px; font-weight: 600; } .btn:hover { filter: brightness(1.08); } .back-link { margin-top: -0.5rem; } .group-info { margin-top: 1rem; color: var(--text-muted); } .auth-panel { max-width: 480px; } .auth-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; } .auth-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; color: var(--text-muted); } .auth-form input { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); padding: 0.7rem 0.85rem; font-size: 1rem; } .auth-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .btn-block { width: 100%; margin-top: 0.25rem; border: none; cursor: pointer; font-size: 1rem; } .btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); text-decoration: none; padding: 0.65rem 1.1rem; border-radius: 8px; font-weight: 600; cursor: pointer; } .btn-secondary:hover { background: rgba(255, 255, 255, 0.04); } .profile-actions { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; } .auth-help h2 { margin: 0 0 0.5rem; font-size: 1rem; } .auth-help p { margin: 0 0 0.75rem; color: var(--text-muted); } .auth-help pre { margin: 0 0 0.75rem; padding: 0.85rem 1rem; background: rgba(0, 0, 0, 0.25); border-radius: 8px; overflow-x: auto; } .alert-error { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.25); color: #fecaca; } .inventory-panel-embedded { margin-bottom: 0; padding: 0; border: none; box-shadow: none; background: transparent; } .character-inventory-block { margin-bottom: 1.5rem; } .character-inventory-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; } .character-inventory-head h2 { margin: 0 0 0.25rem; font-size: 1.15rem; } .character-meta { margin: 0; } .section-intro { margin: 0; } .inventory-embedded-meta { display: flex; justify-content: flex-end; margin-bottom: 0.75rem; } .inventory-panel { margin-top: 0; } .inventory-sections { display: grid; grid-template-columns: minmax(88px, auto) minmax(88px, auto) 1fr; grid-template-areas: "hotbar hotbar hotbar" "storage storage storage" "armor utility ."; gap: 1.25rem; align-items: start; } .inventory-section--hotbar { grid-area: hotbar; } .inventory-section--storage { grid-area: storage; } .inventory-section--armor { grid-area: armor; } .inventory-section--utility { grid-area: utility; } .inventory-section--hotbar .inventory-grid, .inventory-section--storage .inventory-grid { width: 100%; max-width: none; } @media (max-width: 900px) { .inventory-sections { grid-template-columns: 1fr; grid-template-areas: "hotbar" "storage" "armor" "utility"; } .inventory-section--armor .inventory-grid, .inventory-section--utility .inventory-grid { max-width: 120px; } } .inventory-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.65rem; } .inventory-section-head h3 { margin: 0; font-size: 0.95rem; color: var(--accent); } .inventory-grid { display: grid; gap: 0.4rem; } .inventory-grid.cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); } .inventory-grid.cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); max-width: 120px; } .inventory-slot { aspect-ratio: 1; border: 1px solid var(--border); border-radius: 8px; background: rgba(0, 0, 0, 0.2); padding: 0.35rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 72px; overflow: hidden; } .inventory-slot.empty { opacity: 0.35; } .inventory-slot.filled { border-color: rgba(94, 179, 255, 0.35); background: rgba(94, 179, 255, 0.08); align-items: center; text-align: center; } .slot-icon { width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; flex-shrink: 0; } .item-row { display: flex; align-items: center; gap: 0.65rem; } .item-row-icon { width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; flex-shrink: 0; } .slot-name { font-size: 0.62rem; line-height: 1.15; font-weight: 600; word-break: break-word; margin-top: 0.15rem; } .slot-qty { align-self: flex-end; font-size: 0.72rem; color: var(--accent); font-weight: 700; } .slot-dur { font-size: 0.62rem; color: var(--text-muted); } .inventory-list { margin-top: 1.25rem; } .inventory-list summary { cursor: pointer; color: var(--accent); margin-bottom: 0.75rem; } @media (max-width: 768px) { .layout { grid-template-columns: 1fr; } .sidebar { border-right: none; border-bottom: 1px solid var(--border); } .nav { flex-direction: row; flex-wrap: wrap; } .main { padding: 1rem; } .table { display: block; overflow-x: auto; } .inventory-grid.cols-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }