/* ====== ÎÑÍÎÂÀ ====== */

body {
    background: #0b0f0b !important;
    color: #caffca !important;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Öåíòðèðîâàíèå */
#pun-main {
    max-width: 1200px;
    margin: 40px auto;
}

/* ====== ØÀÏÊÀ ====== */

#pun-title {
    background: linear-gradient(90deg,#071b0a,#0e2a12);
    border-bottom: 2px solid #00ff66;
    padding: 20px;
}

#pun-title h1 {
    color: #00ff66 !important;
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ====== ÌÅÍÞ ====== */

#pun-navlinks {
    background: #0d1f10 !important;
    border-bottom: 1px solid #00ff66;
}

#pun-navlinks a {
    color: #8aff8a !important;
    padding: 12px 15px;
    display: inline-block;
    transition: 0.3s;
}

#pun-navlinks a:hover {
    background: #00ff66;
    color: #000 !important;
    border-radius: 6px;
}

/* ====== ÊÎÍÒÅÉÍÅÐÛ ====== */

.punbb .main .container,
.punbb .section .container,
.punbb .post .container {
    background: #111a13 !important;
    border: 1px solid #00ff66 !important;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,255,100,0.15);
}

/* ====== ÇÀÃÎËÎÂÊÈ ====== */

.punbb .main h1,
.punbb .main h2 {
    background: #0f2415 !important;
    color: #00ff66 !important;
    border-left: 5px solid #00ff66;
    padding: 10px;
    border-radius: 6px;
}

/* ====== ÒÀÁËÈÖÛ ÔÎÐÓÌÀ ====== */

.punbb table {
    background: #0f1711 !important;
    color: #caffca !important;
}

.punbb th {
    background: #122b18 !important;
    color: #00ff66 !important;
}

.punbb td {
    border-color: #1f3d25 !important;
}

.punbb tr:hover td {
    background: #13261a !important;
}

/* ====== ÑÑÛËÊÈ ====== */

a {
    color: #00ff66 !important;
    transition: 0.2s;
}

a:hover {
    color: #ffffff !important;
}

/* ====== ÊÍÎÏÊÈ ====== */

input[type="submit"],
button {
    background: #00ff66;
    color: #000;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

input[type="submit"]:hover,
button:hover {
    background: #00cc55;
}

/* ====== ÏÎÑÒÛ ====== */

.punbb .post {
    background: #101812 !important;
    border: 1px solid #00ff66 !important;
    border-radius: 8px;
}

.punbb .post h3 {
    background: #0f2415 !important;
    color: #00ff66 !important;
}

/* ====== ÏÎÄÂÀË ====== */

#pun-footer {
    background: #071b0a;
    border-top: 1px solid #00ff66;
    color: #6aff9a;
}

/* ====== ÏËÀÂÍÛÅ ÀÍÈÌÀÖÈÈ ====== */

* {
    transition: background 0.3s, color 0.3s, border 0.3s;
}
.layout{
display:flex;
gap:20px;
max-width:1400px;
margin:auto;
}

.left-sidebar{
width:250px;
}

.right-sidebar{
width:250px;
}

.forum-center{
flex:1;
}
.role {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

/* Êðàñíûé */
.role.red {
    background: linear-gradient(180deg, #ff3b3b, #a80000);
    border: 2px solid #ff5a5a;
}

/* Áëèê */
.role::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
}