﻿/* =====================================================
   ФОРУМ ПРО ТЮНИНГ АВТОМОБИЛЕЙ - CYBER BLUE STYLE
   Синяя неоновая схема, светлый фон
   ===================================================== */

:root {
    --neon-lime: #0066FF;
    --neon-lime-dark: #0044CC;
    --neon-lime-bright: #3388FF;
    --neon-purple: #7700FF;
    --neon-purple-dark: #5500CC;
    --neon-purple-bright: #9933FF;
    --neon-cyan: #00AAFF;
    --neon-cyan-dark: #0088CC;
    --neon-pink: #FF4400;
    --dark-bg: #F0F4FF;
    --dark-gray: #E0E8FF;
    --gray: #D0DCFF;
    --text-white: #111133;
    --text-light: #334466;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* =====================================================
   ОСНОВНЫЕ СТИЛИ BODY
   ===================================================== */

body {
    font-size: 14px;
    padding: 0;
    margin: 6px;
    background: #F0F4FF;
    color: var(--text-white);
    font: 12px 'Arial Black', 'Impact', Verdana, Arial, Helvetica, sans-serif;
    scrollbar-face-color: var(--neon-lime);
    scrollbar-highlight-color: var(--neon-cyan);
    scrollbar-shadow-color: var(--neon-purple);
    scrollbar-3dlight-color: var(--neon-lime-bright);
    scrollbar-arrow-color: var(--neon-purple);
    scrollbar-track-color: #E0E8FF;
    scrollbar-darkshadow-color: #AABBDD;
}

/* Кастомный скроллбар для современных браузеров */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #E0E8FF;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-lime), var(--neon-cyan));
    border: 2px solid var(--neon-purple);
    border-radius: 7px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-lime-bright), var(--neon-cyan));
    box-shadow: 0 0 12px var(--neon-lime);
}

font {
    font: 14px Verdana, Arial, Helvetica, sans-serif;
}

th, td, p {
    font: 14px Verdana, Arial, Helvetica, sans-serif;
}

/* =====================================================
   ТИПОГРАФИЯ
   ===================================================== */

.gensmall {
    font-size: 13px;
}

td.genmed, .genmed {
    font-size: 12px;
}

.explaintitle {
    font-weight: bold;
    font-size: 13px;
    color: var(--neon-lime);
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.5);
    text-transform: uppercase;
}

.maintitle, h1 {
    font: bold 28px/120% 'Arial Black', 'Impact', sans-serif;
    color: var(--neon-lime);
    text-decoration: none;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(0, 102, 255, 0.6), 0 0 25px rgba(0, 102, 255, 0.3);
    text-transform: uppercase;
    animation: neon-flicker 3s ease-in-out infinite;
}

h1 {
    font-size: 30px;
}

h2 {
    font: bold 24px/180% 'Arial Black', 'Impact', sans-serif;
    text-decoration: none;
    color: var(--neon-cyan);
    border-bottom: 3px solid var(--neon-purple);
    padding-bottom: 8px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    font: bold 20px/180% 'Arial Black', 'Impact', sans-serif;
    text-decoration: none;
    color: var(--neon-purple-bright);
    text-shadow: 0 0 8px rgba(119, 0, 255, 0.5);
    text-transform: uppercase;
}

h3 {
    color: var(--neon-pink);
    font-size: 16px;
    margin: 8px 0;
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-shadow: 0 0 6px rgba(255, 68, 0, 0.5);
    text-transform: uppercase;
    font-weight: bold;
}

/* =====================================================
   ССЫЛКИ
   ===================================================== */

a:link {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(0, 170, 255, 0.4);
}

a:active {
    color: var(--neon-lime);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.5);
}

a:visited {
    color: var(--neon-purple);
    text-decoration: none;
    text-shadow: 0 0 4px rgba(119, 0, 255, 0.4);
}

a:hover {
    color: var(--neon-lime);
    text-decoration: underline;
    background: rgba(0, 102, 255, 0.08);
    padding: 0 2px;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.6);
}

a.postlink {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(0, 170, 255, 0.4);
}

