body {
  margin: 0;
  background: #1d1215 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAABDUlEQVR42u1Yyw4DIQhkiU17btJj//8X2/TSgwlLfOK4xm2jJ3WFYVxQcHveH0RERLfLlYhenzeNaYF+1t/GocbKWZvTygCT8h0nvaF0BULMZT9uRRVzW0kLFsNEAXO1LMP+mRsaG3e6KEyaO+nCpLk/IjHSTJPaAj418Mw47m+uKV7loI9v2cL65PwmiUAMGchYtjQnEsM74zo9GVuQo+Xn5SrUy5wF8pDcI4Cf7VyFPTkqzUtvtQW+4FxVf6w4VxI+GU5akR/6xXa/c8bAqN7HrX/np87qlQgs4D9LBMoX1/Cthou2E8QxbDJWmIssYyrgom0vzKXMhc0H3l/2+hj4T1hhnn71GUo6UP4Fvwa6+4IT8ooAAAAASUVORK5CYII=);
  background-size: 80px;
  image-rendering: pixelated;
  color: #231a1a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
img { image-rendering: auto; }
a { color: #7e2c35; }

#wrap { max-width: 1000px; margin: 0 auto; padding: 0 10px; }

#top { background: #140b0e; border: 1px solid #4a3036; margin-top: 15px; padding: 20px; }
#top img { width: 80px; float: left; margin: -8px 15px 0 0; }
#top h1 { font-family: 'Special Elite', monospace; font-size: 46px; font-weight: normal; color: #e4e2dd; margin: 12px 0 14px 0; line-height: 1; letter-spacing: 2px; }
#top h1 span { display: inline-block; transform: scaleY(1.9); }
#top p { color: #a8946f; margin: 5px 0 0 0; font-size: 13px; }

#nav, #links { background: #2b171c; border: 1px solid #4a3036; }
#nav { border-top: none; margin-bottom: 15px; }
#links { margin-top: 15px; }
#nav a, #links a { display: inline-block; padding: 10px 13px; color: #cbc8c2; text-decoration: none; font-size: 12px; font-weight: bold; text-transform: uppercase; border-right: 1px solid #4a3036; }
#nav a:hover, #links a:hover { background: #3a2026; color: white; }
#nav a.on, #links a.on { background: #e4e2dd; color: #231a1a; }
#visits { float: right; padding: 6px 10px; color: #a8946f; font-size: 12px; font-weight: bold; text-transform: uppercase; }

#cols { display: flex; gap: 15px; align-items: flex-start; }
#main { flex: 1; background: #e4e2dd; border: 1px solid #a3a09a; padding: 25px; min-width: 0; max-height: 620px; overflow-y: auto; }
#side { width: 270px; }

h2 { color: #7e2c35; font-size: 22px; margin: 0; text-transform: lowercase; }
.sub { color: #5c5852; font-size: 12px; margin: 0 0 18px 0; }
h3 { font-size: 16px; margin: 20px 0 4px 0; }
.date { font-size: 11px; color: #5c5852; margin: 0 0 6px 0; }
.new { background: #7e2c35; color: white; font-size: 11px; padding: 1px 5px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; color: #5c5852; padding: 5px; }
td { padding: 4px 5px; vertical-align: top; }
td small { display: block; color: #5c5852; font-size: 11px; }

.btn { display: inline-block; background: #7e2c35; color: #e4e2dd; padding: 8px 15px; text-decoration: none; font-weight: bold; font-size: 12px; border: 1px solid #4e1a20; cursor: pointer; font-family: Arial, sans-serif; }
.btn:hover { background: #9a3c46; color: white; }
.tab { background: #d2cfc9; color: #231a1a; border: 1px solid #8a8680; padding: 6px 14px; font-size: 12px; cursor: pointer; font-family: Arial, sans-serif; }
.tab.on { background: #231a1a; color: #e4e2dd; border-color: #231a1a; }

.cover { width: 160px; height: 160px; background: #140b0e; border: 1px solid #8a8680; float: left; margin: 0 20px 10px 0; position: relative; image-rendering: pixelated; }
.black { background: #231a1a; color: #231a1a; user-select: none; }
#countdown { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #7e2c35; }

.item { display: inline-block; vertical-align: top; width: 210px; background: #efeeea; border: 1px solid #a3a09a; padding: 10px; margin: 0 10px 10px 0; }
.item img { width: 100%; background: white; border: 1px solid #ccc; }
.price { color: #7e2c35; font-weight: bold; font-size: 15px; }

.pic { display: inline-block; width: 200px; background: #efeeea; border: 1px solid #a3a09a; padding: 6px; margin: 0 10px 10px 0; text-align: center; font-size: 11px; vertical-align: top; }
.pic img { width: 100%; }

input, textarea { width: 100%; box-sizing: border-box; font-family: Arial, sans-serif; font-size: 14px; padding: 6px; border: 1px solid #8a8680; margin-bottom: 8px; }
textarea { height: 90px; }
#chattable { display: block; width: 100%; height: 420px; border: none; }
#main { scrollbar-color: #8a8680 #c4c0b9; }
#main::-webkit-scrollbar { width: 14px; }
#main::-webkit-scrollbar-track { background: #c4c0b9; }
#main::-webkit-scrollbar-thumb { background: #8a8680; border: 2px solid #c4c0b9; }
#main.cat { padding: 0; height: 620px; overflow: hidden; }
#tony img { display: block; width: 100%; height: 620px; object-fit: cover; cursor: pointer; }
.entry { background: #efeeea; border: 1px solid #c4c0b9; padding: 10px; margin-bottom: 10px; }

.box { background: #140b0e; border: 1px solid #4a3036; color: #e4e2dd; padding: 12px; margin-bottom: 15px; text-align: center; font-size: 12px; }
.box h4 { color: #a8946f; margin: 0 0 8px 0; text-transform: uppercase; font-size: 12px; }
#sideart { display: block; width: 100%; border: 1px solid #4a3036; box-sizing: border-box; }
.blinkie { width: 150px; height: 22px; line-height: 22px; margin: 4px auto; font-family: VT323, monospace; font-size: 16px; border: 1px solid black; }
.counter { font-family: VT323, monospace; font-size: 20px; background: black; color: #b6f5a8; padding: 1px 6px; letter-spacing: 3px; margin-left: 6px; }

#foot { text-align: center; color: #cbc8c2; font-size: 11px; padding: 20px; }
#foot a { color: #a8946f; }


@media (hover: hover) {
  #main, #nav, #links { filter: url(#px); }
}

@media (max-width: 800px) {
  #cols { display: block; }
  #side { width: auto; margin-top: 15px; }
  #main { padding: 15px; max-height: none; overflow: visible; }
  #top h1 { font-size: 34px; }
  #visits { float: none; display: block; }
  .item, .pic { width: 100%; box-sizing: border-box; }
  #chattable { height: 360px; }
  #main.cat { height: 420px; }
  #tony img { height: 420px; }
  .cover { float: none; }
}

.play { font-size: 9px; width: 22px; height: 18px; padding: 0; border: 1px solid #8a8680; background: #d2cfc9; cursor: pointer; vertical-align: 1px; }
.play:hover { background: #7e2c35; color: white; }
.buttons { padding: 8px 4px; line-height: 0; }
.buttons img { width: 88px; height: 31px; margin: 3px; image-rendering: pixelated; border: none; }
.buttons a:hover img { filter: brightness(1.2); }

.book-button-wrap {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.book-btn-img {
    cursor: pointer;
    display: inline-block;
    border: none;
    max-width: 100%;
    width: 550px;
    height: auto;
    opacity: 0;
    animation: fadeIn 5s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.book-button-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #fff;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    clip-path: polygon(50% 0%, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0% 50%, 45% 45%);
    animation: flash 0.5s ease-out 5s forwards;
}

@keyframes flash {
    0% { width: 0; height: 0; opacity: 1; }
    99% { width: 700px; height: 700px; opacity: 0; }
    100% { width: 0; height: 0; opacity: 0; }
}
