:root {
    color-scheme: dark;
    --coal: #101212;
    --coal-raised: #171a19;
    --panel: #1c201f;
    --panel-light: #242927;
    --steel: #aeb4ae;
    --muted: #838a84;
    --paper: #e8e5db;
    --line: rgb(208 204 188 / 13%);
    --brass: #c29b5b;
    --rust: #a75d42;
    --green: #9da789;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-width: 320px;
    color: var(--paper);
    background-color: var(--coal);
    background-image:
        radial-gradient(ellipse at 80% 3%, rgb(113 86 55 / 12%), transparent 33rem),
        linear-gradient(135deg, rgb(255 255 255 / 1.5%) 25%, transparent 25%, transparent 50%, rgb(255 255 255 / 1.5%) 50%, rgb(255 255 255 / 1.5%) 75%, transparent 75%, transparent);
    background-size: auto, 6px 6px;
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.site-navbar {
    position: relative;
    z-index: 2;
    min-height: 78px;
    border-bottom: 1px solid var(--line);
    background: rgb(16 18 18 / 94%);
}

.site-navbar .container {
    max-width: 1240px;
}

.site-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-decoration: none;
}

.site-brand:hover,
.footer-brand:hover {
    color: #fff;
}

.brand-mark {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border: 1px solid #80704f;
    background: linear-gradient(145deg, #3e4039, #191b1a 60%);
    box-shadow: inset 0 1px rgb(255 255 255 / 14%), 0 2px 8px rgb(0 0 0 / 30%);
    color: var(--brass);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    text-shadow: 0 0 12px rgb(194 155 91 / 30%);
}

.brand-period {
    color: var(--brass);
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.8vw, 2.5rem);
}

