:root {
    --ember-black: #080707;
    --ember-panel: rgba(13, 11, 11, 0.96);
    --ember-panel-soft: rgba(23, 17, 16, 0.92);
    --ember-line: #69412a;
    --ember-line-bright: #b26b30;
    --ember-red: #7e1717;
    --ember-red-bright: #b5281f;
    --ember-copper: #c88945;
    --ember-gold: #d7aa62;
    --ember-ivory: #e8ddcc;
    --ember-muted: #a99b8c;
    --ember-green: #55d56b;
    --ember-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
}

html {
    background: #050404;
    scroll-behavior: smooth;
}

body.ember-body {
    min-width: 0 !important;
    min-height: 100vh;
    margin: 0;
    color: var(--ember-ivory);
    font-family: "Inter", Arial, sans-serif;
    background-color: var(--ember-black);
    background-image:
        linear-gradient(180deg, rgba(3, 3, 4, 0.08) 0, rgba(4, 3, 3, 0.48) 44%, #080606 100%),
        url("../images/content/1229385.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

body.ember-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 15% 72%, rgba(190, 43, 16, 0.18), transparent 23%),
        radial-gradient(circle at 90% 70%, rgba(226, 84, 18, 0.14), transparent 24%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 23%, transparent 77%, rgba(0, 0, 0, 0.34));
}

a {
    color: var(--ember-gold);
}

a:hover {
    color: #f4cf8b;
}

.ember-glow {
    position: fixed;
    bottom: -120px;
    width: 360px;
    height: 460px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
    filter: blur(34px);
    background: radial-gradient(ellipse, rgba(210, 49, 12, 0.55), rgba(100, 12, 5, 0.14) 42%, transparent 72%);
}

.ember-glow-left { left: -150px; }
.ember-glow-right { right: -150px; }

.rework-shell {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 42px));
    margin: 0 auto;
    padding: 14px 0 34px;
}

.hero-header {
    position: relative;
    height: 258px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-kicker,
.hero-tagline {
    position: absolute;
    color: #d4b47f;
    font-family: "Cinzel", Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    text-shadow: 0 2px 10px #000;
}

.hero-kicker {
    top: 22px;
    right: 8px;
    font-size: 10px;
}

.hero-tagline {
    right: 4%;
    bottom: 48px;
    width: 270px;
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
}

.hero-tagline::after {
    content: "";
    display: block;
    width: 90px;
    height: 1px;
    margin: 13px auto 0;
    background: linear-gradient(90deg, transparent, var(--ember-gold), transparent);
}

.hero-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.8));
}

.hero-logo {
    display: block;
    width: clamp(280px, 29vw, 430px);
    max-height: 225px;
    object-fit: contain;
}

.main-nav {
    position: sticky;
    top: 10px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    min-height: 58px;
    margin-bottom: 18px;
    border: 1px solid #3d2b22;
    border-top-color: #8e5b31;
    border-bottom-color: #76411f;
    background:
        linear-gradient(180deg, rgba(38, 32, 30, 0.98), rgba(9, 9, 10, 0.98)),
        repeating-linear-gradient(90deg, transparent 0 120px, rgba(255, 255, 255, 0.02) 120px 121px);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.7), inset 0 1px rgba(255, 255, 255, 0.04);
    clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 15px), 0 15px);
}

.main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
    color: #ede3d4 !important;
    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    text-transform: uppercase;
    border-right: 1px solid rgba(151, 93, 51, 0.23);
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.main-nav a:last-child { border-right: 0; }

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff2dc !important;
    background: linear-gradient(180deg, rgba(136, 28, 23, 0.92), rgba(66, 10, 9, 0.96));
    box-shadow: inset 0 -2px var(--ember-red-bright), inset 0 1px rgba(255, 183, 103, 0.2), 0 0 24px rgba(169, 30, 15, 0.2);
}

.site-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 270px;
    gap: 16px;
    align-items: start;
}

