:root {
  --strokecolor: #444444;
  --strokecolor2: #333333;
  --background: #141414;
  --text: white;
  --footer-layout-direction: column;
  --footer-tasteofcolors-orientation: column;
  --footer-tasteofcolors-ratio: 1 / 1;
  --layout-gap: 0px;
  --accentcolor-1: #dfff93;
  --accentcolor-2: hsl(165, 100%, 79%);
  --limit: 1600px;
  --fontset-standard: "Roboto", system-ui, Arial, sans-serif;
  --fontset-sans: "Roboto", system-ui, Arial, sans-serif;
  --fontset-serif: "Noto Serif", "Times New Roman", Arial, serif;
  --fontset-mono: "Roboto Mono", Consolas, monospace;
  --fontset-mono-substitute: "Inconsolata", Consolas, monospace;
}

:focus:not(:focus-visible) {
  outline: none;
}

html::selection {
  background: #dfff937a;
  color: black;
}

body {
  position: relative;
  margin: 0;
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: 16px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--background);
  color: var(--text);
  overflow-y: auto;
  font-family: var(--fontset-standard);
  user-select: none;

  * {
    box-sizing: border-box;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
    padding: 0;
    font-family: var(--fontset-mono);
  }

  p {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  small {
    margin: 0;
    padding: 0;
    text-align: center;
  }
}

body {
  scrollbar-color: var(--background) var(--strokecolor);
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/bg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: 0.5;
}

@media only screen and (max-width: 800px) {
  html {
    zoom: 0.85;
  }

  .tasteofcolors_app_container {
    zoom: 1.18;

    .FFBEDF2242, .DFFEF34435 {
      zoom: 0.85;
    }
  }

  .cursor {
    zoom: 1.18;
  }
}

header {
  width: calc(100% + 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 8px;
  background-image: var(--background-image, url(../assets/bg.webp));
  background-position: center;
  background-size: cover;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--strokecolor);
}

.tint {
  filter: invert(0.5) brightness(2);
}

a {
  text-decoration: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: var(--text);
  gap: 12px;
  color: var(--accentcolor-1);

  img {
    padding-left: 2px;
    padding-right: 4px;
  }

  span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-box-trim: trim-both;
    text-box-edge: cap;
    line-height: 0.8em;
  }
}

img {
  -webkit-user-drag: none;
}

table {
  border: 1.5px solid #323232;
  width: 100%;
  min-width: 300px;
  padding: 16px;

  font-family: var(--fontset-standard);
  font-size: 14px;

  overflow-x: auto;
}

th,
td {
  padding: 8px;
  border: 1.5px solid var(--strokecolor);
}

td#qwrknhqwq352sd {
  display: flex !important;
  flex-direction: row;
}

