body {
    font-family: sans-serif;
    background-color: #222222;
    background-image: url('../img/bg_main.png');
    color: #e0d0d0;
    padding-left: 16px;
    padding-right: 16px;
}
a {
    color: #aaaaff;
}
hr {
   border: 0;
   color: #111111;
   background-color: #111111;
   height: 2px;
   margin-top: 16px;
}
h3 {
    color: #ffffff;
    font-size: 16px;
}
img {
    border:0;
    margin:0;
}
.sidebar {
   padding:10px;
   vertical-align: top;
}
.alert {
    background-color:#aa0000;
    color:#ffffff;
    font-weight:bold;
    padding: 6px 10px;
    width:500px;
}
.date {
    color: #888888;
    font-size: 11px;
    margin-bottom: 6px;
}
.muted {
    color: #999999;
    font-size: 12px;
}
.disclaimer {
    color: #777777;
    font-size: 11px;
    margin-top: 32px;
}
.pagination a,
.post-nav a {
    margin-right: 12px;
}

.content p {
    margin: 0 0 1em 0;
}
.content p:last-child {
    margin-bottom: 0;
}
.video {
    max-width: 560px;
    aspect-ratio: 16 / 9;
    margin: 0 0 1em 0;
    background-color: #000000;
}
.video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.shot {
    display: block;
    margin: 0 0 1em 0;
}
.shot img {
    display: block;
    max-width: 100%;
    height: auto;
}
.content > .shot {
    max-width: 560px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    max-width: 760px;
    margin: 0 0 1em 0;
}
.gallery .shot {
    margin: 0;
}
video.clip {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 0 1em 0;
    background-color: #000000;
}
audio {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 0 1em 0;
}

.logo {
    display: block;
    max-width: 100%;
    width: 560px;
    height: auto;
}
.pin-label {
    color: #aaaaff;
    margin-right: 6px;
}
.pagination .current {
    font-weight: bold;
    color: #ffffff;
    margin-right: 12px;
}
.pagination .gap {
    margin-right: 12px;
}
.side-image {
    margin-bottom: 16px;
}
.side-img {
    display: block;
    max-width: 100%;
    height: auto;
}

.filters a,
.filters .current {
    margin-right: 12px;
}
.filters .current {
    font-weight: bold;
    color: #ffffff;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px 12px;
    margin: 0 0 1.5em 0;
}
.tile {
    margin: 0;
    min-width: 0;
}
.tile .thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #111111;
    overflow: hidden;
}
.tile .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tile video.thumb {
    object-fit: contain;
}
.tile .thumb.audio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 6px;
    box-sizing: border-box;
}
.tile .thumb.audio audio {
    margin: 0;
}
.tile .thumb.youtube {
    position: relative;
}
.tile .thumb.youtube::after {
    content: "YouTube";
    position: absolute;
    right: 4px;
    bottom: 4px;
    padding: 1px 6px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 11px;
}
.tile figcaption {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.tile .date {
    margin: 0;
}

.video-desc {
    max-width: 560px;
    margin-bottom: 1em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.votes {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: #cccccc;
    max-width: 560px;
}
.vote-bar {
    display: flex;
    height: 6px;
    margin-top: 3px;
    background-color: #111111;
}
.vote-bar span { display: block; height: 100%; }
.vote-bar .yes  { background-color: #5aa55a; }
.vote-bar .no   { background-color: #b25050; }
.vote-bar .opt0 { background-color: #6f8fd8; }
.vote-bar .opt1 { background-color: #d8a64a; }
.vote-bar .opt2 { background-color: #5aa55a; }
.vote-bar .opt3 { background-color: #b25050; }

#site-title a {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}