.left-rail,
.right-rail,
.main-column {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.panel,
.content-stage {
    position: relative;
    border: 1px solid var(--ember-line);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.025), transparent 30%),
        linear-gradient(180deg, var(--ember-panel-soft), var(--ember-panel));
    box-shadow: var(--ember-shadow), inset 0 0 30px rgba(0, 0, 0, 0.22);
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.panel::before,
.content-stage::before {
    content: "";
    position: absolute;
    inset: 4px;
    pointer-events: none;
    border: 1px solid rgba(202, 133, 68, 0.17);
    clip-path: inherit;
}

.panel-heading {
    position: relative;
    z-index: 1;
    padding: 14px 16px 11px;
    color: #ead8bd;
    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(158, 94, 49, 0.38);
    background: linear-gradient(90deg, rgba(116, 28, 20, 0.18), transparent 72%);
}

.online-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 16px;
    padding: 11px;
    color: #7be887;
    font-family: "Cinzel", Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(66, 169, 75, 0.24);
    background: rgba(21, 63, 28, 0.12);
}

.online-state span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ember-green);
    box-shadow: 0 0 12px var(--ember-green);
}

.server-stats {
    margin: 0;
    padding: 0 16px 15px;
}

.server-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.server-stats div:last-child { border-bottom: 0; }
.server-stats dt { color: var(--ember-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.server-stats dd { margin: 0; color: #f1e5d2; font-family: "Cinzel", serif; font-size: 12px; text-align: right; }

.download-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 72px;
    padding: 12px;
    color: #fff1d5 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    border: 1px solid #c66729;
    background: linear-gradient(180deg, #a0271a, #56100d 56%, #250806);
    box-shadow: inset 0 1px #f1924a, inset 0 -2px #160302, 0 0 22px rgba(207, 51, 18, 0.27), var(--ember-shadow);
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
    transition: filter .2s ease, transform .2s ease;
}

.download-cta:hover { filter: brightness(1.18); transform: translateY(-2px); }
.download-cta strong { display: block; font-family: "Cinzel", serif; font-size: 15px; letter-spacing: .06em; }
.download-cta small { display: block; margin-top: 4px; color: #d8a677; font-size: 9px; letter-spacing: .12em; }
.download-icon { font-size: 34px; line-height: 1; }

.rail-menu { padding-bottom: 10px; }
.rail-menu .panel-heading { margin-bottom: 6px; }
.rail-menu .rail-heading-spaced { margin-top: 8px; }
.rail-menu > a {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 12px;
    padding: 8px 9px 8px 19px;
    color: #cfc1b2 !important;
    font-size: 12px;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    transition: color .2s ease, padding-left .2s ease, background .2s ease;
}

.rail-menu > a::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 5px;
    height: 5px;
    border: 1px solid var(--ember-copper);
    transform: translateY(-50%) rotate(45deg);
}

.rail-menu > a:hover { padding-left: 24px; color: #fff0d8 !important; background: rgba(125, 25, 18, 0.12); }

.content-stage { padding: 0 14px 14px; }

.section-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin: 0 -14px 14px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(181, 106, 51, 0.4);
    background: linear-gradient(90deg, rgba(117, 25, 20, 0.18), transparent 60%);
}

.section-bar h1 {
    margin: 0;
    color: #efe1cc;
    font-family: "Cinzel", Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-bar a {
    color: var(--ember-gold) !important;
    font-size: 10px;
    letter-spacing: .12em;
    text-decoration: none !important;
    text-transform: uppercase;
}

#page_content {
    position: relative;
    z-index: 2;
    min-width: 0;
    color: #d7ccbd;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

#page_content > .news-card {
    position: relative;
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr);
    min-height: 142px;
    margin: 0 0 10px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #3d2d25;
    border-left: 2px solid #7e3c24;
    background: linear-gradient(100deg, rgba(41, 25, 22, .72), rgba(9, 9, 10, .96));
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

#page_content > .news-card:first-of-type {
    display: block;
    min-height: 0;
    border-color: #804a27;
    border-left-width: 1px;
    background: #0b0a0a;
}

.news-cover {
    position: relative;
    min-height: 100%;
    background:
        linear-gradient(90deg, rgba(25, 5, 4, .14), rgba(5, 5, 6, .52)),
        url("../images/content/1229385.png") center / cover no-repeat;
}

#page_content > .news-card:nth-of-type(2n) .news-cover { background-position: 21% center; }
#page_content > .news-card:nth-of-type(3n) .news-cover { background-position: 78% center; }

#page_content > .news-card:first-of-type .news-cover {
    min-height: clamp(210px, 27vw, 340px);
    background-position: center 54%;
}

.news-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 6, 7, .94), transparent 58%);
}