td {
  padding: 8px;
  border: 1.5px solid var(--strokecolor);
  background-color: #242424;

  box-shadow: 0px 0px 0px 0px var(--background);
  gap: 16px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;

  div {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  span {
    width: 100%;
    display: flex !important;
    flex-direction: var(--footer-layout-direction) !important;
    text-align: left;
    align-items: flex-start;
    gap: var(--layout-gap);

    p {
      width: 100%;
      text-align: left;
    }
    p:nth-child(2),
    p:nth-child(3) {
      width: 100px;
      font-size: 12px;
      font-weight: bold;
      opacity: 0.5;
    }
  }
}

td:hover {
  transform: scale(1.01);
}

td:active {
  transform: scale(1.02);
  box-shadow: 0px 0px 24px #14141480;
}

tbody tr:hover {
  background-color: #323232;
}

dialog {
  appearance: none;
  background-color: var(--background);
  border: 1.5px solid var(--strokecolor);
  color: var(--text);
  user-select: none;

  video {
    width: 100%;
    height: 80vh;
  }

  min-width: 200px;
  max-width: 640px;
  box-shadow: 0px 4px 24px #00000080;
  overflow: hidden;

  animation: scaleUp 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.videodialog {
  width: 100%;
  max-width: 95vw;
}

dialog::backdrop {
  background-color: var(--background);
  pointer-events: painted;
  opacity: 0.8;
}

.title_portfolio {
  color: var(--accentcolor-1);
  margin-top: 24px;
  margin-bottom: 16px;
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

.MAIN_PAGE_HEADLINE {
  position: relative;
  margin-top: 24px;
  margin-bottom: 12px;
  width: 100%;
  text-align: left;
  --root: clamp(2rem, 8vw, 3rem);
  font-size: calc(var(--root) * 1.2);
  padding: calc(var(--root) / 8);
  max-width: var(--limit);

  &::before {
    content: "/* ";
    color: #dfff93;
  }

  &::after {
    content: " */";
    color: #dfff93;
  }

  [data-codedesign="javascript"]&::before {
    content: "vjdy.expose('";
    color: #dfff93;
  }

  [data-codedesign="javascript"]&::after {
    content: "')";
    color: #dfff93;
  }
}

.MAIN_PAGE_DECORATIVE {
  position: relative;
  width: 100%;
  text-align: left;

  &::before {
    content: "/* ";
    color: #dfff93;
  }

  &::after {
    content: " */";
    color: #dfff93;
  }

  [data-codedesign="javascript"]&::before {
    content: "vjdy.expose('";
    color: #dfff93;
  }

  [data-codedesign="javascript"]&::after {
    content: "')";
    color: #dfff93;
  }
}

.MNS_AREA_1 {
  width: calc(100% + 16px);
  max-width: var(--limit);
  display: flex;
  flex-direction: column;
  padding: 24px;
  margin-top: -8px;
  margin-left: -8px;
  margin-bottom: -8px;

  h1 {
    font-family: var(--fontset-mono);
    line-height: 1em;
    margin: 0;
    font-size: clamp(2rem, 8vw, 6rem);
    text-shadow: 2px 2px 0px #00000080;

    &::before {
      content: "/";
      color: #dfff93;
    }

    &::after {
      content: ".";
      color: #dfff93;
    }
  }

  h2 {
    font-family: var(--fontset-mono);
    line-height: 1.2em;
    margin: 0;
    font-size: calc(clamp(2rem, 8vw, 6rem) * 0.75);
    text-shadow: 2px 2px 0px #00000080;
  }
}

.MNS_AREA_2 {
  width: 100%;
  max-width: var(--limit);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background-color: var(--background);
}

.MNS_AREA_3 {
  width: 100%;
  max-width: var(--limit);
  display: flex;
  overflow: hidden;
  overflow-x: auto;

  gap: 8px;

  div {
    background-color: var(--background);
  }

  h1 {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: var(--background);
  }
}

#moments_parent {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  height: 100%;
  padding: 8px;
  gap: 8px;
}

#music_parent {
  height: 100%;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;

  #tablex {
    max-width: 1280px;
  }
}

#videos_parent {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  #tablex {
    max-width: 1280px;
  }
}

#store_parent {
  height: 100%;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;

  section {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

.ASSETSTORE_ITEM {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.store_main {
  display: flex;
  background-color: #242424;
  flex-direction: column;
  min-width: 0;
  border: 1.5px solid var(--strokecolor);
  cursor: pointer;
  box-shadow: 0px 0px 0px 0px #ffffff20;
  transition: box-shadow 0.15s ease;
}

.store_main:hover {
  box-shadow: 0px 0px 24px 8px #ffffff20;
}

.store_main:active {
  box-shadow: 0px 0px 48px 8px #ffffff80;
}

.store_image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1.5px solid var(--strokecolor);
}

.store_info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px;

  h2,
  h6 {
    margin: 0;
    font-weight: 600;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  * {
    text-align: left !important;
  }

  small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 1280px) {
  .ASSETSTORE_ITEM {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ASSETSTORE_ITEM {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ASSETSTORE_ITEM {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 320px) {
  #moments_parent,
  #music_parent {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  #moments_parent,
  #music_parent {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  #moments_parent,
  #music_parent {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.MNS_AREA_TICKERTEXT {
  width: 100%;
  max-width: var(--limit);
  border: 1.5px solid var(--strokecolor);
  background-color: var(--background);
  overflow: hidden;
  white-space: nowrap;
  padding: min(0.5vw, 8px);

  .ticker-track {
    display: inline-block;
    padding-left: 105%;
    animation: ticker-scroll 15s linear infinite;
    animation-duration: calc(20s * var(--speed, 1));
  }

  .ticker-track span {
    font-size: min(3vw, 24px);
    flex-shrink: 0;
  }
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-105%);
  }
}

@keyframes scroll-text {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

nav {
  --root: #24242480;
  position: sticky;
  top: 0;
  background-color: var(--root);
  border-bottom: 1.5px solid var(--strokecolor);
  border-top: none;
  width: calc(100% + 32px);
  padding: 16px;
  z-index: 50;
  gap: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);

  .nav-default {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--limit);
  }

  .nav_layout {
    width: 100%;
    max-width: var(--limit);

    span {
      width: 100%;
      display: flex;
      flex-direction: row;
      gap: 16px;
      align-items: center;
      justify-content: flex-start;
    }

    display: flex;
    flex-direction: var(--footer-layout-direction);
    gap: 24px;
    align-items: center;
    justify-content: space-between;
  }
}

nav[data-type="app"] {
  position: absolute;
  top: 0;
}

button {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--fontset-mono);
}

.back-button {
  position: relative;
  margin-top: 0px;
  border: 1.5px solid var(--text);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  padding: 8px 8px;
  cursor: pointer;
  font-family: var(--fontset-mono);
}

button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  transition: all 0.2s ease;
  z-index: 1;
  backdrop-filter: invert(1);
  transform: translateX(-50%);
}

button:active::after {
  width: 100%;
  height: 125%;
}

main {
  background-color: #181818;
  border: 1.5px solid var(--strokecolor);
  margin-top: 4px;
  width: 100%;
  max-width: var(--limit);
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  margin: 16px;
  padding: 12px;
  width: calc(100% - 16px);
  max-width: 1280px;
  overflow: hidden;

  .article_layout {
    width: 100%;
    display: grid;

    grid-template-columns: 1fr;
    grid-template-rows: 1fr;

    @media (min-width: 768px) {
      grid-template-columns: 1fr 1fr;
    }

    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;

    @media (min-width: 768px) {
      &[data-order="reverse"] > :first-child {
        order: 2;
      }

      &[data-order="reverse"] > :last-child {
        order: 1;
      }
    }

    img,
    iframe {
      width: 100%;
      object-fit: cover;
    }

    img {
      border: 5px dashed rgba(255, 255, 255, 0.384);
      padding: 8px;
    }

    div {
      width: 100%;
    }
  }

  .MAIN_PAGE_HEADLINE {
    margin-top: 0;
    font-size: 2em;
  }

  p {
    text-align: left;
    width: 100%;
  }
  h2,
  h3,
  h4,
  h5,
  h6 {
    width: 100%;
    margin-top: 24px;
  }
}

.portfolio {
  border: 1.5px solid var(--strokecolor);
  width: 100%;
  margin-bottom: 4px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  padding: 8px;
  gap: 8px;

  .info_main {
    display: flex;
    padding: 12px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--strokecolor);
    background-color: #242424;

    .info_sub {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;

      small {
        text-align: left;
      }
    }
  }
}

.portfolio_explore {
  border: 1.5px solid var(--strokecolor);
  width: 100%;
  margin-bottom: 4px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  padding: 8px;
  gap: 8px;

  .info_main {
    display: flex;
    padding: 12px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    border: 1.5px solid var(--strokecolor);
    background-color: #242424;

    img {
      padding: 8px;
      --width: 30%;
      width: var(--width, 100px);
      min-width: var(--width, 100px);
      aspect-ratio: 1 / 1;
    }

    .info_sub {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;

      small {
        text-align: left;
      }
    }
  }
}

