:root {
	--bg: #0b1220;
	--panel: rgba(255,255,255,0.05);
	--panel-strong: rgba(255,255,255,0.08);
	--border: rgba(255,255,255,0.1);
	--text: #f8fbff;
	--muted: #c1cbda;
	--accent: #8ef3c5;
	--accent-2: #ffc45a;
	--shadow: 0 24px 70px rgba(0,0,0,0.45);
	--gradient: radial-gradient(140% 140% at 20% 20%, rgba(142,243,197,0.16), transparent 45%),
			radial-gradient(120% 120% at 80% 10%, rgba(255,196,90,0.16), transparent 40%),
			linear-gradient(135deg, #0c182a 0%, #0d1221 55%, #0a0f1c 100%);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--gradient); color: var(--text); font-family: 'Sora', sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.page { max-width: 1200px; margin: 0 auto; padding: 28px 18px 64px; }
header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border:1px solid var(--border); border-radius:14px; background:var(--panel); box-shadow: var(--shadow); }
.logo { display:flex; align-items:center; gap:10px; font-weight:700; }
.logo-mark { width:40px; height:40px; border-radius:12px; background: linear-gradient(135deg, #8ef3c5, #ffc45a); display:grid; place-items:center; color:#0b1220; font-weight:800; }
.layout { display:grid; grid-template-columns: 240px 1fr; gap:18px; align-items:start; }
.sidebar { position:sticky; top:16px; padding:14px; border-radius:14px; border:1px solid var(--border); background:var(--panel); box-shadow: var(--shadow); }
.section { margin-top:32px; }
.card { padding:18px; border-radius:14px; background: var(--panel); border:1px solid var(--border); box-shadow: var(--shadow); }
.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:14px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { margin-bottom: 10px; padding:12px; border-radius:12px; border:1px solid var(--border); background: var(--panel-strong); }
.body-text { margin-top:8px; white-space: pre-wrap; color: var(--text); }
.hidden { display:none; }
label { display:block; margin-bottom:6px; color: var(--muted); }
input, select, textarea { width:100%; padding:12px; border-radius:12px; border:1px solid var(--border); background: #0f1728; color: var(--text); font-family: inherit; }
textarea { min-height: 140px; resize: vertical; }
.btn { padding:12px 16px; border-radius:12px; border:1px solid transparent; font-weight:600; cursor:pointer; background: linear-gradient(135deg, #8ef3c5, #ffc45a); color:#0b1220; box-shadow: 0 12px 30px rgba(0,0,0,0.28); }
.btn-ghost { padding:10px 12px; border-radius:12px; border:1px solid var(--border); background: var(--panel-strong); color: var(--text); cursor:pointer; }
.muted { color: var(--muted); font-size: 14px; }
.error { color: #ff9494; }
.success { color: #8ef3c5; }
.cat-list { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.cat-list a { display:block; padding:10px 12px; border-radius:10px; border:1px solid var(--border); color: var(--text); background: var(--panel-strong); }
.cat-active { border-color: rgba(142,243,197,0.7); box-shadow: 0 10px 24px rgba(142,243,197,0.12); }
.status { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; border:1px solid var(--border); font-size:12px; background: var(--panel-strong); color: var(--muted); }
.replies { margin-top:10px; padding:12px; border-radius:10px; border:1px solid var(--border); background: var(--panel); }
.reply { margin-bottom:10px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.reply:last-child { margin-bottom:0; padding-bottom:0; border-bottom:none; }
.inline-form { margin-top:10px; padding:10px; border:1px dashed var(--border); border-radius:10px; background: rgba(255,255,255,0.03); }
.badge { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:10px; border:1px solid var(--border); font-size:12px; }
.topbar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.lang-switcher { display: flex; gap: 6px; align-items: center; }
.lang-btn { min-width: 36px; height: 32px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; transition: 200ms; opacity: 0.5; color: var(--text); }
.lang-btn:hover { background: rgba(255,255,255,0.08); opacity: 0.7; }
.lang-btn.active { opacity: 1; border-color: var(--accent); background: rgba(142,243,197,0.1); }
.footer { margin-top:56px; padding:48px 20px; color:var(--text); border-top:1px solid var(--border); }
.footer-content { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:40px; }
.footer-section h4 { margin:0 0 12px; font-family:'Space Grotesk', 'Sora', sans-serif; font-size:15px; font-weight:600; }
.footer-section p, .footer-section a { margin:0 0 8px; display:block; color:var(--muted); font-size:14px; line-height:1.6; }
.footer-section a { color:var(--accent); text-decoration:none; transition:150ms; }
.footer-section a:hover { color:var(--accent-2); }
.footer-copyright { margin-top:40px; padding-top:20px; border-top:1px solid var(--border); text-align:center; color:var(--muted); font-size:13px; }
@media (max-width: 720px) {
	header { flex-direction: column; align-items: flex-start; }
	.layout { grid-template-columns: 1fr; }
	.sidebar { position:static; }
}