.news-badge {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    display: none;
    padding: 5px 11px;
    color: #ffd7b0;
    font-family: "Cinzel", serif;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid #8d3024;
    background: rgba(104, 18, 14, .9);
}

#page_content > .news-card:first-of-type .news-badge { display: inline-block; }

.news-card-body {
    min-width: 0;
    padding: 15px 18px;
}

#page_content > .news-card:first-of-type .news-card-body {
    position: relative;
    margin-top: -116px;
    padding: 22px 24px 24px;
    background: linear-gradient(0deg, rgba(8, 7, 8, .99) 64%, rgba(8, 7, 8, .06));
}

.news_title { margin: 0 0 9px; }

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    color: #9e8b79;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.news-category { color: #c97346; }

.news-card .nt_title {
    margin: 0;
    color: #f1e4d2;
    font-family: "Cinzel", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .01em;
}

#page_content > .news-card:first-of-type .nt_title { font-size: clamp(24px, 2.5vw, 36px); }

.news_text {
    color: #c6baad;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.6;
}

.news_text p { margin: 0 0 10px; }
.news_text p:last-child { margin-bottom: 0; }
.news_text img { max-width: 100%; height: auto; border: 1px solid #493329; }

.news-card-action {
    margin-top: 13px;
    color: var(--ember-gold);
    font-family: "Cinzel", serif;
    font-size: 9px;
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}

.news-card-action span { margin-left: 5px; color: #e1773c; }

.account-panel { padding: 0 14px 14px; }
.account-panel .panel-heading { margin: 0 -14px 14px; }

.field {
    display: block;
    margin-bottom: 10px;
}

.field > span {
    display: block;
    margin-bottom: 5px;
    color: #a99b8d;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.field input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    color: #f4e9dc;
    font: 12px "Inter", sans-serif;
    border: 1px solid #4b4039;
    border-radius: 2px;
    outline: none;
    background: rgba(3, 4, 5, .76);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .55);
}

.field input:focus { border-color: var(--ember-copper); box-shadow: 0 0 0 2px rgba(187, 104, 47, .12); }

.primary-button,
.secondary-button {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    color: #fff0dd !important;
    font: 600 12px "Cinzel", Georgia, serif;
    letter-spacing: .08em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #b3542a;
    background: linear-gradient(180deg, #99251a, #4a0d0a);
    box-shadow: inset 0 1px rgba(255, 178, 101, .26), 0 5px 13px rgba(0, 0, 0, .35);
}

.secondary-button {
    margin-top: 9px;
    border-color: #4d3d35;
    background: #151112;
}

.primary-button:hover,
.secondary-button:hover { filter: brightness(1.2); }

.account-links {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 11px;
}

.account-links a { color: #a99b8b !important; font-size: 9px; text-decoration: none !important; }
.compact-recaptcha { width: 100%; height: 48px; overflow: hidden; transform: scale(.68); transform-origin: left top; }

.quick-links { padding: 0 12px 12px; }
.quick-links .panel-heading { margin: 0 -12px 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.quick-grid a {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px;
    color: #d8ccbf !important;
    text-decoration: none !important;
    border: 1px solid #46352e;
    background: rgba(255, 255, 255, .025);
    transition: background .2s ease, border-color .2s ease;
}
.quick-grid a:hover { background: rgba(124, 27, 20, .18); border-color: #874026; }
.quick-grid b { color: #e39b58; font: 600 13px "Cinzel", serif; }
.quick-grid span { font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }

.daily-xp-panel .panel-heading small {
    color: #a98d73;
    font: 8px "Inter", sans-serif;
    letter-spacing: .02em;
    text-transform: none;
}
.daily-xp-leader {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 28px 54px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 82px;
    padding: 8px 12px 11px;
    background: radial-gradient(circle at 40% 35%, rgba(176, 93, 38, .13), transparent 58%);
}
.daily-xp-leader > img {
    width: 54px;
    height: 64px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .6));
}
.daily-xp-crown {
    display: grid;
    place-items: center;
    width: 27px;
    height: 32px;
    color: #241306;
    font: 700 13px "Cinzel", serif;
    background: linear-gradient(180deg, #ffd977, #a65b20);
    clip-path: polygon(50% 0, 92% 22%, 82% 80%, 50% 100%, 18% 80%, 8% 22%);
    box-shadow: 0 0 14px rgba(226, 145, 63, .24);
}
.daily-xp-copy { min-width: 0; }
.daily-xp-copy a {
    display: block;
    overflow: hidden;
    color: #f2dfc6 !important;
    font: 600 12px "Cinzel", serif;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.daily-xp-copy a:hover { color: #ffc77f !important; }
.daily-xp-copy strong {
    display: block;
    margin-top: 3px;
    color: #e9a45e;
    font: 700 10px "Inter", sans-serif;
}
.daily-xp-copy small {
    display: block;
    margin-top: 3px;
    color: #9e8e80;
    font-size: 8px;
}
.daily-xp-leader.is-empty { grid-template-columns: 28px minmax(0, 1fr); min-height: 72px; }
.daily-xp-leader.is-empty .daily-xp-crown { filter: grayscale(1); opacity: .5; }

.heading-with-link { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.heading-with-link a { color: #c99055 !important; font: 8px "Inter", sans-serif; text-decoration: none !important; }
.ranking-list { position: relative; z-index: 2; list-style: none; margin: 0; padding: 5px 13px 12px; }
.ranking-list li {
    display: grid;
    grid-template-columns: 24px 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}
.ranking-list li:last-child { border-bottom: 0; }
.ranking-list img { width: 34px; height: 34px; object-fit: contain; object-position: center; }
.ranking-list a { overflow: hidden; color: #eee0cf !important; font-family: "Cinzel", serif; font-size: 11px; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.ranking-list small { color: #b59b83; font-size: 9px; white-space: nowrap; }
.rank-number {
    display: grid;
    place-items: center;
    width: 21px;
    height: 25px;
    color: #20130b;
    font: 700 11px "Cinzel", serif;
    background: linear-gradient(180deg, #e9b95d, #8e4b1d);
    clip-path: polygon(50% 0, 92% 22%, 82% 80%, 50% 100%, 18% 80%, 8% 22%);
}
.ranking-list li:nth-child(2) .rank-number { background: linear-gradient(180deg, #d7dde1, #6f7881); }
.ranking-list li:nth-child(3) .rank-number { background: linear-gradient(180deg, #d99355, #71391f); }

.boost-panel { margin-top: 14px; }
.boost-panel-top {
    margin: 0 0 18px;
    background:
        radial-gradient(circle at 50% 0, rgba(142, 36, 19, .16), transparent 42%),
        linear-gradient(180deg, rgba(24, 17, 16, .97), rgba(9, 8, 9, .98));
}
.boost-panel-top .panel-heading {
    padding-top: 11px;
    padding-bottom: 9px;
}
.boost-panel-top .boost-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 14px 13px;
}
.boost-panel-top .boost-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 5px 12px;
    text-align: left;
    background: linear-gradient(100deg, rgba(106, 27, 18, .12), rgba(255, 255, 255, .018));
}
.boost-panel-top .boost-image { height: 66px; margin: 0; }
.boost-panel-top .boost-copy { min-width: 0; }
.boost-panel-top .boost-card strong { font-size: 11px; }
.boost-panel-top .boost-card span { font-size: 9px; }
.boost-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.boost-heading small { color: #947f6c; font: 8px "Inter", sans-serif; letter-spacing: .1em; }
.boost-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.boost-card { min-width: 0; padding: 8px; text-align: center; border: 1px solid #3f3029; background: rgba(255, 255, 255, .02); }
.boost-image { display: grid; place-items: center; height: 62px; margin-bottom: 7px; overflow: hidden; background: radial-gradient(circle, rgba(160, 47, 23, .18), transparent 67%); }
.boost-image img { max-width: 86px; max-height: 86px; object-fit: contain; }
.boost-card strong { display: block; overflow: hidden; color: #e8dac8; font: 10px "Cinzel", serif; text-overflow: ellipsis; white-space: nowrap; }
.boost-card span { display: block; margin-top: 4px; color: #63cf70; font-size: 8px; }

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 72px;
    margin-top: 20px;
    color: #8d7c6b;
    font-family: "Cinzel", serif;
    font-size: 9px;
    letter-spacing: .22em;
    text-align: center;
    text-transform: uppercase;
    border-top: 1px solid #5b3422;
    background: linear-gradient(180deg, rgba(10, 8, 8, .65), rgba(5, 4, 4, .9));
}

.footer-diamond { width: 7px; height: 7px; border: 1px solid #b37a3f; transform: rotate(45deg); }

/* Conteúdo legado do MyAAC dentro do novo tema */
#page_content table { max-width: 100%; color: #dfd5c8; background: transparent; }
#page_content td,
#page_content th { border-color: #49362d !important; }
#page_content input,
#page_content select,
#page_content textarea {
    max-width: 100%;
    color: #f0e4d7;
    border-color: #5e493d;
    background-color: #100d0e;
}
#page_content .TableContainer,
#page_content .Table1,
#page_content .Table2,
#page_content .Table3,
#page_content .Table4,
#page_content .Table5,
#page_content .TableContent,
#page_content .TableContentContainer,
#page_content .InnerTableContainer {
    color: #ded2c4 !important;
    border-color: #533a2f !important;
    background-color: #171213 !important;
    box-shadow: none !important;
}
#page_content .CaptionContainer,
#page_content .CaptionInnerContainer {
    color: #f2dfc8 !important;
    background-color: #4b1714 !important;
}
#page_content .Odd { background-color: #151112 !important; }
#page_content .Even { background-color: #201719 !important; }
#page_content h1,
#page_content h2,
#page_content h3,
#page_content h4 { color: #f0e1ce; font-family: "Cinzel", Georgia, serif; }

@media (max-width: 1180px) {
    .site-grid { grid-template-columns: 210px minmax(0, 1fr); }
    .right-rail { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
    .hero-tagline { display: none; }
}

@media (max-width: 860px) {
    body.ember-body { background-attachment: scroll; }
    .rework-shell { width: min(100% - 22px, 740px); }
    .hero-header { height: 205px; }
    .hero-kicker { right: 50%; transform: translateX(50%); white-space: nowrap; }
    .main-nav { position: static; grid-template-columns: repeat(3, 1fr); }
    .main-nav a { min-height: 48px; font-size: 11px; }
    .site-grid { grid-template-columns: 1fr; }
    .left-rail { grid-template-columns: repeat(2, 1fr); }
    .rail-menu { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); }
    .rail-menu .panel-heading { grid-column: 1 / -1; }
    .right-rail { grid-column: auto; grid-template-columns: 1fr 1fr; }
    .ranking-panel { grid-column: 1 / -1; }
    .boost-panel-top .boost-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .rework-shell { width: calc(100% - 14px); padding-top: 4px; }
    .hero-header { height: 180px; }
    .hero-logo { width: 280px; }
    .main-nav { grid-template-columns: repeat(2, 1fr); }
    .site-grid,
    .left-rail,
    .right-rail { display: grid; grid-template-columns: 1fr; }
    .rail-menu { display: block; }
    .right-rail > * { grid-column: auto; }
    #page_content > .news-card { display: block; }
    #page_content > .news-card:not(:first-of-type) .news-cover { min-height: 130px; }
    #page_content > .news-card:first-of-type .news-card-body { margin-top: -80px; padding: 18px; }
    #page_content > .news-card:first-of-type .nt_title { font-size: 23px; }
    .boost-grid { grid-template-columns: repeat(2, 1fr); }
    .boost-panel-top .boost-grid { grid-template-columns: 1fr; }
    .site-footer { flex-direction: column; gap: 9px; padding: 18px 10px; }
}