@media (min-width: 768px) {
  .MNS_AREA_2 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .MNS_AREA_3 {
    grid-template-columns: repeat(4, minmax(0, 1fr));

    h1 {
      font-size: 20px;
    }
  }

  .portfolio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio_explore {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root {
    --footer-layout-direction: row;
    --layout-gap: 8px;
  }
}

@media (min-width: 540px) {
  :root {
    --footer-layout-direction: row;
    --layout-gap: 8px;
  }

  .article_layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  :root {
    --footer-tasteofcolors-orientation: row;
    --footer-tasteofcolors-ratio: 3 / 4;
  }
}

@media (min-width: 1152px) {
  :root {
    --footer-tasteofcolors-orientation: row;
    --footer-tasteofcolors-ratio: 1 / 1;
  }
}

@media (min-width: 1440px) {
  .MNS_AREA_2 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .MNS_AREA_3 {
    grid-template-columns: repeat(4, minmax(0, 1fr));

    h1 {
      font-size: 28px;
    }
  }

  .portfolio_explore {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

footer {
  bottom: 8px;
  width: 100%;
  max-width: var(--limit);
  margin-top: 48px;
  margin-bottom: 4px;
  padding: 16px;
  display: flex;
  flex-direction: var(--footer-layout-direction);
  align-items: flex-start;
  gap: var(--layout-gap);
  justify-content: space-between;

  .info_main {
    display: flex;
    padding: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 1.5px solid var(--strokecolor);

    .info_sub {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      small {
        text-align: left;
      }
    }
  }
}

[data-ratio="1"] {
  width: 100%;
  border: 1.5px solid var(--strokecolor);
  aspect-ratio: 1 / 1;

  background-image: var(--image, url(../assets/feature/1.svg));
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

[data-ratio="2"] {
  border: 1.5px solid var(--strokecolor);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.moments_main {
  border: 1.5px solid var(--strokecolor);
  background-color: #242424;

  .moments_image {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-bottom: 2px solid var(--strokecolor);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    object-fit: cover;
  }

  .moments_info {
    padding: 8px;

    h2 {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      overflow: hidden;
    }

    small,
    p {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      text-align: left;
      line-clamp: 3;
      overflow: hidden;
    }
  }

  transition: box-shadow 0.15s ease;

  cursor: pointer;
}

.moments_main:hover {
  box-shadow: 0px 0px 24px 8px #ffffff20;
}

.moments_main:active {
  box-shadow: 0px 0px 48px 8px #ffffff80;
}

.music_main {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--strokecolor);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.music_image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.music_info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  min-width: 0;
}

.music_title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music_artist,
.music_album,
.music_format {
  display: block;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music_artist {
  font-size: 13px;
}

.music_album {
  font-size: 12px;
  opacity: 0.7;
}

.music_format {
  font-size: 11px;
  opacity: 0.5;
  text-transform: uppercase;
}

.player {
  position: absolute;
  top: calc(100% + 8px);
  align-self: flex-start;
  background-color: #141414;
  border: 2px solid var(--strokecolor);
  width: calc(100% - 16px);
  margin-bottom: 4px;
  padding: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 600px;
  z-index: 6;
  box-shadow: 0px 4px 24px #00000040;

  transition: max-width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);

  .player_layout {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;

    button {
      aspect-ratio: 1 / 1;
    }

    #artwork {
      aspect-ratio: 1 / 1;
      width: 120px;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
    }

    div {
      width: 100%;

      span {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: center;
        justify-content: space-between;

        #AUDIOPLAYER_TITLE,
        #AUDIOPLAYER_SUB {
          display: -webkit-box;
          text-align: left;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 1;
          line-clamp: 1;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
    }
  }
}

.player:has(audio[src=""]) {
  display: none;
}

@media only screen and (max-width: 800px) {
  .player {
    align-self: center;
  }
}

input[type="search"] {
  position: relative;
  width: 100%;
  background-color: var(--background);
  border: 1.5px solid var(--strokecolor);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--fontset-mono);
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  border: 2px solid #dfff93;
  border-radius: 50%;
  background-color: transparent;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #dfff93;
  transform: scale(0);
  transition: transform 0.2s ease;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

input[type="radio"]:focus-visible {
  outline: 2px solid #dfff9360;
  outline-offset: 3px;
}

input[type="radio"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

textarea {
  position: relative;
  width: 100%;
  border: 1.5px solid var(--strokecolor);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--fontset-mono);
}

select {
  color-scheme: dark;
  appearance: none;
  background: var(--background);
  position: relative;
  width: 200px;
  border: 1.5px solid var(--strokecolor);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--fontset-mono);
}

input[type="range"] {
  appearance: none;
  border: none;
  border-radius: 0px;
  height: 4px;

  accent-color: white;
  background: #363636;

  /* Used to be background color, the track */
  background-image: linear-gradient(#fff, #fff);

  /* 30% is the difference between the max and the current value (100 - 70) */
  background-size: 0% 100%;
  background-repeat: no-repeat;

  &::-webkit-scrollbar-track {
    position: relative;
    height: 2px;
  }

  &::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--text);
  }
}

.store-preview-dialog {
  width: 100vw;
  height: 100vh;
  padding: 0;
  overflow: hidden;
  overflow-y: auto;
  background: #111;
}

.store-preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.store-preview-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.store-preview-close {
  background: #00000080;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.store-preview-image {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: #000;
}

.store-preview-info {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 48px 16px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}

.store-preview-title,
.store-preview-cat,
.store-preview-description {
  margin: 0;
  animation: slideInUp 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) both;
}

.store-preview-cat {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
}

.store-preview-title {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
  animation: slideInUp 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) 0.1s both;
}