a.postlink:hover {
    color: var(--neon-lime);
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.6);
}

/* =====================================================
   ОСНОВНЫЕ КОНТЕЙНЕРЫ
   ===================================================== */

.bodyline {
    border: 3px solid var(--neon-lime);
    background: #FFFFFF;
    padding: 0;
    margin: 10px 0;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.25), inset 0 0 8px rgba(0, 102, 255, 0.06);
}

.bodyline:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 18px rgba(0, 170, 255, 0.35), inset 0 0 12px rgba(0, 170, 255, 0.08);
}

.forumline {
    border: 3px solid var(--neon-purple);
    background: #F8F6FF;
    padding: 0;
    margin: 10px 0;
    box-shadow: 0 0 12px rgba(119, 0, 255, 0.2), inset 0 0 8px rgba(119, 0, 255, 0.05);
}

.forumline:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 18px rgba(255, 68, 0, 0.25), inset 0 0 12px rgba(255, 68, 0, 0.06);
}

/* =====================================================
   ТАБЛИЦЫ
   ===================================================== */

.row1 {
    background: #FFFFFF;
    border-bottom: 2px solid #C8D8FF;
    padding: 6px;
    transition: all 0.2s ease;
}

.row1:hover {
    background: rgba(0, 102, 255, 0.04);
    border-bottom-color: var(--neon-lime);
}

.row2 {
    background: #F0F4FF;
    border-bottom: 2px solid #C8D8FF;
    padding: 6px;
    transition: all 0.2s ease;
}

.row2:hover {
    background: rgba(119, 0, 255, 0.04);
    border-bottom-color: var(--neon-purple);
}

.row3 {
    background: #E8EEFF;
    border-bottom: 2px solid #C8D8FF;
    padding: 6px;
}

.helpline {
    background: rgba(0, 170, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    border-radius: 4px;
    padding: 8px;
    color: var(--neon-cyan-dark);
    font-size: 12px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}

td.spacerow {
    background: rgba(0, 102, 255, 0.06);
    border: 2px solid var(--neon-lime);
    padding: 6px;
}

td.rowpic {
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-purple));
    border: 2px solid var(--neon-cyan);
    padding: 0;
    box-shadow: 0 0 8px var(--neon-lime), 0 0 8px var(--neon-purple);
}

/* =====================================================
   ЗАГОЛОВКИ ТАБЛИЦ
   ===================================================== */

th {
    padding: 10px 8px;
    font-weight: bold;
    font-size: 13px;
    background: linear-gradient(135deg, var(--neon-lime), var(--neon-cyan), var(--neon-purple));
    color: #FFFFFF;
    border: 2px solid var(--neon-lime);
    white-space: nowrap;
    text-align: center;
    height: auto;
    letter-spacing: 1px;
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

/* =====================================================
   КАТЕГОРИИ
   ===================================================== */

td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom {
    font-weight: bold;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(119, 0, 255, 0.1));
    text-indent: 4px;
    letter-spacing: 1px;
    height: 29px;
    border: 2px solid var(--neon-lime);
    padding: 6px;
    color: var(--neon-lime-dark);
    transition: all 0.2s ease;
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-shadow: none;
    text-transform: uppercase;
}

td.catHead {
    background: linear-gradient(135deg, var(--neon-lime), var(--neon-cyan));
    color: #FFFFFF;
    font-size: 14px;
    border-bottom: 3px solid var(--neon-purple);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

td.cat:hover, td.catHead:hover {
    background: linear-gradient(135deg, var(--neon-lime), var(--neon-purple));
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
    transform: translateY(-1px);
}

td.row3Right {
    background: rgba(119, 0, 255, 0.07);
    border: 2px solid var(--neon-purple);
    padding: 6px;
}

/* =====================================================
   ТЕКСТОВЫЕ СТИЛИ
   ===================================================== */

.topictitle {
    font-weight: bold;
    font-size: 13px;
    color: var(--neon-lime-dark);
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-shadow: none;
    text-transform: uppercase;
}

a.topictitle:link {
    color: var(--neon-cyan-dark);
    text-decoration: none;
    font-weight: bold;
    text-shadow: none;
}

a.topictitle:visited {
    color: var(--neon-purple);
    text-shadow: none;
}

a.topictitle:hover {
    color: var(--neon-lime);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.5);
}

