html, body {
  width: 100%;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'RobotoMonoRegular';
  src: url('/fonts/RobotoMono-Regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  background-color: #1A1B1F;
  color: #D4D7D6;
  display: flex;
  justify-content: center;
  font-family: 'RobotoMonoRegular', monospace;
  overflow-y: scroll;
}

a {
  color: #55B5DB;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  padding-bottom: 3px;
}

h1, h2 {
  margin: 0 0 0.2em 0;
  font-size: 1em;
  color: #CC668C;
  font-weight: normal;
}

p {
  margin: 0 0 0.4em 0;
  line-height: 1.7;
}

.centered {
  text-align: center;
}
.invisible {
  visibility: hidden;
}
.no-select {
  user-select: none;
}

.text-grey {
  color: #67676E;
}
.text-green {
  color: #A8CE69;
}
.text-blue {
  color: #55B5DB;
}
.text-pink {
  color: #CC668C;
}

.background-green {
  background: #A8CE69;
}
.background-blue {
  background: #55B5DB;
}
.background-pink {
  background: #CC668C;
}

.spinner:after {
  content:"|";
  animation: anim-spinner 0.5s linear infinite;
}
@keyframes anim-spinner {
  0% { content:"|"; }
  25% { content:"/"; }
  50% { content:"-"; }
  75% { content:"\\"; }
}

.simple-table {
  display: flex;
}

.link-item {
  display: flex;
  flex-direction: row;
}
.link-item > .column-image {
  flex-shrink: 0;
  margin: 4px 15px 0 0;
  padding-bottom: 4px;
  overflow: hidden;
  width: 200px;
  height: 120px;
  border: 1px dotted rgba(255, 255, 255, 0.2);
}
@media (max-width: 600px) {
  .link-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .link-item > .column-image {
    margin-bottom: 5px;
  }
  .link-item > .column-details {
    width: 100%;
  }
  .link-item > .column-details > p:first-child {
    margin-bottom: 10px;
  }
}
.link-item > .column-image > a > img {
  width: 100%;
}
.link-item + .link-item {
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px dotted #67676E;
}

#content {
  width: calc(100% - 40px);
  padding: 20px;
  background-color: #1F212A;
}
@media (min-width: 600px) {
  #content {
    width: 600px;
  }
}

#content > .ascii {
  white-space: pre;
  line-height: 1.4;
  font-size: 12px;
  margin-bottom: 30px;
  text-align: center;
}

#content > section {
  border-radius: 2px;
  padding: 10px 10px 12px 10px;
  margin-bottom: 30px;
}
#content > section.mb-tiny {
  margin-bottom: 4px;
}
#content > section.section-white {
  border: 2px solid #C6C6C6;
}
#content > section.section-white > h2 {
  color: #C6C6C6;
}
#content > section.section-yellow {
  border: 2px solid #CEB069;
}
#content > section.section-yellow > h2 {
  color: #CEB069;
}
#content > section.section-green {
  border: 2px solid #A8CE69;
}
#content > section.section-green > h2 {
  color: #A8CE69;
}
#content > section.section-blue {
  border: 2px solid #55B5DB;
}
#content > section.section-blue > h2 {
  color: #55B5DB;
}
#content > section.section-pink {
  border: 2px solid #CC668C;
}
#content > section.section-pink > h2 {
  color: #CC668C;
}

#content > section :last-child {
  margin-bottom: 0;
}

#content > section > h2 {
  display: inline-flex;
  position: absolute;
  margin-top: -1.5em;
  background: #1F212A;
  padding: 0 6px;
  margin-left: 5px;
}

#content > p {
  margin-bottom: 30px;
}

#content > .hotkey-link {
  display: flex;
  justify-content: center;
  margin: -25px 0 20px 0;
}
#content > .hotkey-link > a {
  display: flex;
  padding: 5px 10px;
  text-decoration: none;
}
#content > .hotkey-link > a > .key {
  padding: 0 8px 1px 8px;
  color: #1F212A;
}
#content > .hotkey-link > a > .label {
  padding: 0 0 1px 12px
}

#content > .separator {
  color: #67676E;
  text-align: center;
  margin-bottom: 30px;
}

#content > nav {
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#content > nav > a {
  text-decoration: none;
  padding: 10px;
}
#content > nav > a.active {
  color: #D4D7D6;
  cursor: default;
}
#content > nav > a > .symbol {
  margin: 0 3px;
  color: #CC668C;
}
#content > nav > a.active > .symbol {
  color: #67676E;
}

