* { box-sizing: border-box; margin: 0; padding: 0; }
body { display: flex; height: 100vh; background: #0b0f1a; color: #e0e8f0; font-family: 'Segoe UI', system-ui, sans-serif; overflow: hidden; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00ffff; }

.sidebar { width: 250px; background: rgba(20, 30, 45, 0.8); border-right: 1px solid rgba(0, 255, 255, 0.2); display: flex; flex-direction: column; padding: 20px 0; overflow-y: auto; }
.game-item { padding: 15px 20px; cursor: pointer; font-weight: bold; transition: 0.2s; border-left: 4px solid transparent; color: #8899aa; }
.game-item:hover { background: rgba(0, 255, 255, 0.05); color: #00ffff; }
.game-item.active { background: rgba(0, 255, 255, 0.1); border-left-color: #00ffff; color: #00ffff; }

.main-content { flex: 1; display: flex; flex-direction: column; padding: 30px; overflow-y: auto; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid rgba(0, 255, 255, 0.2); padding-bottom: 20px; }
.header h1 { color: #00ffff; font-size: 24px; }

.news-list { display: flex; flex-direction: column; gap: 15px; }
.news-card { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(0, 255, 255, 0.15); border-radius: 10px; padding: 20px; position: relative; transition: 0.2s; }
.news-card:hover { border-color: rgba(0, 255, 255, 0.4); }
.news-card h3 { color: #00ffff; margin-bottom: 10px; font-size: 18px; }
.news-card p { color: #8899aa; font-size: 14px; margin-bottom: 15px; line-height: 1.5; }
.news-meta { font-size: 12px; color: #667788; font-family: monospace; display: flex; gap: 15px; }
.news-actions { position: absolute; top: 20px; right: 20px; display: flex; gap: 10px; }

.empty-state { text-align: center; color: #667788; margin-top: 50px; font-size: 16px; }

.btn-primary, .btn-secondary, .btn-danger { padding: 8px 16px; border-radius: 6px; cursor: pointer; font-weight: bold; border: none; font-family: inherit; transition: 0.2s; font-size: 13px; }
.btn-primary { background: #00ffff; color: #001018; }
.btn-primary:hover { opacity: 0.8; }
.btn-secondary { background: transparent; border: 1px solid #8899aa; color: #8899aa; }
.btn-secondary:hover { border-color: #e0e8f0; color: #e0e8f0; }
.btn-danger { background: transparent; border: 1px solid #ff4444; color: #ff4444; }
.btn-danger:hover { background: #ff4444; color: #fff; }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); z-index: 1000; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal { background: #141e2d; border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 12px; padding: 25px; width: 700px; max-width: 95%; max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.modal h2 { color: #00ffff; margin-bottom: 15px; font-size: 20px; }
.modal label { display: block; font-size: 12px; color: #8899aa; margin-bottom: 5px; margin-top: 12px; }

/* Сетка для полей */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 10px; }
.form-col { display: flex; flex-direction: column; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; gap: 0; } }

.modal input, .modal textarea { width: 100%; padding: 10px; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(0, 255, 255, 0.2); border-radius: 6px; color: #e0e8f0; font-family: inherit; font-size: 14px; outline: none; }
.modal input:focus, .modal textarea:focus { border-color: #00ffff; }
.modal textarea { resize: vertical; min-height: 80px; }
.modal input[type="date"] { color-scheme: dark; cursor: pointer; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }