body { margin: 0; font-family: Arial, sans-serif; background: #0f172a; color: #fff; }
[id] { scroll-margin-top: 20px; }
.sidebar { position: fixed; left: 0px; top: 0; width: 280px; height: 100vh; overflow: auto; background: #0f172a; padding: 15px; box-sizing: border-box; border-right: 1px solid #1e293b; }
.sidebar a { display: block; color: #fff; text-decoration: none; padding: 6px; border-radius: 4px; margin: 2px 0; font-size: 0.8em; }
.sidebar a.active-menu { background: #ffb22b; color: #0f172a; font-weight: bold; }
.sidebar a:hover { background: #1e293b; }
.sidebar details { margin: 8px 0; }
.sidebar summary { cursor: pointer; padding: 8px; border-radius: 6px; font-weight: bold; list-style: none; display: flex; justify-content: space-between; }
.sidebar summary:hover { background: #1e293b; }
.sidebar summary::after { content: "▾"; }
.sidebar details[open] summary::after { content: ""; }
.dropdown-content { padding-left: 10px; border-left: 2px solid #1e293b; margin-left: 10px; }
.menu-note { font-size: 0.8em; color: #ffb22b; font-style: italic; padding: 6px; margin: 2px 0; }
.main { margin-left: 280px; padding: 20px; padding-bottom: 70px; }
.section { background: #1e293b; padding: 20px; margin-bottom: 25px; border-radius: 20px; }
img { width: 100%; height: auto; display: block; border: 1px solid #334155; border-radius: 6px; margin-top: 10px; }
h2 { color: #ffb22b; border-bottom: 2px solid #334155; padding-bottom: 8px; }
h3 { color: #cbd5e1; margin-top: 25px; padding-top: 10px; border-top: 1px solid #334155; }
.logo-text { font-size: 30px; font-weight: 900; letter-spacing: 6px; text-align: center; margin-bottom: 15px; text-transform: uppercase; animation: rgbGlow 2s infinite; }
@keyframes rgbGlow { 0% { color: #fbbf24; text-shadow: 0 0 6px rgba(251, 191, 36, 0.4); } 50% { color: #38bdf8; text-shadow: 0 0 6px rgba(56, 189, 248, 0.4); } 100% { color: #fbbf24; text-shadow: 0 0 6px rgba(251, 191, 36, 0.4); } }
#menuToggle { display: none; }
@media (max-width: 768px) { .sidebar { position: fixed; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: 0.3s ease; z-index: 999; height: 100vh; } .sidebar.active { transform: translateX(0); } .main { margin-left: 0; padding: 10px; } #menuToggle { display: block; position: fixed; top: 10px; left: 10px; z-index: 1000; background: #1e293b; color: white; border: none; padding: 10px 12px; border-radius: 6px; font-size: 18px; } .section img { width: 100% !important; } .version-badge { font-size: 0.65em !important; padding: 4px 8px !important; } }
.lang-switcher { display: flex; gap: 10px; margin-bottom: 15px; padding: 5px; background: #1e293b; border-radius: 8px; border: 1px solid #334155; }
.lang-btn { flex: 1; background: transparent; color: #94a3b8; border: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 0.85em; font-weight: bold; transition: all 0.2s ease; }
.lang-btn.active { background: #ffb22b; color: #0f172a; }
.download-tools { position: fixed; top: 10px; right: 20px; z-index: 99999; }
.download-tools button { padding: 10px 18px; background: #ffb22b; border: 0; border-radius: 6px; cursor: pointer; font-weight: bold; }
.version-badge { position: sticky; margin-top: 20px; background: #1e293b; color: #ffb22b; border: 1px solid #334155; padding: 6px 14px; border-radius: 20px; font-size: 0.8em; font-weight: bold; font-family: 'Courier New', monospace; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.4); user-select: none; transition: background 0.2s ease, transform 0.2s ease; }
.version-badge:hover { background: #334155; transform: translateY(-2px); }
.changelog-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 100000; align-items: center; justify-content: center; }
.changelog-overlay.active { display: flex; }
.changelog-box { background: #1e293b; border: 1px solid #334155; border-radius: 14px; width: 90%; max-width: 480px; max-height: 75vh; overflow-y: auto; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.changelog-box h3 { margin-top: 0; border-top: none; padding-top: 0; color: #ffb22b; display: flex; justify-content: space-between; align-items: center; }
.changelog-close { cursor: pointer; background: #334155; border: none; color: #fff; border-radius: 6px; padding: 4px 10px; font-size: 0.9em; }
.changelog-entry { border-bottom: 1px solid #334155; padding: 10px 0; }
.changelog-entry:last-child { border-bottom: none; }
.changelog-version { color: #38bdf8; font-family: 'Courier New', monospace; font-weight: bold; font-size: 0.9em; }
.changelog-date { color: #94a3b8; font-size: 0.75em; margin-left: 8px; }
.changelog-entry ul { margin: 6px 0 0 0; padding-left: 18px; font-size: 0.85em; color: #cbd5e1; }
.changelog-archive-toggle { display: block; width: 100%; margin-top: 10px; padding: 8px; background: #334155; border: 1px dashed #475569; border-radius: 8px; color: #cbd5e1; font-size: 0.8em; font-weight: bold; cursor: pointer; text-align: center; }
.changelog-archive-toggle:hover { background: #475569; }
@media print { .sidebar, #menuToggle, .download-tools, .version-badge, .changelog-overlay, #changelogArchiveOverlay { display: none !important; } @page { size: A4; margin: 10mm; } body { background: white; color: black; } .main { margin-left: 0 !important; padding: 0 !important; } .section { background: white !important; color: black !important; page-break-inside: avoid; break-inside: avoid; } .section img { max-height: 270mm; width: auto !important; max-width: 100%; margin: auto; } h2, h3 { page-break-after: avoid; break-after: avoid; } }