#content > nav.rhombi {
  margin-bottom: 50px;
  padding: 20px 0 20px 0px;
  position: relative;
}
#content > nav.rhombi > .rhombi-group {
  display: none;
  flex-wrap: nowrap;
}
#content > nav.rhombi > #group-a:checked ~ .group-a,
#content > nav.rhombi > #group-b:checked ~ .group-b {
  display: flex;
}
#content > nav.rhombi > .rhombi-group > a {
  padding: 4px;
  margin: 0;
  content: '';
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  display: block;
  border: 3px solid #67676E;
  border-radius: 4px;
  transform: rotate(45deg);
  overflow: hidden;
  transition: 100ms border-color ease-in-out;
}
#content > nav.rhombi > .rhombi-group > a:nth-child(2n) {
  margin: 79px -31px 0 -31px;
}
@media (max-width: 525px) {
  #content > nav.rhombi > .rhombi-group > a:nth-child(4) {
    margin: 158px 158px 0 -268px;
  }
  #content > nav.rhombi > .rhombi-group > a:nth-child(5) {
    margin: 158px 0 0 -110px;
  }
}
#content > nav.rhombi > .rhombi-group > a:hover {
  border-color: #CC668C;
}
#content > nav.rhombi > .rhombi-group > a.active {
  border-color: #55B5DB;
}
#content > nav.rhombi > .rhombi-group > a::after {
  content: '';
  display: block;
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('/images/nav-spritesheet.png');
  transform: rotate(-45deg);
}
#content > nav.rhombi > .rhombi-group > a.blank::after {
  background: none;
}
#content > nav.rhombi > .rhombi-group > a.home::after {
  background-position: 22px 22px;
}
#content > nav.rhombi > .rhombi-group > a.music-cds::after {
  background-position: -56px -56px;
}
#content > nav.rhombi > .rhombi-group > a.explore-web::after {
  background-position: -135px 22px;
}
#content > nav.rhombi > .rhombi-group > a.games::after {
  background-position: -217px -56px;
}
#content > nav.rhombi > .rhombi-group > a.contact::after {
  background-position: -296px 23px;
}
#content > nav.rhombi > .rhombi-group > a.workshop::after {
  background-position: -377px -56px;
}
#content > nav.rhombi > .rhombi-group > a.yips::after {
  background-position: -457px 23px;
}
#content > nav.rhombi > .rhombi-group > .group-indicator {
  position: absolute;
  bottom: 2px;
  left: calc(50% - 18px);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#content > nav.rhombi > .rhombi-group > .group-indicator > .block {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: #67676E;
}
#content > nav.rhombi > .rhombi-group > .group-indicator > .block.active {
  background: #55B5DB;
}
#content > nav.rhombi > .rhombi-group > .arrow {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAwCAYAAADpVKHaAAAAAXNSR0IArs4c6QAAAUpJREFUWIXdmMERAiEMRYNjJ3ZgB+7BTuzAixV4sQM74YAd2IG16GlnWCaBLEnIuJnxILvw34YQAgEMbJrOX6w9pRjy/wF7SVuUglAT5wrnAHst8XLgsg2DU/nyfGBMmALYaYhTQvOPAjMTL0GwdjPxmvtVxXOhNVFvEu1cADW319xMPVPNcLNREV56xES8BTRDsef8fbkvOh+fNzY4FQOsAUrhGgAn2BYbS6vD43Ain10/r5YWKgwAELjLQgqARTxbvAegleVWRzs1/wDrgrBLXBOge51rAIiSjBRAnOEkACrptRdgSCVD2f+63S3g3JaaW5JRTa+uG4vrlgrgWExwOpiWUT0A0gIypRhcS+ftHBo4F0H5O2q7Wi3Qhp7PU4ph2PmceydjIo4ZZ70PqWQob5jcTFCCZkutNe+i83kvSM22cfHLgSin4wdwkt7KAa/Y2wAAAABJRU5ErkJggg==) center no-repeat;
  width: 31px;
  height: 48px;
  bottom: -4px;
  padding: 5px 10px;
  cursor: pointer;
  position: absolute;
  user-select: none;
}
#content > nav.rhombi > .rhombi-group > .arrow:hover {
  filter: brightness(1.2);
}
#content > nav.rhombi > .rhombi-group > .arrow.right {
  left: calc(50% + 182px);
}
#content > nav.rhombi > .rhombi-group > .arrow.left {
  left: calc(50% - 233px);
  transform: scaleX(-1);
}
@media (max-width: 525px) {
  #content > nav.rhombi > .rhombi-group > .arrow {
    bottom: 125px;
  }
  #content > nav.rhombi > .rhombi-group > .arrow.right {
    left: calc(50% + 120px);
  }
  #content > nav.rhombi > .rhombi-group > .arrow.left {
    left: calc(50% - 171px);
  }
}

#content > .gallery {
  display: flex;
  margin-bottom: 30px;
}
#content > .gallery > a {
  flex: 1;
  border: 1px dotted rgba(255, 255, 255, 0.2);
  padding-bottom: 0;
  margin-right: 7px;
}
#content > .gallery > a:last-child {
  margin-right: 0;
}
#content > .gallery > a > img {
  display: block;
  width: 100%;
}

.raven-itsuwa-nf89 {
  image-rendering: crisp-edges;
  margin: -65px 0 -45px 0;
  padding: 50px 30px;
  border: 0;
  background: none;
  transition: transform 1500ms ease-out;
  transform: rotate(4deg) scale(0.5);
}
.raven-itsuwa-nf89:focus {
  transform: rotate(-364deg) scale(0.5);
}

#content > .player-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

