:root {
    --gr-bg: #090806;
    --gr-panel: rgba(18, 14, 11, 0.94);
    --gr-panel-strong: #15100c;
    --gr-line: rgba(198, 151, 75, 0.24);
    --gr-line-strong: rgba(224, 178, 91, 0.55);
    --gr-gold: #d9a84f;
    --gr-gold-soft: #f0cf8c;
    --gr-text: #e7dfd1;
    --gr-muted: #9e9588;
    --gr-red: #8f321f;
}

* { box-sizing: border-box; }

html {
    min-width: 0 !important;
    height: auto !important;
    background: var(--gr-bg);
}

body {
    min-width: 0 !important;
    min-height: 100vh;
    height: auto !important;
    margin: 0 !important;
    color: var(--gr-text) !important;
    background:
        radial-gradient(circle at 50% 15%, rgba(112, 54, 26, 0.16), transparent 30%),
        linear-gradient(180deg, #080705 0, #0c0907 46%, #070605 100%) !important;
    font: 13px/1.6 Manrope, Arial, sans-serif !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("../img/grymuar2026/bg-fire.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(0.6);
}

img { max-width: 100%; }
a { color: var(--gr-gold-soft); }

#page {
    width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    overflow: visible !important;
}

.header-wrapper { display: none !important; }

.grymuar-header {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--gr-line);
    background: #090806;
}