.name {
    font-weight: bold;
    font-size: 13px;
    color: var(--neon-pink);
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-shadow: none;
    text-transform: uppercase;
}

.nav {
    font-weight: bold;
    font-size: 13px;
    color: var(--text-white);
    text-transform: uppercase;
}

a.nav {
    color: var(--neon-cyan-dark);
    text-decoration: none;
    padding: 4px 8px;
    border: 2px solid var(--neon-lime);
    display: inline-block;
    transition: all 0.2s;
    font-weight: bold;
    background: transparent;
    text-shadow: none;
    text-transform: uppercase;
}

a.nav:hover {
    background: var(--neon-lime);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

.postbody {
    font-size: 14px;
    line-height: 125%;
    color: var(--text-white);
}

.postdetails {
    font-size: 13px;
    color: var(--text-light);
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-transform: uppercase;
    text-shadow: none;
}

.gen {
    font-size: 14px;
    color: var(--text-white);
    font-weight: bold;
}

.genmed {
    font-size: 13px;
    color: var(--text-white);
}

a.gen, a.genmed, a.gensmall {
    color: var(--neon-lime-dark);
    text-decoration: none;
    font-weight: bold;
    text-shadow: none;
}

a.gen:hover, a.genmed:hover, a.gensmall:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
}

.mainmenu {
    font-size: 13px;
    color: var(--text-white);
    font-weight: bold;
    text-transform: uppercase;
}

a.mainmenu {
    text-decoration: none;
    color: var(--neon-cyan-dark);
    padding: 6px 12px;
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid var(--neon-cyan);
    background: transparent;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}

a.mainmenu:hover {
    background: var(--neon-lime);
    color: #FFFFFF;
    border-color: var(--neon-lime);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

.cattitle {
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--neon-lime-dark);
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-shadow: none;
    text-transform: uppercase;
}

a.cattitle {
    text-decoration: none;
    color: var(--neon-cyan-dark);
    transition: all 0.2s;
    font-weight: bold;
    text-shadow: none;
}

a.cattitle:visited {
    text-decoration: none;
    color: var(--neon-purple);
    text-shadow: none;
}

a.cattitle:hover {
    color: var(--neon-lime);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.5);
}

.forumlink {
    font-weight: bold;
    font-size: 13px;
    color: var(--text-white);
    text-transform: uppercase;
}

a.forumlink {
    text-decoration: none;
    color: var(--neon-cyan-dark);
    padding: 2px 4px;
    transition: all 0.2s;
    font-weight: bold;
    text-shadow: none;
}

a.forumlink:visited {
    text-decoration: none;
    color: var(--neon-purple);
    text-shadow: none;
}

a.forumlink:hover {
    color: var(--neon-lime);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
}

.forumdescr {
    color: var(--text-light);
}

/* =====================================================
   КОД И ЦИТАТЫ
   ===================================================== */

.quote {
    border: 2px solid var(--neon-purple);
    font-size: 13px;
    background: rgba(119, 0, 255, 0.05);
    color: var(--text-white);
    line-height: 125%;
    padding: 10px;
    margin: 8px 0;
    border-left: 4px solid var(--neon-cyan);
    box-shadow: 0 0 8px rgba(119, 0, 255, 0.12);
}

.code {
    border: 2px solid var(--neon-lime);
    padding: 10px;
    background: rgba(0, 102, 255, 0.05);
    font: 12px 'Courier New', monospace;
    color: var(--neon-lime-dark);
    line-height: 120%;
    margin: 8px 0;
    overflow-x: auto;
    text-shadow: none;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.12);
}

.code_td, .php_td, .q_td, .quote_td {
    font-size: 13px;
    color: var(--text-white);
    font-family: 'Courier New', monospace;
    padding: 6px;
    background: #EEF2FF;
    border: 2px solid var(--neon-purple);
}

