html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    color: #d7d1bd;
    background: #01040a url("../images/night-sky.png") repeat;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
}

a {
    color: #9fc8ff;
}

a:visited {
    color: #c28cff;
}

.page-shell {
    width: 930px;
    max-width: calc(100% - 18px);
    margin: 0 auto;
}

.site-header {
    padding: 16px 0 8px;
    text-align: center;
}

.brand-link {
    display: inline-block;
}

.brand-wordart {
    display: block;
    width: min(890px, 100%);
    height: auto;
    border: 0;
}

.site-caption {
    margin: 2px 0 6px;
    color: #f0dfb6;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    font-style: italic;
    text-shadow: 2px 2px 0 #000;
}

.header-strip {
    margin: 6px auto 0;
    padding: 4px 8px;
    color: #f4eec8;
    background: #1b1b1b url("../images/night-sky.png") repeat;
    border: 1px solid #5d5d5d;
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
}

.header-strip span {
    display: inline-block;
    margin: 0 10px;
}

.feed-board {
    margin: 10px 0 28px;
    border: 1px solid #393939;
    background: #0b0b0b;
}

.post-row {
    display: grid;
    grid-template-columns: 38px 92px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border-top: 1px solid #272727;
    background: #121212;
}

.post-row:first-child {
    border-top: 0;
}

.post-row:nth-child(even) {
    background: #171717;
}

.rank-column {
    color: #777;
    text-align: center;
    font-family: Arial, sans-serif;
}

.rank-number {
    display: block;
    margin-bottom: 2px;
}

.tiny-arrow {
    display: block;
    color: #b3b3b3;
    font-size: 18px;
    line-height: 16px;
}

.post-thumb {
    display: block;
    width: 88px;
    height: 66px;
    border: 2px ridge #777;
    background: #050505;
    overflow: hidden;
}

.post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-copy {
    min-width: 0;
}

.post-copy h2 {
    margin: 0 0 2px;
    font-size: 16px;
    font-family: Arial, Verdana, sans-serif;
    font-weight: normal;
}

.post-copy h2 a {
    color: #85b7ff;
}

.post-meta {
    margin: 0 0 7px;
    color: #8d8d8d;
    font-size: 11px;
}

.post-body {
    max-width: 690px;
    color: #e2ddcf;
    line-height: 1.35;
}

.media-panel {
    margin-top: 8px;
    padding: 8px;
    border: 1px inset #505050;
    background: #050505;
}

.media-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.media-item {
    flex: 0 0 auto;
    width: 430px;
    max-width: 78vw;
    margin: 0;
    color: #bbb;
}

.media-item img,
.media-item video {
    display: block;
    max-width: 100%;
    max-height: 360px;
    border: 1px solid #666;
    background: #000;
}

.media-item audio {
    display: block;
    width: 100%;
    margin-top: 8px;
}

.media-badge {
    width: 220px;
    height: auto;
}

.missing-media img {
    image-rendering: auto;
}

figcaption {
    margin-top: 4px;
    color: #aaa;
    font-size: 11px;
}

.empty-feed {
    padding: 28px;
    text-align: center;
    color: #aaa;
}

.empty-feed img {
    max-width: 230px;
    border: 1px solid #555;
}

@media (max-width: 640px) {
    .page-shell {
        max-width: calc(100% - 8px);
    }

    .post-row {
        grid-template-columns: 26px 74px minmax(0, 1fr);
        gap: 6px;
        padding: 6px;
    }

    .post-thumb {
        width: 70px;
        height: 58px;
    }

    .header-strip span {
        display: block;
        margin: 2px 0;
    }

    .media-item {
        width: 82vw;
    }
}
