/* =========================
   БАЗА САЙТА
   ========================= */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #070609;
    color: #f8f1e6;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

a {
    color: inherit;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px;
}

.title,
.main-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffedd0;
}

.main-title {
    font-size: 22px;
}

.card__header {
    margin-bottom: 8px;
}

.table-empty {
    max-width: 1160px;
    margin: 40px auto;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    color: #d2c1b4;
    background: transparent;
    border-radius: 0;
    border: 1px solid rgba(120, 90, 70, 0.4);
}

html {
    scroll-behavior: smooth;
}

/* =========================
   ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ
   ========================= */

.privacy-page {
    color: #f8f1e6;
    margin: 0;
    padding: 0;
}

.privacy-page .container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px;
}

.privacy-page__header {
    padding: 72px 0 28px;
    margin: 0;
}

.privacy-page__header .title,
.privacy-page__header .main-title {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #f8f1e6;
}

.privacy-card {
    max-width: 860px;
    margin: 0 auto 70px;
    padding: 28px 0 10px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(231, 198, 148, 0.035),
            transparent
        );
    border: none;
    border-top: 1px solid rgba(120, 90, 70, 0.42);
    border-radius: 0;
    box-shadow: none;
}

.privacy-card__body {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #c7b3a7;
}

.privacy-card__body p {
    margin: 0 0 12px;
}

.privacy-intro {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #c7b3a7;
}

.privacy-subtitle {
    margin: 30px 0 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: #f1d7aa;
}

.privacy-subtitle:first-child {
    margin-top: 0;
}

.privacy-list {
    margin: 0 0 14px 18px;
    padding: 0;
    color: #c7b3a7;
}

.privacy-list li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.65;
}

.privacy-highlight {
    color: #f1d7aa;
    font-weight: 600;
}

.privacy-card__body a {
    color: #f1d7aa;
    text-decoration: none;
    border-bottom: 1px solid rgba(241, 215, 170, 0.35);
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.privacy-card__body a:hover {
    color: #fff0cf;
    border-color: rgba(255, 240, 207, 0.75);
}

/* =========================
   НОВОСТИ
   ========================= */

.news-page,
.news-detail-page {
    margin-top: 52px;
    margin-bottom: 80px;
}

.news-page {
    width: 100%;
}

.news-page__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.news-page__header {
    margin-bottom: 34px;
}

.news-page__subtitle,
.home-news-section__subtitle {
    margin: 7px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #b9a79b;
}

.news-section-block {
    margin-top: 22px;
}

.news-section-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(120, 90, 70, 0.32);
}

.news-section-block__title {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffedd0;
}

.news-section-block__count {
    font-size: 12px;
    line-height: 1;
    color: #9f8778;
    white-space: nowrap;
}

.news-page__separator {
    height: 1px;
    margin: 42px 0 30px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(120, 90, 70, 0.5),
            transparent
        );
}

/* =========================
   СТРОКИ НОВОСТЕЙ НА /NEWS
   ========================= */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-row {
    position: relative;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 150px;
    overflow: hidden;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(120, 90, 70, 0.32);
    border-radius: 0;
    box-shadow: none;
    transition:
        background 0.16s ease,
        border-color 0.16s ease;
}

.news-row:first-child {
    border-top: 1px solid rgba(120, 90, 70, 0.32);
}

.news-row:hover {
    background: rgba(240, 210, 164, 0.025);
    border-color: rgba(240, 210, 164, 0.34);
}

.news-row--latest {
    border-color: rgba(150, 110, 72, 0.42);
}

.news-row--hidden {
    display: none;
}

.news-row__image-link {
    position: relative;
    display: block;
    min-height: 150px;
    overflow: hidden;
    text-decoration: none;
    background: #100b10;
}

.news-row__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    transform: scale(1.01);
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.news-row:hover .news-row__image {
    transform: scale(1.035);
    filter: brightness(1.06);
}

.news-row__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #f2d5a8;
    background:
        radial-gradient(circle at center, rgba(167, 97, 45, 0.24), transparent 60%),
        #100b10;
}

.news-row__content {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px 0 14px 24px;
}

.news-row__date {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9f8778;
}

.news-row__title {
    margin: 0 0 7px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffedd0;
}

.news-row__title a {
    text-decoration: none;
}

.news-row__title a:hover {
    color: #f6d49a;
}

.news-row__text {
    display: -webkit-box;
    flex: 1;
    margin: 0 0 10px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 760px;
    font-size: 13px;
    line-height: 1.48;
    color: #c7b3a7;
}

.news-row__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

/* =========================
   КНОПКИ НОВОСТЕЙ
   ========================= */

.news-row__more,
.news-page__load-more,
.home-news-section__all,
.home-news-showcase__more,
.news-detail__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 15px;
    border: 1px solid rgba(120, 90, 70, 0.45);
    border-radius: 2px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffe7c2;
    background: linear-gradient(135deg, rgba(107, 62, 35, 0.42), rgba(159, 104, 52, 0.24));
    box-shadow: none;
    cursor: pointer;
    transition:
        transform 0.14s ease,
        background 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease;
}

.news-row__more:hover,
.news-page__load-more:hover,
.home-news-section__all:hover,
.home-news-showcase__more:hover,
.news-detail__back:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 211, 122, 0.34);
    color: #fff1d9;
    background: linear-gradient(135deg, rgba(137, 80, 45, 0.5), rgba(180, 116, 58, 0.32));
}

.news-page__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.news-page__load-more {
    min-width: 190px;
    min-height: 40px;
}

/* =========================
   ГЛАВНАЯ: НОВОСТНАЯ ВИТРИНА
   ========================= */

.home-news-showcase {
    max-width: 1280px;
    margin: 52px auto 34px;
    padding: 0 16px;
}

.home-news-container {
    width: 100%;
}

.home-news-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(120, 90, 70, 0.32);
}

.home-news-section__title {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffedd0;
}

.home-news-section__all {
    min-height: 34px;
    padding: 0 14px;
    font-size: 11px;
}

.home-news-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.9fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px 26px;
}

.home-news-showcase__item {
    position: relative;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 158px;
    overflow: hidden;
    border-bottom: 1px solid rgba(120, 90, 70, 0.32);
    background: transparent;
    transition:
        background 0.16s ease,
        border-color 0.16s ease;
}

.home-news-showcase__item:hover {
    background: rgba(240, 210, 164, 0.025);
    border-color: rgba(240, 210, 164, 0.34);
}

.home-news-showcase__item--main {
    grid-row: span 2;
    display: block;
    min-height: 334px;
}