.grymuar-nav-shell {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    width: min(1220px, calc(100% - 42px));
    min-height: 76px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.grymuar-brand img {
    width: 156px;
    height: auto;
}

.grymuar-topnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.grymuar-topnav a {
    position: relative;
    padding: 13px 14px;
    color: #aaa196;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.grymuar-topnav a::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 7px;
    left: 14px;
    height: 1px;
    background: var(--gr-gold);
    transform: scaleX(0);
    transition: transform 160ms ease;
}

.grymuar-topnav a:hover,
.grymuar-topnav a.active { color: #f3e6d2; }
.grymuar-topnav a:hover::after,
.grymuar-topnav a.active::after { transform: scaleX(1); }

.grymuar-account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grymuar-account-actions a,
.grymuar-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid var(--gr-line-strong);
    color: #ead8b6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: 160ms ease;
}

.grymuar-account-actions .account-register,
.grymuar-hero-actions .hero-download {
    color: #190f08;
    border-color: #d6a452;
    background: linear-gradient(135deg, #f2cf82, #b87827);
    box-shadow: 0 8px 28px rgba(161, 93, 27, 0.24);
}

.grymuar-account-actions a:hover,
.grymuar-hero-actions a:hover {
    transform: translateY(-2px);
    border-color: #ecc878;
    color: #fff0ce;
}

.grymuar-account-actions .account-register:hover,
.grymuar-hero-actions .hero-download:hover { color: #190f08; filter: brightness(1.08); }

.grymuar-hero {
    position: relative;
    min-height: 510px;
    display: grid;
    place-items: center;
    padding: 70px 24px 78px;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(6, 5, 4, 0.86) 0%, rgba(7, 6, 5, 0.22) 36%, rgba(7, 6, 5, 0.22) 64%, rgba(6, 5, 4, 0.86) 100%),
        linear-gradient(180deg, rgba(7, 6, 5, 0.18) 0%, rgba(7, 6, 5, 0.3) 54%, #090806 100%),
        url("../img/grymuar2026/hero-grymuar-clean-v2.png") center 15% / cover no-repeat;
}

.grymuar-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 42%;
    background: linear-gradient(180deg, transparent, #090806);
}

.grymuar-hero-content {
    width: min(710px, 100%);
    text-align: center;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

.grymuar-kicker {
    margin: 0 0 -10px;
    color: var(--gr-gold) !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.grymuar-hero-logo {
    width: min(400px, 78vw);
    margin: 0 auto -18px;
}

.grymuar-hero h1 {
    margin: 0;
    color: #f6efe5;
    font: 800 clamp(30px, 4vw, 54px)/1.08 Cinzel, Georgia, serif;
    letter-spacing: -0.035em;
}

.grymuar-hero h1 span { color: var(--gr-gold-soft); }

.grymuar-hero-content > p:not(.grymuar-kicker) {
    max-width: 620px;
    margin: 18px auto 0;
    color: #c7beb1 !important;
    font-size: 14px !important;
}

.grymuar-hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.grymuar-hero-actions a { min-width: 150px; min-height: 46px; }

.grymuar-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 570px;
    margin: 34px auto 0;
    border: 1px solid var(--gr-line);
    background: rgba(10, 8, 6, 0.72);
    backdrop-filter: blur(8px);
}

.grymuar-hero-stats div {
    padding: 12px 18px;
    border-right: 1px solid var(--gr-line);
}
.grymuar-hero-stats div:last-child { border-right: 0; }
.grymuar-hero-stats strong { display: block; color: #f2cf82; font: 800 20px/1.1 Cinzel, serif; }
.grymuar-hero-stats span { display: block; margin-top: 3px; color: #8f877d; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }

.container-wrapper {
    float: none !important;
    width: 100% !important;
    padding: 44px 0 70px !important;
    background: none !important;
}

.container {
    display: grid;
    grid-template-columns: 215px minmax(0, 1fr) 285px;
    align-items: start;
    gap: 22px;
    width: min(1220px, calc(100% - 42px)) !important;
    margin: 0 auto !important;
}

.col-1,
.col-2,
.col-3 {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    overflow: visible !important;
}

.col-1,
.col-3 { position: sticky !important; top: 18px; }

.boxes-top,
.boxes-middle,
.boxes-bottom { display: none !important; }

.modul-box,
.modul-box .modul-box-bg,
.modul-box .modul-box-bg-bottom {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

.modul-box {
    overflow: hidden;
    margin-bottom: 16px !important;
    border: 1px solid var(--gr-line) !important;
    background: linear-gradient(145deg, rgba(24, 18, 14, 0.96), rgba(11, 9, 7, 0.96)) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.modul-box h3,
.col-3 h3 {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 13px 16px !important;
    color: var(--gr-gold-soft) !important;
    border-bottom: 1px solid var(--gr-line) !important;
    background: rgba(255, 255, 255, 0.025) !important;
    font: 700 12px/1.25 Cinzel, Georgia, serif !important;
    letter-spacing: 0.06em;
    text-align: left !important;
    text-transform: uppercase;
}

.main-nav { margin: 0 !important; padding: 7px !important; }
.main-nav li { padding: 0 !important; }
.main-nav li a {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 11px 12px !important;
    color: #a9a096 !important;
    background: none !important;
    font: 700 10px/1.2 Manrope, sans-serif !important;
    letter-spacing: 0.055em;
    text-align: left !important;
    text-transform: uppercase;
}
.main-nav li a:hover,
.main-nav li a.active { color: #f4dab0 !important; background: rgba(207, 151, 63, 0.1) !important; }

.pres-thumb-link { display: block; padding: 12px; }
.pres-thumb-img { width: 100%; min-height: 90px; object-fit: cover; border: 1px solid var(--gr-line); filter: sepia(0.18) saturate(1.1); }

/* Presentation and download calls to action */
.side-cta-module {
    position: relative;
    border-color: rgba(224, 178, 91, 0.38) !important;
}

.grymuar-side-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 220px;
    padding: 22px 18px 18px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    color: #fff !important;
    background-position: center;
    background-size: cover;
    text-decoration: none !important;
}

.grymuar-side-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: inherit;
    transition: transform 260ms ease, filter 260ms ease;
}

.grymuar-side-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 80% 15%, rgba(229, 165, 64, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(8, 6, 5, 0.22), rgba(8, 6, 5, 0.82) 58%, rgba(8, 6, 5, 0.98));
}

.grymuar-presentation-cta {
    background-image: url("../img/grymuar2026/hero-grymuar-clean-v2.png");
    background-position: 58% center;
}

.grymuar-download-cta {
    min-height: 205px;
    background-image: url("../img/grymuar2026/bg-fire.jpg");
    background-position: 57% center;
}

.grymuar-side-cta:hover::before { transform: scale(1.035); filter: brightness(1.12); }

.side-cta-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #f3d797;
    border: 1px solid rgba(235, 191, 104, 0.48);
    border-radius: 50%;
    background: rgba(8, 6, 5, 0.58);
    box-shadow: 0 0 24px rgba(188, 118, 32, 0.18);
}

.side-cta-kicker {
    margin-bottom: 5px;
    color: #d6a64f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.grymuar-side-cta strong {
    color: #fff4df;
    font: 700 18px/1.16 Cinzel, Georgia, serif;
    text-shadow: 0 2px 12px #000;
}

.grymuar-side-cta small {
    min-height: 42px;
    margin-top: 7px;
    color: #bdb2a3;
    font-size: 10px;
    line-height: 1.45;
}

.side-cta-button {
    display: flex;
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    padding: 0 13px;
    align-items: center;
    justify-content: space-between;
    color: #1a0f07;
    border: 1px solid #e0b25f;
    background: linear-gradient(135deg, #f1d084, #b77828);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    box-shadow: 0 9px 24px rgba(135, 76, 19, 0.22);
}

.content,
.content .content-bg,
.content .content-bg-bottom {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    background: none !important;
}

.content {
    overflow: hidden;
    border: 1px solid var(--gr-line) !important;
    background: linear-gradient(145deg, rgba(22, 17, 13, 0.97), rgba(10, 8, 7, 0.97)) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.content h2,
.inner-content h3,
.news-title {
    margin: 0 !important;
    padding: 18px 22px !important;
    color: var(--gr-gold-soft) !important;
    border-bottom: 1px solid var(--gr-line) !important;
    background: linear-gradient(90deg, rgba(181, 113, 35, 0.11), transparent) !important;
    font: 700 18px/1.25 Cinzel, Georgia, serif !important;
    letter-spacing: 0.025em;
}

.content h2 a { color: inherit !important; }
.inner-content { margin: 0 !important; padding: 20px 22px 24px !important; }
.inner-content p,
.news-content,
.inner-content li { color: #c1b8ab !important; font-size: 12px !important; line-height: 1.7 !important; }
.news-time { color: #81786d !important; padding: 7px 12px; }
.shadow { display: none !important; }

/* News */
.news-section-heading,
.news-read-heading {
    display: flex;
    min-height: 88px;
    padding: 17px 21px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--gr-line);
    background:
        radial-gradient(circle at 85% 10%, rgba(179, 102, 26, 0.16), transparent 42%),
        linear-gradient(90deg, rgba(181, 113, 35, 0.11), transparent);
}

.news-section-heading > div > span,
.news-read-heading > div > span {
    display: block;
    margin-bottom: 3px;
    color: #b9853d;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.content .news-section-heading h2,
.content .news-read-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #f5ead8 !important;
    border: 0 !important;
    background: none !important;
    font-size: 22px !important;
}

.news-section-heading > a {
    display: inline-flex;
    padding: 9px 11px;
    align-items: center;
    gap: 8px;
    color: #d6b36d !important;
    border: 1px solid rgba(211, 160, 78, 0.28);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scrollable-box-news { position: relative; }
.scrollable-box-news .scrollable-box-inner { padding: 18px !important; }

.news-card {
    position: relative;
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid rgba(209, 157, 75, 0.2);
    background:
        linear-gradient(115deg, rgba(48, 29, 16, 0.2), transparent 42%),
        rgba(7, 6, 5, 0.72);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.news-card:last-child { margin-bottom: 0; }
.news-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, #edc878, #7f421b);
}

.news-card-img { position: relative; height: 165px; overflow: hidden; }
.news-card-img::after { content: ""; position: absolute; inset: auto 0 0; height: 62%; background: linear-gradient(transparent, rgba(8, 6, 5, 0.92)); pointer-events: none; }
.news-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.news-card:hover .news-card-img img { transform: scale(1.025); }

.news-card-header {
    display: flex;
    padding: 18px 19px 8px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.news-card-header > div { min-width: 0; }
.news-category {
    display: block;
    margin-bottom: 4px;
    color: #b88239 !important;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.news-card-header > div > a {
    display: block;
    color: #f1e6d4 !important;
    font: 700 17px/1.3 Cinzel, Georgia, serif;
    overflow-wrap: anywhere;
}

.news-card-header > div > a:hover { color: #f1ca7d !important; }
.news-card-header .news-time,
.news-read-heading .news-time {
    flex: 0 0 auto;
    padding: 2px 0 !important;
    color: #898075 !important;
    font-size: 9px;
    white-space: nowrap;
}

.news-card-body { padding: 0 19px 16px; }
.news-card-body p,
.news-card-body p * {
    margin: 0 !important;
    color: #c8beb0 !important;
    font-size: 11px !important;
    line-height: 1.72 !important;
}

.news-card-body .read_more { margin-top: 11px; }
.news-card-body .read_more .btn { gap: 8px; margin: 0 !important; }

.news-full-content,
.news-full-content p,
.news-full-content div,
.news-full-content span,
.news-full-content li,
.news-full-content strong,
.news-full-content em {
    color: #cec5b8 !important;
    line-height: 1.75 !important;
}
.news-full-content a { color: #e5bb69 !important; }
.news-full-content img { height: auto !important; margin: 12px auto; }

.btn,
.btn-login,
.form-score .btn,
.content .btn,
.read_more .btn,
.download-btn,
a.download-btn {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 120px;
    height: 36px !important;
    margin: 8px 0 !important;
    padding: 0 16px !important;
    color: #1b1008 !important;
    border: 1px solid #d3a04e !important;
    background: linear-gradient(135deg, #edc977, #ad6f25) !important;
    font: 800 9px/1 Manrope, sans-serif !important;
    letter-spacing: 0.07em;
    text-indent: 0 !important;
    text-transform: uppercase;
    cursor: pointer;
}
.btn:hover,
.btn-login:hover { color: #150b06 !important; filter: brightness(1.08); text-decoration: none !important; }

.form-login { width: auto !important; margin: 0 !important; padding: 15px !important; }
.form-login label { color: #968c80 !important; }
.form-login .input { width: 100% !important; height: auto !important; margin: 3px 0 10px !important; padding: 0 !important; background: none !important; }
.form-login .input input,
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
    padding: 0 11px !important;
    color: #ded5c8 !important;
    border: 1px solid rgba(197, 151, 77, 0.26) !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.28) !important;
    font: 12px Manrope, sans-serif !important;
}
input:focus { border-color: rgba(232, 186, 102, 0.74) !important; }

.password,
.agbok { width: auto !important; color: #a99b88 !important; }

.user-links { padding: 10px !important; }
.user-links a,
.logout-btn { padding: 9px 10px !important; color: #b8aa97 !important; text-align: left !important; border-color: rgba(255,255,255,0.055) !important; }
.user-links a:hover,
.logout-btn:hover { color: #f0cf8c !important; background: rgba(213, 158, 69, 0.08) !important; }
.have-sm { color: #efce8d !important; border: 1px solid var(--gr-line); background: rgba(0,0,0,.25) !important; }

.form-score,
.statistics .form-score,
.col-3 .form-score {
    width: auto !important;
    margin: 0 !important;
    padding: 10px 12px 14px !important;
}
.form-score ul { margin: 0 !important; }
.form-score ul li,
.col-3 .form-score ul li,
.col-3 .form-score ul li.light {
    min-height: 28px !important;
    padding: 6px 7px !important;
    color: #9f968b !important;
    border-bottom: 1px solid rgba(255,255,255,.045);
    background: transparent !important;
    font-size: 10px !important;
    line-height: 16px !important;
}
.form-score ul li a,
.form-score ul li a.first { color: #c5b9a6 !important; }
.form-score ul li strong { color: var(--gr-gold) !important; }
.col-3 .top_emp,
.col-3 .top_emp_guild { right: 34px !important; top: 5px !important; }
.col-3 .top_lvl { right: 7px !important; top: 6px !important; color: #d6aa5b !important; }

/* Sidebar ranking */
.grymuar-ranking-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(219, 166, 78, 0.34) !important;
}

.grymuar-ranking-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.28;
    background:
        linear-gradient(180deg, rgba(9, 7, 6, 0.2), #0b0907 36%),
        url("../img/grymuar2026/bg-fire.jpg") 54% top / auto 230px no-repeat;
}

.ranking-card-heading {
    display: flex;
    min-height: 82px;
    padding: 16px 17px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gr-line);
    background: linear-gradient(90deg, rgba(190, 119, 34, 0.14), rgba(0,0,0,0.12));
}

.ranking-card-heading span {
    display: block;
    color: #a77b3d;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}
.ranking-card-heading strong { display: block; color: #f3e6cf; font: 700 18px/1.25 Cinzel, Georgia, serif; }
.ranking-card-heading > i { color: rgba(229, 183, 94, 0.72); font-size: 28px; filter: drop-shadow(0 0 12px rgba(208, 135, 41, 0.28)); }

.ranking-section-heading {
    display: flex;
    min-height: 40px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    color: #e7c681;
    border-bottom: 1px solid rgba(221, 170, 86, 0.16);
    background: rgba(255,255,255,0.025);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.ranking-section-heading span i { margin-right: 6px; color: #ad742f; }
.ranking-section-heading a { color: #8f8578 !important; font-size: 8px; }
.ranking-section-heading a:hover { color: #f0c977 !important; }
.ranking-guild-heading { border-top: 1px solid rgba(221, 170, 86, 0.2); }

.grymuar-ranking-card .ranking-list { padding: 7px 10px 10px !important; }
.grymuar-ranking-card .ranking-list ul li,
.grymuar-ranking-card .ranking-list ul li.light {
    position: relative;
    min-height: 30px !important;
    margin: 2px 0;
    padding: 7px 64px 7px 9px !important;
    border: 1px solid rgba(255,255,255,0.035) !important;
    background: rgba(0,0,0,0.2) !important;
}
.grymuar-ranking-card .ranking-list ul:nth-child(-n+3) li { border-color: rgba(213, 161, 75, 0.15) !important; background: linear-gradient(90deg, rgba(184, 112, 30, 0.12), rgba(0,0,0,0.18)) !important; }
.grymuar-ranking-card .ranking-list ul:nth-child(1) li strong { color: #ffd987 !important; }
.grymuar-ranking-card .ranking-list ul:nth-child(2) li strong { color: #cfd0d2 !important; }
.grymuar-ranking-card .ranking-list ul:nth-child(3) li strong { color: #c48b58 !important; }
.grymuar-ranking-card .ranking-list ul li a { display: inline-block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; }
.grymuar-ranking-card .top_emp,
.grymuar-ranking-card .top_emp_guild { top: 7px !important; right: 35px !important; }
.grymuar-ranking-card .top_emp img,
.grymuar-ranking-card .top_emp_guild img { height: 15px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.grymuar-ranking-card .top_lvl { top: 7px !important; right: 8px !important; }

.table-bordered {
    width: 100% !important;
    overflow: hidden;
    color: #c8bfb2 !important;
    border-collapse: collapse !important;
    background: transparent !important;
}
.table-bordered th,
.table-bordered td,
.table-bordered tr:nth-child(odd) td,
.table-bordered tr:nth-child(even) td {
    padding: 10px 8px !important;
    color: #bdb3a6 !important;
    border: 1px solid rgba(201, 153, 77, 0.16) !important;
    background: rgba(255,255,255,.018) !important;
}
.table-bordered th {
    color: #e6c786 !important;
    background: rgba(191, 126, 43, 0.1) !important;
}
.table-bordered tr:hover td { background: rgba(213, 158, 69, 0.055) !important; }

footer {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 34px 24px !important;
    border-top: 1px solid var(--gr-line) !important;
    background: #080705 !important;
}
.footer__menu { display: block !important; }
.footer__menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0 0 18px; padding: 0; list-style: none; }
.footer__menu a { color: #8e857b !important; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer__menu a:hover { color: #edcc89 !important; }
.footer__copyright { color: #665f58 !important; }

@media (max-width: 1080px) {
    .grymuar-nav-shell { grid-template-columns: 150px 1fr; }
    .grymuar-account-actions { display: none; }
    .grymuar-topnav { justify-content: flex-end; }
    .container { grid-template-columns: 190px minmax(0, 1fr) !important; }
    .col-3 { position: static !important; grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .col-3 .modul-box { margin-bottom: 0 !important; }
}

@media (max-width: 760px) {
    .grymuar-nav-shell { display: flex; flex-direction: column; gap: 4px; padding: 12px 0 14px; }
    .grymuar-brand img { width: 145px; }
    .grymuar-topnav { flex-wrap: wrap; }
    .grymuar-topnav a { padding: 8px 9px; font-size: 9px; }
    .grymuar-hero { min-height: 560px; padding: 58px 18px 72px; background-position: 58% top; }
    .grymuar-hero-actions { flex-direction: column; align-items: stretch; }
    .grymuar-hero-stats { grid-template-columns: 1fr; }
    .grymuar-hero-stats div { border-right: 0; border-bottom: 1px solid var(--gr-line); }
    .grymuar-hero-stats div:last-child { border-bottom: 0; }
    .container { display: flex !important; flex-direction: column; width: min(100% - 28px, 680px) !important; }
    .col-2 { order: 1; width: 100% !important; }
    .col-1 { order: 2; width: 100% !important; position: static !important; }
    .col-3 { order: 3; width: 100% !important; display: block !important; }
    .col-3 .modul-box { margin-bottom: 16px !important; }
    .inner-content { padding: 17px 15px 20px !important; }
    .content h2 { padding: 15px !important; font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================
   RANKINGI — pełna szerokość gildii i spójna ciemna tabela
   ========================================================= */

.grymuar-ranking-card .ranking-list-guilds,
.grymuar-ranking-card #highscore-guild,
.grymuar-ranking-card .ranking-list-guilds ul {
    width: 100% !important;
    box-sizing: border-box !important;
}

.grymuar-ranking-card .ranking-list-guilds ul li {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.content-bg-bottom {
    overflow-x: auto !important;
}

.content-bg-bottom .table-bordered {
    width: 100% !important;
    min-width: 560px;
    overflow: hidden;
    border: 1px solid rgba(203, 151, 67, 0.28) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    color: #cfc5b6 !important;
    background: #0d0b09 !important;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.2),
        inset 0 1px rgba(255, 215, 140, 0.025);
}

.content-bg-bottom .table-bordered tr {
    background: transparent !important;
}

.content-bg-bottom .table-bordered th {
    height: 42px;
    padding: 0 12px !important;
    color: #e8c982 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(211, 160, 76, 0.32) !important;
    background:
        linear-gradient(
            180deg,
            rgba(168, 105, 31, 0.18),
            rgba(75, 45, 15, 0.13)
        ) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-bg-bottom .table-bordered td {
    height: 43px;
    padding: 0 12px !important;
    color: #bdb3a5 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(201, 153, 77, 0.11) !important;
    background: #100e0c !important;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.content-bg-bottom .table-bordered tr:nth-child(odd):not(:first-child) td {
    background: #13100d !important;
}

.content-bg-bottom .table-bordered tr:hover td {
    color: #eee4d4 !important;
    background: #1a140d !important;
}

.content-bg-bottom .table-bordered td:first-child {
    width: 38px;
    color: #c9933f !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.content-bg-bottom .table-bordered td:nth-child(2) {
    color: #e0d7ca !important;
    font-weight: 650 !important;
}

.content-bg-bottom .table-bordered td:nth-child(4) {
    color: #e0b864 !important;
    font-weight: 700 !important;
}

.content-bg-bottom .table-bordered th:last-child,
.content-bg-bottom .table-bordered td:last-child {
    padding-right: 16px !important;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.content-bg-bottom .table-bordered tr:nth-child(2) td:first-child {
    color: #ffd56a !important;
    box-shadow: inset 3px 0 #d6a439;
}

.content-bg-bottom .table-bordered tr:nth-child(3) td:first-child {
    color: #d7d3ca !important;
    box-shadow: inset 3px 0 #9f9d98;
}

.content-bg-bottom .table-bordered tr:nth-child(4) td:first-child {
    color: #d79a6d !important;
    box-shadow: inset 3px 0 #9e6340;
}

.content-bg-bottom form[method="GET"] {
    gap: 10px !important;
    margin-bottom: 18px;
}

.content-bg-bottom form[method="GET"] input[name="search"] {
    width: 210px !important;
    height: 36px !important;
    padding: 0 12px !important;
    box-sizing: border-box;
    color: #ded5c7 !important;
    border: 1px solid rgba(201, 153, 77, 0.28) !important;
    outline: none;
    background: rgba(9, 8, 7, 0.78) !important;
}

.content-bg-bottom form[method="GET"] input[name="search"]:focus {
    border-color: rgba(220, 168, 79, 0.68) !important;
    box-shadow: 0 0 0 2px rgba(206, 147, 51, 0.08);
}

.content-bg-bottom form[method="GET"] .btn {
    min-width: 112px;
    height: 36px !important;
    padding: 0 16px !important;
}

@media (max-width: 720px) {
    .content-bg-bottom .table-bordered {
        min-width: 520px;
    }

    .content-bg-bottom form[method="GET"] input[name="search"] {
        width: 100% !important;
        min-width: 0;
    }
}