.code_table, .php_table, .q_table, .quote_table {
    border: 2px solid var(--neon-lime);
    font-size: 13px;
    width: 95%;
    font-family: 'Courier New', monospace;
    background: #F8FAFF;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.12);
}

/* =====================================================
   ГОРИЗОНТАЛЬНАЯ ЛИНИЯ
   ===================================================== */

hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-cyan), var(--neon-purple), var(--neon-lime));
    margin: 15px 0;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.35);
}

/* =====================================================
   ФОРМЫ
   ===================================================== */

form {
    display: inline;
}

input {
    font: 11px 'Arial Black', Verdana, Arial, Helvetica, sans-serif;
    color: var(--text-white);
    background: #FFFFFF;
    border: 2px solid var(--neon-cyan);
    padding: 6px;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--neon-lime);
    background: #F0F4FF;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

select {
    background: #FFFFFF;
    font: 11px 'Arial Black', Verdana, Arial, Helvetica, sans-serif;
    color: var(--text-white);
    border: 2px solid var(--neon-cyan);
    padding: 4px;
}

select:focus {
    outline: none;
    border-color: var(--neon-lime);
    background: #F0F4FF;
}

input.post {
    border: 3px solid var(--neon-purple);
    padding: 6px;
    background: #FFFFFF;
    font: 11px 'Arial Black', Verdana, Arial, Helvetica;
    color: var(--text-white);
}