.home-news-showcase__image-link {
    display: block;
    overflow: hidden;
    min-height: 158px;
    text-decoration: none;
    background: #100b10;
}

.home-news-showcase__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 158px;
    object-fit: cover;
    transition:
        transform 0.26s ease,
        filter 0.26s ease;
}

.home-news-showcase__item:hover .home-news-showcase__image {
    transform: scale(1.035);
    filter: brightness(1.06);
}

.home-news-showcase__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 158px;
    color: #f2d5a8;
    font-weight: 800;
    letter-spacing: 0.16em;
    background:
        radial-gradient(circle at center, rgba(167, 97, 45, 0.24), transparent 60%),
        #100b10;
}

.home-news-showcase__item--main .home-news-showcase__image-link,
.home-news-showcase__item--main .home-news-showcase__image,
.home-news-showcase__item--main .home-news-showcase__image--empty {
    height: 230px;
    min-height: 230px;
}

.home-news-showcase__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 0 10px 16px;
}

.home-news-showcase__item--main .home-news-showcase__content {
    padding: 16px 0 0;
}

.home-news-showcase__date {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9f8778;
}

.home-news-showcase__title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.24;
    font-weight: 800;
    color: #ffedd0;
}

.home-news-showcase__item--main .home-news-showcase__title {
    font-size: 24px;
    line-height: 1.18;
}

.home-news-showcase__title a {
    text-decoration: none;
}

.home-news-showcase__title a:hover {
    color: #f6d49a;
}

.home-news-showcase__text {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.48;
    color: #c7b3a7;
}

.home-news-showcase__item--main .home-news-showcase__text {
    -webkit-line-clamp: 3;
    max-width: 720px;
    font-size: 14px;
}

.home-news-showcase__more {
    align-self: flex-start;
    min-height: 30px;
    margin-top: auto;
    padding: 0 12px;
    font-size: 11px;
}

/* =========================
   СТРАНИЦА ОДНОЙ НОВОСТИ
   ========================= */

.news-detail {
    background: transparent;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(120, 90, 70, 0.42);
    box-shadow: none;
    padding: 24px 0 0;
}

.news-detail__back {
    margin-bottom: 18px;
}

.news-detail__title {
    margin-top: 0;
    margin-bottom: 16px;
}

.news-detail__image-wrap {
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 0;
    border: 1px solid rgba(120, 90, 70, 0.38);
    background: #100b10;
}

