html,
body {
  margin: 0;
  padding: 0;
  background-color: transparent;
  cursor: url('images/pixel-cursor.png'), auto;
}
.page-content {
  padding: 15px;
  box-sizing: border-box;
}
body, p, td {
  font-family: courier;
  font-size: 10pt;
  cursor: default;
}
a:link,
a:visited {
  text-decoration: none;
  font-weight: bold;
  color: #5d44ce;
  cursor: default;
}
a:active {
  text-decoration: none;
  font-weight: bold;
  color: #3C808F;
  cursor: default;
}
a {
  display: inline-block;
  transition: 0.2s ease;
}
a:hover {
  text-decoration: none;
  font-weight: bold;
  color: #d770b0;
  cursor: default;
  transform: translateY(-2px);

}
/* scrollbar width */
::-webkit-scrollbar {
  width: 12px;
}

/* background track */
::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  margin: 4px;
}

/* draggable scrollbar */
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    to bottom,
    #d8fa2f,
    #9df03f,
    #93d627
  );

  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.4);

  box-shadow:
    inset 0 0 4px rgba(255,255,255,0.5),
    0 0 4px rgba(255,182,213,0.4);
}

/* hover effect */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    to bottom,
    #ffea00,
    #ffb3d1,
    #ffc7df
  );
}
::selection {
  background: #ccc;
  color: #FFFFFF;
}

::-moz-selection {
  background: #ccc;
  color: #FFFFFF;
}
* {
  box-sizing: border-box;
}
a, img, button {
  cursor: url('images/pixel-pointer.png'), pointer;
}
header {
 width:100%;
 text-align:center;
 overflow:hidden;
}
img {
  height: auto;
}
.layout-bg {
  width: 993px;
  height: 724px;
  max-width: none;
  border: 0;
  position: relative;
  z-index: 0;
}
.box1 {
 max-width:298px;
 width:90vw;
 background:#fff;
 border-style:solid;
 border-color:#ccc;
 border-width:1px;
 border-radius: 7px;
 overflow: visible;
 padding:5px;
 text-align:center;
 color:#999;
 font-family:courier;
 font-size:12px;
 z-index: 50;
}

.box1 a {
  position: relative;
  z-index: 51;
  pointer-events: auto;
  cursor: pointer;
}
.box2 {
 max-width:500px;
 width:90vw;
 background-image: url("images/bg01.gif");
 border-style:solid;
 border-color:#000;
 border-width:0px;
 border-radius: 7px;
 overflow: visible;
 padding:5px;
 text-align:center;
 color:#999;
 font-family:courier;
 font-size:12px;
}
.masonry-grid {
  column-count: 3;
  column-gap: 10px;
  padding: 10px;
}
.masonry-grid .thumb {
  width: 100%;
  display: block;
  margin-bottom: 12px !important;
  break-inside: avoid;
}
.thumb {
  width: 150px;      /* pick your size */
  max-width: 100%;
  height: auto;
  display: block;
}
/* PIXEL SPEECH BUBBLE */

.pixel-speech {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 8px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #ccc;
  font-family: courier, Arial, sans-serif;
  font-size: 10pt;
  color: #999;
  line-height: 13px;

  position: relative;
  z-index: 5;
}

.pixel-speech:after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -8px;

  width: 10px;
  height: 10px;

  background: #ffffff;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;

  transform: rotate(45deg);
}


/* PIXEL STICKERS */

.pixel-sticker {
  display: inline-block !important;

  background: #ffde59 !important;
  border: 1px solid #000000 !important;
  box-shadow: 1px 1px 0 #000000 !important;

  padding: 1px 5px !important;
  margin: 2px 1px !important;

  font-family: Verdana, Arial, sans-serif !important;
  font-size: 7pt !important;
  color: #000000 !important;
  font-weight: bold !important;
  line-height: 11px !important;

  text-transform: lowercase !important;
  vertical-align: middle !important;
}

/* sticker color options */
.pixel-sticker.yellow {
  background: #ffde59 !important;
}

.pixel-sticker.green {
  background: #b7e61a !important;
}

.pixel-sticker.blue {
  background: #63d5f7 !important;
}

