body {
  font-family: Arial, Helvetica, sans-serif;
  background: url(/img/pexels-minan1398-1353938.jpg) repeat fixed center;
  background-size: cover;
  line-height: 125%;
  font-size: 14px;
  color: white;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 20%,
    rgba(0,0,0,0) 100%
  );
  pointer-events: none;
  z-index: -1;
}

a {
  color: white;
}

hr {
  color: #00778f;
}

.wrap {
  max-width: 960px;
  min-height: 100%;
  margin: 0 auto;
  background-color: #00000090;
  padding: 20px;
}

footer {
  font-size: 0.8em;
  line-height: 125%;
}

.atas {
  display: flex;
  gap: 10px;
}

.atas > div:last-child {
  margin-left: auto;
}

.title {
  margin: 5px;
  font-size: 1.5em;
}

.title2 {
  margin: 5px;
  align-items: center;
  font-size: 1.25em;
  font-weight: bold;
}

.menu {
  margin: 5px;
  align-items: center;
}

.tabelisi {
  display: flex;
  width: 100%;
  gap: 4px;
}

.tabelisi .col {
  margin: 2px;
  vertical-align: top;
}

.tabelisi .col-left {
  width: 70%;
  padding-right: 10px;
}

.tabelisi .col-right {
  width: 30%;
  padding-left: 10px;
}

.headerimage {
  width: 100%;
  max-height: 120px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 10px;
}

.headerimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kotak-jam {
  background-color: #00000020;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
  line-height: 150%;
}

.tile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tile > div {
  background-color: #00000020;
  padding: 10px;
  border-radius: 10px;
}

.tile > .embed-misskeyid {
  padding: 0px;
  background-color: #2d2d2d;
  max-width: 320px;
  max-height: 480px;
}

.tile > .embed-twitter {
  padding: 0px;
  background-color: #000000;
  max-width: 320px;
  max-height: 360px;
}

.tile > .embed-bluesky {
  max-width: 320px;
  max-height: 480px;
  padding: 0px;
  background-color: #2d2d2d;
}

.tile2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  align-items: top;
  text-align: center;
}

.tile3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  text-align: center;
}

.tile3 a {
  font-weight: bold;
}

.tilealbum {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tilealbum img {
  width: 100%;
  border: 3px solid white;
  border-radius: 10px;
}

.tilephoto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tilephoto img {
  width: 100%;
  border: 3px solid white;
  border-radius: 10px;
}

.thumb1 {
  width: 70%;
  border: 1px solid white;
  border-radius: 10px;
  margin-bottom: -15px;
}

.tile p {
  line-height: 125%;
}

.avatar {
  width: 90px;
  border-radius: 10px;
}

.now-playing {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 320px;
  border-radius: 10px;
  gap: 10px;
  background-color: #00000020;
  padding: 10px;
  border-radius: 10px;
  }

#albumLink {
  display: block;
  flex-shrink: 0;
}

#albumArt {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  overflow: hidden;
  flex: 1;
}

.now-playing-label {
  font-size: 0.7em;
  margin-bottom: 2px;
  font-weight: bold;
}

/* === Marquee === */
.scroll-rail {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.scroll-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  will-change: transform;
}

.marquee-running {
  animation: marquee linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-distance))); }
}

.scroll-text {
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.2em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#trackMeta {
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon {
  width: 26px;
}

#now {
  max-width: 400px;
}

.backtoindex {
  font-size: 0.9em;
}

.backtoblogindex{
  font-size: 0.9em;
}

.sitenav {
  font-weight: bold;
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

#jam {
  font-weight: bold;
  font-size: 1.5em;
}

#blogen-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rig-photo {
  max-width: 360px;
  height: auto;
}

#oshi {
  max-width: 720px;
}

.oshi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.oshi-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-radius: 100%;
  background: #000;
}

.oshi-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#rig {
  max-width: 400px;
}

#markah {
  max-width: 400px;
}

.blog {
  max-width: 720px;
}

.blog-img {
  max-width: 640px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0.5em 0;
}

#discovery ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#discovery li {
  margin-bottom: 8px;
}

.feed-date {
  margin-bottom: 8px;
}

.h3a {
  text-decoration: none;
}

#misskeyid {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pubdate {
  font-size: 0.9em;
}

.nsfw-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  padding: 1em 0;
  width: 100%;
}

.nsfw-item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  transition: transform 0.2s ease;
  background-color: #1b1b1b;
  border-radius: 8px;
  position: relative;
  border: 3px solid white;
}

.nsfw-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nsfw-item:hover {
  transform: scale(1.02);
}

.sfw-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  padding: 1em 0;
  width: 100%;
}

.sfw-item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  transition: transform 0.2s ease;
  background-color: #1b1b1b;
  border-radius: 8px;
  position: relative;
  border: 3px solid white;
}

.sfw-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sfw-item:hover {
  transform: scale(1.02);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.overlay-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  margin-bottom: 0.5em;
}

#overlay-link {
  position: absolute;
  bottom: -5px;
  right: -16px;
  background: rgba(19, 19, 19, 0.5);
  color: #ffffff;
  font-size: 16px;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#overlay-close {
  position: absolute;
  top: -14px;
  right: -12px;
  background: rgba(19, 19, 19, 0.5);
  color: #ffffff;
  font-size: 24px;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#overlay-download {
  position: absolute;
  bottom: -5px;
  left: -16px;
  background: rgba(19, 19, 19, 0.5);
  color: #ffffff;
  font-size: 16px;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pico-date {
  font-weight: bold;
  font-size: 1.5em;
}

.pico-heading {
  font-size: 1.2em;
}

.blog-img-resistance {
  height: 180px;
  cursor: pointer;
  border: 3px solid white;
  border-radius: 10px;
}

.blog-img-inline-resitance {
  display: inline-block;
}

.blog-img-inline-resitance img {
  height: 180px;
  cursor: pointer;
  border: 3px solid white;
  border-radius: 10px;
}

.blog-img-inline-nsfwnotes {
  display: inline-block;
}

.blog-img-inline-nsfwnotes img {
  height: 120px;
  border: 3px solid white;
  border-radius: 10px;
  cursor: pointer;
}

.blog-img-inline-nsfwnotes img:hover {
  transform: scale(1.02);
}

.img-lastfm-month {
  width: 480px;
  border: 3px solid white;
  border-radius: 10px;
}

.personalhub-tile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.personalhub-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid white;
  border-radius: 10px;
}

.personalhub-title {
  margin-top: 5px;
  text-align: center;
  font-weight: bold;
}

.personalhub-video {
  max-width: 100%;
  height: 540px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.sugawaratsukiko-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  padding: 1em 0;
  width: 100%;
}

.sugawaratsukiko-item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  transition: transform 0.2s ease;
  background-color: #1b1b1b;
  border-radius: 8px;
  position: relative;
  border: 3px solid white;
}

.sugawaratsukiko-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sugawaratsukiko-item:hover {
  transform: scale(1.02);
}

.shows-item {
  margin-bottom: 8px;
}

.youtube-item {
  margin-bottom: 8px;
}

.tile-fade {
  opacity: 0;
  animation: tileFadeIn 1s forwards;
}

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

.tile-slideshow-wrapper {
  position: relative;
  min-height: 500px;
}

.tile-slideshow-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;

  transition: opacity 0.3s;
}

.tile-slideshow-dots .tile-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 5px;
  background: #929292;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.tile-slideshow-dots .tile-dot.active {
  background: #00778f;
}

.logo.s-1xh30xs path {
  fill: #86b300 !important;
}

.index-warn {
  font-size: 0.9em;
  font-style: italic;
}