.store-preview-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
  animation: slideInUp 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.store-preview-download {
  background-color: var(--accentcolor-1);
  color: #000;
  border: none;
  margin-top: 16px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: slideInUp 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s both;
}

.moment-preview-dialog {
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-width: fit-content;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--moment-preview-bg);
}

.moment-preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.moment-preview-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(24px);
}

.moment-preview-close {
  background: #00000080;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.moment-preview-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  object-fit: contain;
  margin: 0 0;
}

.moment-preview-info {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  bottom: 0;
  width: 100%;
  height: 50%;
  padding: 48px 16px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.moment-preview-title,
.moment-preview-description {
  margin: 0;
  text-align: left;
  animation: slideInUp 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) both;
}

.moment-preview-title {
  margin: 0 0 8px;
  font-size: calc(clamp(2rem, 8vw, 3rem) * 2.2);
  line-height: 0.8em;
  margin-bottom: 24px;
  letter-spacing: -0.06em;
  font-family: var(--fontset-mono-substitute);
  font-weight: 350;
}

.moment-preview-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
  animation: slideInUp 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) 0.1s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.moment-preview-download {
  background-color: var(--accentcolor-1);
  color: #000;
  border: none;
  margin-top: 16px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: slideInUp 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) 0.2s both;
}

.snackbar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 6px;
  background: #323232;
  color: #fff;
  font: 14px sans-serif;
  box-shadow: 0 3px 12px #0005;
  border: 1.5px solid var(--strokecolor);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px dashed rgba(255, 255, 255, 0.473);
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  opacity: 0;
}

@keyframes rotation {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

.textget {
  width: 100%;
  height: 200px;
  resize: none;
  padding: 8px;
  font-family: monospace;
}

code {
  background: #404040;
  padding: 2px 4px;
}

blockquote {
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 0px;
  margin-right: 0px;
  border-left: 2px solid var(--accentcolor-1);
  padding: 12px;
  font-family: var(--fontset-sans);
  color: var(--text);
}

.tasteofcolors_app_container {
  position: absolute;
  top: 90px;
  padding: 24px;
  display: flex;
  height: calc(100dvh - 100px);
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  overflow: hidden;
  overflow-y: scroll;
  flex-direction: var(--footer-tasteofcolors-orientation);
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;

  .FFBEDF2242 {
    position: sticky;
    top: 0px;
    width: 500px;

    @media (max-width: 899px) {
      position: relative;
      height: 50%;
      width: 100%;
      aspect-ratio: 4 / 3;
    }

    padding: 24px;

    border: 3px dashed #ffffff40;

    img {
      object-fit: contain;
    }

    .DFER2143 {
      display: none;
    }
  }

  .FFBEDF2242:has(img[src=""]) {
    .DFER2143 {
      width: 100%;
      aspect-ratio: var(--footer-tasteofcolors-ratio);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      z-index: -1;
    }
  }

  .DFFEF34435 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff40;

    #TASTEOFCOLORS_TABLECOLORS {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(8, minmax(0, 1fr));
      table-layout: fixed;

      @media (max-width: 1280px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      @media (max-width: 600px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .SWATCH {
        width: 100%;
        height: 100%;
        padding: 8px;

        .SWATCH_TITLE {
          width: 100%;
          font-size: 14px;
          font-weight: bold;
          text-align: left;
        }
        .SWATCH_HEXCODE {
          width: 100%;
          font-weight: bold;
          font-family: var(--fontset-mono);
          font-size: 12px;
          text-align: left;
        }
        .SWATCH_CMYK {
          width: 100%;
          font-family: var(--fontset-mono);
          font-size: 12px;
          text-align: left;
        }
      }
    }

    h3 {
      padding: 8px 12px;
    }

    span {
      width: 100%;
      padding: 12px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;

      label {
        width: 125px;
      }

      input[type="range"] {
        width: 100%;
      }

      output {
        width: 125px;
      }
    }
  }
}
