Шаблон:Главная/styles.css: различия между версиями

Rename main page styles
 
Differentiate regulations and lore colors
 
(не показаны 3 промежуточные версии этого же участника)
Строка 609: Строка 609:
     font-size: 1.45rem;
     font-size: 1.45rem;
     line-height: 1;
     line-height: 1;
}
/* Main page tile icons */
.rs-home-tile__sprite img {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    image-rendering: pixelated;
}
/* ---------- Main page group divider ---------- */
.rs-home-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    box-sizing: border-box;
    margin: 6px 0 2px;
    padding: 0 18px;
    border: 1px solid rgba(255, 59, 63, 0.24);
    border-radius: 11px;
    background:
        linear-gradient(
            180deg,
            rgba(53, 18, 24, 0.88) 0%,
            rgba(31, 13, 17, 0.92) 52%,
            rgba(19, 12, 15, 0.94) 100%
        );
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.035),
        0 5px 18px rgba(0, 0, 0, 0.22);
    color: rgba(242, 239, 241, 0.94);
}
.rs-home-divider__title {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}
.rs-home-divider__mark {
    color: rgba(255, 93, 96, 0.48);
    font-size: 0.58rem;
}
@media (max-width: 760px) {
    .rs-home-divider {
        min-height: 42px;
        margin-top: 4px;
    }
    .rs-home-divider__title {
        font-size: 0.9rem;
    }
}
/* ---------- Semantic main page section colors ---------- */
/* Новичкам — slate */
.rs-home-section--newbie {
    border-color: rgba(110, 125, 140, 0.38);
    background: linear-gradient(180deg, #191d22 0%, #111418 100%);
}
.rs-home-section--newbie .rs-home-section__header {
    border-bottom-color: rgba(110, 125, 140, 0.34);
    background: linear-gradient(
        180deg,
        rgba(110, 125, 140, 0.58),
        rgba(68, 78, 88, 0.42)
    );
}
/* Регламенты — wine red */
.rs-home-section--regulations {
    border-color: rgba(158, 41, 70, 0.40);
    background: linear-gradient(180deg, #261319 0%, #160e12 100%);
}
.rs-home-section--regulations .rs-home-section__header {
    border-bottom-color: rgba(158, 41, 70, 0.36);
    background: linear-gradient(
        180deg,
        rgba(158, 41, 70, 0.62),
        rgba(92, 25, 43, 0.46)
    );
}
/* Роли — terracotta */
.rs-home-section--roles {
    border-color: rgba(192, 106, 85, 0.40);
    background: linear-gradient(180deg, #261915 0%, #16110f 100%);
}
.rs-home-section--roles .rs-home-section__header {
    border-bottom-color: rgba(192, 106, 85, 0.36);
    background: linear-gradient(
        180deg,
        rgba(192, 106, 85, 0.60),
        rgba(111, 59, 47, 0.44)
    );
}
/* Механики — emerald */
.rs-home-section--mechanics {
    border-color: rgba(46, 139, 109, 0.40);
    background: linear-gradient(180deg, #12211c 0%, #0d1613 100%);
}
.rs-home-section--mechanics .rs-home-section__header {
    border-bottom-color: rgba(46, 139, 109, 0.36);
    background: linear-gradient(
        180deg,
        rgba(46, 139, 109, 0.60),
        rgba(26, 82, 64, 0.44)
    );
}
/* Лор — raspberry */
.rs-home-section--lore {
    border-color: rgba(185, 79, 125, 0.40);
    background: linear-gradient(180deg, #24151d 0%, #150f13 100%);
}
.rs-home-section--lore .rs-home-section__header {
    border-bottom-color: rgba(185, 79, 125, 0.36);
    background: linear-gradient(
        180deg,
        rgba(185, 79, 125, 0.60),
        rgba(104, 44, 70, 0.44)
    );
}
/* Администрирование — indigo */
.rs-home-section--admin {
    border-color: rgba(89, 70, 168, 0.42);
    background: linear-gradient(180deg, #19162a 0%, #100f19 100%);
}
.rs-home-section--admin .rs-home-section__header {
    border-bottom-color: rgba(89, 70, 168, 0.38);
    background: linear-gradient(
        180deg,
        rgba(89, 70, 168, 0.62),
        rgba(49, 39, 96, 0.46)
    );
}
/* Арсенал / СБ — #DE3A3A */
.rs-home-section--arsenal {
    border-color: rgba(222, 58, 58, 0.40);
    background: linear-gradient(180deg, #271313 0%, #170e0e 100%);
}
.rs-home-section--arsenal .rs-home-section__header {
    border-bottom-color: rgba(222, 58, 58, 0.36);
    background: linear-gradient(
        180deg,
        rgba(222, 58, 58, 0.60),
        rgba(126, 32, 32, 0.44)
    );
}
/* Инженерия — #EFB341 */
.rs-home-section--engineering {
    border-color: rgba(239, 179, 65, 0.40);
    background: linear-gradient(180deg, #282013 0%, #17130d 100%);
}
.rs-home-section--engineering .rs-home-section__header {
    border-bottom-color: rgba(239, 179, 65, 0.36);
    background: linear-gradient(
        180deg,
        rgba(239, 179, 65, 0.60),
        rgba(132, 96, 30, 0.44)
    );
}
/* Медицина — #52B4E9 */
.rs-home-section--medical {
    border-color: rgba(82, 180, 233, 0.40);
    background: linear-gradient(180deg, #14222a 0%, #0d161b 100%);
}
.rs-home-section--medical .rs-home-section__header {
    border-bottom-color: rgba(82, 180, 233, 0.36);
    background: linear-gradient(
        180deg,
        rgba(82, 180, 233, 0.60),
        rgba(42, 101, 132, 0.44)
    );
}
/* Наука — #D381C9 */
.rs-home-section--science {
    border-color: rgba(211, 129, 201, 0.40);
    background: linear-gradient(180deg, #251a24 0%, #161016 100%);
}
.rs-home-section--science .rs-home-section__header {
    border-bottom-color: rgba(211, 129, 201, 0.36);
    background: linear-gradient(
        180deg,
        rgba(211, 129, 201, 0.60),
        rgba(116, 69, 111, 0.44)
    );
}
/* Сервис — #9FED58 */
.rs-home-section--service {
    border-color: rgba(159, 237, 88, 0.40);
    background: linear-gradient(180deg, #1d2815 0%, #12170e 100%);
}
.rs-home-section--service .rs-home-section__header {
    border-bottom-color: rgba(159, 237, 88, 0.36);
    background: linear-gradient(
        180deg,
        rgba(159, 237, 88, 0.58),
        rgba(85, 128, 45, 0.44)
    );
}
/* Снабжение — #A46106 */
.rs-home-section--cargo {
    border-color: rgba(164, 97, 6, 0.42);
    background: linear-gradient(180deg, #241a10 0%, #15110d 100%);
}
.rs-home-section--cargo .rs-home-section__header {
    border-bottom-color: rgba(164, 97, 6, 0.38);
    background: linear-gradient(
        180deg,
        rgba(164, 97, 6, 0.64),
        rgba(92, 53, 5, 0.46)
    );
}
/* ---------- Tweak: separate Regulations and Lore ---------- */
/* Регламенты — более красные */
.rs-home-section--regulations {
    border-color: rgba(198, 48, 73, 0.42);
    background: linear-gradient(180deg, #261217 0%, #160d11 100%);
}
.rs-home-section--regulations .rs-home-section__header {
    border-bottom-color: rgba(198, 48, 73, 0.38);
    background: linear-gradient(
        180deg,
        rgba(198, 48, 73, 0.66),
        rgba(112, 28, 42, 0.46)
    );
}
/* Лор — более сливово-лиловый */
.rs-home-section--lore {
    border-color: rgba(146, 96, 138, 0.42);
    background: linear-gradient(180deg, #201521 0%, #130f14 100%);
}
.rs-home-section--lore .rs-home-section__header {
    border-bottom-color: rgba(146, 96, 138, 0.38);
    background: linear-gradient(
        180deg,
        rgba(146, 96, 138, 0.64),
        rgba(82, 54, 78, 0.46)
    );
}
}

Текущая версия от 15:14, 30 сентября 2026

.rs-home {
    width: 100%;
}

/* ---------- Header ---------- */

.rs-home-header {
    position: relative;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    height: 123px;
    min-height: 123px;
    max-height: 123px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(234, 58, 62, 0.34);
    border-radius: 14px;
    background: linear-gradient(115deg, #160c10 0%, #0d0f14 48%, #0a0d12 100%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px rgba(255, 255, 255, 0.035);
}

.rs-home-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(#ff5155, #a5161a);
}

.rs-home-header__side {
    box-sizing: border-box;
    min-width: 0;
    height: 123px;
}

.rs-home-header__center {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    height: 123px;
    padding: 12px 24px;
    text-align: center;
}

.rs-home-header__title {
    margin: 0;
    color: #f7f7f8;
    font-size: 3.15rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.035em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.rs-home-header__title span {
    color: #ff474b;
    text-shadow: 0 0 18px rgba(255, 45, 50, 0.35);
}

/* ---------- Resource links ---------- */

.rs-home-resources {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.018);
}

.rs-home-resource {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    margin: 0;
    padding: 1px 6px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.14);
}

.rs-home-resource__label {
    width: 100%;
    min-width: 0;
    line-height: 1;
    text-align: center;
}

.rs-home-resource__label a,
.rs-home-resource .plainlinks a,
.rs-home-resource .plainlinks a.external {
    display: block;
    width: 100%;
    padding: 2px 0 !important;
    padding-right: 0 !important;
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
    background-image: none !important;
}

.rs-home-resource a.external::before,
.rs-home-resource .plainlinks a::before {
    content: none !important;
}

.rs-home-resource a.external::after,
.rs-home-resource__label a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.rs-home-resource:nth-child(1) {
    border-color: rgba(88, 101, 242, 0.55);
    background: linear-gradient(
        180deg,
        rgba(88, 101, 242, 0.34),
        rgba(62, 70, 175, 0.24)
    );
}

.rs-home-resource:nth-child(1):hover {
    border-color: rgba(110, 122, 255, 0.85);
    background: linear-gradient(
        180deg,
        rgba(88, 101, 242, 0.50),
        rgba(62, 70, 175, 0.34)
    );
}

.rs-home-resource:nth-child(2) {
    border-color: rgba(245, 117, 59, 0.55);
    background: linear-gradient(
        180deg,
        rgba(245, 117, 59, 0.34),
        rgba(171, 77, 36, 0.24)
    );
}

.rs-home-resource:nth-child(2):hover {
    border-color: rgba(255, 140, 78, 0.85);
    background: linear-gradient(
        180deg,
        rgba(245, 117, 59, 0.50),
        rgba(171, 77, 36, 0.34)
    );
}

.rs-home-resource:nth-child(3) {
    border-color: rgba(190, 196, 207, 0.32);
    background: linear-gradient(
        180deg,
        rgba(110, 117, 130, 0.28),
        rgba(55, 60, 70, 0.26)
    );
}

.rs-home-resource:nth-child(3):hover {
    border-color: rgba(220, 225, 233, 0.55);
    background: linear-gradient(
        180deg,
        rgba(130, 138, 152, 0.38),
        rgba(65, 71, 82, 0.34)
    );
}

/* ---------- Live server status ---------- */

.rs-status-clean {
    display: block !important;
    box-sizing: border-box !important;
    width: 190px !important;
    height: 123px !important;
    min-height: 123px !important;
    max-height: 123px !important;
    padding: 13px 10px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-left: 1px solid rgba(255, 255, 255, 0.07) !important;
    background: rgba(255, 255, 255, 0.018) !important;
}

.rs-status-clean *,
.rs-status-clean *::before,
.rs-status-clean *::after {
    box-sizing: border-box !important;
}

.rs-status-clean div,
.rs-status-clean span,
.rs-status-clean strong {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
}

.rs-status-clean__field {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;

    width: 100% !important;
    height: 19px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    color: #8c97a8 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 19px !important;

    white-space: nowrap !important;
}

.rs-status-clean__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 12px !important;
    width: 12px !important;

    color: rgba(255, 82, 88, 0.64) !important;

    font-size: 9px !important;
    line-height: 1 !important;

    opacity: 0.9 !important;
}

.rs-status-clean__field > span {
    display: block !important;

    min-width: 0 !important;
    overflow: hidden !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.rs-status-clean__field strong {
    display: inline !important;

    color: #f3f5fa !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 19px !important;

    white-space: nowrap !important;
}

.rs-status-clean__players {
    font-size: 12px !important;
    font-weight: 800 !important;
}

/* ---------- Main category grid ---------- */

.rs-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

/* ---------- Sections ---------- */

.rs-home-section {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;
    background: linear-gradient(180deg, #161a22 0%, #101319 100%);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.22),
        inset 0 1px rgba(255, 255, 255, 0.04),
        inset 0 -18px 30px rgba(0, 0, 0, 0.10);
}

.rs-home-section__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.07),
        inset 0 -8px 16px rgba(0, 0, 0, 0.12);
}

.rs-home-section__header::before,
.rs-home-section__header::after {
    content: "◆";
    position: absolute;
    top: 50%;
    color: rgba(255, 255, 255, 0.32);
    font-size: 0.48rem;
    transform: translateY(-50%);
}

.rs-home-section__header::before {
    left: 12px;
}

.rs-home-section__header::after {
    right: 12px;
}

.rs-home-section__title {
    position: relative;
    z-index: 2;
    padding: 0 13px;
    color: #f1f3f6;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    text-transform: uppercase;
}

.rs-home-section__ornament {
    width: 46px;
    height: 1px;
    opacity: 0.72;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55));
}

.rs-home-section__ornament--right {
    transform: scaleX(-1);
}

.rs-home-section--blue {
    border-color: rgba(91, 143, 212, 0.34);
    background: linear-gradient(180deg, #151c27 0%, #10141a 100%);
}

.rs-home-section--blue .rs-home-section__header {
    border-bottom-color: rgba(91, 143, 212, 0.30);
    background: linear-gradient(180deg, rgba(69, 111, 166, 0.48), rgba(43, 70, 106, 0.38));
}

.rs-home-section--red {
    border-color: rgba(225, 69, 73, 0.34);
    background: linear-gradient(180deg, #241416 0%, #151012 100%);
}

.rs-home-section--red .rs-home-section__header {
    border-bottom-color: rgba(225, 69, 73, 0.30);
    background: linear-gradient(180deg, rgba(150, 48, 52, 0.56), rgba(97, 31, 34, 0.42));
}

.rs-home-section--gold {
    border-color: rgba(212, 167, 77, 0.34);
    background: linear-gradient(180deg, #221d14 0%, #15130f 100%);
}

.rs-home-section--gold .rs-home-section__header {
    border-bottom-color: rgba(212, 167, 77, 0.30);
    background: linear-gradient(180deg, rgba(142, 109, 43, 0.52), rgba(88, 68, 28, 0.40));
}

.rs-home-section--purple {
    border-color: rgba(152, 113, 216, 0.34);
    background: linear-gradient(180deg, #1d1726 0%, #141018 100%);
}

.rs-home-section--purple .rs-home-section__header {
    border-bottom-color: rgba(152, 113, 216, 0.30);
    background: linear-gradient(180deg, rgba(99, 67, 136, 0.56), rgba(62, 43, 84, 0.42));
}

.rs-home-section--brown {
    border-color: rgba(187, 130, 96, 0.34);
    background: linear-gradient(180deg, #211914 0%, #15110e 100%);
}

.rs-home-section--brown .rs-home-section__header {
    border-bottom-color: rgba(187, 130, 96, 0.30);
    background: linear-gradient(180deg, rgba(117, 77, 54, 0.58), rgba(75, 48, 34, 0.42));
}

.rs-home-section--green {
    border-color: rgba(88, 169, 138, 0.34);
    background: linear-gradient(180deg, #14201c 0%, #0f1614 100%);
}

.rs-home-section--green .rs-home-section__header {
    border-bottom-color: rgba(88, 169, 138, 0.30);
    background: linear-gradient(180deg, rgba(48, 111, 86, 0.54), rgba(30, 70, 55, 0.42));
}

.rs-home-section__body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
}

.rs-home-section__body > p {
    display: contents;
}

/* ---------- Tiles ---------- */

.rs-home-tile {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 106px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 6px 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 9px;
    background: rgba(4, 6, 10, 0.32);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.025),
        0 2px 7px rgba(0, 0, 0, 0.08);
    color: inherit !important;
    text-decoration: none !important;
}

.rs-home-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(18, 21, 28, 0.72);
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.20),
        inset 0 1px rgba(255, 255, 255, 0.045);
}

.rs-home-tile__sprite {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
}

.rs-home-tile__sprite img {
    width: auto !important;
    max-width: 52px !important;
    height: auto !important;
    max-height: 52px !important;
}

.rs-home-tile__label {
    position: static;
    width: 100%;
    overflow: hidden;
    color: #cdd3dc;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.rs-home-tile__label a {
    color: #cdd3dc !important;
    text-decoration: none !important;
}

.rs-home-tile__label a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
}

.rs-home-tile:hover .rs-home-tile__label,
.rs-home-tile:hover .rs-home-tile__label a {
    color: #ffffff !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
    .rs-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-home-header {
        grid-template-columns: 170px minmax(0, 1fr) 170px;
    }

    .rs-home-header__title {
        font-size: 2.55rem;
    }

    .rs-home-resource__label a,
    .rs-home-resource .plainlinks a,
    .rs-home-resource .plainlinks a.external {
        font-size: 0.82rem;
    }
}

@media (max-width: 760px) {
    .rs-home-header {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .rs-home-header__side,
    .rs-home-header__center {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .rs-home-header__center {
        order: -1;
        min-height: 86px;
        padding: 18px;
    }

    .rs-home-header__title {
        font-size: 2rem;
    }

    .rs-home-resources {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 8px 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        border-right: 0;
    }

    .rs-status-clean {
        height: auto;
        padding: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        border-left: 0;
    }

    .rs-home-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Server status icons ---------- */

.rs-status-clean__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 12px !important;
    width: 12px !important;

    color: rgba(255, 82, 88, 0.72) !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    opacity: 0.9 !important;
}

/* ---------- Tile icon fallback ---------- */

.rs-home-tile__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: rgba(220, 225, 234, 0.34);

    font-size: 1.45rem;
    line-height: 1;
}

/* Main page tile icons */
.rs-home-tile__sprite img {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    image-rendering: pixelated;
}

/* ---------- Main page group divider ---------- */

.rs-home-divider {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 46px;
    box-sizing: border-box;
    margin: 6px 0 2px;
    padding: 0 18px;

    border: 1px solid rgba(255, 59, 63, 0.24);
    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            rgba(53, 18, 24, 0.88) 0%,
            rgba(31, 13, 17, 0.92) 52%,
            rgba(19, 12, 15, 0.94) 100%
        );

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.035),
        0 5px 18px rgba(0, 0, 0, 0.22);

    color: rgba(242, 239, 241, 0.94);
}

.rs-home-divider__title {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.rs-home-divider__mark {
    color: rgba(255, 93, 96, 0.48);
    font-size: 0.58rem;
}

@media (max-width: 760px) {
    .rs-home-divider {
        min-height: 42px;
        margin-top: 4px;
    }

    .rs-home-divider__title {
        font-size: 0.9rem;
    }
}

/* ---------- Semantic main page section colors ---------- */

/* Новичкам — slate */
.rs-home-section--newbie {
    border-color: rgba(110, 125, 140, 0.38);
    background: linear-gradient(180deg, #191d22 0%, #111418 100%);
}

.rs-home-section--newbie .rs-home-section__header {
    border-bottom-color: rgba(110, 125, 140, 0.34);
    background: linear-gradient(
        180deg,
        rgba(110, 125, 140, 0.58),
        rgba(68, 78, 88, 0.42)
    );
}

/* Регламенты — wine red */
.rs-home-section--regulations {
    border-color: rgba(158, 41, 70, 0.40);
    background: linear-gradient(180deg, #261319 0%, #160e12 100%);
}

.rs-home-section--regulations .rs-home-section__header {
    border-bottom-color: rgba(158, 41, 70, 0.36);
    background: linear-gradient(
        180deg,
        rgba(158, 41, 70, 0.62),
        rgba(92, 25, 43, 0.46)
    );
}

/* Роли — terracotta */
.rs-home-section--roles {
    border-color: rgba(192, 106, 85, 0.40);
    background: linear-gradient(180deg, #261915 0%, #16110f 100%);
}

.rs-home-section--roles .rs-home-section__header {
    border-bottom-color: rgba(192, 106, 85, 0.36);
    background: linear-gradient(
        180deg,
        rgba(192, 106, 85, 0.60),
        rgba(111, 59, 47, 0.44)
    );
}

/* Механики — emerald */
.rs-home-section--mechanics {
    border-color: rgba(46, 139, 109, 0.40);
    background: linear-gradient(180deg, #12211c 0%, #0d1613 100%);
}

.rs-home-section--mechanics .rs-home-section__header {
    border-bottom-color: rgba(46, 139, 109, 0.36);
    background: linear-gradient(
        180deg,
        rgba(46, 139, 109, 0.60),
        rgba(26, 82, 64, 0.44)
    );
}

/* Лор — raspberry */
.rs-home-section--lore {
    border-color: rgba(185, 79, 125, 0.40);
    background: linear-gradient(180deg, #24151d 0%, #150f13 100%);
}

.rs-home-section--lore .rs-home-section__header {
    border-bottom-color: rgba(185, 79, 125, 0.36);
    background: linear-gradient(
        180deg,
        rgba(185, 79, 125, 0.60),
        rgba(104, 44, 70, 0.44)
    );
}

/* Администрирование — indigo */
.rs-home-section--admin {
    border-color: rgba(89, 70, 168, 0.42);
    background: linear-gradient(180deg, #19162a 0%, #100f19 100%);
}

.rs-home-section--admin .rs-home-section__header {
    border-bottom-color: rgba(89, 70, 168, 0.38);
    background: linear-gradient(
        180deg,
        rgba(89, 70, 168, 0.62),
        rgba(49, 39, 96, 0.46)
    );
}

/* Арсенал / СБ — #DE3A3A */
.rs-home-section--arsenal {
    border-color: rgba(222, 58, 58, 0.40);
    background: linear-gradient(180deg, #271313 0%, #170e0e 100%);
}

.rs-home-section--arsenal .rs-home-section__header {
    border-bottom-color: rgba(222, 58, 58, 0.36);
    background: linear-gradient(
        180deg,
        rgba(222, 58, 58, 0.60),
        rgba(126, 32, 32, 0.44)
    );
}

/* Инженерия — #EFB341 */
.rs-home-section--engineering {
    border-color: rgba(239, 179, 65, 0.40);
    background: linear-gradient(180deg, #282013 0%, #17130d 100%);
}

.rs-home-section--engineering .rs-home-section__header {
    border-bottom-color: rgba(239, 179, 65, 0.36);
    background: linear-gradient(
        180deg,
        rgba(239, 179, 65, 0.60),
        rgba(132, 96, 30, 0.44)
    );
}

/* Медицина — #52B4E9 */
.rs-home-section--medical {
    border-color: rgba(82, 180, 233, 0.40);
    background: linear-gradient(180deg, #14222a 0%, #0d161b 100%);
}

.rs-home-section--medical .rs-home-section__header {
    border-bottom-color: rgba(82, 180, 233, 0.36);
    background: linear-gradient(
        180deg,
        rgba(82, 180, 233, 0.60),
        rgba(42, 101, 132, 0.44)
    );
}

/* Наука — #D381C9 */
.rs-home-section--science {
    border-color: rgba(211, 129, 201, 0.40);
    background: linear-gradient(180deg, #251a24 0%, #161016 100%);
}

.rs-home-section--science .rs-home-section__header {
    border-bottom-color: rgba(211, 129, 201, 0.36);
    background: linear-gradient(
        180deg,
        rgba(211, 129, 201, 0.60),
        rgba(116, 69, 111, 0.44)
    );
}

/* Сервис — #9FED58 */
.rs-home-section--service {
    border-color: rgba(159, 237, 88, 0.40);
    background: linear-gradient(180deg, #1d2815 0%, #12170e 100%);
}

.rs-home-section--service .rs-home-section__header {
    border-bottom-color: rgba(159, 237, 88, 0.36);
    background: linear-gradient(
        180deg,
        rgba(159, 237, 88, 0.58),
        rgba(85, 128, 45, 0.44)
    );
}

/* Снабжение — #A46106 */
.rs-home-section--cargo {
    border-color: rgba(164, 97, 6, 0.42);
    background: linear-gradient(180deg, #241a10 0%, #15110d 100%);
}

.rs-home-section--cargo .rs-home-section__header {
    border-bottom-color: rgba(164, 97, 6, 0.38);
    background: linear-gradient(
        180deg,
        rgba(164, 97, 6, 0.64),
        rgba(92, 53, 5, 0.46)
    );
}

/* ---------- Tweak: separate Regulations and Lore ---------- */

/* Регламенты — более красные */
.rs-home-section--regulations {
    border-color: rgba(198, 48, 73, 0.42);
    background: linear-gradient(180deg, #261217 0%, #160d11 100%);
}

.rs-home-section--regulations .rs-home-section__header {
    border-bottom-color: rgba(198, 48, 73, 0.38);
    background: linear-gradient(
        180deg,
        rgba(198, 48, 73, 0.66),
        rgba(112, 28, 42, 0.46)
    );
}

/* Лор — более сливово-лиловый */
.rs-home-section--lore {
    border-color: rgba(146, 96, 138, 0.42);
    background: linear-gradient(180deg, #201521 0%, #130f14 100%);
}

.rs-home-section--lore .rs-home-section__header {
    border-bottom-color: rgba(146, 96, 138, 0.38);
    background: linear-gradient(
        180deg,
        rgba(146, 96, 138, 0.64),
        rgba(82, 54, 78, 0.46)
    );
}