

:root {
  --scrollbar-thumb: #52d700;
  --scrollbar-track: #ff0d9e;
  --navbar: #ff0d9e;
  --navbar-logo-background-color: #ff0d9e;
  --navbar-logo-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --navbar-links: #ffffff;
  --navbar-links-hover: #52d700;
  --navbar-toggle-bar: #ffffff;
  --h1-background-color: #ff0d9e;
  --h1-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --h2-color: #ffffff;
  --h3-color: #52d700;
  --p-color: #ffffff;
  --main-btn-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --main-btn-color: #ffffff;
  --main-btn-after: #ffffff;
  --main-btn-hover: #ff0d9e;
  --html-body: #ff0d9e;
  --a: #52d700;
  --audio-webkit-media-controls-panel: #ff0d9e;
  --media-item: #52d700;
  --audio-item: #52d700;
  --audio-text: #ffffff;
  --image-item: #52d700;
  --image-text: #ffffff;
  --video-item: #52d700;
  --video-text: #ffffff;
  --mode-toggle: #ffffff;
  --mode-toggle-hover: #52d700;
  --background: #ff0d9e;
}

body.dark-mode {
  --scrollbar-thumb: #52d700;
  --scrollbar-track: #ff0d9e;
  --navbar: #ff0d9e;
  --navbar-logo-background-color: #ff0d9e;
  --navbar-logo-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --navbar-links: #ffffff;
  --navbar-links-hover: #52d700;
  --navbar-menu: #52d700;
  --navbar-menu-active: #ff0d9e;
  --navbar-toggle-bar: #ffffff;
  --h1-background-color: #ff0d9e;
  --h1-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --h2-color: #ffffff;
  --h3-color: #52d700;
  --p-color: #ffffff;
  --main-btn-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --main-btn-color: #ffffff;
  --main-btn-after: #ffffff;
  --main-btn-hover: #ff0d9e;
  --html-body: #ff0d9e;
  --a: #52d700;
  --audio-webkit-media-controls-panel: #ff0d9e;
  --media-item: #52d700;
  --audio-item: #52d700;
  --audio-text: #ffffff;
  --image-item: #52d700;
  --image-text: #ffffff;
  --video-item: #52d700;
  --video-text: #ffffff;
  --mode-toggle: #ffffff;
  --mode-toggle-hover: #52d700;
  --background: #ff0d9e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

.navbar {
  background: var(--navbar);
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 80px;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 50px;
  padding-left: 50px;
}

#navbar__logo {
  background-color: var(--navbar-logo-background-color);
  background-image: var(--navbar-logo-background-image);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
  user-select: none;
  order: 0;
  transform: none;
  transition: all 0.3s ease;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
  order: 2;
}

.navbar__item {
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar__links {
  color: var(--navbar-links);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
  user-select: none;
}

.navbar__links:hover {
  color: var(--navbar-links-hover);
  transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
  .navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 1;
    transition: all 0.6s ease;
    height: 50vh;
    z-index: -1;
    background: var(--navbar-menu);
  }

  .navbar__menu.active {
    background: var(--navbar-menu-active);
    top: 100%;
    opacity: 1;
    transition: all 0.6s ease;
    z-index: 99;
    height: 50vh;
    font-size: 1.6rem;
  }

  #navbar__logo {
    padding-left: 25px;
    transform: none !important;
  }

  .navbar__toggle .bar {
    width: 1.6rem;
    height: 0.16rem;
    margin: 0.32rem auto;
    transition: all 0.3s ease-in-out;
    background: var(--navbar-toggle-bar);
    display: block;
    cursor: pointer;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }

  #mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: static;
    margin-left: auto;
    transform: none;
    transition: all 0.3s ease;
    order: 2;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(12.9375px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-12.9375px) rotate(-45deg);
  }
}

.main__container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-self: center;
  margin: 0 auto;
  height: auto;
  min-height: calc(100vh - 80px);
  background-color: transparent;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  padding: 2rem 50px 4rem;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.3s cubic-bezier(0, 0.5, 0.5, 1), transform 0.3s cubic-bezier(0, 0.5, 0.5, 1);
}

.main__content h1 {
  font-size: 4rem;
  background-color: var(--h1-background-color);
  background-image: var(--h1-background-image);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  margin-bottom: 2rem;
  user-select: none;
}

.main__content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--h2-color);
  user-select: none;
}

.main__content h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--h3-color);
  user-select: none;
}

.main__content p {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: var(--p-color);
  user-select: none;
}

.main__btn {
  font-size: 1.2rem;
  background-image: var(--main-btn-background-image);
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  color: var(--main-btn-color);
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  outline: none;
  font-weight: 700;
  z-index: 0;
  text-decoration: none;
  user-select: none;
  overflow: hidden;
}

.main__btn:after {
  position: absolute;
  content: '';
  inset: 0;
  background: var(--main-btn-after);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
  border-radius: 8px;
  z-index: -1;
  will-change: transform;
}

.main__btn:hover {
  color: var(--main-btn-hover);
}

.main__btn:hover:after {
  transform: scaleX(1);
}

@media screen and (max-width: 768px) {
  .main__container {
    display: grid;
    grid-template-columns: auto;
    align-items: start;
    justify-self: center;
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: calc(100vh - 80px);
    padding: 2rem 0 4rem;
  }

  .main__content {
    text-align: center;
    margin-bottom: 3.6rem;
  }

  .main__content h1 {
    font-size: 3.6rem;
    margin-bottom: 1.8rem;
  }

  .main__content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
  }

  .main__content h3 {
    font-size: 1.44rem;
    margin-bottom: 1.8rem;
  }

  .main__content p {
    font-size: 1.08rem;
    margin-bottom: 1.08rem;
  }
}

@media screen and (max-width: 480px) {
  .visual-item {
    padding: 1rem;
  }
}

html, body {
  background-color: var(--html-body);
  height: 100%;
  overflow-x: hidden;
}

body.loaded .main__container {
  opacity: 1;
  transform: none;
}

a {
  color: var(--a);
  text-decoration: underline;
  user-select: none;
}

[hidden] {
  display: none !important;
}

.media-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-self: center;
}

.media-link:hover {
  color: inherit;
}

.media-link--title {
  justify-content: center;
}

body.visual-page .media-link--title,
.other-item .media-link--title {
  align-self: flex-start;
  justify-content: flex-start;
}

.other-title {
  text-align: left;
}

.other-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.other-meta-sep {
  line-height: 1;
}

.media-link--cover:hover .audio-cover,
.media-link--cover:hover .visual-cover,
.media-link--cover:hover .visual-image,
.media-link--cover:hover .hover-tilt-target,
.media-link--title:hover .audio-text,
.media-link--title:hover .video-text,
.media-link--title:hover .image-text,
.media-link--title:hover .other-title {
  animation: tiltLoop 4.8s cubic-bezier(0.625, 0.375, 0.375, 0.625) infinite;
}

[hidden] {
  display: none !important;
}

.media-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-self: center;
}

.media-link:hover {
  color: inherit;
}

.media-link--title {
  justify-content: center;
}

body.visual-page .media-link--title,
.other-item .media-link--title {
  align-self: flex-start;
  justify-content: flex-start;
}

.other-title {
  text-align: left;
}

.other-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.other-meta-sep {
  line-height: 1;
}

.media-link--cover:hover .audio-cover,
.media-link--cover:hover .visual-cover,
.media-link--cover:hover .visual-image,
.media-link--cover:hover .hover-tilt-target,
.media-link--title:hover .audio-text,
.media-link--title:hover .video-text,
.media-link--title:hover .image-text,
.media-link--title:hover .other-title {
  animation: tiltLoop 4.8s cubic-bezier(0.625, 0.375, 0.375, 0.625) infinite;
}

audio::-webkit-media-controls-panel {
  background-color: var(--audio-webkit-media-controls-panel);
}



body.dark-mode audio::-webkit-media-controls-play-button,
body.dark-mode audio::-webkit-media-controls-play-button:hover,
body.dark-mode audio::-webkit-media-controls-mute-button,
body.dark-mode audio::-webkit-media-controls-mute-button:hover,
body.dark-mode audio::-webkit-media-controls-current-time-display,
body.dark-mode audio::-webkit-media-controls-time-remaining-display,
body.dark-mode audio::-webkit-media-controls-timeline,
body.dark-mode audio::-webkit-media-controls-mute-button,
body.dark-mode audio::-webkit-media-controls-mute-button:hover,
body.dark-mode audio::-webkit-media-controls-volume-slider,
body.dark-mode audio::-webkit-media-controls-volume-slider:hover {
  filter: grayscale(100%) invert() contrast(1000%);
}

.media-item {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  flex-wrap: nowrap;
  width: 100%;
  transform-origin: center center;
  transition: transform 0.3s ease;
  max-width: 100vw;
  border: 4px solid var(--media-item);
  border-radius: 4px;
  overflow: visible;
  padding: 1.2rem;
}

.audio-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100%;
  max-width: 325px;
  text-align: left;
  text-align: left;
  border: 2px solid var(--audio-item);
  border-radius: 8px;
  overflow: hidden;
  margin: 2rem auto;
  gap: 1rem;
}

.audio-item .media-link--cover,
.audio-item .media-link--title {
  align-self: flex-start;
}

.audio-item .media-link--title {
  justify-content: flex-start;
}

.audio-track-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: 1rem;
}

.audio-track-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-align: left;
}

.audio-track-number {
  font-size: 0.95rem;
  color: var(--p-color);
  flex: 0 0 auto;
  white-space: nowrap;
}

.audio-track-title {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
  color: var(--p-color);
}

.audio-track-row audio {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}


.audio-item audio {
  width: 100%;
  max-width: 100%;
}

.audio-item .main__btn {
  margin-top: 1.2rem;
}

.audio-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 16px;
  user-select: none;
}

.audio-text {
  color: var(--audio-text);
  font-size: 1.2rem;
  margin-top: 1.2rem;
  user-select: none;
}

.other-title {
  margin-top: 0;
}

.multiple {
  margin-top: 1.2rem;
}
.detail-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.detail-item {
  width: min(100%, 920px);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem;
  text-align: center;
}

body.post-detail-page.audio-detail .audio-detail-cover-frame {
  width: 100%;
  max-width: 640px;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  line-height: 0;
}

body.post-detail-page.audio-detail .audio-detail-cover-frame .audio-cover,
body.post-detail-page.audio-detail .detail-cover.audio-cover {
  width: 100%;
  border-radius: 18px !important;
  clip-path: inset(0 round 18px);
  overflow: hidden;
}

body.post-detail-page.audio-detail .audio-track-control audio {
  border-radius: 12px;
  overflow: hidden;
}

body.post-detail-page.audio-detail .detail-item {
  border-radius: 18px;
  overflow: hidden;
}

body.post-detail-page.audio-detail .audio-track-control audio::-webkit-media-controls-enclosure {
  border-radius: 12px;
}

.post-detail-page .media-link--cover:hover .audio-cover,
.post-detail-page .media-link--cover:hover .visual-cover,
.post-detail-page .media-link--cover:hover .visual-image,
.post-detail-page .media-link--cover:hover .hover-tilt-target,
.post-detail-page .media-link--title:hover .audio-text,
.post-detail-page .media-link--title:hover .video-text,
.post-detail-page .media-link--title:hover .image-text,
.post-detail-page .media-link--title:hover .other-title {
  animation: none;
  transform: none;
}

.detail-title {
  width: 100%;
  margin: 0;
  color: var(--p-color);
  overflow-wrap: anywhere;
}

.audio-detail-title,
.visual-detail-title {
  text-align: center;
}

.other-detail-title {
  text-align: left;
  align-self: flex-start;
}

.detail-user {
  width: 100%;
}

body.visual-page .file-meta.user-line,
body.post-detail-page.visual-detail .file-meta.user-line {
  justify-content: center;
  text-align: center;
}

body.post-detail-page.other-detail .other-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

body.post-detail-page.other-detail .other-detail-title {
  margin-bottom: 0.25rem;
}

@media screen and (max-width: 768px) {
  .audio-track-row {
    grid-template-columns: 1fr;
  }

  .audio-track-row audio {
    width: 100%;
  }
}


.media-left,
.media-right {
  display: flex;
  flex-direction: column;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
}

.image-item,
.visual-item {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  border: 2px solid var(--image-item);
  border-radius: 16px;
  overflow: visible;
  margin: 2rem auto;
  padding: 1.2rem;
}

.image-item {
  border: 2px solid var(--image-item);
}

.video-item {
  border: 2px solid var(--video-item);
  border-radius: 16px;
  overflow: visible;
  background: transparent;
}

.visual-media,
.video-content {
  display: block;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
  overflow: visible;
}

.visual-cover,
.visual-image,
.image-item .media-left img,
.video-cover,
.video-player,
.visual-player {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  border-radius: 16px;
  user-select: none;
}

.image-text,
.video-text {
  font-size: 1.2rem;
  user-select: none;
  margin-top: 0;
}

.image-text {
  color: var(--image-text);
}

.video-text {
  color: var(--video-text);
}

.only {
  margin-top: 1.2rem;
}

@media screen and (max-width: 960px) {
  .navbar__menu {
    height: auto !important;
  }

  .navbar__menu.active {
    height: auto !important;
  }

  .navbar__links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 80px !important;
    padding: 0 1rem !important;
  }
}

@media screen and (max-width: 768px) {
  .media-item {
    flex-direction: column;
  }

  .image-item .media-left img,
  .video-cover,
  .video-player,
  .visual-player {
    max-height: none;
  }

  .video-cover,
  .video-player,
  .visual-player {
    margin: 0 auto;
  }

  .image-text {
    margin-top: 1.2rem;
  }

  .only {
    margin-top: 0.6rem;
  }

  .video-item {
    overflow: visible;
    padding-bottom: 2rem;
    margin-bottom: 3.2rem;
  }

  .video-content {
    flex-wrap: wrap;
    overflow: visible;
  }

  .video-text {
    margin-top: 1.5rem;
  }

  .comments-block {
    margin-top: 1.05rem;
  }
}

@media screen and (max-width: 480px) {
  .media-item {
    flex-direction: column;
  }

  .image-item .media-left img,
  .video-cover,
  .video-player {
    max-height: none;
  }

  .video-item {
    overflow: visible;
    padding-bottom: 2.25rem;
    margin-bottom: 3.4rem;
  }
}

.audio-cover.clickable {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.audio-cover.clickable:hover {
  transform: scale(1.025);
}

.audio-text.clickable {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.audio-text.clickable:hover {
  transform: scale(1.025);
}

body.embed-page .audio-cover.clickable,
body.embed-page .audio-text.clickable {
  cursor: default !important;
}

body.embed-page .audio-item {
  position: relative;
  overflow: visible !important;
}

body.visual-page .main__container {
  align-items: start;
}

body.visual-page .main__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

body.visual-page .search-shell {
  justify-content: center;
  width: 100%;
  margin-inline: auto;
}

body.visual-page .media-item,
body.visual-page .image-item,
body.visual-page .video-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: 920px;
  height: auto;
  overflow: visible;
  margin-inline: auto;
}

body.visual-page .visual-item img,
body.visual-page .visual-item video {
  border-radius: 16px;
}

body.visual-page .visual-item img,
body.visual-page .visual-item video {
  border-radius: 16px;
}

body.visual-page .visual-media,
body.visual-page .video-content {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

body.visual-page .image-item .media-left,
body.visual-page .image-item .media-right {
  width: 100%;
  min-width: 0;
  align-items: center;
}

body.visual-page .video-content {
  gap: 1.25rem;
}

body.visual-page .image-item .media-left img,
body.visual-page .video-cover,
body.visual-page .video-player,
body.visual-page .visual-image,
body.visual-page .visual-cover {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 16px;
}

body.visual-page .video-cover,
body.visual-page .video-player {
  flex: none;
}

body.visual-page .comments-block {
  width: 100%;
}

body.visual-page .visual-item .main__btn {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

@keyframes tiltLoop {
  0% {transform: scale(1) rotate(0deg);}
  25% {transform: scale(1.015) rotate(1.25deg);}
  50% {transform: scale(1) rotate(0deg);}
  75% {transform: scale(1.015) rotate(-1.25deg);}
  100% {transform: scale(1) rotate(0deg);}
}

.hover-tilt {
  animation: tiltLoop 4.8s cubic-bezier(0.625, 0.375, 0.375, 0.625) infinite;
}

body.embed-page .audio-text.clickable:hover {
  transform: none;
}

@media screen and (min-width: 961px) {
  body .main__container {
    position: relative;
    z-index: 1;
  }
}

@media screen and (max-width: 960px) {
}

body.light-mode {
  --scrollbar-thumb: #5099ff;
  --scrollbar-track: #e9c900;
  --navbar: #e9c900;
  --navbar-logo-background-color: #e9c900;
  --navbar-logo-background-image: linear-gradient(to bottom, #d40014 0%, #e9c900 100%);
  --navbar-links: #d40014;
  --navbar-links-hover: #5099ff;
  --navbar-menu: #5099ff;
  --navbar-menu-active: #e9c900;
  --navbar-toggle-bar: #d40014;
  --h1-background-color: #e9c900;
  --h1-background-image: linear-gradient(to bottom, #d40014 0%, #e9c900 100%);
  --h2-color: #d40014;
  --h3-color: #5099ff;
  --p-color: #d40014;
  --main-btn-background-image: linear-gradient(to bottom, #d40014 0%, #e9c900 100%);
  --main-btn-color: #d40014;
  --main-btn-after: #d40014;
  --main-btn-hover: #e9c900;
  --html-body: #e9c900;
  --a: #5099ff;
  --audio-webkit-media-controls-panel: #e9c900;
  --media-item: #5099ff;
  --audio-item: #5099ff;
  --audio-text: #d40014;
  --image-item: #5099ff;
  --image-text: #d40014;
  --video-item: #5099ff;
  --video-text: #d40014;
  --mode-toggle: #d40014;
  --mode-toggle-hover: #5099ff;
  --background: #e9c900;
}



body.light-mode audio::-webkit-media-controls-play-button,
body.light-mode audio::-webkit-media-controls-play-button:hover,
body.light-mode audio::-webkit-media-controls-mute-button,
body.light-mode audio::-webkit-media-controls-mute-button:hover,
body.light-mode audio::-webkit-media-controls-current-time-display,
body.light-mode audio::-webkit-media-controls-time-remaining-display,
body.light-mode audio::-webkit-media-controls-timeline,
body.light-mode audio::-webkit-media-controls-mute-button,
body.light-mode audio::-webkit-media-controls-mute-button:hover,
body.light-mode audio::-webkit-media-controls-volume-slider,
body.light-mode audio::-webkit-media-controls-volume-slider:hover {
  filter: grayscale(100%) invert(0%) contrast(1000%);
}

#mode-toggle {
  color: var(--mode-toggle);
  font-size: 1.2rem;
  margin: 0;
  order: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
  max-width: 12ch;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.3s ease;
  transform: none;
}

#mode-toggle:hover {
  color: var(--mode-toggle-hover);
  transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
  #navbar__logo {
    order: 0;
  }

  #mode-toggle {
    transform: none;
  }
}


@media screen and (max-width: 768px) {
  #mode-toggle {
    font-size: 1.08rem;
  }
}

@media screen and (max-width: 480px) {
  #mode-toggle {
    font-size: 0.96rem;
    transform: none;
  }
}

html, body {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.navbar {
  width: 100%;
  overflow-x: clip;
}

.navbar__container {
  width: min(1300px, calc(100% - 1.5rem));
  padding-inline: clamp(0.75rem, 3vw, 3rem);
  min-width: 0;
  gap: 1rem;
}

.navbar__toggle {
  display: none;
}

#navbar__logo {
  max-width: min(100%, calc(100vw - 5rem));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(1.05rem, 3.2vw, 2rem);
}

.navbar__menu {
  min-width: 0;
}

.navbar__item {
  min-width: 0;
}

.navbar__links {
  white-space: nowrap;
}

.main__container {
  width: min(1300px, calc(100% - 1.5rem));
  padding-inline: clamp(0.75rem, 3vw, 3rem);
  min-width: 0;
}

.main__content {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.main__content h1,
.main__content h2,
.main__content h3,
.main__content p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.media-item {
  max-width: 100%;
  min-width: 0;
}

.audio-item,
.video-item,
.image-item,
.other-item {
  max-width: 100%;
  min-width: 0;
}

.audio-text,
.image-text,
.video-text,
.other-meta,
.file-meta,
.comments-empty {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.comments-block,
.comments-list,
.comment-form {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.comment-form input,
.comment-form textarea {
  max-width: 100%;
}

@media screen and (max-width: 960px) {
  .navbar__container {
    width: 100%;
    padding-inline: 1rem;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    width: 100%;
  }

  .navbar__menu.active {
    left: 0;
    width: 100%;
  }

  #navbar__logo {
    max-width: calc(100% - 3rem);
    font-size: 1rem;
  }

  .main__container {
    width: 100%;
    padding-inline: 1rem;
    height: auto;
    min-height: calc(100vh - 80px);
  }

  .main__content {
    text-align: center;
    margin-bottom: 2.2rem;
  }

  .main__content h1 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .main__content h2 {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }

  .main__content h3 {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .main__content p {
    font-size: clamp(0.95rem, 4.5vw, 1.08rem);
  }
}

@media screen and (max-width: 480px) {
  .navbar__container {
    padding-inline: 0.75rem;
  }

  #navbar__logo {
    max-width: calc(100% - 2.75rem);
    font-size: 0.95rem;
  }

  .main__content h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .main__content h2 {
    font-size: clamp(1.05rem, 7vw, 1.55rem);
  }

  .main__content h3 {
    font-size: clamp(0.95rem, 5vw, 1.25rem);
  }

  .main__content p {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }

  .main__btn {
    padding: 12px 24px;
  }

  .file-entry {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .file-size {
    grid-column: 2;
    justify-self: start;
  }
}

.comments-block {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--media-item);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.comment-item {
  border: 1px solid var(--media-item);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: baseline;
  justify-content: space-between;
  color: var(--h3-color);
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.comment-item p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--p-color);
  font-weight: 400;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--media-item);
  border-radius: 10px;
  color: var(--p-color);
  font: inherit;
  padding: 0.7rem 0.85rem;
  outline: none;
}

.comment-form textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.comment-form .main__btn {
  align-self: flex-start;
  margin: 0;
}

.file-meta {
  margin-top: 0.45rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--h3-color);
  word-break: break-word;
}

.other-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border: 2px solid var(--media-item);
  border-radius: 8px;
  margin: 2rem auto;
  padding: 1.2rem;
  overflow: visible;
}

.other-files {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.other-file {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.other-meta {
  font-size: 1rem;
  margin-bottom: 0;
}

.visual-item .comments-block {
  width: 100%;
}

.visual-item .main__btn {
  align-self: flex-start;
}


.flash-messages {
  width: 100%;
  max-width: 980px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.flash-message {
  border: 1px solid var(--media-item);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--p-color);
  background: transparent;
  overflow-wrap: anywhere;
}

.flash-message.success {
  border-color: #4caf50;
}

.flash-message.error {
  border-color: #f44336;
}

.navbar__user {
  text-decoration: none;
  cursor: default;
}

.navbar__item--profile {
  display: flex;
  align-items: center;
}

.navbar__profile {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 100%;
  padding: 0 1rem;
  text-decoration: none;
  color: var(--navbar-links);
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.navbar__profile:hover {
  color: var(--navbar-links-hover);
}

.navbar__avatar {
  width: clamp(1.5rem, 2.5vw, 1.9rem);
  height: clamp(1.5rem, 2.5vw, 1.9rem);
  max-width: 100%;
  max-height: 100%;
  width: clamp(1.5rem, 2.5vw, 1.9rem);
  height: clamp(1.5rem, 2.5vw, 1.9rem);
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--media-item);
  flex: 0 0 auto;
  display: block;
}

.navbar__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--p-color);
  background: transparent;
  line-height: 1;
}

.navbar__profile-name {
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.user-badge a,
.user-badge span {
  color: inherit;
  text-decoration: none;
}

.user-badge__avatar {
  width: 1.15rem;
  height: 1.15rem;
  max-width: 100%;
  max-height: 100%;
  width: 1.15rem;
  height: 1.15rem;
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--media-item);
  flex: 0 0 auto;
  display: block;
}

.user-badge__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--p-color);
  line-height: 1;
}

.user-badge__avatar--inline {
  vertical-align: middle;
  margin-right: 0.35rem;
}

.user-badge--compact {
  flex-wrap: wrap;
}

.search-shell {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0 0 0.75rem;
}

.search-shell--center {
  justify-content: center;
}

.search-shell--center {
  justify-content: center;
}

.search-shell--profile {
  margin: 0;
}

.search-input {
  width: min(100%, 640px);
  border: 1px solid var(--media-item);
  border-radius: 10px;
  background: transparent;
  color: var(--p-color);
  font: inherit;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}

.search-input::placeholder {
  color: var(--h3-color);
  opacity: 0.95;
}

.search-input:hover,
.search-input:hover,
.search-input:focus {
  border-color: var(--navbar-links);
}

.file-meta.user-line {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}


.main__btn.danger {
  background: transparent;
  border: 1px solid #f44336;
  color: #f44336;
}

.main__btn.danger:hover {
  background: rgba(244, 67, 54, 0.12);
}


.search-empty {
  color: var(--h3-color);
}


input[type="file"] {
  width: 100%;
  max-width: 100%;
  color: var(--p-color);
  background: transparent;
  border: 1px solid var(--media-item);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
}

input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 8px;
  background: var(--main-btn-background-image);
  color: var(--main-btn-color);
  padding: 0.5rem 0.85rem;
  margin-right: 0.85rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

input[type="file"]::file-selector-button:hover {
  color: var(--main-btn-hover);
}

input[type="file"]::-webkit-file-upload-button {
  border: 0;
  border-radius: 8px;
  background: var(--main-btn-background-image);
  color: var(--main-btn-color);
  padding: 0.5rem 0.85rem;
  margin-right: 0.85rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}


body.audio-page .main__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.audio-page-intro {
  width: min(100%, 325px);
  align-self: center;
  margin: 0 auto 1rem;
  text-align: left;
}

.audio-page-intro h1 {
  margin-bottom: 1rem;
}

.audio-page-intro .search-shell {
  width: 100%;
  justify-content: flex-start;
}

.audio-item__top {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.audio-item__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.audio-item .audio-text {
  margin-top: 0;
  margin-bottom: 0;
}

.audio-item .user-line {
  margin-top: 0;
}

.audio-track-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: 1rem;
}

.audio-track-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-align: left;
}

.audio-track-number,
.audio-track-title {
  color: var(--p-color);
}

.audio-track-title {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

body.visual-page .search-shell--center {
  width: min(100%, 760px);
  margin-inline: auto;
  justify-content: center;
}

body.visual-page .visual-item .media-link--title,
body.visual-page .visual-item .user-line {
  width: 100%;
  align-self: center;
  justify-content: center;
  text-align: center;
}

body.visual-page .visual-item .media-link--title p {
  text-align: center;
}

body.visual-page .visual-item .main__btn {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

body.post-detail-page.visual-detail .visual-image,
body.post-detail-page.visual-detail .visual-cover,
body.post-detail-page.visual-detail .visual-player {
  max-width: 520px;
  max-height: 48vh;
}

body.post-detail-page.visual-detail .detail-download {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

body.other-page .main__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

body.other-page .search-shell {
  justify-content: flex-start;
  align-self: flex-start;
  width: min(100%, 920px);
  margin-right: auto;
}

body.other-page .results-list,
body.other-page .other-item {
  width: 100%;
  max-width: 920px;
}

body.other-page .other-title {
  width: 100%;
  text-align: left;
}

body.other-page .other-meta {
  width: 100%;
}

body.other-page .other-item .media-link--title {
  align-self: flex-start;
  justify-content: flex-start;
}

.auth-field label {
  color: var(--p-color);
}

.profile-upload input[type="file"] {
  width: auto;
  min-width: min(100%, 280px);
  flex: 1 1 280px;
}

.profile-upload .main__btn {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .audio-track-row {
    grid-template-columns: 1fr;
  }

  .audio-item__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .audio-page-intro {
    width: 100%;
  }

  .profile-upload input[type="file"] {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
}

.navbar,
.navbar__container,
.navbar__menu,
.navbar__item,
.navbar__links,
.navbar__profile,
.navbar__toggle,
#navbar__logo,
#mode-toggle {
  align-items: center;
}

.navbar__container {
  height: 80px;
}

.navbar__toggle,
.navbar__profile,
.navbar__links,
#mode-toggle,
#navbar__logo {
  display: flex;
  height: 100%;
}

.navbar__toggle {
  justify-content: center;
}

.navbar__profile {
  align-items: center;
}

.navbar__links,
#mode-toggle,
#navbar__logo {
  line-height: 1;
}

#mobile-menu {
  justify-content: center;
  align-items: center;
}

#mobile-menu .bar {
  margin-top: 0.22rem;
  margin-bottom: 0.22rem;
}

body.post-detail-page .media-link--title:hover .audio-text,
body.post-detail-page .media-link--title:hover .video-text,
body.post-detail-page .media-link--title:hover .image-text,
body.post-detail-page .media-link--title:hover .other-title {
  animation: none;
}

body.post-detail-page.visual-detail .detail-item {
  min-height: calc(100dvh - 5rem);
  justify-content: center;
}

body.post-detail-page.visual-detail .visual-media {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body.post-detail-page.visual-detail .visual-image,
body.post-detail-page.visual-detail .visual-cover,
body.post-detail-page.visual-detail .visual-player {
  align-self: center;
  margin-block: auto;
}

@media screen and (max-width: 960px) {
  .navbar__item--profile {
    width: 100%;
    justify-content: center;
  }

  .navbar__profile {
    width: 100%;
    justify-content: center;
    padding: 2rem;
  }
}

.upload-description {
  color: var(--p-color);
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0.15rem 0 0.35rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.file-meta--above {
  margin: 0 0 0.35rem;
}
.pdf-file-card {
  width: 100%;
  border: 1px solid var(--media-item);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(128, 128, 128, 0.06);
}
.pdf-file-card__header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--media-item);
  color: var(--p-color);
  overflow-wrap: anywhere;
}
.pdf-file-card__header .main__btn {
  margin: 0;
}
.pdf-viewer {
  display: block;
  width: 100%;
  min-height: min(78vh, 760px);
  border: 0;
  background: white;
}
.other-file--pdf {
  width: 100%;
}
.users-list {
  width: min(100%, 900px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.user-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--media-item);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  width: 100%;
}
.user-card__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--media-item);
  flex: 0 0 auto;
}
.user-card__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--p-color);
  font-weight: 700;
}
.user-card__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.user-card__name {
  color: var(--p-color);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}
.user-card__meta {
  color: var(--h3-color);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.audio-track-row {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr);
  align-items: start;
}

.audio-track-meta {
  align-self: start;
  min-height: 44px;
  padding-top: 0.62rem;
}

.audio-track-control {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.audio-track-control audio {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

body.users-page .search-shell {
  justify-content: flex-start;
}

@media screen and (max-width: 768px) {
  .audio-track-meta {
    min-height: 0;
    padding-top: 0;
  }

  .audio-track-row {
    grid-template-columns: 1fr;
  }
}
body.audio-page .audio-page-intro,
body.audio-page .results-list,
body.audio-page .audio-item {
  width: 100%;
  max-width: 920px;
}

body {
  color: var(--p-color);
}

.profile-avatar,
.navbar__avatar,
.user-badge__avatar,
.user-card__avatar {
  border-color: var(--p-color);
}

body.post-detail-page.audio-detail .detail-item {
  border-radius: 18px;
  overflow: hidden;
}

body.post-detail-page.audio-detail .audio-cover,
body.post-detail-page.audio-detail audio {
  border-radius: 14px;
}

body.visual-page .media-item,
body.visual-page .image-item,
body.visual-page .video-item {
  max-width: 840px;
}

body.visual-page .search-shell--center {
  width: min(100%, 680px);
}

body.visual-page .image-item .media-left img,
body.visual-page .video-cover,
body.visual-page .video-player,
body.visual-page .visual-image,
body.visual-page .visual-cover {
  max-width: 700px;
}
.username-color {
  color: inherit;
}

.profile-color-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.profile-color-form label {
  color: var(--p-color);
}

.profile-color-form input[type="color"] {
  width: 3.25rem;
  height: 2.4rem;
  border: 1px solid var(--media-item);
  border-radius: 10px;
  background: transparent;
  padding: 0.15rem;
}

body.post-detail-page.audio-detail img.audio-cover,
body.post-detail-page.audio-detail .audio-cover.detail-cover,
body.embed-page img.audio-cover {
  border-radius: 18px !important;
  overflow: hidden;
  clip-path: inset(0 round 18px);
}
.profile-color-clear {
  display: flex;
  align-items: center;
}

.about-transparency-link {
  margin-top: 3rem;
}

.transparency-page {
  max-width: 920px;
}

.transparency-page h3 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

.transparency-page p {
  max-width: 900px;
}

.about-transparency-link {
  margin-top: 3rem;
}

.transparency-page {
  max-width: 920px;
}

.transparency-block {
  margin-bottom: 2.2rem;
}

.transparency-block h3 {
  margin-bottom: 0.75rem;
}

.transparency-block p {
  margin-bottom: 0.8rem;
}
.transparency-simple {
  margin-top: 2.5rem;
}

.transparency-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin: 3.5rem 0 2.5rem;
}

body.light .transparency-divider {
  border-top-color: rgba(0, 0, 0, 0.16);
}

:root,
body.dark-mode {
  --ambient-a: rgba(255, 255, 255, 0.035);
  --ambient-b: rgba(128, 128, 128, 0.045);
  --ambient-c: rgba(255, 255, 255, 0.018);
}

body.light-mode {
  --ambient-a: rgba(0, 0, 0, 0.035);
  --ambient-b: rgba(128, 128, 128, 0.045);
  --ambient-c: rgba(0, 0, 0, 0.018);
}

body {
  background-color: var(--html-body);
  background-image:
    radial-gradient(circle at 18% 22%, var(--ambient-a), transparent 30%),
    radial-gradient(circle at 82% 16%, var(--ambient-b), transparent 28%),
    radial-gradient(circle at 48% 84%, var(--ambient-c), transparent 34%);
  background-size: 180% 180%, 170% 170%, 190% 190%;
  background-position: 0% 0%, 100% 0%, 50% 100%;
  background-attachment: fixed;
  animation: ambientDrift 34s ease-in-out infinite alternate;
}

@keyframes ambientDrift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
  50% {
    background-position: 18% 12%, 82% 20%, 42% 88%;
  }
  100% {
    background-position: 34% 24%, 62% 8%, 58% 76%;
  }
}

body.post-detail-page.audio-detail .audio-detail-cover-frame {
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  border-radius: 24px !important;
  overflow: visible !important;
  line-height: 0 !important;
}

body.post-detail-page.audio-detail .audio-detail-visual-clip {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden !important;
  border-radius: 24px !important;
  clip-path: inset(0 round 24px) !important;
  background: rgba(128, 128, 128, 0.08);
  transform: translateZ(0);
  contain: paint;
}

body.post-detail-page.audio-detail .audio-detail-visual-clip .audio-cover,
body.post-detail-page.audio-detail .audio-detail-visual-clip img.detail-cover {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  clip-path: none !important;
  overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}


body {
  position: relative;
  min-height: 100%;
  isolation: isolate;
  background-color: var(--html-body);
  background-image:
    radial-gradient(circle at 16% 24%, var(--ambient-a), transparent 32%),
    radial-gradient(circle at 86% 14%, var(--ambient-b), transparent 30%),
    radial-gradient(circle at 46% 88%, var(--ambient-c), transparent 36%);
}

:root,
body.dark-mode {
  --ambient-a: rgba(255, 255, 255, 0.085);
  --ambient-b: rgba(128, 128, 128, 0.075);
  --ambient-c: rgba(255, 255, 255, 0.045);
  --ambient-line: rgba(255, 255, 255, 0.035);
}

body.light-mode {
  --ambient-a: rgba(0, 0, 0, 0.065);
  --ambient-b: rgba(128, 128, 128, 0.075);
  --ambient-c: rgba(0, 0, 0, 0.035);
  --ambient-line: rgba(0, 0, 0, 0.03);
}

body::before {
  content: "";
  position: fixed;
  inset: -18vmax;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, var(--ambient-a), transparent 26vmax),
    radial-gradient(circle at 82% 18%, var(--ambient-b), transparent 24vmax),
    radial-gradient(circle at 52% 84%, var(--ambient-c), transparent 28vmax),
    linear-gradient(120deg, transparent 0%, var(--ambient-line) 44%, transparent 64%);
  background-size: 120% 120%, 118% 118%, 126% 126%, 180% 180%;
  opacity: 0.9;
  animation: ambientLayerDrift 22s ease-in-out infinite alternate;
}

.navbar,
.flash-messages,
.main__container {
  position: relative;
}

.main__container {
  z-index: 1;
}

@keyframes ambientLayerDrift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
    background-position: 0% 0%, 100% 0%, 50% 100%, 0% 50%;
  }
  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.025);
    background-position: 28% 18%, 74% 22%, 58% 74%, 100% 50%;
  }
}