.pixel-sticker.red {
  background: #ff5b5b !important;
}

.pixel-sticker.white {
  background: #ffffff !important;
}



#musicAsk {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 170px;
  background: rgba(99, 155, 255, 0.60);
  border: 2px solid #4b342f;
  box-shadow:
    3px 3px 0 #c77b8b,
    6px 6px 0 #7da6b8;
  padding: 10px;
  font-family: courier, sans-serif;
  font-size: 12px;
  color: #4b342f;
  z-index: 9999;
  image-rendering: pixelated;
}

#musicAsk::before {
  content: "excuse me";
  position: absolute;
  top: -12px;
  left: 10px;
  background: #cccccc;
  color: #4b342f;
  border: 2px solid #4b342f;
  border-radius: 8px;
  padding: 1px 6px;
  box-shadow: 2px 2px 0 #7da6b8;
}
#musicAsk p {
  color: #000000 !important;
  font-family: courier, sans-serif;
  font-size: 12px;
  margin: 4px 0 8px;
}

#musicAsk button {
  background: #ccc;
  border: 2px solid #4b342f;
  box-shadow: 2px 2px 0 #4b342f;
  padding: 3px 8px;
  font-family: courier, sans-serif;
  font-size: 11px;
  color: #4b342f;
  cursor: pointer;
}

#musicAsk button:hover {
  background: #b9dbe6;
}

#musicAsk button:active {
  transform: translate(2px, 2px);
  
  box-shadow: none;
}
.blog-page {
    background-image: url("images/other/b7.gif");
  background-repeat: repeat;
  margin: 0;
}

@keyframes moveDiagonalUp {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -232px -222px;
  }
}

.blog-shell {
  position: relative;
  z-index: 2;
  width: 800px;
  height: 728px;
  margin-top: 10px;
  margin-left: 0px;
  background: rgba(171, 232, 97, 0.9);
  overflow: visible;
  background: transparent;
}
.blog-header {
  background: transparent;
  border-bottom: 0px solid #fff;
  text-align: center;
  height: 30px;
  padding: 10px;
  text-align: center;
}

.blog-header h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.blog-header a {
  margin: -12px -12px 10px;
  padding: 4px 8px;
  font-size: 14px;
  color: white;
  font-family: courier;
  text-shadow: 1px 1px 0 #000;
  background: linear-gradient(to right, #27e36f, #ceff63);
  border-bottom: 1px solid #b14545;
  border-radius: 10px 10px 0 0;
}
.blog-layout {
  display: flex;
  height: calc(100% - 140px);
  gap: 8px;
  padding: 8px;
  background: transparent;
}
.blog-sidebar a {
  display: block;
  margin: 0 0 5px;
}
.sidebar-title {
  margin-bottom: 12px;
   color: rgb(175, 128, 128);
  font-size: 13px;
  font-family: courier;
  text-shadow: 1px 1px 0 #000;
}
.blog-sidebar {
  width: 120px;
  height: 50%;
  position: relative;
  top: 80px;
  align-self: flex-start;
  min-height: 220px;
  padding: 12px;
  background-image: url("images/sozai/bgsqfill7.png");
    background-color: rgba(255,255,255,0.35);
  background-blend-mode: lighten;
  border-top: 6px solid #b2b3aa;
  border-left: 6px solid #9a9b90;
  border-right: 6px solid #9f848b;
  border-bottom: 6px solid #866870;
  box-shadow: inset 1px 1px 0 #9c9a9a,
  inset -1px -1px 0 #c58a99;
}

.sidebar-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;

  padding: 10px;
}

.blog-posts {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(
    to right,
    #d4f586,
    #cdf177,
    #c3f05c
  );
  border-top: 10px solid #eaff8f;
  border-left: 10px solid #c9c883;
  border-right: 10px solid #9f848be5;
  border-bottom: 10px solid #9a9f84;
  box-shadow:
    inset 1px 1px 0 #1f1e1e,
    inset -1px -1px 0 #534f50;
  padding: 30px;
  padding-bottom: 70px;
}

.blog-entry {
  background: rgba(255, 255, 255, 0.651);
  color: #7e7c7c;
  border: 0px solid #d6aaa3;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  scroll-margin-top: 20px;
}

.blog-entry h2 {
  margin: -12px -12px 10px;
  padding: 4px 8px;
  background: linear-gradient(to right, #ff7c54, #f18361);
  border-bottom: 0px solid #5ea9ff;
  border-radius: 10px 10px 0 0;
  color: rgb(240, 209, 189);
  font-family: courier;
  font-size: 13px;
  text-shadow: 1px 1px 0 #000;

}
.blog-entry h3 {
  margin: -12px -12px 10px;
  padding: 4px 8px;
  background: linear-gradient(to right, #f7f563, #e8eb3b);
  border-bottom: 0px solid #5ea9ff;
  border-radius: 10px 10px 0 0;
  color: rgb(187, 185, 81);
  font-family: courier;
  font-size: 13px;
  text-shadow: 1px 1px 0 #000;

}
.blog-entry h4 {
  margin: -12px -12px 10px;
  padding: 4px 8px;
  background: linear-gradient(to right, #4796fc, #53b0e6);
  border-bottom: 0px solid #5ea9ff;
  border-radius: 10px 10px 0 0;
  color: white;
  font-family: courier;
  font-size: 13px;
  text-shadow: 1px 1px 0 #000;

}
.entry-meta {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  clear: both;
}

.entry-date {
  display: inline-block;
  padding: 2px 6px;
  background: #e4dfd1;
  border: 0px solid #6b4b46;
  font-size: 12px;
  font-family: courier;
  color: #6b4b46;
}
.entry-tag {
  display: inline-block;
  padding: 2px 7px;
  background: linear-gradient(to bottom, #d6d6d6, #a8a8a8);
  border: 1px solid #000;
  color: white;
  font-size: 10px;
  font-family: courier;
  text-shadow: 1px 1px 0 #000;
}

.blog-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto 8px;
}
.blog-layout-wrap {
  position: relative;
  width: 502px;
  height: 694px;
  margin: 0 auto;
}
.blog-layout-wrap {
  position: relative;

  width: 900px;
  height: 694px;

  margin: 0 auto;

  overflow: visible;
}

.blog-layout-img {
  position: absolute;
  top: 280px;
  left: -100px;
  width: 300px;
}
.blog-shell {
  position: relative;
  z-index: 2;
}
.blog-layout-wrap,
.blog-layout-img,
.blog-shell,
.blog-header,
.blog-sidebar {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.blog-posts,
.blog-entry,
.blog-entry p {
  user-select: text;
  -webkit-user-select: text;
}
.blog-entry img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.blog-header img {
  display: block;
  max-width: 520px;
  width: auto;
  height: auto;
  margin: -8px auto 0;
  object-fit: contain;
}
.posts-wrap {
  position: relative;
  flex: 1;
}
.back-link {
  position: absolute;
  top: -26px;
  right: 12px;
  z-index: 20;
  padding: 4px 10px;
  font-size: 15px;
  color: rgb(49, 90, 255) !important;
  font-family: courier;
  text-shadow: 1px 1px 0 #919e31;
  background: linear-gradient(to right, #eef9bc, #cbff63);
  border: 1px solid #b14545;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.blog-nav-links {
  display: flex;
  gap: 6px;
  margin-bottom: 0px;
}

.blog-tab {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(
    to bottom,
    #bad653,
    #33ceb9
  );
  border: 1px solid #7a5c66;
  border-radius: 10px 10px 0 0;
  text-decoration: none;
  font-size: 12px;
  box-shadow:
    inset 0 1px rgba(255,255,255,0.7);
  transition: 0.15s;
}

.blog-tab:hover {
  color: #fff;
  transform: translateY(-1px);
   background: linear-gradient(
    to bottom,
    #d1f15c,
    #3ae9d2
  );
}

.blog-entry img {
    background: #fdfdfb;
  border: 1px solid #eee;
  box-shadow: 0 1px 10px rgba(0,0,0,0.12);

  padding: 10px;

  display: block;
  margin: 20px auto;
}
#siteLightbox {
  display: none;
  position: fixed !important;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(42, 44, 43, 0.714);
  align-items: center;
  justify-content: center;
  padding: 15px;
}

#lightboxImg {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  background: white;
  padding: 8px;
  border: 1px solid #ddd;
}

.lightbox-close {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 3;
  background: #888282;
  color: white;
  border: 1px solid white;
  padding: 4px 8px;
  font-family: courier;
  font-size: 12px;
  cursor: pointer;
}

#videoLightbox {
  display: none;
  position: fixed !important;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(42, 44, 43, 0.714);
  align-items: center;
  justify-content: center;
  padding: 15px;
}

#lightboxVideo {
  max-width: 95vw;
  max-height: 85vh;
  background: #000;
  border: 1px solid #ddd;
  box-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 20px auto;
  padding: 10px;
}

.gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border: 1px solid #8b6f75;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.03);
}

