/* Generated from assets/config/palette.ron — do not edit */

@font-face {
    font-family: "ntds";
    src: url("fonts/ntds_icons.ttf") format("truetype");
}

.ntds {
    font-family: "ntds", monospace;
    font-size: 1.5em;
    vertical-align: middle;
}

/* Force single theme */
.light, .rust, .ayu, .coal, .navy {}

:root {
    --bg: #0a0a0a;
    --sidebar-bg: #1b1b1b;
    --sidebar-fg: #b4b4b4;
    --sidebar-active: #b4b4b4;
    --sidebar-non-existant: #8c8c8c;
    --sidebar-spacer: #3c3c3c;
    --content-max-width: 800px;
    --page-padding: 15px;

    --sidebar-header-border-color: #22c55e;

    /* Game palette — affiliation */
    --friendly: #22c55e;
    --enemy: #ef4444;
    --unknown: #f97316;
    --allied: #3b82f6;

    /* Game palette — status */
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;

    /* Game palette — accent */
    --sensor-passive: #eab308;
    --sensor-active: #f59e0b;
}

html {
    font-family: "Noto Sans Mono", monospace !important;
}

body {
    color: #b4b4b4;
    background-color: #0a0a0a;
}

.sidebar {
    background-color: #1b1b1b;
}

.sidebar .sidebar-scrollbox {
    background-color: #1b1b1b;
}

.sidebar a {
    color: #8c8c8c;
}

.sidebar a:hover,
.sidebar a.active {
    color: #22c55e;
}

.menu-bar,
.menu-bar.bordered {
    background-color: #1b1b1b;
    border-color: #3c3c3c;
}

.menu-bar i {
    color: #8c8c8c;
}

#content {
    max-width: var(--content-max-width);
}

.content {
    padding: 0 var(--page-padding);
}

h1, h2, h3, h4, h5, h6 {
    color: #22c55e;
}

strong {
    color: #22c55e;
    font-weight: normal;
}

/* Allow inline color overrides (e.g. affiliation spans) to pass through to nested strong */
span[style] > strong {
    color: inherit;
}

.content :not(h1, h2, h3, h4, h5, h6) > a,
.content :not(h1, h2, h3, h4, h5, h6) > a:visited,
.content :not(h1, h2, h3, h4, h5, h6) > a:link {
    color: #22c55e !important;
    font-weight: bold;
    text-decoration: underline dotted !important;
    text-underline-offset: 3px;
}

.content :not(h1, h2, h3, h4, h5, h6) > a:hover {
    color: #22c55e !important;
    text-decoration: underline solid !important;
    text-underline-offset: 3px;
}

code {
    background-color: #404040;
    color: #22c55e;
    padding: 2px 5px;
    border-radius: 3px;
}

pre {
    background-color: #404040 !important;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    padding: 14px;
}

pre > code {
    background-color: transparent;
    color: #b4b4b4;
    padding: 0;
}

blockquote {
    border-left: 4px solid #14b8a6;
    background-color: #1b1b1b;
    padding: 10px 20px;
    margin: 20px 0;
    color: #8c8c8c;
}

table {
    width: 100%;
}

table thead th {
    background-color: #1b1b1b;
    border-bottom: 2px solid #3c3c3c;
}

table td {
    border-bottom: 1px solid #3c3c3c;
}


/* Mermaid diagram background — force transparent */
pre.mermaid {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Hide theme picker — single theme only */
#theme-list, #theme-toggle,
#mdbook-theme-list, #mdbook-theme-toggle {
    display: none;
}

/* Footer — pushed to bottom on short pages */
.page {
    min-height: 100vh;
}

#mdbook-content {
    min-height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
}

#mdbook-content > main {
    flex: 1;
}

.content::after {
    content: "\00a9  Big Beard Games";
    display: block;
    text-align: center;
    color: #8c8c8c;
    font-size: 0.85em;
    margin-top: 40px;
    padding: 15px 0 10px 0;
    border-top: 1px solid #3c3c3c;
}