textarea.post {
    border: 3px solid var(--neon-purple);
    padding: 6px;
    background: #FFFFFF;
    font: 11px 'Arial Black', Verdana, Arial, Helvetica;
    color: var(--text-white);
    resize: vertical;
    min-height: 120px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

textarea:focus {
    outline: none;
    border-color: var(--neon-lime);
    background: #F0F4FF;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.3);
}

input.button {
    border: 2px solid var(--neon-cyan);
    font-size: 13px;
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    color: var(--neon-cyan-dark);
    text-transform: uppercase;
    text-shadow: none;
}

input.button:hover {
    background: var(--neon-lime);
    color: #FFFFFF;
    border-color: var(--neon-lime);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

input.button:active {
    box-shadow: inset 0 0 8px rgba(0, 102, 255, 0.4);
}

input.liteoption {
    border: 2px solid var(--neon-purple);
    font-size: 13px;
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    color: var(--neon-purple);
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: none;
}

input.liteoption:hover {
    background: var(--neon-purple);
    border-color: var(--neon-cyan);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(119, 0, 255, 0.4);
}

.fakebut {
    border: 2px solid var(--neon-cyan);
    font-size: 13px;
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    color: var(--neon-cyan-dark);
    text-transform: uppercase;
    text-shadow: none;
}

.fakebut:hover {
    background: var(--neon-lime);
    color: #FFFFFF;
    border-color: var(--neon-lime);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

input.catbutton {
    border: 2px solid var(--neon-lime);
    font-size: 13px;
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    color: var(--neon-lime-dark);
    text-transform: uppercase;
    text-shadow: none;
}

input.catbutton:hover {
    background: var(--neon-lime);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

input.mainoption {
    border: 3px solid var(--neon-lime);
    font-weight: bold;
    font-size: 13px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(119, 0, 255, 0.15));
    color: var(--neon-lime-dark);
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
}

input.mainoption:hover {
    background: linear-gradient(135deg, var(--neon-lime), var(--neon-cyan));
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(0, 102, 255, 0.45);
}

input.mainoption:active {
    box-shadow: inset 0 0 10px rgba(0, 102, 255, 0.4);
}

a.but, a.but:hover, a.but:visited {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
}

/* =====================================================
   ПАГИНАЦИЯ
   ===================================================== */

.pgbutt a {
    font-family: 'Arial Black', Verdana, Arial, Helvetica, sans-serif;
    padding: 4px 10px;
    text-decoration: none;
    border: 2px solid var(--neon-cyan);
    background: transparent;
    margin: 4px 2px;
    display: inline-block;
    font-weight: bold;
    font-size: 11px;
    color: var(--neon-cyan-dark);
    transition: all 0.2s ease;
    text-transform: uppercase;
    text-shadow: none;
}

.pgbutt a:hover {
    border-color: var(--neon-lime);
    background: var(--neon-lime);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

.pgbutt a.current {
    border-color: var(--neon-purple);
    background: var(--neon-purple);
    color: #FFFFFF;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(119, 0, 255, 0.4);
}

/* =====================================================
   НАВИГАЦИЯ И ТОП
   ===================================================== */

.topbkg {
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.06), rgba(119, 0, 255, 0.06));
    padding: 8px;
    border-bottom: 3px solid var(--neon-lime);
}

.topnav {
    border-top: 2px solid var(--neon-cyan);
    font-size: 13px;
    background: #FFFFFF;
    color: var(--neon-cyan-dark);
    border-bottom: 2px solid var(--neon-purple);
    white-space: nowrap;
    height: 21px;
    padding: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
}

/* =====================================================
   АДМИН И МОД
   ===================================================== */

.admin {
    font-weight: bold;
    font-size: 13px;
    color: var(--neon-pink);
    text-shadow: none;
    text-transform: uppercase;
}

a.admin {
    color: var(--neon-pink);
    font-weight: bold;
    transition: all 0.2s;
    text-shadow: none;
}

a.admin:visited {
    color: var(--neon-purple);
    text-shadow: none;
}

a.admin:hover {
    color: var(--neon-lime);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.5);
}

.mod {
    font-weight: bold;
    font-size: 13px;
    color: var(--neon-lime-dark);
    text-shadow: none;
    text-transform: uppercase;
}

a.mod {
    color: var(--neon-lime-dark);
    font-weight: bold;
    transition: all 0.2s;
    text-shadow: none;
}

a.mod:visited {
    color: var(--neon-cyan-dark);
    text-shadow: none;
}

a.mod:hover {
    color: var(--neon-purple);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(119, 0, 255, 0.5);
}

/* =====================================================
   КОПИРАЙТ
   ===================================================== */

.copyright {
    font-size: 12px;
    color: var(--text-light);
    font-family: 'Arial Black', Verdana, Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
}

a.copyright {
    color: var(--neon-cyan-dark);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: bold;
    text-shadow: none;
}

a.copyright:hover {
    color: var(--neon-lime);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
}

/* =====================================================
   ИЗОБРАЖЕНИЯ
   ===================================================== */

img {
    border: 0;
}

.imgtopic, .imgicon {
    margin-left: 3px;
}

.imgspace {
    margin-left: 1px;
    margin-right: 2px;
}

.imgfolder {
    margin: 1px 4px;
}

/* =====================================================
   АВАТАР БЕЗ ИЗОБРАЖЕНИЯ
   ===================================================== */

.guestavatar {
    width: 100px;
    height: 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(119, 0, 255, 0.12));
    color: var(--neon-lime-dark);
    font-size: 42px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0%;
    border: 3px solid var(--neon-lime);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
    transition: all 0.2s ease;
    font-family: 'Arial Black', 'Impact', monospace;
    text-transform: uppercase;
    text-shadow: none;
}

.guestavatar:hover {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.18), rgba(255, 68, 0, 0.18));
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.4);
    color: var(--neon-cyan-dark);
    text-shadow: none;
}

/* =====================================================
   QR КОД
   ===================================================== */

#qr img {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 15px;
    top: 15px;
    border: 3px solid var(--neon-lime);
    padding: 4px;
    background-color: #FFFFFF;
    border-radius: 0%;
    transition: all 0.3s ease;
    z-index: 40;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.35);
}

#qr img:hover {
    width: 200px;
    height: 200px;
    z-index: 100;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4), 0 0 20px rgba(0, 170, 255, 0.3);
}

/* =====================================================
   НАВИГАЦИОННОЕ МЕНЮ (АДМИНКА)
   ===================================================== */

#nav8, #nav8 ul, #nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

#nav8, #nav8 ul {
    background: #FFFFFF;
}

#nav8 {
    border-spacing: 0;
    position: relative;
    z-index: 50;
    width: 100%;
    border: 3px solid var(--neon-lime);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}