.news-detail__image {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.news-detail__intro {
    margin-bottom: 16px;
    padding: 14px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(120, 90, 70, 0.28);
    border-bottom: 1px solid rgba(120, 90, 70, 0.28);
    color: #ffedd0;
    font-size: 15px;
    line-height: 1.6;
}

.news-detail__content {
    color: #d2c1b4;
    font-size: 15px;
    line-height: 1.75;
}

.news-detail__content p {
    margin: 0 0 14px;
}

.news-detail__content a {
    color: #f6b96a;
}

.news-detail__content ul,
.news-detail__content ol {
    margin: 10px 0 16px;
    padding-left: 22px;
}

.news-detail__content li {
    margin-bottom: 6px;
}

/* =========================
   ЕДИНЫЙ БЛОК: ТОПЫ + КАРТА ОСАД
   БЕЗ ВНЕШНИХ БОКСОВ
   ========================= */

.siege-section {
    max-width: 1280px;
    margin: 72px auto 80px;
    padding: 0 16px;
}

.siege-dashboard {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.siege-top,
.siege-map {
    min-height: 0;
    box-sizing: border-box;
}

/* =========================
   ТАБЛИЦА ТОПОВ
   ========================= */

.siege-top {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.siege-top__header {
    margin-bottom: 14px;
}

.siege-top__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffedd0;
}

.siege-top__subtitle {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    color: #b9a79b;
}

.siege-top__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.siege-top__tab {
    min-height: 38px;
    border: 1px solid rgba(120, 90, 70, 0.45);
    border-radius: 12px;
    background: rgba(231, 198, 148, 0.035);
    color: #dbc9bc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.16s ease,
        color 0.16s ease,
        border-color 0.16s ease,
        transform 0.12s ease,
        box-shadow 0.16s ease;
}

.siege-top__tab:hover {
    transform: translateY(-1px);
    border-color: rgba(240, 210, 164, 0.28);
    color: #f6e0b8;
}

.siege-top__tab--active {
    background: linear-gradient(135deg, rgba(107, 62, 35, 0.42), rgba(159, 104, 52, 0.24));
    border-color: rgba(255, 211, 122, 0.34);
    color: #ffe7c2;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.siege-top__panels {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: 432px;
}

.siege-top__panel {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(24px) scale(0.98);
}

.siege-top__panel--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    animation: siegePanelFlyIn 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.siege-top__panel--leaving {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    animation: siegePanelFlyOut 0.24s ease both;
}

.siege-top__table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    font-size: 13px;
}

.siege-top__table thead th {
    padding: 10px 8px;
    color: #9f8778;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    border-bottom: 1px solid rgba(120, 90, 70, 0.32);
}

.siege-top__table tbody td {
    padding: 10px 8px;
    color: #e8d7c8;
    border-bottom: 1px solid rgba(120, 90, 70, 0.18);
    transition: background 0.16s ease;
}

.siege-top__table tbody tr {
    opacity: 0;
    transform: translateX(-30px) scale(0.98);
    animation: siegeRowFlyIn 0.44s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(1) {
    animation-delay: 0.03s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(2) {
    animation-delay: 0.06s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(3) {
    animation-delay: 0.09s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(4) {
    animation-delay: 0.12s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(5) {
    animation-delay: 0.15s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(6) {
    animation-delay: 0.18s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(7) {
    animation-delay: 0.21s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(8) {
    animation-delay: 0.24s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(9) {
    animation-delay: 0.27s;
}

.siege-top__panel--active .siege-top__table tbody tr:nth-child(10) {
    animation-delay: 0.30s;
}

.siege-top__table tbody tr:last-child td {
    border-bottom: 0;
}

.siege-top__table tbody tr:hover td {
    background: rgba(240, 210, 164, 0.04);
}

.siege-top__place {
    width: 42px;
    color: #ffd37a;
    font-weight: 700;
}

.siege-top__name {
    font-weight: 600;
    color: #fff1d9;
}

.siege-top__value {
    text-align: right;
    color: #ffdca3;
    font-weight: 600;
}

.siege-top__muted {
    color: #a99182;
}

@keyframes siegePanelFlyIn {
    from {
        opacity: 0;
        transform: translateX(-42px) scale(0.98);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes siegePanelFlyOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateX(32px) scale(0.98);
        filter: blur(5px);
    }
}

@keyframes siegeRowFlyIn {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* =========================
   КАРТА ОСАД
   ========================= */

.siege-map {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    align-self: start;
}

.siege-map__layout {
    position: relative;
    width: 100%;
}

.siege-map__container {
    position: relative;
    width: 100%;
}

.map-box__image {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   ТОЧКИ КАРТЫ ОСАД
   ========================= */

.map-box__point {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, filter 0.15s ease, z-index 0s;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-box__point:hover {
    z-index: 999;
}

.map-box__point-flag {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-box__point-flag img {
    display: block;
    max-width: 100%;
}

.map-box__point.big .map-box__point-flag img {
    width: 32px;
    height: auto;
}

.map-box__point.small .map-box__point-flag img {
    width: 20px;
    height: auto;
}

.map-box__point-text {
    margin-top: 3px;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffd37a;
    font-size: 13px;
    white-space: nowrap;
}

.map-box__point-slot {
    position: relative;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.map-box__point-slot-bg {
    width: 34px;
    height: 34px;
    background-image: url("/image/map/point_slot.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.guild-icon-map {
    position: absolute;
    width: 30px;
    height: 30px;
}

.map-box__point-destroyed {
    position: absolute;
    width: 44px;
    height: 44px;
}

.map-box__point-slot:hover .map-box__point-slot-bg {
    filter: brightness(1.2);
    box-shadow: 0 0 12px rgba(231, 198, 148, 0.46);
}

.map-box__point-info {
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%);
    min-width: 240px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #100b10;
    border: 1px solid rgba(231, 198, 148, 0.18);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.72);
    color: #f8f1e6;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 20;
}

.map-box__point-info-title {
    display: block;
    font-weight: 700;
    color: #f1d7aa;
    margin-bottom: 3px;
}

.map-box__point-slot:hover .map-box__point-info {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
    pointer-events: auto;
}

/* =========================
   АДАПТИВ
   ========================= */

@media (max-width: 1100px) {
    .news-row {
        grid-template-columns: 260px minmax(0, 1fr);
        min-height: 145px;
    }

    .news-row__image-link,
    .news-row__image,
    .news-row__image--empty {
        min-height: 145px;
    }

    .news-row__title {
        font-size: 20px;
    }

    .siege-dashboard {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .siege-top,
    .siege-map {
        height: auto;
        min-height: auto;
    }

    .siege-top__panels {
        min-height: 432px;
    }
}

@media (max-width: 1000px) {
    .home-news-showcase__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-news-showcase__item--main {
        grid-row: auto;
    }
}

@media (max-width: 900px) {
    .news-row {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .news-row__content {
        padding-left: 18px;
    }

    .news-row__title {
        font-size: 18px;
    }

    .news-row__text {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 768px) {
    .privacy-page__header {
        padding: 46px 0 20px;
    }

    .privacy-card {
        margin-bottom: 48px;
        padding-top: 22px;
    }

    .privacy-subtitle {
        margin-top: 26px;
        font-size: 18px;
    }

    .privacy-card__body,
    .privacy-list li {
        font-size: 13px;
    }

    .privacy-intro {
        font-size: 14px;
    }
}

@media (max-width: 700px) {
    .news-page,
    .news-detail-page {
        margin-top: 34px;
        margin-bottom: 52px;
    }

    .news-page__inner,
    .home-news-showcase {
        padding-left: 10px;
        padding-right: 10px;
    }

    .news-section-block__header,
    .home-news-section__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-row {
        display: block;
        min-height: 0;
    }

    .news-row__image-link,
    .news-row__image,
    .news-row__image--empty {
        width: 100%;
        height: 190px;
        min-height: 190px;
    }

    .news-row__content {
        padding: 14px 0 16px;
    }

    .news-row__footer {
        justify-content: flex-start;
    }

    .home-news-showcase__item {
        display: block;
    }

    .home-news-showcase__image-link,
    .home-news-showcase__image,
    .home-news-showcase__image--empty {
        height: 190px;
        min-height: 190px;
    }

    .home-news-showcase__item--main .home-news-showcase__image-link,
    .home-news-showcase__item--main .home-news-showcase__image,
    .home-news-showcase__item--main .home-news-showcase__image--empty {
        height: 210px;
        min-height: 210px;
    }

    .home-news-showcase__content {
        padding: 14px 0 16px;
    }

    .home-news-showcase__item--main .home-news-showcase__title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .privacy-page .container,
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .privacy-page__header {
        padding-top: 40px;
    }

    .privacy-card {
        margin-bottom: 40px;
    }

    .home-news-showcase {
        margin-top: 36px;
        margin-bottom: 28px;
    }

    .news-row__image-link,
    .news-row__image,
    .news-row__image--empty {
        height: 170px;
        min-height: 170px;
    }

    .news-row__title {
        font-size: 17px;
    }

    .news-row__text,
    .home-news-showcase__text {
        font-size: 13px;
    }

    .news-page__load-more {
        width: 100%;
    }

    .siege-section {
        margin-top: 42px;
        margin-bottom: 52px;
        padding: 0 10px;
    }

    .siege-dashboard {
        gap: 26px;
    }

    .siege-top__tabs {
        grid-template-columns: 1fr;
    }

    .siege-top__panels {
        min-height: 398px;
    }

    .siege-top__table {
        font-size: 12px;
    }

    .siege-top__table thead th,
    .siege-top__table tbody td {
        padding: 8px 6px;
    }

    .map-box__point-text {
        font-size: 11px;
        padding: 2px 6px;
    }

    .map-box__point-info {
        min-width: 180px;
        font-size: 10px;
    }

    .map-box__point.big .map-box__point-flag img {
        width: 26px;
    }

    .map-box__point.small .map-box__point-flag img {
        width: 16px;
    }

    .map-box__point-slot-bg {
        width: 28px;
        height: 28px;
    }

    .guild-icon-map {
        width: 24px;
        height: 24px;
    }

    .map-box__point-destroyed {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .siege-top__panel--active,
    .siege-top__panel--leaving,
    .siege-top__table tbody tr {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}


/* R2 ROYAL redesign layer */
:root{
    --royal-bg:#080706;
    --royal-bg-2:#14110c;
    --royal-panel:rgba(25,22,17,.84);
    --royal-panel-2:rgba(39,34,26,.92);
    --royal-gold:#d6a84f;
    --royal-gold-2:#ffe3a1;
    --royal-beige:#cbbba0;
    --royal-muted:#8f806b;
    --royal-line:rgba(214,168,79,.26);
    --royal-danger:#b8893a;
    --royal-radius:22px;
    --royal-shadow:0 22px 80px rgba(0,0,0,.46);
}
html,body{background:radial-gradient(circle at 18% 0%, rgba(214,168,79,.13), transparent 32%),linear-gradient(145deg,#070604 0%,#12100c 52%,#070604 100%);color:#f8f1e4;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent);z-index:-1;}
a{text-decoration:none}.container{max-width:1240px}.title,.main-title{color:var(--royal-gold-2);letter-spacing:.12em}.btn{border-radius:999px;border:1px solid var(--royal-line);font-weight:800;letter-spacing:.04em;text-transform:uppercase;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.btn:hover{transform:translateY(-2px)}.btn--primary,.btn--royal{background:linear-gradient(135deg,#ffd878,#b77d24);color:#171007;box-shadow:0 12px 34px rgba(214,168,79,.24)}.btn--secondary{background:rgba(255,255,255,.04);color:var(--royal-gold-2);border-color:var(--royal-line)}.btn--link{color:var(--royal-gold-2)}
.royal-hero{position:relative;overflow:hidden;min-height:650px;padding:112px 16px 74px;border-bottom:1px solid var(--royal-line)}.royal-hero__bg{position:absolute;inset:0;background:radial-gradient(circle at 73% 25%,rgba(214,168,79,.20),transparent 28%),linear-gradient(120deg,rgba(0,0,0,.18),rgba(0,0,0,.86)),url('/image/content/background.jpg') center/cover no-repeat;opacity:.75;filter:saturate(.8) contrast(1.08)}.royal-hero::after{content:"";position:absolute;inset:auto -20% -45% -20%;height:420px;background:radial-gradient(ellipse at center,rgba(214,168,79,.18),transparent 65%)}.royal-hero__inner{position:relative;z-index:1;max-width:1240px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.15fr) 420px;gap:34px;align-items:center}.royal-kicker{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;margin-bottom:18px;border:1px solid var(--royal-line);border-radius:999px;background:rgba(0,0,0,.34);color:var(--royal-gold-2);font-weight:800;text-transform:uppercase;letter-spacing:.14em;font-size:12px}.royal-kicker::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--royal-gold);box-shadow:0 0 18px var(--royal-gold)}.royal-hero h1{margin:0;font-size:clamp(56px,10vw,132px);line-height:.86;letter-spacing:.02em;color:#fff4d2;text-shadow:0 12px 48px rgba(0,0,0,.65)}.royal-hero__lead{max-width:650px;margin:26px 0 0;color:#dbcbb1;font-size:clamp(17px,2vw,22px);line-height:1.58}.royal-hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}.royal-hero__badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.royal-hero__badges span{padding:9px 12px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(0,0,0,.28);color:#c8b89d;font-size:13px}.royal-status-card{padding:28px;border:1px solid var(--royal-line);border-radius:var(--royal-radius);background:linear-gradient(145deg,rgba(17,15,12,.88),rgba(39,32,21,.75));box-shadow:var(--royal-shadow);backdrop-filter:blur(12px)}.royal-status-card__label{color:var(--royal-muted);font-size:12px;text-transform:uppercase;letter-spacing:.16em}.royal-status-card__value{margin:8px 0 22px;color:var(--royal-gold-2);font-size:34px;font-weight:900}.royal-status-card__row{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid rgba(214,168,79,.16);color:var(--royal-beige)}.royal-status-card__row strong{color:var(--royal-gold-2)}.royal-features{max-width:1240px;margin:-44px auto 66px;padding:0 16px;position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.royal-feature{padding:22px;border-radius:20px;border:1px solid var(--royal-line);background:linear-gradient(180deg,rgba(25,22,17,.92),rgba(16,14,11,.92));box-shadow:0 18px 50px rgba(0,0,0,.25)}.royal-feature span{color:var(--royal-gold);font-weight:900}.royal-feature h3{margin:12px 0 8px;color:#fff0c2}.royal-feature p{margin:0;color:#b8a993;line-height:1.55;font-size:14px}.home-news-section,.siege-section,.news-page,.news-detail-page,.profile-page,.privacy-page,.terms-page{position:relative;z-index:1}.home-news-showcase__item,.siege-dashboard,.siege-top,.news-card,.profile-card,.privacy-card,.terms-card,.modal__dialog{border:1px solid var(--royal-line)!important;border-radius:var(--royal-radius)!important;background:linear-gradient(145deg,rgba(22,19,15,.94),rgba(12,11,9,.94))!important;box-shadow:var(--royal-shadow)!important}.home-news-showcase__date,.home-news-showcase__more,.siege-top__value,.siege-top__place,.privacy-subtitle,.terms-subtitle{color:var(--royal-gold-2)!important}.home-news-showcase__image--empty{background:linear-gradient(135deg,#1c1811,#6f4a18);color:#ffe4a3}.siege-top__tab{border-radius:999px!important}.siege-top__tab--active{background:linear-gradient(135deg,#ffd878,#b77d24)!important;color:#151009!important}.table-empty{border-color:var(--royal-line);border-radius:18px;background:rgba(0,0,0,.24);color:var(--royal-beige)}.modal__field input{border:1px solid var(--royal-line)!important;border-radius:14px!important;background:rgba(0,0,0,.28)!important;color:#fff5df!important}.modal__field input:focus{outline:none;border-color:rgba(255,216,120,.78)!important;box-shadow:0 0 0 4px rgba(214,168,79,.12)}.modal__tab--active{color:var(--royal-gold-2)!important;border-color:var(--royal-gold)!important}.modal__message--error{color:var(--royal-danger)!important}.modal__message--success{color:#8bd78b!important}
@media (max-width:980px){.royal-hero{padding-top:96px}.royal-hero__inner{grid-template-columns:1fr}.royal-status-card{max-width:520px}.royal-features{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}}@media (max-width:620px){.royal-hero{min-height:auto;padding:88px 14px 56px}.royal-hero h1{font-size:56px}.royal-hero__actions .btn{width:100%;justify-content:center}.royal-features{grid-template-columns:1fr}.royal-status-card{padding:20px}}


/* =========================================================
   PREMIUM BLACK-GOLD RESTYLE — остальные страницы
   Добавлено поверх существующих стилей, чтобы не ломать PHP/JS.
   ========================================================= */
:root {
    --royal-bg: #060507;
    --royal-bg-2: #0b090d;
    --royal-ink: #120d14;
    --royal-panel: rgba(17, 13, 18, 0.78);
    --royal-panel-strong: rgba(23, 17, 23, 0.92);
    --royal-panel-soft: rgba(255, 224, 164, 0.045);
    --royal-line: rgba(224, 180, 93, 0.24);
    --royal-line-strong: rgba(255, 218, 139, 0.46);
    --royal-gold: #d7a84d;
    --royal-gold-2: #ffe2a3;
    --royal-gold-3: #a76c23;
    --royal-cream: #fff2d4;
    --royal-text: #f4eadb;
    --royal-beige: #cdbda9;
    --royal-muted: #8f7d6b;
    --royal-danger: #d29a54;
    --royal-success: #e5bd6a;
    --royal-radius: 26px;
    --royal-radius-sm: 16px;
    --royal-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
    --royal-shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.36);
    --royal-glow: 0 0 36px rgba(215, 168, 77, 0.16);
}

html,
body {
    background:
        radial-gradient(circle at 18% -8%, rgba(215, 168, 77, 0.13), transparent 32%),
        radial-gradient(circle at 86% 12%, rgba(130, 82, 31, 0.14), transparent 34%),
        linear-gradient(180deg, #080609 0%, #050406 48%, #080609 100%);
    color: var(--royal-text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 0%, black 0, transparent 74%);
}

.container,
.news-page__inner,
.legal-page__container,
.privacy-page .container {
    max-width: 1240px;
}

.title,
.main-title,
.news-section-block__title,
.legal-page__title,
.news-detail__title {
    color: var(--royal-cream);
    letter-spacing: 0.06em;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.main-title,
.legal-page__title,
.news-detail__title {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 0.98;
}

.royal-kicker,
.legal-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--royal-line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.26);
    color: var(--royal-gold-2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), var(--royal-glow);
}

.royal-kicker::before,
.legal-page__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--royal-gold);
    box-shadow: 0 0 18px rgba(215, 168, 77, 0.9);
}

.btn,
.news-row__more,
.home-news-showcase__more,
.news-detail__back,
.profile-balance__btn,
.password-form__btn,
.password-form__cancel,
.news-page__load-more {
    border-radius: 999px;
    border: 1px solid var(--royal-line);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
        rgba(13, 10, 14, 0.72);
    color: var(--royal-gold-2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover,
.news-row__more:hover,
.home-news-showcase__more:hover,
.news-detail__back:hover,
.password-form__cancel:hover,
.news-page__load-more:hover {
    transform: translateY(-2px);
    border-color: var(--royal-line-strong);
    color: var(--royal-cream);
    box-shadow: 0 14px 36px rgba(0,0,0,.32), 0 0 28px rgba(215,168,77,.13);
}

.btn--primary,
.btn--royal,
.password-form__btn,
.profile-balance__btn {
    border-color: rgba(255, 218, 139, .58);
    background:
        linear-gradient(135deg, #ffe5a8 0%, #d49a3a 42%, #8a531b 100%);
    color: #171008;
    font-weight: 900;
    box-shadow: 0 16px 42px rgba(215,168,77,.23), inset 0 1px 0 rgba(255,255,255,.42);
}

.btn--primary:hover,
.btn--royal:hover,
.password-form__btn:hover,
.profile-balance__btn:hover {
    color: #100b06;
    box-shadow: 0 20px 50px rgba(215,168,77,.32), 0 0 36px rgba(255,226,163,.18);
}

/* Главная */
.royal-hero {
    min-height: 690px;
    padding: 126px 16px 86px;
    border-bottom: 1px solid var(--royal-line);
}

.royal-hero__bg {
    opacity: .82;
    filter: saturate(.78) contrast(1.12) brightness(.78);
    background:
        radial-gradient(circle at 72% 24%, rgba(255, 218, 139, .25), transparent 24%),
        radial-gradient(circle at 24% 66%, rgba(167, 108, 35, .16), transparent 28%),
        linear-gradient(115deg, rgba(0,0,0,.28), rgba(0,0,0,.9) 72%),
        url('/image/content/background.jpg') center/cover no-repeat;
}

.royal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 218, 139, .08), transparent 18%, transparent 82%, rgba(255, 218, 139, .06));
}

.royal-hero h1 {
    color: var(--royal-cream);
    letter-spacing: .01em;
    text-shadow: 0 18px 70px rgba(0,0,0,.72), 0 0 42px rgba(215,168,77,.16);
}

.royal-hero__lead,
.legal-page__lead,
.profile-page__subtitle,
.news-page__subtitle,
.home-news-section__subtitle {
    color: var(--royal-beige);
}

.royal-hero__badges span {
    border-color: rgba(255, 218, 139, .18);
    background: rgba(0,0,0,.34);
    color: #d8c8ad;
    backdrop-filter: blur(10px);
}

.royal-status-card,
.royal-feature,
.royal-download__card,
.royal-download__step,
.home-news-showcase__item,
.siege-dashboard,
.siege-top,
.news-row,
.news-detail,
.profile-nav,
.profile-hero,
.profile-card,
.privacy-card,
.legal-doc,
.table-empty {
    position: relative;
    border: 1px solid var(--royal-line) !important;
    border-radius: var(--royal-radius) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
        radial-gradient(circle at 0% 0%, rgba(255, 218, 139, .09), transparent 35%),
        linear-gradient(180deg, rgba(20,15,21,.88), rgba(9,7,10,.9)) !important;
    box-shadow: var(--royal-shadow) !important;
    overflow: hidden;
}

.royal-feature::after,
.home-news-showcase__item::after,
.profile-card::after,
.news-row::after,
.legal-doc::after,
.royal-status-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 28%, transparent 70%, rgba(215,168,77,.05));
    opacity: .72;
}

.royal-feature,
.home-news-showcase__item,
.news-row,
.profile-card,
.royal-download__step {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.royal-feature:hover,
.home-news-showcase__item:hover,
.news-row:hover,
.profile-card:hover,
.royal-download__step:hover {
    transform: translateY(-4px);
    border-color: var(--royal-line-strong) !important;
    box-shadow: 0 30px 96px rgba(0,0,0,.62), 0 0 38px rgba(215,168,77,.12) !important;
}

.royal-feature h3,
.royal-status-card__value,
.home-news-showcase__title,
.news-row__title,
.profile-card__title,
.siege-top__title,
.royal-download__step h3,
.legal-doc h2,
.privacy-subtitle {
    color: var(--royal-gold-2) !important;
}

.royal-feature p,
.home-news-showcase__text,
.news-row__text,
.news-detail__content,
.privacy-card__body,
.legal-doc p,
.legal-doc li,
.profile-field__label,
.profile-hero__email,
.password-form__intro-text,
.royal-download__lead,
.royal-download__step p {
    color: var(--royal-beige) !important;
}

.royal-feature span,
.home-news-showcase__date,
.news-row__date,
.news-section-block__count,
.siege-top__place,
.siege-top__value,
.profile-balance__value,
.profile-nav__group-title {
    color: var(--royal-gold) !important;
}

/* Новости */
.news-page,
.news-detail-page,
.profile-page {
    margin-top: 72px;
}

.news-section-block__header {
    border-bottom: 1px solid var(--royal-line);
}

.news-list {
    gap: 18px;
}

.news-row {
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 188px;
    border-bottom: 1px solid var(--royal-line) !important;
}

.news-row:first-child {
    border-top: 1px solid var(--royal-line) !important;
}

.news-row__image-link,
.home-news-showcase__image-link,
.news-detail__image-wrap {
    background: #09070a;
}

.news-row__image,
.home-news-showcase__image,
.news-detail__image {
    filter: saturate(.86) contrast(1.08) brightness(.88);
}

.news-row:hover .news-row__image,
.home-news-showcase__item:hover .home-news-showcase__image {
    filter: saturate(.95) contrast(1.12) brightness(1.02);
}

.news-row__content {
    padding: 24px 26px;
    z-index: 1;
}

.news-row__more,
.home-news-showcase__more,
.news-detail__back {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 12px;
}

.news-page__separator {
    background: linear-gradient(90deg, transparent, var(--royal-line-strong), transparent);
}

.news-detail {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
}

.news-detail__content {
    font-size: 16px;
    line-height: 1.78;
}

/* Интерактивная карта / рейтинги */
.siege-section {
    margin-top: 74px;
}

.siege-dashboard {
    padding: 22px;
    gap: 22px;
}

.siege-top {
    padding: 24px !important;
}

.siege-top__tab {
    border-radius: 999px !important;
    background: rgba(255, 226, 163, .045) !important;
    border-color: var(--royal-line) !important;
}

.siege-top__tab--active {
    background: linear-gradient(135deg, #ffe5a8, #d49a3a 54%, #80501d) !important;
    color: #130d08 !important;
    border-color: rgba(255, 236, 187, .72) !important;
    box-shadow: 0 14px 32px rgba(215,168,77,.22) !important;
}

.siege-top__table thead th {
    color: var(--royal-muted) !important;
    border-bottom-color: var(--royal-line) !important;
}

.siege-top__table tbody td {
    border-bottom-color: rgba(224,180,93,.13) !important;
}

.siege-map__container,
.map-box__image {
    border-radius: 24px;
}

.map-box__point-slot {
    box-shadow: 0 0 0 1px rgba(255,226,163,.26), 0 0 22px rgba(215,168,77,.18);
}

/* Личный кабинет */
.profile-nav {
    padding: 20px !important;
    top: 112px;
}

.profile-nav__link {
    border-radius: 15px !important;
    color: var(--royal-beige) !important;
    background: rgba(255,255,255,.025);
    border: 1px solid transparent;
}

.profile-nav__link:hover,
.profile-nav__link--active {
    background: linear-gradient(135deg, rgba(255,226,163,.14), rgba(215,168,77,.055)) !important;
    border-color: var(--royal-line) !important;
    color: var(--royal-gold-2) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

.profile-hero {
    padding: 24px !important;
}

.profile-avatar__preview {
    border-color: var(--royal-line-strong) !important;
    background:
        radial-gradient(circle at 38% 25%, rgba(255,226,163,.22), transparent 42%),
        linear-gradient(145deg, rgba(35,25,30,.9), rgba(10,8,10,.95)) !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.42), 0 0 28px rgba(215,168,77,.12) !important;
}

.profile-field__control input,
.modal__field input,
.modal__field-inline input {
    border: 1px solid var(--royal-line) !important;
    border-radius: 16px !important;
    background: rgba(0,0,0,.28) !important;
    color: var(--royal-cream) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.profile-field__control input:focus,
.modal__field input:focus,
.modal__field-inline input:focus {
    outline: none;
    border-color: var(--royal-line-strong) !important;
    box-shadow: 0 0 0 4px rgba(215,168,77,.12), inset 0 1px 0 rgba(255,255,255,.055);
}

.profile-balance {
    border: 1px solid var(--royal-line) !important;
    border-radius: 22px !important;
    background: rgba(0,0,0,.24) !important;
}

.password-form__intro {
    border-color: var(--royal-line) !important;
    background: rgba(255,226,163,.045) !important;
    border-radius: 20px !important;
}

/* Юридические страницы */
.legal-page__hero,
.privacy-page__header {
    padding-top: 92px;
}

.legal-doc,
.privacy-card {
    padding: 32px !important;
}

.legal-doc a,
.privacy-card__body a {
    color: var(--royal-gold-2) !important;
    border-bottom-color: rgba(255,226,163,.42) !important;
}

/* Футер */
.site-footer {
    margin-top: 96px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(215,168,77,.12), transparent 36%),
        linear-gradient(180deg, transparent, rgba(7,5,8,.92) 26%, #050406) !important;
}

.site-footer__inner {
    max-width: 1240px !important;
    border: 1px solid var(--royal-line) !important;
    border-radius: 28px 28px 0 0 !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.01)),
        rgba(10, 8, 11, .72) !important;
    box-shadow: 0 -18px 72px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.045) !important;
}

.site-footer__title,
.site-footer__legal-link:hover {
    color: var(--royal-gold-2) !important;
}

.site-footer__logo-img {
    border-color: var(--royal-line-strong) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.42), 0 0 24px rgba(215,168,77,.12) !important;
}

/* Модальные окна */
.modal__dialog {
    border: 1px solid var(--royal-line-strong) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(255,226,163,.12), transparent 34%),
        linear-gradient(145deg, rgba(24,18,25,.98), rgba(8,7,9,.98)) !important;
    box-shadow: 0 36px 110px rgba(0,0,0,.78), 0 0 48px rgba(215,168,77,.14) !important;
}

.modal__tab {
    border-radius: 999px !important;
}

.modal__tab--active {
    color: #170f08 !important;
    background: linear-gradient(135deg, #ffe5a8, #d49a3a) !important;
    border-color: rgba(255,236,187,.72) !important;
}

.modal__message--error,
.modal__message.is-error {
    color: var(--royal-danger) !important;
}

.modal__message--success,
.modal__message.is-success {
    color: var(--royal-success) !important;
}

/* Адаптив */
@media (max-width: 980px) {
    .royal-hero {
        min-height: auto;
        padding-top: 104px;
    }

    .royal-hero__inner,
    .profile-page__layout,
    .siege-dashboard {
        grid-template-columns: 1fr !important;
    }

    .profile-nav {
        position: relative;
        top: auto;
    }

    .news-row {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .main-title,
    .legal-page__title,
    .news-detail__title {
        font-size: clamp(30px, 10vw, 42px);
    }

    .royal-hero {
        padding: 86px 14px 54px;
    }

    .royal-hero h1 {
        font-size: clamp(54px, 18vw, 72px);
    }

    .news-row {
        grid-template-columns: 1fr;
    }

    .news-row__image-link,
    .news-row__image,
    .news-row__image--empty {
        min-height: 210px;
    }

    .news-row__content,
    .news-detail,
    .legal-doc,
    .privacy-card {
        padding: 22px !important;
    }

    .royal-download__card {
        padding: 24px !important;
    }

    .site-footer__inner {
        border-radius: 24px 24px 0 0 !important;
    }
}


/* ==========================================================
   STRICT MINIMAL BLACK-GOLD — вариант 3
   Строгий, менее округлый, без лишнего glow. Карта осад сохранена.
   ========================================================== */
:root {
    --royal-radius: 6px !important;
    --royal-shadow: 0 14px 34px rgba(0,0,0,.42) !important;
    --royal-line: rgba(191, 148, 72, .26) !important;
    --royal-line-strong: rgba(218, 180, 104, .44) !important;
    --royal-gold: #c99a45 !important;
    --royal-gold-2: #ead09a !important;
    --royal-cream: #f4ead7 !important;
    --royal-beige: #c7b79e !important;
    --royal-muted: #8f806f !important;

    --vh-radius-pill: 4px !important;
    --vh-radius-md: 4px !important;
    --vh-radius-lg: 6px !important;
    --vh-lux-shadow: 0 14px 34px rgba(0,0,0,.46) !important;
}

html, body {
    background:
        linear-gradient(180deg, #060506 0%, #0a0809 52%, #050405 100%) !important;
    color: #f4ead7 !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(201,154,69,.035), transparent 18%, transparent 82%, rgba(201,154,69,.025)),
        radial-gradient(circle at 50% -10%, rgba(201,154,69,.09), transparent 34%);
    z-index: -1;
}

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.title,
.main-title,
.legal-page__title,
.news-detail__title {
    color: #f0d7a5 !important;
    letter-spacing: .075em !important;
    text-transform: uppercase;
    text-shadow: none !important;
}

.btn,
.btn--primary,
.btn--secondary,
.btn--link,
.btn--royal,
.site-header__account-btn,
.site-header__logout-btn,
.site-header__burger,
.modal__tab,
.mobile-menu__close {
    border-radius: 4px !important;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.btn:hover,
.site-header__nav-link:hover,
.site-header__account-btn:hover,
.site-header__burger:hover,
.mobile-menu__link:hover,
.profile-nav__link:hover,
.profile-nav__link--active {
    transform: none !important;
    box-shadow: none !important;
}

.btn--primary,
.btn--royal.btn--primary,
.siege-top__tab--active,
.modal__tab--active {
    background: linear-gradient(180deg, #dfbf76 0%, #b9852f 100%) !important;
    color: #120d08 !important;
    border-color: rgba(238, 206, 143, .62) !important;
}

.btn--secondary,
.btn--royal.btn--secondary {
    background: rgba(10, 8, 9, .72) !important;
    color: #ead09a !important;
    border-color: rgba(201, 154, 69, .34) !important;
}

.btn:hover,
.btn--secondary:hover {
    background: rgba(201,154,69,.10) !important;
    color: #f4ead7 !important;
    border-color: rgba(234,208,154,.48) !important;
}

/* Header: строгая панель вместо овальных/слишком мягких форм */
.site-header {
    padding: 0 !important;
    background: rgba(5, 4, 5, .86) !important;
    border-bottom: 1px solid rgba(201,154,69,.18) !important;
    backdrop-filter: blur(10px) !important;
}

.site-header__inner {
    max-width: 1240px !important;
    min-height: 68px !important;
    margin-top: 0 !important;
    padding: 10px 18px !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.site-header__inner::before,
.site-header__logo-glow,
.site-header__logo-img::after {
    display: none !important;
}

.site-header__logo-mark,
.site-header__logo-img {
    border-radius: 4px !important;
}

.site-header__logo-img {
    width: 42px !important;
    height: 42px !important;
    background: #0c0909 !important;
    border: 1px solid rgba(201,154,69,.42) !important;
    box-shadow: none !important;
}

.site-header__logo:hover .site-header__logo-img {
    transform: none !important;
    border-color: rgba(234,208,154,.58) !important;
    box-shadow: none !important;
}

.site-header__logo-title {
    color: #f4ead7 !important;
    text-shadow: none !important;
    letter-spacing: .095em !important;
}

.site-header__logo-sub,
.site-header__logo-kicker,
.site-header__nav-num {
    color: #9d8b71 !important;
}

.site-header__nav {
    gap: 2px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.site-header__nav-link {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 0 !important;
    color: #c9b99f !important;
    border: 1px solid transparent !important;
}

.site-header__nav-link:hover,
.site-header__nav-link--accent {
    color: #ead09a !important;
    background: rgba(201,154,69,.075) !important;
    border-color: rgba(201,154,69,.22) !important;
}

.site-header__nav-link::after {
    left: 14px !important;
    right: 14px !important;
    bottom: 4px !important;
    background: #c99a45 !important;
}

.site-header__account-btn,
.site-header__logout-btn,
.site-header__burger {
    min-height: 40px !important;
    background: rgba(8, 7, 8, .72) !important;
    border: 1px solid rgba(201,154,69,.30) !important;
    color: #ead09a !important;
}

.site-header__account-dot {
    border-radius: 2px !important;
    box-shadow: none !important;
    background: #c99a45 !important;
}

.site-header__burger-line { background: #ead09a !important; }

/* Общие секции и карточки: меньше радиусов, меньше сияния, чётче сетка */
.royal-hero {
    min-height: 600px !important;
    padding: 104px 16px 64px !important;
    border-bottom: 1px solid rgba(201,154,69,.18) !important;
}

.royal-hero__bg {
    opacity: .56 !important;
    filter: grayscale(.08) saturate(.76) contrast(1.02) !important;
}

.royal-hero::after,
.royal-status-card::before,
.royal-download__card::before,
.news-row::before,
.profile-card::before,
.legal-doc::before,
.privacy-card::before {
    display: none !important;
}

.royal-kicker,
.royal-hero__badges span,
.royal-status-card,
.royal-feature,
.royal-download__card,
.royal-download__step,
.home-news-showcase__item,
.news-row,
.news-card,
.news-detail,
.profile-nav,
.profile-card,
.profile-hero,
.profile-balance,
.password-form__intro,
.legal-doc,
.privacy-card,
.terms-card,
.modal__dialog,
.table-empty,
.site-footer__inner {
    border-radius: 6px !important;
    border: 1px solid rgba(201,154,69,.24) !important;
    background: linear-gradient(180deg, rgba(16,13,13,.94), rgba(9,8,8,.94)) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.34) !important;
}

.royal-feature,
.royal-download__step,
.home-news-showcase__item,
.news-row,
.profile-card,
.legal-doc,
.privacy-card {
    transition: border-color .16s ease, background .16s ease !important;
}

.royal-feature:hover,
.home-news-showcase__item:hover,
.news-row:hover,
.profile-card:hover {
    border-color: rgba(234,208,154,.38) !important;
    transform: none !important;
}

.royal-hero h1 {
    color: #f1d8a4 !important;
    text-shadow: none !important;
    letter-spacing: .015em !important;
}

.royal-status-card__value,
.royal-feature h3,
.royal-download__step h3,
.home-news-showcase__date,
.home-news-showcase__more,
.news-row__date,
.profile-section__title,
.legal-doc h2,
.privacy-card__title {
    color: #ead09a !important;
    text-shadow: none !important;
}

/* Осады: не превращаем карту в карточку, не скрываем изображение */
.siege-section {
    max-width: 1240px !important;
    margin: 64px auto 76px !important;
    padding: 0 16px !important;
}

.siege-dashboard {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    gap: 30px !important;
    align-items: start !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.siege-top {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(201,154,69,.24) !important;
    background: linear-gradient(180deg, rgba(16,13,13,.94), rgba(9,8,8,.94)) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.30) !important;
}

.siege-map {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.siege-map__layout,
.siege-map__container {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-height: 1px !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.map-box__image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    border: 1px solid rgba(201,154,69,.20) !important;
    box-shadow: none !important;
}

.siege-top__tab,
.map-box__point-text,
.map-box__point-info,
.profile-nav__link,
.profile-field__control input,
.modal__field input,
.modal__field-inline input,
.mobile-menu__link {
    border-radius: 4px !important;
}

.siege-top__tab {
    min-height: 36px !important;
    background: rgba(9,8,8,.75) !important;
    border-color: rgba(201,154,69,.24) !important;
    box-shadow: none !important;
}

.map-box__point-slot { box-shadow: none !important; }
.map-box__point-slot-bg { filter: sepia(.12) saturate(.9) !important; }
.map-box__point-slot:hover .map-box__point-slot-bg { box-shadow: none !important; filter: brightness(1.1) sepia(.12) !important; }

/* Footer / mobile / modal */
.site-footer {
    margin-top: 78px !important;
    background: linear-gradient(180deg, transparent, rgba(5,4,5,.96) 36%, #050405) !important;
}

.site-footer__inner {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
}

.mobile-menu__panel {
    border-radius: 0 !important;
    background: #080707 !important;
    border-left: 1px solid rgba(201,154,69,.26) !important;
    box-shadow: -18px 0 40px rgba(0,0,0,.62) !important;
}

.modal__dialog {
    border-radius: 6px !important;
    background: linear-gradient(180deg, rgba(17,14,14,.98), rgba(8,7,7,.98)) !important;
}

.profile-avatar__preview {
    border-radius: 6px !important;
    box-shadow: none !important;
    background: #0b0909 !important;
}

@media (max-width: 980px) {
    .siege-dashboard {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .site-header__inner { min-height: 64px !important; }
    .site-header__logo-img { width: 38px !important; height: 38px !important; }
}

/* Variant 4 fallback overrides: strict minimal siege/buttons */
.site-header__nav-num{display:none!important}.site-header__nav-link{gap:0!important}.btn,a.btn,button.btn,.site-header__account-btn,.site-header__logout-btn,.site-header__burger,.mobile-menu__link,.modal__tab,.siege-top__tab,.profile-nav__link{border-radius:8px!important}.btn--primary,.btn.btn--primary,button.btn--primary,a.btn--primary,.siege-top__tab--active,.modal__tab--active{background:linear-gradient(180deg,#e1bf74 0%,#bc8731 100%)!important;color:#120d08!important;border-color:rgba(238,206,143,.66)!important}.btn--primary:hover,.btn.btn--primary:hover,button.btn--primary:hover,a.btn--primary:hover,.siege-top__tab--active:hover,.modal__tab--active:hover{background:linear-gradient(180deg,#f0d38e 0%,#c9933b 100%)!important;color:#0b0806!important;border-color:rgba(255,226,165,.82)!important}.btn:hover,a.btn:hover,button.btn:hover,.btn--secondary:hover,.site-header__account-btn:hover,.site-header__logout-btn:hover,.site-header__burger:hover,.mobile-menu__link:hover,.profile-nav__link:hover,.siege-top__tab:not(.siege-top__tab--active):hover{background:rgba(201,154,69,.14)!important;color:#fff0c8!important;border-color:rgba(234,208,154,.54)!important}.siege-section{max-width:1240px!important;margin:66px auto 82px!important;padding:0 16px!important}.siege-dashboard{display:grid!important;grid-template-columns:320px minmax(0,1fr)!important;gap:34px!important;align-items:start!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}.siege-top,.siege-map,.siege-map__layout,.siege-map__container{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}.siege-top{position:sticky!important;top:92px!important;display:flex!important;flex-direction:column!important}.siege-top__header{padding:0 0 14px!important;margin-bottom:14px!important;border-bottom:1px solid rgba(201,154,69,.18)!important}.siege-top__panels{min-height:432px!important;overflow:hidden!important;background:transparent!important;border:0!important;box-shadow:none!important}.siege-top__table{border-collapse:collapse!important;background:transparent!important}.siege-top__table thead th{border-bottom:1px solid rgba(201,154,69,.18)!important}.siege-top__table tbody td{background:transparent!important;border-bottom:1px solid rgba(201,154,69,.105)!important}.siege-top__table tbody tr:hover td{background:rgba(201,154,69,.055)!important;color:#fff1d0!important}.map-box__image{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}@media(max-width:980px){.siege-dashboard{grid-template-columns:1fr!important;gap:28px!important}.siege-top{position:relative!important;top:auto!important}}