.site-nav-links > a:not(.site-nav-cta) {
    color: #b5b6ae;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-nav-links > a:not(.site-nav-cta):hover,
.site-nav-links .panel-nav-link {
    color: var(--brass);
}

.site-nav-cta,
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid #856b42;
    border-radius: 3px;
    background: linear-gradient(180deg, #b58b4d, #8d6938);
    box-shadow: inset 0 1px rgb(255 255 255 / 20%), 0 3px 12px rgb(0 0 0 / 30%);
    color: #191713;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.site-nav-cta {
    padding: 0.68rem 0.95rem;
    font-size: 0.68rem;
}

.site-nav-cta:hover,
.hero-cta:hover {
    border-color: #d6b877;
    background: linear-gradient(180deg, #d1ae70, #ab8246);
    color: #121311;
}

.site-main {
    max-width: 1240px;
    padding-top: 0;
    padding-bottom: 0;
}

.forge-hero {
    position: relative;
    display: grid;
    min-height: 625px;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
    padding: 4.3rem 2.6rem 5.5rem;
    border-bottom: 1px solid var(--line);
}

.forge-copy {
    position: relative;
    z-index: 1;
    padding: 0 0 1.5rem;
}

.eyebrow,
.section-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 1.55rem;
    color: var(--brass);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.status-light,
.panel-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9aa67c;
    box-shadow: 0 0 9px rgb(154 166 124 / 75%);
}

.eyebrow-rule {
    width: 28px;
    height: 1px;
    background: #5d5a4d;
}

.forge-copy h1 {
    margin: 0;
    color: #eeeae0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.2rem, 8vw, 7.2rem);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.86;
    text-shadow: 0 3px 24px rgb(0 0 0 / 35%);
}

.forge-copy h1 span {
    color: var(--brass);
    font-style: italic;
}

.hero-description {
    max-width: 430px;
    margin: 1.7rem 0 1.8rem;
    color: #a6aaa2;
    font-size: 0.98rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.hero-cta {
    min-height: 49px;
    padding: 0.82rem 1.05rem 0.82rem 1.3rem;
    font-size: 0.68rem;
}

.text-link,
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c4c2b7;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.035em;
    text-decoration: none;
}

.text-link:hover,
.card-link:hover {
    color: var(--brass);
}

.hero-coordinates {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 3.1rem;
    color: #71766f;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
}

.hero-coordinates span:nth-child(2) {
    color: var(--rust);
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 465px;
    overflow: hidden;
    place-items: center;
    isolation: isolate;
    border: 1px solid rgb(189 173 137 / 16%);
    border-radius: 2px;
    background:
        radial-gradient(ellipse at 54% 48%, rgb(134 92 53 / 22%), transparent 43%),
        linear-gradient(145deg, #252826, #181b1b 58%, #111313);
    box-shadow: inset 0 0 60px rgb(0 0 0 / 56%), 0 18px 50px rgb(0 0 0 / 28%);
}

.art-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.24;
    background-image:
        linear-gradient(rgb(189 173 137 / 14%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(189 173 137 / 14%) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent);
}

.art-halo {
    position: absolute;
    width: 340px;
    height: 340px;
    border: 1px solid rgb(194 155 91 / 26%);
    border-radius: 50%;
    box-shadow: 0 0 70px rgb(167 93 66 / 10%), inset 0 0 60px rgb(194 155 91 / 6%);
}

.art-halo::after {
    position: absolute;
    inset: 18px;
    border: 1px dashed rgb(194 155 91 / 18%);
    border-radius: 50%;
    content: "";
}

.art-machine {
    position: relative;
    width: min(57%, 272px);
    min-width: 220px;
    padding: 10px 10px 0;
    transform: perspective(800px) rotateY(-7deg) rotateX(2deg);
    border: 1px solid #68675e;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(110deg, #77766a 0, #3f423e 10%, #282b29 36%, #4c4d45 72%, #292c2a 100%);
    box-shadow:
        inset 0 2px rgb(255 255 255 / 24%),
        inset 3px 0 5px rgb(255 255 255 / 9%),
        16px 25px 38px rgb(0 0 0 / 48%);
}

.machine-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 5px 9px;
    color: #c1bcae;
    font-family: "Courier New", monospace;
    font-size: 0.45rem;
    letter-spacing: 0.11em;
}

.machine-power {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b36449;
    box-shadow: 0 0 8px #b36449;
}

.machine-screen {
    display: flex;
    min-height: 282px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 17px 15px;
    border: 5px solid #151716;
    border-radius: 4px;
    background:
        linear-gradient(0deg, rgb(16 20 19 / 86%), rgb(16 20 19 / 25%)),
        repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgb(217 184 121 / 7%) 4px),
        radial-gradient(ellipse at 51% 48%, #734d35, #242927 72%);
    box-shadow: inset 0 0 25px #000, 0 1px rgb(255 255 255 / 15%);
}

.screen-overline,
.screen-prompt {
    color: #c5a365;
    font-family: "Courier New", monospace;
    font-size: 0.47rem;
    letter-spacing: 0.17em;
}

.screen-title {
    color: #ece2c9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.82;
    text-shadow: 0 2px 18px rgb(213 158 76 / 28%);
}

.screen-title i {
    color: #c59259;
    font-weight: 400;
}

.screen-prompt {
    display: flex;
    justify-content: space-between;
}

.screen-prompt span {
    color: #b96e4c;
}

.machine-controls {
    display: flex;
    height: 74px;
    align-items: center;
    gap: 14px;
    padding: 0 17px;
    background: linear-gradient(180deg, #343733, #292b28);
}

.joystick {
    position: relative;
    width: 26px;
    height: 26px;
    border: 1px solid #191b19;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6a6b61, #292b28 70%);
    box-shadow: 0 3px 4px #111;
}

.joystick i {
    position: absolute;
    bottom: 14px;
    left: 11px;
    width: 4px;
    height: 20px;
    border-radius: 3px;
    background: linear-gradient(90deg, #373936, #99978b, #373936);
    transform: rotate(-9deg);
}

.control-button {
    width: 17px;
    height: 17px;
    border: 2px solid #222;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #d7b36f, #80633e 65%);
    box-shadow: 0 2px 2px #111;
}

.control-button-red {
    width: 13px;
    height: 13px;
    margin-left: -7px;
    background: radial-gradient(circle at 35% 28%, #bb775b, #743f31 65%);
}

.machine-base {
    height: 22px;
    margin: 0 -10px;
    border-top: 1px solid #888477;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(180deg, #4f514b, #292c2a);
}

.art-stamp {
    position: absolute;
    top: 14%;
    right: 10%;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    transform: rotate(9deg);
    border: 1px solid rgb(167 93 66 / 80%);
    border-radius: 50%;
    color: #ba765e;
    font-family: "Courier New", monospace;
    font-size: 0.52rem;
    line-height: 1.3;
    text-align: center;
}

.art-caption {
    position: absolute;
    right: 7%;
    bottom: 6%;
    color: #807e72;
    font-size: 0.56rem;
    letter-spacing: 0.17em;
}

.hero-index {
    position: absolute;
    bottom: 22px;
    left: 2.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #73776f;
    font-family: "Courier New", monospace;
    font-size: 0.58rem;
}

.hero-index span:first-child {
    color: var(--brass);
}

.index-line {
    width: 45px;
    height: 1px;
    background: #474943;
}

.section-block {
    padding: 5.2rem 2.6rem;
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-kicker {
    margin-bottom: 0.85rem;
    color: #a99066;
    font-size: 0.59rem;
}

.section-heading h2,
.panel-copy h2 {
    margin: 0;
    color: #e7e3d8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.section-heading h2 span {
    color: var(--brass);
    font-style: italic;
}

.section-aside {
    margin: 0 0 4px;
    color: #82877f;
    font-size: 0.76rem;
    line-height: 1.7;
    text-align: right;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card,
.journal-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #1d211f, #171a19);
    box-shadow: 0 10px 32px rgb(0 0 0 / 15%);
}

.card-art {
    position: relative;
    display: grid;
    min-height: 205px;
    overflow: hidden;
    place-items: center;
    border-bottom: 1px solid var(--line);
}

.card-art-cod {
    background:
        radial-gradient(ellipse at center, rgb(117 135 101 / 20%), transparent 48%),
        repeating-linear-gradient(0deg, transparent 0, transparent 23px, rgb(201 204 185 / 5%) 24px),
        linear-gradient(145deg, #292e29, #171a19 72%);
}

.card-art-cod::before,
.card-art-cod::after {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 1px solid rgb(173 180 157 / 33%);
    border-radius: 50%;
    content: "";
}

.card-art-cod::after {
    width: 95px;
    height: 95px;
    border-color: rgb(194 155 91 / 42%);
}

.card-art-modern {
    background:
        linear-gradient(135deg, transparent 49.7%, rgb(194 155 91 / 14%) 50%, transparent 50.3%),
        repeating-linear-gradient(90deg, transparent 0, transparent 31px, rgb(201 204 185 / 5%) 32px),
        linear-gradient(145deg, #302a26, #191a19 72%);
}

.card-art-modern::before {
    position: absolute;
    width: 150px;
    height: 1px;
    transform: rotate(-34deg);
    background: linear-gradient(90deg, transparent, #c49a5b, transparent);
    box-shadow: 0 0 18px rgb(196 154 91 / 35%);
    content: "";
}

.card-art-soldiers {
    background:
        radial-gradient(ellipse at center, rgb(153 91 66 / 20%), transparent 48%),
        linear-gradient(145deg, #292725, #171a19 72%);
}

.card-art-soldiers::before,
.card-art-soldiers::after {
    position: absolute;
    width: 118px;
    height: 118px;
    transform: rotate(45deg);
    border: 1px solid rgb(167 93 66 / 54%);
    content: "";
}

.card-art-soldiers::after {
    width: 88px;
    height: 88px;
    border-color: rgb(194 155 91 / 32%);
}

.game-art-mark {
    position: relative;
    z-index: 1;
    color: #e5e0d2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 18px rgb(0 0 0 / 70%), 0 0 20px rgb(194 155 91 / 25%);
}

.card-art-modern .game-art-mark {
    color: #c4a36c;
    font-family: "Courier New", monospace;
    font-size: 3rem;
    letter-spacing: -0.08em;
}

.card-art-soldiers .game-art-mark {
    color: #b97658;
    font-size: 3.4rem;
    font-style: italic;
}

.art-code {
    position: absolute;
    right: 16px;
    bottom: 13px;
    color: #aaa393;
    font-family: "Courier New", monospace;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
}

.feature-card-copy {
    padding: 1.2rem 1.25rem 1.4rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    color: #8d9188;
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.coming-tag {
    padding: 4px 7px;
    border: 1px solid rgb(194 155 91 / 34%);
    color: #b49a6d;
    font-size: 0.49rem;
}

.feature-card h3,
.journal-card h3 {
    margin: 0.85rem 0 0.55rem;
    color: #e5e1d6;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.52rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.game-card h3 {
    min-height: 3.7rem;
    font-size: 1.32rem;
    line-height: 1.22;
}

.feature-card-copy > p,
.journal-copy > p:not(.post-category) {
    max-width: 470px;
    margin: 0 0 1.05rem;
    color: #969b93;
    font-size: 0.79rem;
    line-height: 1.7;
}

.feature-card .card-link,
.journal-card .card-link {
    color: #c2a06b;
    font-size: 0.68rem;
}

.card-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b49a6d;
    font-family: "Courier New", monospace;
    font-size: 0.53rem;
    letter-spacing: 0.08em;
}

.card-status > span {
    width: 6px;
    height: 6px;
    border: 1px solid #aa8753;
    border-radius: 50%;
    box-shadow: 0 0 7px rgb(194 155 91 / 30%);
}

.journal-section {
    background: linear-gradient(180deg, rgb(28 32 31 / 50%), transparent);
}

.journal-mark {
    padding: 7px 10px;
    border: 1px solid var(--line);
    color: #8a8c81;
    font-family: "Courier New", monospace;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.journal-art {
    position: relative;
    display: flex;
    min-height: 158px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.journal-art::before,
.journal-art::after {
    position: absolute;
    content: "";
}

.journal-art-one {
    background: linear-gradient(145deg, #36382f, #1c201e 72%);
}

.journal-art-one::before {
    width: 150px;
    height: 90px;
    transform: rotate(-17deg);
    border: 1px solid rgb(198 169 115 / 52%);
    box-shadow: 0 0 40px rgb(191 146 80 / 12%);
}

.journal-art-one::after {
    width: 115px;
    height: 62px;
    transform: rotate(-17deg);
    border: 1px solid rgb(198 169 115 / 27%);
}

.journal-art-two {
    background: linear-gradient(130deg, #33302a, #1a1d1c 70%);
}

.journal-art-two::before {
    width: 110px;
    height: 110px;
    transform: rotate(45deg);
    border: 1px solid rgb(164 105 76 / 65%);
    background: linear-gradient(135deg, transparent 48%, rgb(164 105 76 / 13%) 49%);
    box-shadow: 0 0 36px rgb(164 105 76 / 14%);
}

.journal-art-two::after {
    width: 55px;
    height: 55px;
    transform: rotate(45deg);
    border: 1px solid rgb(194 155 91 / 54%);
}

.journal-art-three {
    background: linear-gradient(140deg, #252e2d, #181b1a 75%);
}

.journal-art-three::before {
    width: 145px;
    height: 70px;
    border: 1px solid rgb(133 157 140 / 42%);
    border-radius: 50%;
    box-shadow: 0 0 35px rgb(133 157 140 / 15%);
}

.journal-art-three::after {
    width: 90px;
    height: 90px;
    border: 1px dashed rgb(194 155 91 / 34%);
    border-radius: 50%;
}

.journal-symbol {
    position: relative;
    z-index: 1;
    color: rgb(232 226 207 / 85%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-style: italic;
}

.journal-art-label {
    position: absolute;
    right: 12px;
    bottom: 11px;
    color: #9c9b90;
    font-family: "Courier New", monospace;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
}

.journal-copy {
    padding: 1.15rem 1.2rem 1.3rem;
}

.post-category {
    margin: 0;
    color: #b49361;
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.post-category span {
    padding: 0 4px;
    color: #676b64;
}

.journal-card h3 {
    min-height: 3.5rem;
    margin-top: 0.7rem;
    font-size: 1.2rem;
    line-height: 1.28;
}

.journal-copy > p:not(.post-category) {
    min-height: 4.1rem;
    font-size: 0.73rem;
}

.panel-access {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
    background: linear-gradient(90deg, rgb(48 43 34 / 46%), rgb(26 29 28 / 25%));
}

.panel-emblem {
    display: flex;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid rgb(194 155 91 / 39%);
    background: linear-gradient(145deg, #33322d, #1c1e1c);
    box-shadow: inset 0 1px rgb(255 255 255 / 10%);
}

.panel-emblem span {
    width: 3px;
    height: 19px;
    background: #b08b55;
    transform: skew(-20deg);
}

.panel-emblem span:nth-child(2) {
    height: 27px;
    background: #ded0af;
}

.panel-emblem span:nth-child(3) {
    height: 14px;
    background: #805a42;
}

.panel-copy {
    max-width: 590px;
}

.panel-copy .section-kicker {
    margin-bottom: 0.45rem;
}

.panel-copy h2 {
    font-size: 1.8rem;
}

.panel-copy > p:last-child {
    margin: 0.35rem 0 0;
    color: #969a91;
    font-size: 0.75rem;
    line-height: 1.65;
}

.panel-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid rgb(194 155 91 / 28%);
    color: #b4a47e;
    font-family: "Courier New", monospace;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.panel-status > span {
    width: 6px;
    height: 6px;
    background: #a75d42;
    box-shadow: 0 0 7px rgb(167 93 66 / 60%);
}

.site-footer {
    padding: 1.35rem 0;
    border-top: 1px solid var(--line);
    background: #0d0f0f;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem 1.5rem;
}

.footer-brand {
    gap: 2px;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.footer-motto,
.footer-copyright,
.footer-panel-link {
    color: #777b73;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
}

.footer-panel-link {
    color: #ad9366;
    text-decoration: none;
}

.footer-panel-link:hover {
    color: #e0bd7a;
}

/* Shared form styling keeps the existing account screen in the site theme. */
.site-main > .row {
    min-height: 66vh;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.card {
    border: 1px solid rgb(208 204 188 / 15%);
    border-radius: 3px;
    background: linear-gradient(145deg, #202422, #171a19);
    box-shadow: 0 16px 45px rgb(0 0 0 / 25%);
}

.card-body {
    padding: clamp(1.5rem, 5vw, 2.5rem) !important;
}

.card h1 {
    color: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
}

.form-control {
    min-height: 47px;
    border: 1px solid #444943;
    border-radius: 2px;
    background: #111413;
    color: var(--paper);
}

.form-control:focus {
    border-color: #ac8a55;
    background: #141716;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgb(194 155 91 / 16%);
}

.form-label {
    color: #c5c1b5;
    font-size: 0.83rem;
    font-weight: 600;
}

.btn-primary {
    border-color: #856b42;
    border-radius: 2px;
    background: linear-gradient(180deg, #b58b4d, #8d6938);
    color: #191713;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-primary:hover {
    border-color: #d6b877;
    background: linear-gradient(180deg, #d1ae70, #ab8246);
    color: #121311;
}

.alert {
    border-radius: 2px;
}

@media (max-width: 767.98px) {
    .site-navbar {
        min-height: 70px;
    }

    .site-nav-links {
        gap: 0.9rem;
    }

    .site-nav-links > a:not(.site-nav-cta) {
        display: none;
    }

    .site-nav-cta {
        padding: 0.62rem 0.75rem;
        font-size: 0.58rem;
    }

    .forge-hero {
        min-height: unset;
        grid-template-columns: 1fr;
        gap: 2.6rem;
        padding: 4rem 0 4.4rem;
    }

    .forge-copy h1 {
        font-size: clamp(4.5rem, 17vw, 6.8rem);
    }

    .hero-art {
        min-height: 390px;
    }

    .hero-index {
        left: 0;
    }

    .section-block {
        padding: 3.8rem 0;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .section-aside {
        text-align: left;
    }

    .panel-access {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .panel-status {
        margin: 0 0 0 4.25rem;
    }
}

@media (max-width: 520px) {
    .site-brand {
        gap: 8px;
        font-size: 0.88rem;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .forge-hero {
        padding-top: 3.2rem;
    }

    .forge-copy h1 {
        font-size: clamp(4rem, 19vw, 5.4rem);
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-coordinates {
        flex-wrap: wrap;
        font-size: 0.49rem;
    }

    .hero-art {
        min-height: 340px;
    }

    .art-halo {
        width: 270px;
        height: 270px;
    }

    .art-machine {
        min-width: 205px;
        width: 62%;
    }

    .machine-screen {
        min-height: 245px;
    }

    .journal-grid {
        grid-template-columns: 1fr;
    }

    .journal-art {
        min-height: 180px;
    }

    .journal-card h3,
    .journal-copy > p:not(.post-category) {
        min-height: auto;
    }

    .journal-mark {
        font-size: 0.48rem;
    }

    .panel-copy h2 {
        font-size: 1.55rem;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Forum, videos, admin */
.page-card { background: linear-gradient(180deg, #23211f, #1a1918); border: 1px solid #4a4540; border-radius: .5rem; padding: 1.5rem; margin: 1.5rem 0; box-shadow: 0 6px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05); }
.page-card.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.page-card a { color: #c9a24d; }
.page-card .btn-dark { background: #8a4b2a; border-color: #b8652f; color: #f3e9d8; }
.forum-list .list-group-item { background: #1f1d1b; border-color: #3d3935; color: #e6dccb; }
.forum-list .list-group-item:hover { background: #2a2623; }
.forum-post { border: 1px solid #3d3935; border-radius: .4rem; padding: 1rem; margin-bottom: 1rem; background: #1f1d1b; }
.forum-post-body { margin-top: .5rem; overflow-wrap: anywhere; }
.stat-tile { border: 1px solid #4a4540; border-radius: .4rem; padding: 1rem; text-align: center; background: #1f1d1b; }
.stat-tile strong { display: block; font-size: 1.75rem; color: #c9a24d; }
.pagination .page-link { background: #1f1d1b; border-color: #3d3935; color: #c9a24d; }
.pagination .active .page-link { background: #8a4b2a; border-color: #b8652f; color: #f3e9d8; }
.site-nav-links form { display: inline; margin: 0; }