#nav8 ul {
    position: absolute;
    display: none;
    top: 100%;
    background: #F8FAFF;
    border: 3px solid var(--neon-cyan);
    border-top: none;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
    min-width: 160px;
}

#nav8 td:hover ul {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#nav8 ul li {
    list-style: none;
}

#nav8 a {
    display: block;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    color: var(--neon-lime-dark);
    font-weight: bold;
    font-size: 12px;
    transition: all 0.2s ease;
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-transform: uppercase;
    text-shadow: none;
}

#nav8 ul a {
    padding: 8px 14px;
    text-align: left;
    font-size: 11px;
}

#nav8 td:hover, #nav8 li:hover {
    background: rgba(0, 102, 255, 0.07);
}

#nav8 ul li:hover a {
    background: var(--neon-purple);
    color: #FFFFFF;
    text-shadow: none;
}

#nav8 td {
    text-align: center;
    border-right: 2px solid var(--neon-lime);
}

#nav8 td:last-child {
    border-right: none;
}

/* =====================================================
   ПРОГРЕСС БАР (ЗАГРУЗКА)
   ===================================================== */

#cssbar-wrapper {
    width: 300px;
    height: 26px;
    position: absolute;
    left: 50%;
    margin-left: -150px;
}

#cssbar-border {
    border: 3px solid var(--neon-lime);
    height: 100%;
    width: 100%;
    position: relative;
    left: -50%;
    top: -50%;
    padding: 4px;
    background: #F8FAFF;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}

#cssbar-whitespace {
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#cssbar-line {
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    position: absolute;
    height: 100%;
    width: 100%;
    animation: cssbar-slide 1.5s linear infinite;
    -o-animation: cssbar-slide 1.5s linear infinite;
    -ms-animation: cssbar-slide 1.5s linear infinite;
    -webkit-animation: cssbar-slide 1.5s linear infinite;
    -moz-animation: cssbar-slide 1.5s linear infinite;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.6);
}

@keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@-o-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@-ms-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@-webkit-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@-moz-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* =====================================================
   СПЕЦИАЛЬНЫЕ АНИМАЦИИ
   ===================================================== */

@keyframes neon-flicker {
    0%, 100% {
        text-shadow: 0 0 12px rgba(0, 102, 255, 0.6), 0 0 25px rgba(0, 102, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 102, 255, 0.9), 0 0 40px rgba(0, 102, 255, 0.5);
    }
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */

@media (max-width: 768px) {
    body {
        font-size: 12px;
        margin: 3px;
    }

    .maintitle, h1 {
        font-size: 18px;
    }

    .subtitle, h2 {
        font-size: 14px;
    }

    th, td {
        font-size: 12px;
        padding: 4px;
    }

    input, textarea, select {
        font-size: 11px;
    }

    #nav8 a {
        padding: 8px;
        font-size: 11px;
    }

    .guestavatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    #qr img {
        width: 30px;
        height: 30px;
        right: 10px;
        top: 10px;
    }

    #qr img:hover {
        width: 150px;
        height: 150px;
    }

    .pgbutt a {
        padding: 3px 8px;
        font-size: 10px;
        margin: 2px 1px;
    }
}

/* =====================================================
   ПЕЧАТЬ
   ===================================================== */

@media print {
    body {
        background: white;
        color: black;
    }

    .bodyline, .forumline {
        border: 1px solid #000000;
        color: black;
    }

    #qr {
        display: none;
    }

    input, button, textarea {
        display: none;
    }
}

/* =====================================================
   ДОПОЛНИТЕЛЬНЫЕ КЛАССЫ
   ===================================================== */

.errorline {
    border: 3px solid var(--neon-pink);
    background: rgba(255, 68, 0, 0.08);
    color: var(--neon-pink);
    padding: 8px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(255, 68, 0, 0.3);
    text-shadow: none;
}

.error {
    font-size: 13px;
    font-weight: bold;
    color: var(--neon-pink);
    background: rgba(255, 68, 0, 0.07);
    padding: 2px 4px;
    border-radius: 0px;
    text-transform: uppercase;
    text-shadow: none;
}

/* Плавная загрузка страницы */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 0.5s ease-out;
}