body.post-detail-page.audio-detail .audio-detail-cover-frame {
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  line-height: 0 !important;
  transform: translateZ(0) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  isolation: isolate !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask,
body.post-detail-page.audio-detail .audio-detail-visual-clip {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  clip-path: inset(0 round 26px) !important;
  transform: translateZ(0) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  contain: paint !important;
  background: rgba(128, 128, 128, 0.1) !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask img,
body.post-detail-page.audio-detail .audio-detail-visual-clip img,
body.post-detail-page.audio-detail img.detail-cover.audio-cover {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  clip-path: none !important;
  animation: none !important;
  transform: none !important;
}

.upload-preview-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(96vw, 1120px);
  height: min(90vh, 900px);
  max-width: none;
  max-height: none;
  margin: 0;
}

.upload-preview-dialog[open] {
  display: block;
}

.upload-preview__panel {
  height: 100%;
  max-height: none;
}

.upload-preview__body {
  flex: 1;
  max-height: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.upload-preview-card {
  max-width: 980px;
  margin: 0 auto;
}

.upload-preview-card h2 {
  width: 100%;
  color: var(--p-color);
  font-size: 1.35rem;
  margin: 0.8rem 0 0.2rem;
  text-align: left;
}

.upload-preview-file__media {
  min-width: 0;
  display: flex;
  justify-content: stretch;
  align-items: center;
}

.upload-preview-file__media > audio,
.upload-preview-file__media > video,
.upload-preview-file__media > iframe,
.upload-preview-file__media > .upload-preview-media-frame {
  width: 100%;
}

.upload-preview-role {
  color: var(--p-color);
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

.navbar__controls {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  height: 80px;
  white-space: nowrap;
}




:root,
body.dark-mode {
  --ambient-a: rgba(255, 255, 255, 0.048);
  --ambient-b: rgba(128, 128, 128, 0.052);
  --ambient-c: rgba(255, 255, 255, 0.026);
  --ambient-line: rgba(255, 255, 255, 0.02);
}

body.light-mode {
  --ambient-a: rgba(0, 0, 0, 0.04);
  --ambient-b: rgba(128, 128, 128, 0.05);
  --ambient-c: rgba(0, 0, 0, 0.022);
  --ambient-line: rgba(0, 0, 0, 0.018);
}

body::before {
  opacity: 0.58;
}





@media screen and (max-width: 960px) {
  .navbar__controls {
    order: 1;
    height: 80px;
    margin-left: auto;
    margin-right: 4.5rem;
  }
}

@media screen and (max-width: 480px) {
  .navbar__controls {
    gap: 0.45rem;
    margin-right: 3.8rem;
  }
}


html, body {
  overflow-x: clip;
}

.navbar {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  width: 100%;
  max-width: none;
  z-index: 3000;
}

body {
  padding-top: 0;
}

.navbar__menu.active {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

@media screen and (max-width: 1320px) {
  .navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    padding-inline: 1rem;
  }

  .navbar__toggle {
    display: flex;
  }

  #mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: static;
    margin-left: auto;
    transform: none;
    transition: all 0.3s ease;
    order: 2;
  }

  .navbar__toggle .bar {
    width: 1.6rem;
    height: 0.16rem;
    margin: 0.32rem auto;
    transition: all 0.3s ease-in-out;
    background: var(--navbar-toggle-bar);
    display: block;
    cursor: pointer;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(12.9375px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-12.9375px) rotate(-45deg);
  }

  #navbar__logo {
    max-width: calc(100% - 3rem);
    font-size: 1rem;
    padding-left: 25px;
    order: 0;
    transform: none !important;
  }

  .navbar__controls {
    order: 1;
    height: 80px;
    margin-left: auto;
    margin-right: 4.5rem;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    left: 0;
    opacity: 1;
    transition: all 0.6s ease;
    height: auto !important;
    max-height: calc(100vh - 80px);
    z-index: -1;
    background: var(--navbar-menu);
    overflow-y: auto;
  }

  .navbar__menu.active {
    background: var(--navbar-menu-active);
    top: 100%;
    left: 0;
    opacity: 1;
    transition: all 0.6s ease;
    z-index: 99;
    height: auto !important;
    max-height: calc(100vh - 80px);
    width: 100%;
    font-size: 1.6rem;
    overflow-y: auto;
  }

  .navbar__item,
  .navbar__item--profile {
    width: 100%;
    justify-content: center;
  }

  .navbar__links {
    text-align: center;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 80px !important;
    padding: 0 1rem !important;
  }

  .navbar__profile {
    width: 100%;
    justify-content: center;
    padding: 2rem;
  }
}

html {
  height: auto !important;
  min-height: 100%;
  background-color: var(--html-body);
  overflow-y: auto;
}

body {
  height: auto !important;
  min-height: 100dvh !important;
  overflow-x: clip;
}

body::before {
  position: fixed !important;
  inset: -18vmax !important;
  min-height: calc(100dvh + 36vmax);
  height: auto;
}

.navbar {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  z-index: 3000 !important;
}

.main__container,
.flash-messages {
  position: relative;
  z-index: 1;
}


body.post-detail-page.audio-detail .detail-item {
  overflow: visible !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-frame {
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  line-height: 0 !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask,
body.post-detail-page.audio-detail .audio-detail-visual-clip {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  clip-path: inset(0 round 26px) !important;
  background: rgba(128, 128, 128, 0.08) !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask img,
body.post-detail-page.audio-detail .audio-detail-visual-clip img,
body.post-detail-page.audio-detail img.detail-cover.audio-cover {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(72vh, 760px) !important;
  object-fit: contain !important;
  border-radius: 26px !important;
  clip-path: inset(0 round 26px) !important;
  animation: none !important;
  transform: none !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-frame {
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  overflow: visible !important;
  border-radius: 26px !important;
  line-height: 0 !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask,
body.post-detail-page.audio-detail .audio-detail-visual-clip {
  display: inline-block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  clip-path: none !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  background: transparent !important;
  line-height: 0 !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask img,
body.post-detail-page.audio-detail .audio-detail-visual-clip img,
body.post-detail-page.audio-detail img.detail-cover.audio-cover {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(72vh, 760px) !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  clip-path: none !important;
  animation: none !important;
  transform: none !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-frame {
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
  border-radius: 0 !important;
  line-height: 0 !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask,
body.post-detail-page.audio-detail .audio-detail-visual-clip {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  clip-path: inset(0 round 26px) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  background: transparent !important;
  line-height: 0 !important;
  transform: translateZ(0) !important;
  isolation: isolate !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask::after,
body.post-detail-page.audio-detail .audio-detail-visual-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(128, 128, 128, 0.42);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask img,
body.post-detail-page.audio-detail .audio-detail-visual-clip img,
body.post-detail-page.audio-detail img.detail-cover.audio-cover {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(72vh, 760px) !important;
  object-fit: contain !important;
  border-radius: 26px !important;
  clip-path: inset(0 round 26px) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  animation: none !important;
  transform: none !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-frame {
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  overflow: visible !important;
  border-radius: 0 !important;
  line-height: 0 !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask,
body.post-detail-page.audio-detail .audio-detail-visual-clip {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: transparent !important;
  line-height: 0 !important;
  transform: none !important;
  contain: none !important;
  isolation: auto !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask::after,
body.post-detail-page.audio-detail .audio-detail-visual-clip::after {
  display: none !important;
}

body.post-detail-page.audio-detail .audio-detail-cover-mask img,
body.post-detail-page.audio-detail .audio-detail-visual-clip img,
body.post-detail-page.audio-detail img.detail-cover.audio-cover {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(72vh, 760px) !important;
  object-fit: contain !important;
  border: 1px solid rgba(128, 128, 128, 0.42) !important;
  border-radius: 26px !important;
  clip-path: inset(0 round 26px) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  animation: none !important;
  transform: none !important;
}

body.post-detail-page.visual-detail .visual-media.detail-media {
  gap: 1rem !important;
}

body.post-detail-page.visual-detail .visual-detail-frame {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  max-width: min(100%, 620px) !important;
  height: auto !important;
  line-height: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

body.post-detail-page.visual-detail .visual-detail-frame img,
body.post-detail-page.visual-detail .visual-detail-frame video,
body.post-detail-page.visual-detail .visual-image,
body.post-detail-page.visual-detail .visual-cover,
body.post-detail-page.visual-detail .visual-player {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(70vh, 760px) !important;
  object-fit: contain !important;
  border: 1px solid rgba(128, 128, 128, 0.42) !important;
  border-radius: 24px !important;
  clip-path: inset(0 round 24px) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.post-detail-page.visual-detail .visual-detail-frame video,
body.post-detail-page.visual-detail .visual-player {
  width: min(100%, 620px) !important;
}

body.visual-page .media-item,
body.visual-page .image-item,
body.visual-page .video-item {
  max-width: 780px !important;
}

body.visual-page .search-shell--center {
  width: min(100%, 640px) !important;
}

body.visual-page .visual-media,
body.visual-page .video-content {
  gap: 0.75rem !important;
}

body.visual-page .image-item .media-left img,
body.visual-page .video-cover,
body.visual-page .video-player,
body.visual-page .visual-image,
body.visual-page .visual-cover,
body.visual-page .visual-item img,
body.visual-page .visual-item video {
  width: auto !important;
  max-width: min(100%, 640px) !important;
  height: auto !important;
  max-height: min(64vh, 680px) !important;
  object-fit: contain !important;
}

body.visual-page .visual-media:has(.file-meta--above) .visual-image,
body.visual-page .visual-media:has(.file-meta--above) .visual-cover,
body.visual-page .visual-media:has(.file-meta--above) .visual-player,
body.visual-page .media-link--cover:has(.file-meta--above) .visual-image,
body.visual-page .media-link--cover:has(.file-meta--above) .visual-cover,
body.visual-page .media-link--cover:has(.file-meta--above) .visual-player {
  max-height: min(56vh, 600px) !important;
}

body.visual-page .visual-media > .media-link--cover,
body.visual-page .visual-media > .visual-image,
body.visual-page .visual-media > .visual-cover,
body.visual-page .visual-media > .visual-player,
body.visual-page .visual-media > video,
body.visual-page .visual-media > img {
  max-width: 100% !important;
  min-width: 0 !important;
}

body.visual-page .visual-media > .media-link--cover {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 0.5rem !important;
}

body.visual-page .visual-media > .media-link--cover > .visual-image,
body.visual-page .visual-media > .media-link--cover > .visual-cover,
body.visual-page .visual-media > .media-link--cover > img,
body.visual-page .visual-media > .visual-image,
body.visual-page .visual-media > .visual-cover,
body.visual-page .visual-media > .visual-player,
body.visual-page .visual-media > video,
body.visual-page .visual-media > img {
  border-radius: 16px !important;
  clip-path: inset(0 round 16px) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.visual-page .visual-media .file-meta--above {
  width: min(100%, 640px) !important;
  max-width: 100% !important;
  align-self: center !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

body.visual-page .user-badge__avatar,
body.visual-page img.user-badge__avatar {
  width: 1.15rem !important;
  height: 1.15rem !important;
  min-width: 1.15rem !important;
  min-height: 1.15rem !important;
  max-width: 1.15rem !important;
  max-height: 1.15rem !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  overflow: hidden !important;
  flex: 0 0 1.15rem !important;
}

@media screen and (max-width: 640px) {
  body.visual-page .main__container {
    width: 100% !important;
    padding-inline: 0.5rem !important;
  }

  body.visual-page .main__content {
    gap: 1.25rem !important;
  }

  body.visual-page .media-item,
  body.visual-page .image-item,
  body.visual-page .video-item {
    width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
    padding: 0.75rem !important;
    margin-inline: auto !important;
  }

  body.visual-page .visual-media,
  body.visual-page .video-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.visual-page .visual-media > .media-link--cover,
  body.visual-page .visual-media > .visual-image,
  body.visual-page .visual-media > .visual-cover,
  body.visual-page .visual-media > .visual-player,
  body.visual-page .visual-media > video,
  body.visual-page .visual-media > img {
    max-width: 100% !important;
  }

  body.visual-page .visual-media .file-meta--above,
  body.visual-page .file-meta.user-line,
  body.visual-page .upload-description,
  body.visual-page .comment-item p,
  body.visual-page .comment-meta {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

body.visual-page .main__content {
  gap: 1.55rem !important;
}

body.visual-page .main__content > h1 {
  margin-bottom: 0.65rem !important;
}

body.visual-page .search-shell--center {
  margin-top: -0.15rem !important;
  margin-bottom: 0.25rem !important;
}

body.visual-page #visual-results {
  margin-top: 0 !important;
}

.flash-message {
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease, border-width 0.3s ease;
}

.flash-message--leaving {
  opacity: 0;
  transform: translateY(-0.35rem);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-width: 0;
  overflow: hidden;
}

.site-popup {
    width: min(92vw, 34rem);
    margin: auto;
    padding: 0;
    border: 1px solid var(--border-color, rgba(255,255,255,0.22));
    border-radius: 20px;
    background: transparent;
    color: var(--text-color);
    box-shadow: 0 24px 80px rgba(0,0,0,0.38);
}

.site-popup[open] {
    display: grid;
    place-items: center;
    position: fixed;
    inset: 0;
    max-width: none;
    max-height: none;
    width: 100vw;
    height: 100vh;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.site-popup::backdrop {
    background: rgba(0,0,0,0.42);
    backdrop-filter: blur(4px);
}

.site-popup__panel {
    width: min(92vw, 34rem);
    padding: 1.2rem;
    border: 1px solid var(--border-color, rgba(255,255,255,0.22));
    border-radius: 20px;
    background: color-mix(in srgb, var(--background) 88%, transparent);
    box-shadow: 0 24px 80px rgba(0,0,0,0.38);
}

.site-popup__title {
    margin: 0 0 0.75rem;
    color: var(--h2-color);
    font-size: 1.25rem;
    text-transform: lowercase;
}

.site-popup__message {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
    white-space: pre-wrap;
}

.site-popup__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.site-popup__cancel[hidden] {
    display: none;
}


.index-stats-link {
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.index-stats-link a,
.index-stats-link a:visited {
  color: #8a8a8a !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.index-stats-link a:hover,
.index-stats-link a:focus {
  color: #a0a0a0 !important;
}

.stats-page {
  width: min(100%, 1120px);
  margin: 0 auto;
  text-align: left;
}

.stats-page h1,
.stats-page h2 {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stats-card {
  padding: 1rem;
  border: 1px solid var(--border-color, rgba(255,255,255,0.22));
  border-radius: 18px;
  background: color-mix(in srgb, var(--background) 84%, transparent);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  overflow-wrap: anywhere;
}

.stats-card h3 {
  margin: 0 0 0.85rem;
  color: var(--h2-color);
}

.stats-card dl {
  display: grid;
  grid-template-columns: minmax(7rem, 0.45fr) 1fr;
  gap: 0.45rem 0.8rem;
  margin: 0;
}

.stats-card dt {
  color: var(--subtle-text, var(--text-color));
  opacity: 0.78;
}

.stats-card dd {
  margin: 0;
  color: var(--text-color);
}

.stats-footnote {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--subtle-text, var(--text-color));
  opacity: 0.82;
}

@media screen and (max-width: 680px) {
  .stats-card dl {
    grid-template-columns: 1fr;
  }
}

audio.audio-is-enhanced {
  display: none !important;
}

.custom-audio-player {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto minmax(3.8rem, 5.5rem);
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--media-item);
  border-radius: 999px;
  background: transparent;
  color: var(--p-color);
  box-sizing: border-box;
}

.custom-audio-player.multiple {
  margin-top: 1.2rem;
}

.custom-audio-button {
  min-width: 2rem;
  min-height: 2rem;
  border: 1px solid var(--media-item);
  border-radius: 999px;
  background: transparent;
  color: var(--p-color);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.42rem;
}

.custom-audio-button:hover {
  color: var(--navbar-links-hover);
  border-color: var(--p-color);
}

.custom-audio-time {
  color: var(--p-color);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.custom-audio-seek,
.custom-audio-volume {
  min-width: 0;
  accent-color: var(--p-color);
  cursor: pointer;
}

.custom-audio-volume {
  width: 100%;
}

.upload-preview-track .custom-audio-player,
.upload-preview-file__media .custom-audio-player {
  width: 100%;
}

@media screen and (max-width: 560px) {
  .custom-audio-player {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }
  .custom-audio-mute,
  .custom-audio-volume {
    display: none;
  }
}

body.other-page .upload-description,
body.post-detail-page.other-detail .upload-description,
body.other-page .other-file,
body.post-detail-page.other-detail .other-file,
body.other-page .file-meta,
body.post-detail-page.other-detail .file-meta {
  text-align: left !important;
  align-self: stretch !important;
  width: 100% !important;
}

body.dark-mode input[type="datetime-local"] {
  color-scheme: dark;
}

body.dark-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.audio-track-row {
  align-items: center !important;
  row-gap: 0.35rem;
}

.audio-track-meta {
  align-self: center !important;
  min-height: 0 !important;
  padding-top: 0 !important;
}

.audio-track-control {
  justify-content: center;
}

.custom-audio-player.multiple {
  margin-top: 0 !important;
}

.audio-item {
  row-gap: 1rem;
}

@media screen and (max-width: 768px) {
  .audio-track-row {
    align-items: stretch !important;
  }

  .audio-track-meta {
    align-self: stretch !important;
  }
}

body {
  background-color: var(--html-body) !important;
  background-image: none !important;
}

body::before {
  content: "" !important;
  position: fixed !important;
  inset: -18px !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  filter: blur(5px) !important;
  transform: scale(1.03) !important;
  opacity: 0.54 !important;
  animation: none !important;
}

body.dark-mode::before {
  background-image: url('/static/bg_PBG.png') !important;
}

body.light-mode::before {
  background-image: url('/static/bg_BRY.png') !important;
}

.navbar__controls {
  gap: 0 !important;
}

.navbar__profile,
.user-badge,
.user-card,
.user-line,
.other-meta,
.detail-user,
.file-meta.user-line {
  align-items: center !important;
}

.user-badge,
.user-badge--compact {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

.user-badge > .user-badge__avatar,
.user-badge > img.user-badge__avatar,
.user-badge > .user-badge__avatar--fallback {
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.user-badge > .username-color,
.user-badge > a.username-color,
.user-badge > span.username-color,
.navbar__profile-name,
.user-card__name {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.navbar__avatar,
.user-badge__avatar,
.user-card__avatar {
  align-self: center !important;
}


.profile-header {
  align-items: center !important;
}

.profile-meta {
  justify-content: center !important;
  align-self: center !important;
}

.profile-meta h1 {
  line-height: 1 !important;
}

body::before {
  inset: -10px !important;
  background-size: 100% 100% !important;
  filter: blur(4px) !important;
  transform: scale(1.01) !important;
  opacity: 0.48 !important;
}

body.audio-page #audio-empty {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 0.75rem;
  text-align: left;
  align-self: center;
}

.username-color {
  color: #ffffff;
}

.user-badge,
.navbar__profile,
.user-card,
.profile-header,
.comment-meta {
  align-items: center !important;
}

.user-line,
.file-meta.user-line,
.detail-user {
  display: flex;
  align-items: center !important;
}

.user-badge .username-color,
.navbar__profile-name,
.user-card__name {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 1.15rem;
  line-height: 1.15rem !important;
}

.comment-meta {
  align-items: center !important;
}

.comment-meta > span:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 1.15rem;
  line-height: 1.15rem;
}

.navbar {
  background: linear-gradient(to bottom, rgba(255, 13, 158, 0.92) 0%, rgba(255, 13, 158, 0.74) 58%, rgba(255, 13, 158, 0.22) 100%) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.light-mode .navbar {
  background: linear-gradient(to bottom, rgba(233, 201, 0, 0.92) 0%, rgba(233, 201, 0, 0.74) 58%, rgba(233, 201, 0, 0.22) 100%) !important;
}

.navbar__menu.active {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--navbar-links-hover);
}

.media-item,
.audio-item,
.image-item,
.video-item,
.other-item,
.comment-item,
.user-card,
.secret-panel,
.database-admin-row,
.transparency-block,
.stats-block,
.profile-post,
.flash-message,
.search-input,
.comment-form input,
.comment-form textarea {
  text-shadow: 0 1px 2px color-mix(in srgb, var(--html-body) 65%, transparent);
}

.media-item,
.audio-item,
.image-item,
.video-item,
.other-item,
.comment-item,
.user-card,
.transparency-block,
.stats-block,
.profile-post {
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

html.dark-mode,
body.dark-mode {
  --scrollbar-thumb: #52d700;
  --scrollbar-track: #ff0d9e;
  color-scheme: dark;
}

html.light-mode,
body.light-mode {
  --scrollbar-thumb: #5099ff;
  --scrollbar-track: #e9c900;
  color-scheme: light;
}

html.dark-mode,
html.dark-mode *,
body.dark-mode,
body.dark-mode * {
  scrollbar-color: #52d700 #ff0d9e !important;
}

html.light-mode,
html.light-mode *,
body.light-mode,
body.light-mode * {
  scrollbar-color: #5099ff #e9c900 !important;
}

html.dark-mode::-webkit-scrollbar-track,
body.dark-mode::-webkit-scrollbar-track,
body.dark-mode *::-webkit-scrollbar-track {
  background: #ff0d9e !important;
}

html.dark-mode::-webkit-scrollbar-thumb,
body.dark-mode::-webkit-scrollbar-thumb,
body.dark-mode *::-webkit-scrollbar-thumb {
  background: #52d700 !important;
  border-color: #ff0d9e !important;
}

html.dark-mode::-webkit-scrollbar-thumb:hover,
body.dark-mode::-webkit-scrollbar-thumb:hover,
body.dark-mode *::-webkit-scrollbar-thumb:hover {
  background: #ffffff !important;
}

html.light-mode::-webkit-scrollbar-track,
body.light-mode::-webkit-scrollbar-track,
body.light-mode *::-webkit-scrollbar-track {
  background: #e9c900 !important;
}

html.light-mode::-webkit-scrollbar-thumb,
body.light-mode::-webkit-scrollbar-thumb,
body.light-mode *::-webkit-scrollbar-thumb {
  background: #5099ff !important;
  border-color: #e9c900 !important;
}

html.light-mode::-webkit-scrollbar-thumb:hover,
body.light-mode::-webkit-scrollbar-thumb:hover,
body.light-mode *::-webkit-scrollbar-thumb:hover {
  background: #d40014 !important;
}

.navbar__item--profile {
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
}

.navbar__profile {
  min-height: 80px !important;
  height: 80px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}

.navbar__profile-name {
  display: inline-flex !important;
  align-items: center !important;
  height: 80px !important;
  min-height: 80px !important;
  line-height: 80px !important;
}

.navbar__avatar {
  align-self: center !important;
}

@media screen and (max-width: 1320px) {
  .navbar__profile {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 1rem !important;
  }

  .navbar__profile-name {
    height: 80px !important;
    min-height: 80px !important;
    line-height: 80px !important;
  }
}

html.dark-mode,
body.dark-mode {
  --scrollbar-thumb: #52d700;
  --scrollbar-track: #ff0d9e;
  --danger-text: #ff7a70;
  --danger-border: #ff7a70;
  --danger-bg: rgba(255, 122, 112, 0.08);
  --danger-bg-hover: rgba(255, 122, 112, 0.18);
}

html.light-mode,
body.light-mode {
  --scrollbar-thumb: #5099ff;
  --scrollbar-track: #e9c900;
  --danger-text: #b60012;
  --danger-border: #b60012;
  --danger-bg: rgba(182, 0, 18, 0.08);
  --danger-bg-hover: rgba(182, 0, 18, 0.16);
}

html.dark-mode,
html.dark-mode *,
body.dark-mode,
body.dark-mode * {
  scrollbar-color: #52d700 #ff0d9e !important;
}

html.light-mode,
html.light-mode *,
body.light-mode,
body.light-mode * {
  scrollbar-color: #5099ff #e9c900 !important;
}

html.dark-mode::-webkit-scrollbar,
html.dark-mode *::-webkit-scrollbar,
body.dark-mode::-webkit-scrollbar,
body.dark-mode *::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

html.light-mode::-webkit-scrollbar,
html.light-mode *::-webkit-scrollbar,
body.light-mode::-webkit-scrollbar,
body.light-mode *::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

html.dark-mode::-webkit-scrollbar-track,
html.dark-mode *::-webkit-scrollbar-track,
body.dark-mode::-webkit-scrollbar-track,
body.dark-mode *::-webkit-scrollbar-track {
  background: #ff0d9e !important;
}

html.dark-mode::-webkit-scrollbar-thumb,
html.dark-mode *::-webkit-scrollbar-thumb,
body.dark-mode::-webkit-scrollbar-thumb,
body.dark-mode *::-webkit-scrollbar-thumb {
  background: #52d700 !important;
  border: 2px solid #ff0d9e !important;
  border-radius: 999px !important;
}

html.light-mode::-webkit-scrollbar-track,
html.light-mode *::-webkit-scrollbar-track,
body.light-mode::-webkit-scrollbar-track,
body.light-mode *::-webkit-scrollbar-track {
  background: #e9c900 !important;
}

html.light-mode::-webkit-scrollbar-thumb,
html.light-mode *::-webkit-scrollbar-thumb,
body.light-mode::-webkit-scrollbar-thumb,
body.light-mode *::-webkit-scrollbar-thumb {
  background: #5099ff !important;
  border: 2px solid #e9c900 !important;
  border-radius: 999px !important;
}

.index-stats-link a,
.index-stats-link a:visited,
.index-stats-link a:hover,
.index-stats-link a:focus {
  color: #52d700 !important;
}

.navbar__item--profile {
  height: 80px !important;
  align-items: center !important;
}

.navbar__profile {
  height: 80px !important;
  min-height: 80px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
  line-height: 80px !important;
}

.navbar__profile-name {
  display: inline-flex !important;
  align-items: center !important;
  height: 80px !important;
  min-height: 80px !important;
  line-height: 80px !important;
  vertical-align: middle !important;
  transform: translateY(-0.015em);
}

.navbar__avatar,
.navbar__avatar--fallback {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.main__btn.danger,
.file-dialog__actions .danger,
.database-admin-actions .danger {
  border-color: var(--danger-border) !important;
  color: var(--danger-text) !important;
  background: var(--danger-bg) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.main__btn.danger:hover,
.file-dialog__actions .danger:hover,
.database-admin-actions .danger:hover {
  background: var(--danger-bg-hover) !important;
  border-color: var(--danger-border) !important;
  color: var(--danger-text) !important;
}

.secret-explorer-delete,
.profile-avatar-delete {
  color: var(--danger-text) !important;
  border-color: var(--danger-border) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.secret-explorer-delete:hover,
.profile-avatar-delete:hover {
  background: var(--danger-bg-hover) !important;
  color: var(--danger-text) !important;
}

.navbar__item--profile {
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
}

.navbar__profile {
  height: 100% !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
  line-height: 1 !important;
  gap: 0.65rem !important;
}

.navbar__profile-name {
  height: auto !important;
  min-height: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: baseline !important;
  transform: none !important;
}

.navbar__avatar,
.navbar__avatar--fallback {
  align-self: center !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

@media screen and (max-width: 1320px) {
  .navbar__profile {
    height: auto !important;
    min-height: 0 !important;
    padding: 2rem !important;
  }

  .navbar__profile-name {
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
  }
}
.category-native {
  display: none !important;
}

.category-select {
  position: relative;
  width: 100%;
}

.category-select__button {
  width: 100%;
  min-height: 3.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: color-mix(in srgb, var(--html-body) 34%, transparent);
  border: 2px solid var(--media-item);
  border-radius: 10px;
  color: var(--p-color);
  font: inherit;
  font-size: 1.05rem;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  outline: none;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.category-select__button:hover,
.category-select__button:focus,
.category-select.is-open .category-select__button {
  border-color: var(--navbar-links);
  background: color-mix(in srgb, var(--html-body) 46%, transparent);
}

.category-select__mark {
  color: var(--h3-color);
  line-height: 1;
  transition: transform 0.18s ease;
}

.category-select.is-open .category-select__mark {
  transform: rotate(180deg);
}

.category-select__menu {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.35rem;
  border: 2px solid var(--media-item);
  border-radius: 12px;
  background: color-mix(in srgb, var(--html-body) 94%, #000000 6%);
  box-shadow: 0 12px 30px color-mix(in srgb, #000000 38%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.category-select__menu[hidden] {
  display: none !important;
}

.category-select__option {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--p-color);
  font: inherit;
  text-align: left;
  padding: 0.58rem 0.7rem;
  cursor: pointer;
}

.category-select__option:hover,
.category-select__option:focus,
.category-select__option.is-selected {
  background: color-mix(in srgb, var(--media-item) 20%, transparent);
  color: var(--navbar-links);
  outline: none;
}

.navbar .navbar__item--profile {
  height: 80px !important;
  display: flex !important;
  align-items: stretch !important;
}

.navbar .navbar__profile {
  height: 80px !important;
  min-height: 80px !important;
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: max-content !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 0.65rem !important;
  padding: 0 1rem !important;
  line-height: normal !important;
}

.navbar .navbar__profile-name {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  top: 0.025em !important;
  transform: none !important;
}

.navbar .navbar__avatar,
.navbar .navbar__avatar--fallback {
  display: block !important;
  place-self: center !important;
  align-self: center !important;
  margin: 0 !important;
}

@media screen and (max-width: 1320px) {
  .navbar .navbar__profile {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 2rem !important;
  }

  .navbar .navbar__profile-name {
    line-height: 1.2 !important;
    top: 0.025em !important;
  }
}
.navbar .navbar__links.navbar__profile {
  color: var(--navbar-links) !important;
  font-size: inherit !important;
}

.navbar .navbar__links.navbar__profile:hover {
  color: var(--navbar-links-hover) !important;
}

.navbar .navbar__links.navbar__profile .navbar__profile-name {
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  top: 0.055em !important;
}


.category-select__button,
.category-select__button:hover,
.category-select__button:focus,
.category-select.is-open .category-select__button {
  background: transparent !important;
}

.navbar,
.navbar__container,
.navbar__menu,
.navbar__item,
.navbar__links {
  --nav-center-height: 80px;
}

.navbar .navbar__item--profile {
  height: var(--nav-center-height) !important;
  min-height: var(--nav-center-height) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.navbar .navbar__links.navbar__profile {
  height: var(--nav-center-height) !important;
  min-height: var(--nav-center-height) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  padding: 0 1rem !important;
  margin: 0 !important;
  line-height: var(--nav-center-height) !important;
  box-sizing: border-box !important;
  vertical-align: top !important;
}

.navbar .navbar__links.navbar__profile .navbar__profile-name {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: var(--nav-center-height) !important;
  min-height: var(--nav-center-height) !important;
  line-height: var(--nav-center-height) !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
  top: auto !important;
  transform: none !important;
  vertical-align: top !important;
}

.navbar .navbar__links.navbar__profile .navbar__avatar,
.navbar .navbar__links.navbar__profile .navbar__avatar--fallback {
  align-self: center !important;
  margin: 0 !important;
  transform: none !important;
}

@media screen and (max-width: 1320px) {
  .navbar .navbar__item--profile {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  .navbar .navbar__links.navbar__profile {
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    padding: 2rem !important;
    width: 100% !important;
  }

  .navbar .navbar__links.navbar__profile .navbar__profile-name {
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
  }
}

.navbar .navbar__links.navbar__profile .navbar__profile-name {
  transform: translateY(-2px) !important;
}

@media screen and (max-width: 1320px) {
  .navbar .navbar__links.navbar__profile .navbar__profile-name {
    transform: none !important;
  }
}

.index-feedback-link {
  margin-top: 0.25rem;
}

.index-feedback-link a,
.index-feedback-link a:visited,
.index-feedback-link a:hover,
.index-feedback-link a:focus {
  color: var(--h3-color) !important;
}

.feedback-page {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.feedback-form {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.feedback-form label {
  color: var(--p-color);
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid var(--media-item);
  border-radius: 14px;
  background: transparent;
  color: var(--p-color);
  font: inherit;
  padding: 0.8rem 0.9rem;
  outline: none;
}

.feedback-form textarea {
  min-height: 12rem;
  resize: vertical;
}

.feedback-form .main__btn {
  justify-self: start;
  margin: 0;
}

::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  border-radius: 999px !important;
}

::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background-clip: padding-box !important;
}

::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: transparent !important;
}

.secret-explorer-list,
.database-admin-list,
.user-feedback-list,
.secret-editor textarea.admin-code-textarea,
.upload-preview-body,
.file-dialog__panel,
.pfp-crop-panel,
.site-popup__panel,
.users-list,
.profile-list,
.comment-list {
  scrollbar-gutter: stable;
  border-radius: inherit;
  background-clip: padding-box;
}

.feedback-page {
  width: min(100%, 780px) !important;
  margin: 0 auto !important;
  padding: clamp(1rem, 3vw, 2rem) !important;
  border: 1px solid color-mix(in srgb, var(--media-item) 70%, transparent) !important;
  border-radius: 28px !important;
  background: color-mix(in srgb, var(--bg-color) 72%, transparent) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(6px) !important;
  text-align: left !important;
}

.feedback-hero {
  display: grid !important;
  gap: 0.55rem !important;
  margin-bottom: 0.5rem !important;
}

.feedback-hero h1,
.feedback-hero h2 {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.feedback-hero h2 {
  max-width: 62ch !important;
  color: var(--h3-color) !important;
}

.feedback-form {
  display: grid !important;
  gap: 1rem !important;
  text-align: left !important;
}

.feedback-form__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.feedback-field {
  display: grid !important;
  gap: 0.35rem !important;
}

.feedback-field label {
  color: var(--p-color) !important;
  font-size: 0.95rem !important;
}

.feedback-form input,
.feedback-form textarea {
  border: 1px solid color-mix(in srgb, var(--media-item) 75%, transparent) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--bg-color) 56%, transparent) !important;
  color: var(--p-color) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-color) 45%, transparent) !important;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--h3-color) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--h3-color) 20%, transparent) !important;
}

.feedback-form textarea {
  min-height: 14rem !important;
}

.feedback-submit {
  justify-self: start !important;
}

.user-feedback-topline {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

.user-feedback-status {
  flex: 0 0 auto !important;
  border: 1px solid var(--media-item) !important;
  border-radius: 999px !important;
  padding: 0.25rem 0.65rem !important;
  color: var(--p-color) !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  text-transform: lowercase !important;
}

.user-feedback-row--work-in-progress .user-feedback-status {
  color: var(--h3-color) !important;
  border-color: var(--h3-color) !important;
}

.user-feedback-row--addressed {
  opacity: 0.72 !important;
}

.user-feedback-row--addressed .user-feedback-status {
  color: var(--success-color, #52d700) !important;
  border-color: var(--success-color, #52d700) !important;
}

.user-feedback-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.4rem !important;
  margin-top: 0.75rem !important;
}

.user-feedback-actions form {
  margin: 0 !important;
}

.user-feedback-actions .main__btn {
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.85rem !important;
}

.user-feedback-actions .main__btn:disabled {
  opacity: 0.48 !important;
  cursor: default !important;
}

@media screen and (max-width: 768px) {
  .feedback-page {
    padding: 1rem !important;
    border-radius: 22px !important;
  }

  .feedback-form__grid {
    grid-template-columns: 1fr !important;
  }

  .user-feedback-topline {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

html.mc-mode,
body.mc-mode {
  --scrollbar-thumb: #808080;
  --scrollbar-track: #000000;
  --navbar: #000000;
  --navbar-logo-background-color: #000000;
  --navbar-logo-background-image: linear-gradient(to top, #808080 0%, #ffffff 100%);
  --navbar-links: #ffffff;
  --navbar-links-hover: #b8b8b8;
  --navbar-menu: #111111;
  --navbar-menu-active: #000000;
  --navbar-toggle-bar: #ffffff;
  --h1-background-color: #000000;
  --h1-background-image: linear-gradient(to top, #808080 0%, #ffffff 100%);
  --h2-color: #ffffff;
  --h3-color: #b8b8b8;
  --muted-text: #b8b8b8;
  --p-color: #ffffff;
  --main-btn-background-image: linear-gradient(to top, #808080 0%, #ffffff 100%);
  --main-btn-color: #000000;
  --main-btn-after: #000000;
  --main-btn-hover: #ffffff;
  --html-body: #000000;
  --a: #ffffff;
  --audio-webkit-media-controls-panel: #000000;
  --media-item: #808080;
  --audio-item: #808080;
  --audio-text: #ffffff;
  --image-item: #808080;
  --image-text: #ffffff;
  --video-item: #808080;
  --video-text: #ffffff;
  --mode-toggle: #ffffff;
  --mode-toggle-hover: #b8b8b8;
  --background: #000000;
}

html.dark-mode,
body.dark-mode {
  --muted-text: #d7ff3d;
}

html.light-mode,
body.light-mode {
  --muted-text: #005dff;
}

body.mc-mode::before {
  background-image: url('/static/bg_MC.png') !important;
}

body.dark-mode::before,
body.light-mode::before,
body.mc-mode::before {
  background-size: 100% 100% !important;
  filter: blur(3.5px) !important;
  transform: scale(1.008) !important;
}

body.mc-mode .navbar {
  background: linear-gradient(to bottom, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.72) 58%, rgba(0,0,0,0.2) 100%) !important;
}

.file-meta,
.file-meta-summary,
.file-size,
.profile-post__meta,
.search-empty,
.comment-meta,
.feedback-hero h2,
.pfp-crop-note,
.pfp-crop-head p,
#upload-status,
.user-card__meta,
.stats-value,
.stats-label {
  color: var(--muted-text, var(--h3-color)) !important;
}

.feedback-page {
  background: transparent !important;
  box-shadow: none !important;
}

.feedback-form input,
.feedback-form textarea {
  background: transparent !important;
}

.category-select__button,
.category-select__button:hover,
.category-select__button:focus,
.category-select.is-open .category-select__button,
.category-select__menu,
.category-select__option {
  background-color: transparent !important;
}

.literature-content {
  width: 100%;
  color: var(--p-color);
  font-size: 1.05rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--media-item) 70%, transparent);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: transparent;
}

.literature-content--detail {
  align-self: stretch;
}

body.literature-page .search-shell {
  justify-content: flex-start;
}

body.literature-page .media-link--title {
  align-self: flex-start;
  justify-content: flex-start;
}

.visual-cover,
.visual-image,
.video-cover,
.video-player,
.visual-player,
.upload-preview-media-frame img,
.upload-preview-media-frame video {
  object-fit: contain !important;
  aspect-ratio: auto !important;
}

.visual-detail-frame,
.upload-preview-media-frame {
  overflow: hidden !important;
  border-radius: 16px !important;
}

.visual-detail-frame img,
.visual-detail-frame video,
.upload-preview-media-frame img,
.upload-preview-media-frame video {
  border-radius: 16px !important;
  max-width: 100% !important;
  height: auto !important;
}

.media-link--cover .audio-cover,
.media-link--cover .visual-cover,
.media-link--cover .visual-image,
.media-link--cover .hover-tilt-target,
.media-link--title .audio-text,
.media-link--title .video-text,
.media-link--title .image-text,
.media-link--title .other-title,
.audio-cover.clickable,
.audio-text.clickable {
  transition: transform 0.35s cubic-bezier(0, 0.5, 0.5, 1) !important;
}

::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  border-radius: 999px !important;
  background-clip: padding-box !important;
}

::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  min-height: 32px !important;
  border-radius: 999px !important;
  background-clip: padding-box !important;
  border: 2px solid var(--scrollbar-track) !important;
}

[style*="overflow"],
.secret-explorer-list,
.database-admin-list,
.user-feedback-list,
.secret-editor,
.secret-editor textarea.admin-code-textarea,
.upload-preview__body,
.upload-preview-body,
.file-dialog,
.file-dialog__panel,
.pfp-crop-dialog,
.pfp-crop-panel,
.site-popup__panel,
.users-list,
.profile-posts,
.comments-list,
.results-list,
.pdf-file-card,
.pdf-viewer {
  scrollbar-gutter: stable both-edges;
  border-radius: inherit;
  background-clip: padding-box;
}

.profile-social-form .main__btn,
.profile-color-form .main__btn,
.profile-color-clear .main__btn,
.profile-upload .main__btn {
  margin-top: 0;
  margin-bottom: 0;
}

body,
body.dark-mode,
body.light-mode,
body.mc-mode {
  background-image: none !important;
  animation: none !important;
}

body::before,
body::after {
  animation: none !important;
}

body.dark-mode .index-stats-link a,
body.dark-mode .index-stats-link a:visited,
body.dark-mode .index-stats-link a:hover,
body.dark-mode .index-stats-link a:focus {
  color: #52d700 !important;
}

body.light-mode .index-stats-link a,
body.light-mode .index-stats-link a:visited,
body.light-mode .index-stats-link a:hover,
body.light-mode .index-stats-link a:focus {
  color: #5099ff !important;
}

body.mc-mode .index-stats-link a,
body.mc-mode .index-stats-link a:visited,
body.mc-mode .index-stats-link a:hover,
body.mc-mode .index-stats-link a:focus {
  color: #8a8a8a !important;
}

body.dark-mode .index-stats-link a,
body.dark-mode .index-stats-link a:visited,
body.dark-mode .index-stats-link a:hover,
body.dark-mode .index-stats-link a:focus,
body.light-mode .index-stats-link a,
body.light-mode .index-stats-link a:visited,
body.light-mode .index-stats-link a:hover,
body.light-mode .index-stats-link a:focus,
body.mc-mode .index-stats-link a,
body.mc-mode .index-stats-link a:visited,
body.mc-mode .index-stats-link a:hover,
body.mc-mode .index-stats-link a:focus {
  color: var(--h3-color) !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.profile-social-link {
  overflow: hidden !important;
}

.profile-social-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
  display: block !important;
  background: currentColor !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

.profile-social-link--bandcamp .profile-social-icon { -webkit-mask-image: url('/static/social_icons/bandcamp.svg'); mask-image: url('/static/social_icons/bandcamp.svg'); }
.profile-social-link--soundcloud .profile-social-icon { -webkit-mask-image: url('/static/social_icons/soundcloud.svg'); mask-image: url('/static/social_icons/soundcloud.svg'); }
.profile-social-link--spotify .profile-social-icon { -webkit-mask-image: url('/static/social_icons/spotify.svg'); mask-image: url('/static/social_icons/spotify.svg'); }
.profile-social-link--youtube .profile-social-icon { -webkit-mask-image: url('/static/social_icons/youtube.svg'); mask-image: url('/static/social_icons/youtube.svg'); }
.profile-social-link--instagram .profile-social-icon { -webkit-mask-image: url('/static/social_icons/instagram.svg'); mask-image: url('/static/social_icons/instagram.svg'); }
.profile-social-link--x .profile-social-icon { -webkit-mask-image: url('/static/social_icons/x.svg'); mask-image: url('/static/social_icons/x.svg'); }
.profile-social-link--github .profile-social-icon { -webkit-mask-image: url('/static/social_icons/github.svg'); mask-image: url('/static/social_icons/github.svg'); }

html.dark-mode {
  --scrollbar-thumb: #52d700;
  --scrollbar-track: #ff0d9e;
  --navbar: #ff0d9e;
  --navbar-logo-background-color: #ff0d9e;
  --navbar-logo-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --navbar-links: #ffffff;
  --navbar-links-hover: #52d700;
  --navbar-menu: #52d700;
  --navbar-menu-active: #ff0d9e;
  --navbar-toggle-bar: #ffffff;
  --h1-background-color: #ff0d9e;
  --h1-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --h2-color: #ffffff;
  --h3-color: #52d700;
  --muted-text: #d7ff3d;
  --p-color: #ffffff;
  --main-btn-background-image: linear-gradient(to top, #ff0d9e 0%, #ffffff 100%);
  --main-btn-color: #ffffff;
  --main-btn-after: #ffffff;
  --main-btn-hover: #ff0d9e;
  --html-body: #ff0d9e;
  --a: #52d700;
  --media-item: #52d700;
  --audio-item: #52d700;
  --audio-text: #ffffff;
  --image-item: #52d700;
  --image-text: #ffffff;
  --video-item: #52d700;
  --video-text: #ffffff;
  --mode-toggle: #ffffff;
  --mode-toggle-hover: #52d700;
  --background: #ff0d9e;
}

html.light-mode {
  --scrollbar-thumb: #5099ff;
  --scrollbar-track: #e9c900;
  --navbar: #e9c900;
  --navbar-logo-background-color: #e9c900;
  --navbar-logo-background-image: linear-gradient(to bottom, #d40014 0%, #e9c900 100%);
  --navbar-links: #d40014;
  --navbar-links-hover: #5099ff;
  --navbar-menu: #5099ff;
  --navbar-menu-active: #e9c900;
  --navbar-toggle-bar: #d40014;
  --h1-background-color: #e9c900;
  --h1-background-image: linear-gradient(to bottom, #d40014 0%, #e9c900 100%);
  --h2-color: #d40014;
  --h3-color: #5099ff;
  --muted-text: #005dff;
  --p-color: #d40014;
  --main-btn-background-image: linear-gradient(to bottom, #d40014 0%, #e9c900 100%);
  --main-btn-color: #d40014;
  --main-btn-after: #d40014;
  --main-btn-hover: #e9c900;
  --html-body: #e9c900;
  --a: #5099ff;
  --media-item: #5099ff;
  --audio-item: #5099ff;
  --audio-text: #d40014;
  --image-item: #5099ff;
  --image-text: #d40014;
  --video-item: #5099ff;
  --video-text: #d40014;
  --mode-toggle: #d40014;
  --mode-toggle-hover: #5099ff;
  --background: #e9c900;
}

.flash-message.notice {
  border-color: var(--p-color) !important;
  color: var(--p-color) !important;
  background: color-mix(in srgb, var(--p-color) 10%, transparent) !important;
}

.video-is-enhanced {
  display: block !important;
}

.custom-video-player {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto minmax(3.8rem, 5.5rem) auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  margin-top: 0.45rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--media-item);
  border-radius: 999px;
  background: transparent;
  color: var(--p-color);
  box-sizing: border-box;
}

.custom-video-button {
  min-width: 2rem;
  min-height: 2rem;
  border: 1px solid var(--media-item);
  border-radius: 999px;
  background: transparent;
  color: var(--p-color);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.42rem;
}

.custom-video-button:hover {
  color: var(--navbar-links-hover);
  border-color: var(--p-color);
}

.custom-video-time {
  color: var(--p-color);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.custom-video-seek,
.custom-video-volume {
  min-width: 0;
  accent-color: var(--p-color);
  cursor: pointer;
}

.custom-video-volume {
  width: 100%;
}

.upload-preview-file__media .custom-video-player,
.upload-preview-media-frame .custom-video-player,
.visual-media .custom-video-player,
.visual-detail-frame + .custom-video-player {
  width: 100%;
}

@media screen and (max-width: 560px) {
  .custom-video-player {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  }
  .custom-video-mute,
  .custom-video-volume {
    display: none;
  }
}

body.dark-mode input[type="date"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator,
body.light-mode input[type="date"]::-webkit-calendar-picker-indicator,
body.light-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html.dark-mode input[type="date"]::-webkit-calendar-picker-indicator,
html.dark-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html.light-mode input[type="date"]::-webkit-calendar-picker-indicator,
html.light-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

body.dark-mode input[type="date"],
body.dark-mode input[type="datetime-local"],
body.light-mode input[type="date"],
body.light-mode input[type="datetime-local"] {
  color-scheme: dark !important;
}

body.mc-mode input[type="date"],
body.mc-mode input[type="datetime-local"] {
  color-scheme: dark !important;
}

.scroll-rounded,
.secret-panel,
.secret-explorer-list,
.database-admin-list,
.user-feedback-list,
.secret-editor,
.secret-editor textarea.admin-code-textarea,
.upload-preview__body,
.upload-preview-body,
.file-dialog__panel,
.pfp-crop-panel,
.site-popup__panel,
.pdf-file-card,
.pdf-viewer,
.feedback-page,
.media-item,
.profile-post,
.comment-item,
.user-card {
  overflow-clip-margin: content-box;
}

.scroll-rounded::-webkit-scrollbar-track,
.secret-panel::-webkit-scrollbar-track,
.secret-explorer-list::-webkit-scrollbar-track,
.database-admin-list::-webkit-scrollbar-track,
.user-feedback-list::-webkit-scrollbar-track,
.secret-editor::-webkit-scrollbar-track,
.secret-editor textarea.admin-code-textarea::-webkit-scrollbar-track,
.upload-preview__body::-webkit-scrollbar-track,
.upload-preview-body::-webkit-scrollbar-track,
.file-dialog__panel::-webkit-scrollbar-track,
.pfp-crop-panel::-webkit-scrollbar-track,
.site-popup__panel::-webkit-scrollbar-track,
.pdf-file-card::-webkit-scrollbar-track,
.pdf-viewer::-webkit-scrollbar-track {
  border-radius: 999px !important;
}

html.dark-mode body::before {
  background-image: url('/static/bg_PBG.png') !important;
}

html.light-mode body::before {
  background-image: url('/static/bg_BRY.png') !important;
}

html.mc-mode body::before {
  background-image: url('/static/bg_MC.png') !important;
}

html.dark-mode body::before,
html.light-mode body::before,
html.mc-mode body::before {
  background-size: 100% 100% !important;
  filter: blur(3.5px) !important;
  transform: scale(1.008) !important;
}

body.post-detail-page.visual-detail .visual-detail-frame--video {
  flex-direction: column !important;
  align-items: stretch !important;
  width: min(100%, 620px) !important;
  max-width: min(100%, 620px) !important;
  gap: 0.45rem !important;
}

body.post-detail-page.visual-detail .visual-detail-frame--video video {
  align-self: center !important;
}

body.post-detail-page.visual-detail .visual-detail-frame--video .custom-video-player {
  align-self: stretch !important;
}


body.post-detail-page.visual-detail .visual-detail-frame--video {
  overflow: visible !important;
  border-radius: 0 !important;
  clip-path: none !important;
  line-height: 0 !important;
}

body.post-detail-page.visual-detail .visual-detail-frame--video video,
body.post-detail-page.visual-detail .visual-detail-frame--video .visual-player {
  width: min(100%, 620px, calc(70vh * var(--video-aspect, 1.7777778)), calc(760px * var(--video-aspect, 1.7777778))) !important;
  height: auto !important;
  aspect-ratio: var(--video-aspect-ratio, auto) !important;
  max-width: min(100%, 620px) !important;
  max-height: min(70vh, 760px) !important;
  object-fit: contain !important;
  border-radius: 24px !important;
  clip-path: inset(0 round 24px) !important;
  overflow: hidden !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
}

.visual-detail-frame:fullscreen,
.upload-preview-media-frame:fullscreen,
.visual-media:fullscreen,
.upload-preview-file__media:fullscreen,
.visual-detail-frame:-webkit-full-screen,
.upload-preview-media-frame:-webkit-full-screen,
.visual-media:-webkit-full-screen,
.upload-preview-file__media:-webkit-full-screen,
.visual-detail-frame.is-custom-video-fullscreen,
.upload-preview-media-frame.is-custom-video-fullscreen,
.visual-media.is-custom-video-fullscreen,
.upload-preview-file__media.is-custom-video-fullscreen {
  --fullscreen-video-pad: clamp(0.25rem, 1vmin, 0.75rem);
  --fullscreen-video-gap: clamp(0.35rem, 1vmin, 0.75rem);
  --fullscreen-controls-height: var(--custom-video-controls-height, 48px);
  --fullscreen-video-max-width: calc(100dvw - (var(--fullscreen-video-pad) * 2));
  --fullscreen-video-max-height: calc(100dvh - (var(--fullscreen-video-pad) * 2) - var(--fullscreen-video-gap) - var(--fullscreen-controls-height));
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  width: 100dvw !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  padding: var(--fullscreen-video-pad) !important;
  gap: var(--fullscreen-video-gap) !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

body.post-detail-page.visual-detail .visual-detail-frame--video:fullscreen video,
body.post-detail-page.visual-detail .visual-detail-frame--video:-webkit-full-screen video,
body.post-detail-page.visual-detail .visual-detail-frame--video.is-custom-video-fullscreen video,
body.visual-page .visual-media:fullscreen video,
body.visual-page .visual-media:-webkit-full-screen video,
body.visual-page .visual-media.is-custom-video-fullscreen video,
.upload-preview-media-frame:fullscreen video,
.upload-preview-media-frame:-webkit-full-screen video,
.upload-preview-media-frame.is-custom-video-fullscreen video,
.upload-preview-file__media:fullscreen video,
.upload-preview-file__media:-webkit-full-screen video,
.upload-preview-file__media.is-custom-video-fullscreen video {
  flex: 0 0 auto !important;
  width: var(--fullscreen-video-width, min(var(--fullscreen-video-max-width), calc(var(--fullscreen-video-max-height) * var(--video-aspect, 1.7777778)))) !important;
  height: var(--fullscreen-video-height, auto) !important;
  aspect-ratio: var(--video-aspect-ratio, auto) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 24px !important;
  clip-path: inset(0 round 24px) !important;
  overflow: hidden !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;
}

body.post-detail-page.visual-detail .visual-detail-frame--video:fullscreen .custom-video-player,
body.post-detail-page.visual-detail .visual-detail-frame--video:-webkit-full-screen .custom-video-player,
body.post-detail-page.visual-detail .visual-detail-frame--video.is-custom-video-fullscreen .custom-video-player,
body.visual-page .visual-media:fullscreen .custom-video-player,
body.visual-page .visual-media:-webkit-full-screen .custom-video-player,
body.visual-page .visual-media.is-custom-video-fullscreen .custom-video-player,
.upload-preview-media-frame:fullscreen .custom-video-player,
.upload-preview-media-frame:-webkit-full-screen .custom-video-player,
.upload-preview-media-frame.is-custom-video-fullscreen .custom-video-player,
.upload-preview-file__media:fullscreen .custom-video-player,
.upload-preview-file__media:-webkit-full-screen .custom-video-player,
.upload-preview-file__media.is-custom-video-fullscreen .custom-video-player {
  flex: 0 0 auto !important;
  align-self: center !important;
  justify-self: center !important;
  width: var(--fullscreen-controls-width, min(var(--fullscreen-video-max-width), max(min(100%, 22rem), var(--fullscreen-video-width, calc(var(--fullscreen-video-max-height) * var(--video-aspect, 1.7777778)))))) !important;
  max-width: var(--fullscreen-video-max-width) !important;
  margin: 0 auto !important;
}

.visual-media:fullscreen > :not(video):not(.custom-video-player),
.upload-preview-file__media:fullscreen > :not(video):not(.custom-video-player),
.visual-media:-webkit-full-screen > :not(video):not(.custom-video-player),
.upload-preview-file__media:-webkit-full-screen > :not(video):not(.custom-video-player),
.visual-media.is-custom-video-fullscreen > :not(video):not(.custom-video-player),
.upload-preview-file__media.is-custom-video-fullscreen > :not(video):not(.custom-video-player) {
  display: none !important;
}

video:fullscreen,
video:-webkit-full-screen,
video.is-custom-video-fullscreen {
  width: var(--fullscreen-video-width, 100vw) !important;
  height: var(--fullscreen-video-height, 100vh) !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}

@media screen and (max-width: 1320px) {
  body.mobile-menu-open .navbar,
  body.dark-mode.mobile-menu-open .navbar,
  body.light-mode.mobile-menu-open .navbar,
  body.mc-mode.mobile-menu-open .navbar,
  html.dark-mode body.mobile-menu-open .navbar,
  html.light-mode body.mobile-menu-open .navbar,
  html.mc-mode body.mobile-menu-open .navbar,
  .navbar.navbar--menu-open {
    background: var(--navbar) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.cross-page-upload-status {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(22rem, calc(100vw - 2rem));
  border: 0.14rem solid var(--navbar-links-hover);
  border-radius: 0.9rem;
  background: var(--navbar);
  color: var(--navbar-links);
  z-index: 2000;
  padding: 0.85rem;
  box-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.32);
  display: none;
}

.cross-page-upload-status.is-visible {
  display: block;
}

.cross-page-upload-status__title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  overflow-wrap: anywhere;
}

.cross-page-upload-status__message {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.cross-page-upload-status__progress {
  height: 0.65rem;
  border: 0.1rem solid currentColor;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.55rem;
}

.cross-page-upload-status__bar {
  height: 100%;
  width: 0%;
  background: var(--navbar-links-hover);
}

.cross-page-upload-status__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.cross-page-upload-status__link {
  min-width: 0;
}

.cross-page-upload-status__cancel {
  border: 0.1rem solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0.25rem 0.65rem;
  white-space: nowrap;
}

.cross-page-upload-status__cancel:hover,
.cross-page-upload-status__cancel:focus-visible {
  background: var(--navbar-links-hover);
  color: var(--navbar);
}

.cross-page-upload-status.is-error {
  border-color: #ff6b6b;
}

.runtime-page .main__content {
  width: min(100%, 1500px);
}

.runtime-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 1rem;
  color: var(--p-color);
}

.runtime-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.runtime-header h1 {
  margin: 0;
}

.runtime-subtitle,
.runtime-panel__meta,
.runtime-status,
.runtime-now__artist,
.runtime-now__kicker {
  color: var(--p-color);
  opacity: 0.88;
}

.runtime-header__actions,
.runtime-controls,
.runtime-volume-line,
.runtime-panel__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.runtime-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.runtime-file-button {
  display: inline-flex;
  align-items: center;
}

.runtime-now {
  display: grid;
  grid-template-columns: minmax(140px, 260px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  border: 2px solid var(--audio-item);
  border-radius: 18px;
  padding: 1rem;
  margin-bottom: 1.2rem;
  background: color-mix(in srgb, var(--background) 86%, transparent);
}

.runtime-cover-frame {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 2px solid var(--audio-item);
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 140px;
}

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

.runtime-cover-empty {
  padding: 1rem;
  text-align: center;
  color: var(--p-color);
}

.runtime-now__main {
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}

.runtime-now__title {
  color: var(--h2-color);
  overflow-wrap: anywhere;
  margin: 0;
}

.runtime-seek-line,
.runtime-volume-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.runtime-volume-line {
  grid-template-columns: auto minmax(120px, 280px);
  justify-content: start;
}

.runtime-seek-line input,
.runtime-volume-line input {
  min-width: 0;
  width: 100%;
  accent-color: var(--a);
}

.runtime-small {
  min-height: 2.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
}

.runtime-mini {
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
}

.runtime-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) minmax(340px, 1.45fr) minmax(230px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.runtime-panel {
  border: 2px solid var(--audio-item);
  border-radius: 14px;
  padding: 1rem;
  min-width: 0;
  background: color-mix(in srgb, var(--background) 86%, transparent);
}

.runtime-panel__head {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.runtime-panel__head h2 {
  margin: 0;
}

.runtime-panel__head--row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.runtime-search {
  width: 100%;
}

.runtime-albums,
.runtime-tracks,
.runtime-queue,
.runtime-history {
  display: grid;
  gap: 0.6rem;
  max-height: min(68vh, 720px);
  overflow: auto;
  padding-right: 0.25rem;
}

.runtime-album,
.runtime-track,
.runtime-queue-row,
.runtime-history-row {
  width: 100%;
  border: 1px solid var(--audio-item);
  border-radius: 12px;
  background: transparent;
  color: var(--p-color);
  text-align: left;
}

.runtime-album {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  cursor: pointer;
}

.runtime-album.is-selected,
.runtime-track.is-playing {
  outline: 2px solid var(--a);
  outline-offset: 2px;
}

.runtime-album__cover {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid var(--audio-item);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 0.68rem;
  text-align: center;
}

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

.runtime-album__text,
.runtime-track__text {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.runtime-album__text strong,
.runtime-track__text strong {
  overflow-wrap: anywhere;
}

.runtime-album__text small,
.runtime-track__text small {
  opacity: 0.82;
  overflow-wrap: anywhere;
}

.runtime-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
}

.runtime-track__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: transparent;
  color: var(--p-color);
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.runtime-track__number {
  opacity: 0.8;
  white-space: nowrap;
}

.runtime-track__actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.runtime-queue-row,
.runtime-history-row {
  padding: 0.55rem;
  cursor: pointer;
}

.runtime-history-wrap {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.runtime-history-wrap h2 {
  margin: 0;
}

.runtime-panel a.main__btn {
  text-decoration: none;
}

@media screen and (max-width: 1100px) {
  .runtime-grid {
    grid-template-columns: 1fr;
  }

  .runtime-albums,
  .runtime-tracks,
  .runtime-queue,
  .runtime-history {
    max-height: none;
  }
}

@media screen and (max-width: 720px) {
  .runtime-now {
    grid-template-columns: 1fr;
  }

  .runtime-panel__head--row,
  .runtime-track {
    grid-template-columns: 1fr;
  }

  .runtime-track__actions {
    justify-content: flex-start;
  }
}

.native-runtime-page .main__content {
    max-width: min(96vw, 1680px);
}
.native-runtime-shell {
    gap: 1rem;
}
.native-runtime-status,
.native-runtime-missing,
.native-runtime-details {
    border: 1px solid var(--media-item);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    color: var(--p-color);
    background: rgba(128, 128, 128, 0.055);
}
.native-runtime-frame-wrap {
    border: 1px solid var(--media-item);
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    width: 100%;
    min-height: min(78vh, 960px);
}
.native-runtime-frame {
    display: block;
    width: 100%;
    height: min(78vh, 960px);
    min-height: 720px;
    border: 0;
    background: #000;
}
.native-runtime-missing {
    display: grid;
    gap: 0.8rem;
    justify-items: start;
}
.native-runtime-missing pre,
.native-runtime-details pre {
    width: 100%;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border: 1px solid var(--media-item);
    border-radius: 12px;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.12);
    color: var(--p-color);
}
.native-runtime-details summary {
    cursor: pointer;
    color: var(--p-color);
}
.native-runtime-details dl {
    display: grid;
    gap: 0.5rem;
    margin: 0.8rem 0;
}
.native-runtime-details dl > div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0.7rem;
}
.native-runtime-details dt {
    color: var(--h3-color);
}
.native-runtime-details dd {
    margin: 0;
    color: var(--p-color);
    overflow-wrap: anywhere;
}
@media screen and (max-width: 768px) {
    .native-runtime-frame {
        min-height: 540px;
        height: 72vh;
    }
    .native-runtime-details dl > div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}