@keyframes anim-floaty-keeri {
  0%, 100% {
    transform: rotate(-30deg);
  }
  
  50% {
    transform: rotate(-40deg);
  }
}
#content > .player-container > .floaty-keeri {
  min-width: 180px;
}
#content > .player-container > .floaty-keeri > a > img {
  width: 140px;
  animation: anim-floaty-keeri 10s ease-in-out infinite;
  margin-top: -22px;
  position: absolute;
}
#content > .player-container > .track-number {
  font-size: 25px;
  margin-right: 20px;
  color: #67676E;
  margin-top: -1px;
}

.track-player {
  flex: 1;
  max-width: 320px;
}
.track-player > .track-name-copyable {
  border: 2px solid #CC668C00;
  border-radius: 2px;
  margin: -5px -8px 0.4em -8px;
  padding: 2px 6px 4px 6px;
  transition: 100ms border-color ease-in-out;
  cursor: pointer;
  position: relative;
}
.track-player > .track-name-copyable::after {
  content: '';
  display: block;
  position: absolute;
  right: -32px;
  top: calc(50% - 14px);
  width: 26px;
  height: 26px;
  background-color: #CC668C;
  -webkit-mask-image: url('/images/icons/copy.svg');
  mask-image: url('/images/icons/copy.svg');
  -webkit-mask-size: cover;
  mask-size: cover;
  opacity: 0;
  transition: opacity 50ms ease-in-out, background-color 50ms ease-in-out;
}
@media (max-width: 500px) {
  .track-player > .track-name-copyable::after {
    right: unset;
    left: -37px;
    top: 31px;
  }
}
.track-player > .track-name-copyable:hover {
  border-color: #CC668C;
}
.track-player > .track-name-copyable.recently-copied {
  border-color: #A8CE69;
}
.track-player > .track-name-copyable:hover::after {
  opacity: 1;
}
.track-player > .track-name-copyable.recently-copied::after {
  opacity: 1;
  background-color: #A8CE69;
}
.track-player > .track-time-panel {
  display: flex;
  width: 100%;
}
.track-player > .track-time-panel > .time-bar {
  flex: 1;
  background: #D4D7D6;
  height: 2px;
  margin: 0.6em 9px 0 9px;
  position: relative;
}
.track-player > .track-time-panel > .time-bar > .current-position {
  width: 8px;
  height: 8px;
  background: #D4D7D6;
  position: absolute;
  left: 0;
  top: -3px;
  margin-left: -4px;
}

.jewel-case-container {
  display: flex;
  justify-content: center;
  margin: -20px -20px 30px -20px;
  flex-wrap: wrap;
}
.jewel-case {
  display: flex;
  width: 300px;
  height: 255px;
  flex-shrink: 0;
  border: 1px dotted rgba(255, 255, 255, 0.5);
  box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 20px;
}
.jewel-case > .texture {
  width: 23px;
  background: repeating-linear-gradient(90deg, #3F3F3F, #1F1F1F 2px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.jewel-case > .cover {
  flex: 1;
  border: 2px dotted rgba(0, 0, 0, 0.3);
  position: relative;
  image-rendering: crisp-edges;
}
.jewel-case > .cover::after {
  content: '';
  display: block;
  position: absolute;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  left: 0;
  top: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.jewel-case.small {
  width: 90px;
  height: 77px;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
}
.jewel-case.small > .texture {
  width: 7px;
}
.jewel-case.small > .cover {
  border-width: 1px;
}

.link-celestial {
  display: inline-flex;
  text-decoration: none;
  position: relative;
  padding: 0;
  background: #1A1B1F;
  overflow: hidden;
  margin: 6px 0;
}
.link-celestial .label {
  position: relative;
  padding: 1px 10px 3px 9px;
  filter:
    drop-shadow(1px 1px 0 #1A1B1F)
    drop-shadow(-1px 1px 0 #1A1B1F)
    drop-shadow(1px -1px 0 #1A1B1F)
    drop-shadow(-1px -1px 0 #1A1B1F);
}
@keyframes anim-celestial-link-effect {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -200px 128px;
  }
}
.link-celestial .effect {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #373B4D;
  box-sizing: border-box;
  image-rendering: crisp-edges;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABACAMAAABoZcgZAAAAAXNSR0IArs4c6QAAAFpQTFRFAAAAzGaMqVd3hUhhYjlLPio1GhsfAAAAAAAAAAAAAAAAVbXbSpe2PniQMllrJjpFGhsfAAAAAAAAAAAAAAAA1NfWr7KyioyNZWdpQEFEGhsfAAAAAAAAAAAAhedK2wAAAB50Uk5TAP//////////////////////////////////////9DgaNwAAAFlJREFUaIHt2LkRwCAMBEAcE9N/q05cAMHxyLNbgAikgROtAUk9WOsJ1gIAgE8ysgKl2TqhirH/yKkLQqhY4UC3uZenGgAASLBqUoqBhar8F3M3E/ojwkLACz/fAKVqTqb7AAAAAElFTkSuQmCC');
  animation: anim-celestial-link-effect 10s ease-in-out infinite;
  transition: border-color 100ms ease-in-out;
}
.link-celestial:hover .effect {
  border-color: #55B5DB;
}
