--card-bg: #1a1a1b; --card-border: #3a3a3c; --accent-color: #6aaa64; } [data-theme="light"] { --bg-solid: #f0f2f5; --bg-gradient: radial-gradient(circle at top, #f0f2f5 0%, #e4e6eb 100%); --header-border: rgba(200, 200, 204, 0.8); --text-main: #1a1a1b; --text-muted: #65676b; --card-bg: #ffffff; --card-border: #e4e6eb; --accent-color: #16a34a; } html { background: var(--bg-solid); min-height: 100%; transition: background 0.3s; } body { min-height: 100vh; background: var(--bg-solid); color: var(--text-main); font-family: system-ui, -apple-system, Arial, sans-serif; margin: 0; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; transition: background 0.3s, color 0.3s; position: relative; z-index: 1; } body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-gradient); z-index: -1; transition: background 0.3s; pointer-events: none; } /* Прелоадер с наполняющимся зерном — как на остальных страницах сайта, для единого ощущения переходов */ #page-transition-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(17, 17, 18, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } [data-theme="light"] #page-transition-overlay { background: rgba(240, 242, 245, 0.75); } #page-transition-overlay.active { opacity: 1; pointer-events: auto; } .loader-grain-container { width: 54px; height: 54px; position: relative; display: flex; align-items: center; justify-content: center; animation: grainPulse 1.6s ease-in-out infinite; } @keyframes grainPulse { 0%, 100% { transform: scale(0.96); opacity: 0.85; } 50% { transform: scale(1.04); opacity: 1; } } .loader-grain-outline { width: 100%; height: 100%; fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .loader-grain-fill { position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1); } .loader-grain-fill svg { width: 54px; height: 54px; fill: #6aaa64; stroke: #6aaa64; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } main { width: 100%; max-width: 600px; margin: auto 0; } .content-card { width: 100%; background: var(--card-bg); border: 2px solid var(--card-border); border-radius: 16px; padding: 30px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); } .header-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--card-border); } .nav-btn-group { display: flex; gap: 8px; align-items: center; } .back-link { color: var(--accent-color); text-decoration: none; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; -webkit-user-select: none; user-select: none; outline: none; } .back-link:hover { text-decoration: underline; } h1 { font-size: 1.6rem; font-weight: 800; margin: 0 0 6px; letter-spacing: 0.05em; } .updated { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 20px; } h2 { font-size: 1.1rem; color: var(--accent-color); margin-top: 20px; margin-bottom: 8px; font-weight: 700; } p, li { font-size: 0.9rem; color: var(--text-main); opacity: 0.9; margin-bottom: 10px; line-height: 1.5; } ul { padding-left: 18px; margin-bottom: 12px; } a { color: var(--accent-color); text-decoration: none; } a:hover { text-decoration: underline; } .theme-btn, .lang-btn { background: transparent; border: 1px solid var(--card-border); color: var(--text-main); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 0.8rem; font-weight: 600; user-select: none; } /* Баннер согласия на cookies */ #cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; display: none; justify-content: center; padding: 16px; transform: translateY(120%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); } #cookie-banner.visible { display: flex; transform: translateY(0); } .cookie-card { width: 100%; max-width: 600px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); display: flex; flex-direction: column; gap: 12px; } .cookie-text { font-size: 0.82rem; color: var(--text-main); opacity: 0.9; line-height: 1.45; margin: 0; } .cookie-actions { display: flex; gap: 10px; } .cookie-btn { flex: 1; border-radius: 10px; padding: 10px 14px; font-size: 0.82rem; font-weight: 700; cursor: pointer; border: 1px solid var(--card-border); } .cookie-btn.accept { background: var(--accent-color); border-color: var(--accent-color); color: #fff; } .cookie-btn.decline { background: transparent; color: var(--text-main); }