#galleryLightbox {
  display: none;
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 25, 35, 0.75);
  align-items: center;
  justify-content: center;
}

.gallery-grid {
  display: grid;

  grid-template-columns:
  repeat(auto-fit, minmax(140px, 1fr));

  gap: 12px;

  margin-top: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 150px;

  object-fit: cover;

  background: #fff;

  padding: 6px;

  border-top: 4px solid #f6ff8f;
  border-left: 4px solid #cfd773;
  border-right: 4px solid #9f848b;
  border-bottom: 4px solid #866870;

  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #c58a99;

  transition: 0.18s ease;
}

.gallery-grid img:hover {
  transform: translateY(-2px);
}

.gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-caption {
  margin-top: 0px;
  padding: 4px 8px;
  background:
    linear-gradient(
      to bottom,
      #fff7fb,
      #f1e4eb
    );

  border: 1px solid #d6bcc5;
  border-radius: 8px;
  color: #8c7b84;
  font-size: 10px;
  text-align: center;
  box-shadow:
    2px 2px 0 rgba(200,170,180,0.25);
}

.layout-sticker {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.sticker-left {
  left: -120px;
  top: 80px;
  width: 140px;
}

.sticker-right {
  right: -120px;
  top: 220px;
  width: 160px;
}
.subwaydog-left {
  position: absolute;
  bottom: -128px;
  left: -72px;

  width: 543px;

  z-index: 6;
  pointer-events: none;
}

.subwaydog-body {
   position: absolute;
  bottom: 90px;
  left: -30px;

  width: 1000px;

  z-index: 1;

  pointer-events: none;
}
.subwaydog-head {
  position: absolute;
  top: 510px;
  right: -50px;
  width: 500px;
  z-index: 6;
  pointer-events: none;
}
.journal-logo {
  position: absolute;
  top: 10px;
  right: 30px;

  width: 260px;
  max-width: 28vw;

  height: auto;

  z-index: 1;
  image-rendering: auto;
}
body.blog-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
 background: linear-gradient(
    to bottom,
    #ffd6e7 0%,
    #f7d7ffb2 40%,
    #8688f51a 100%
  );
  background-repeat: repeat;
  box-shadow:
    0 10px 10px rgba(128, 111, 118, 0);
  background-position: 0 0;
  z-index: -1;
}
.subwaydog-body {
  position: absolute;
  top: 420px;
  left: -30px;
  width: 990px;
  z-index: 1;
  pointer-events: none;
}

.subwaydog-left {
  position: absolute;
  top: 550px;
  left: -73px;
  width: 543px;
  z-index: 6;
  pointer-events: none;
}

.subwaydog-head {
  position: absolute;
  top: 480px;
  right: -70px;
  width: 500px;
  z-index: 6;
  pointer-events: none;
}
.blog-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media only screen and (max-width: 700px) {
  .subwaydog-left,
  .subwaydog-body,
  .subwaydog-head,
  .blog-sidebar,
  .journal-logo {
    display: none !important;
  }

  .blog-layout-wrap,
  .blog-shell {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    left: auto !important;
  }

  .blog-layout {
    display: block !important;
    height: auto !important;
    padding: 8px !important;
  }

  .posts-wrap {
    width: 100% !important;
    height: 75vh !important;
    position: relative !important;
    flex: none !important;
  }

  .blog-frame {
    width: 100% !important;
    height: 100% !important;
  }

  .blog-nav-links {
    flex-wrap: wrap;
  }
}