@font-face {
  font-family: "DroidSans";
  src: url("./fonts/DroidSans.woff");
  src: local("DroidSans"), url("./fonts/DroidSans.woff") format("woff"),
    url("./fonts/DroidSans.ttf") format("truetype");
}

:root {
  --spotify-black: #121212;
  --spotify-dark: #181818;
  --spotify-darker: #0d0d0d;
  --spotify-gray: #282828;
  --spotify-light-gray: #535353;
  --spotify-green: #1db954;
  --spotify-green-hover: #1ed760;
  --spotify-white: #ffffff;
  --spotify-text-gray: #b3b3b3;
  --spotify-accent: #1db954;
  --spotify-hover: rgba(255, 255, 255, 0.1);
  --spotify-card: #1e1e1e;
  --spotify-border: rgba(255, 255, 255, 0.1);
}

html,
body {
  margin: 0px 0px 0px 0px;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  font-family: DroidSans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14px;
  line-height: 1.4;
  background: linear-gradient(135deg, var(--spotify-black) 0%, var(--spotify-dark) 50%, var(--spotify-darker) 100%);
  color: var(--spotify-white);
  overflow: auto !important;
}

a,
a:hover,
a:active {
  color: var(--spotify-green);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--spotify-green-hover);
  text-decoration: underline;
}

img {
  border: 0;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
}

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

form,
input,
ul,
li,
select,
option,
textarea,
p,
div,
span,
small,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: DroidSans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  color: var(--spotify-white);
  font-weight: 700;
}

h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

strong {
  font-weight: 600;
  /*color: var(--spotify-white);*/
}

.center {
  text-align: center;
}

.copyright_footer {
  font-size: 0.75rem;
  text-align: center;
  color: var(--spotify-text-gray);
  padding: 20px;
}
.copyright_footer,
.copyright_footer > a {
  color: var(--spotify-text-gray);
}

@keyframes animate-sidebar-in {
  from {
    width: 0px;
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    width: 320px;
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes animate-sidebar-out {
  from {
    width: 320px;
    opacity: 1;
    transform: translateX(0);
  }
  to {
    width: 0px;
    opacity: 0;
    transform: translateX(100%);
  }
}

#sidebar {
  margin-right: 10px;
  display: block;
  position: fixed;
  top: 0px;
  bottom: 0px;
  right: 0px;
  border: none;
  padding: 0;
  height: 100vh !important;
  background: var(--spotify-dark);
  color: var(--spotify-white);
  overflow: hidden;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

#sidebar-content {
  background: var(--spotify-dark) !important;
  color: var(--spotify-white);
  padding: 24px 16px;
  margin: 0;
 
  margin-top: 0;
  height: calc(100vh - 48px);
  border: none;
  border-radius: 0;
  width: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--spotify-light-gray) transparent;
}

#sidebar-content::-webkit-scrollbar {
  width: 8px;
}

#sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

#sidebar-content::-webkit-scrollbar-thumb {
  background: var(--spotify-light-gray);
  border-radius: 4px;
}

#sidebar-content::-webkit-scrollbar-thumb:hover {
  background: var(--spotify-text-gray);
}

#sidebar-button {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  color: var(--spotify-white);
  background: var(--spotify-gray);
  text-align: center;
  line-height: 48px;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  transition: all 0.2s ease;
  display: none;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#sidebar-button:hover {
  background: var(--spotify-light-gray);
  transform: scale(1.05);
}

#sidebar-off {
  position: absolute;
  top: 16px;
  right: 6px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  color: var(--spotify-white);
  background: var(--spotify-gray);
  margin: 0;
  padding: 0;
  padding-left: 13px;
  font-size: 1.5rem;
  line-height: 48px;
  transition: all 0.2s ease;
  display: block;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#sidebar-off:hover {
  background: var(--spotify-light-gray);
  transform: scale(1.05);
}

.sidebar-hide {
  width: 0px;
  overflow: hidden;
  animation-name: animate-sidebar-out;
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
  opacity: 0;
}

.sidebar-show {
  width: 320px;
  display: block;
  overflow: auto;
  opacity: 1;
  animation-name: animate-sidebar-in;
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#onlinelist {
  display: block;
}

#side-menu {
  display: none;
}

#side-roomlist {
  display: none;
}

#no-autoscroll {
  position: absolute;
  top: 16px;
  right: 340px;
  width: auto;
  height: auto;
  border: none;
  background: var(--spotify-card);
  text-align: center;
  border-radius: 20px;
  margin: 0;
  padding: 8px 16px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--spotify-white);
  z-index: 200;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#no-autoscroll:hover {
  background: var(--spotify-gray);
  transform: translateY(-1px);
}

.image-preview {
  width: auto;
  max-height: 200px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-preview:hover {
  transform: scale(1.02);
}

.options-menu {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--spotify-text-gray);
}

.onlinelist-row {
	display: flex;
	padding: 0 !important;
	margin: 0;
	width: 100%;
}

.onlinelist-status {
	float: left;
	height: 40px;
	width: 16px !important;
	padding: 12px 2px !important;
	margin: 0 !important;
	text-align: center;
}

.onlinelist-avatar {
	float: left;
	width: 40px;
  max-height: 40px;
  border-radius: 50%;
  display: block;
  border: 2px solid var(--spotify-border);
  transition: border-color 0.2s ease;
  background-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 3px 0 !important;
  padding: 3px !important; 
  margin: 3px !important;
}

.onlinelist-avatar:hover {
  border-color: var(--spotify-green);
}

.onlinelist-username {
	float: left;
	width: calc(100% - 116px) !important;
	min-height: 40px;
	padding: 5px 5px !important;
	margin:auto 0 !important;
	text-align: left;
	border: 0px solid #fff;
	cursor: pointer;
}

.onlinelist-whisper {
	float: right; 
	width: 30px;
	height: 40px;
	cursor: pointer;
}

.onlinelist-gender {
	float: left;
	width: 20px !important;
	height: 40px;
	padding: 9px 5px 0px 0px !important;
	margin:auto 0;
	text-align: center;
	border: 1px solid: #fcc
}

.male {
  color: #7dd3fc;
  background: linear-gradient(135deg, var(--spotify-card), var(--spotify-gray));
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 2px 2px;
  border: 0px solid var(--spotify-border);
}

.female {
  color: #f472b6;
  background: linear-gradient(135deg, var(--spotify-card), var(--spotify-gray));
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 2px 2px;
  border: 0px solid var(--spotify-border);
}

.trans {
  background: linear-gradient(135deg, var(--spotify-card), var(--spotify-gray));
  color: var(--spotify-white);
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 2px 2px;
  border: 0px solid var(--spotify-border);
}

.couple {
  background: linear-gradient(135deg, var(--spotify-card), var(--spotify-gray));
  color: #fff;
  height: 20px;
  width: 20px;
  border-radius: 16px;
  font-size: 1.1em;
  font-weight: 600;
  padding: 2px 2px;
  border: 0px solid var(--spotify-border);
}

.row1 {
	background: var(--spotify-card) !important;
	color: var(--spotify-white);
}
.row2 {
	background: var(--spotify-grey) !important;
	color: var(--spotify-text-grey);
}

.ghost {
  font-size: 0.8rem;
  line-height: 1.2;
  color: #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.2));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  margin: 0;
  padding: 4px 8px;
}

.chat-output {
  position: absolute;
  top: 0;
  width: 100% !important;
  color: var(--spotify-white);
  background: transparent;
  min-height: calc(100% - 120px) !important;
  height: calc(100% - 120px) !important;
  resize: vertical;
  border: none;
  margin-top: 0px;
  overflow: hidden;
  padding-right: 26px !important;
}

.chat-footer {
  background: var(--spotify-card) !important;
  color: var(--spotify-white);
  height: 120px;
  padding: 16px;
  border: none;
  width: calc(100% - 320px);
  border-top: 1px solid var(--spotify-border);
  backdrop-filter: blur(10px);
}

.output-left {
  background: transparent;
  padding: 16px 10px;
}

.output-right {
  padding: 16px;
  background: transparent;
}

.input-left {
  position: relative;
  right: 0;
  top: 0;
  float: left;
  width: calc(100% - 380px);
  padding: 8px;
  margin: 0;
  height: 100%;
  background: transparent;
}

.input-tools,
.input-options {
  position: relative;
  right: 0;
  top: 0;
  float: left;
  width: 380px;
  padding: 8px;
  margin: 0;
  height: 100% !important;
  background: transparent;
}

.tools-switcher {
  cursor: pointer;
  color: var(--spotify-text-gray);
  transition: color 0.2s ease;
}

.tools-switcher:hover {
  color: var(--spotify-white);
}

.tools-switcher-btn {
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  background: var(--spotify-gray);
  border: none;
  color: var(--spotify-white);
  transition: all 0.2s ease;
}

.tools-switcher-btn:hover {
  background: var(--spotify-light-gray);
}

.tools-content {
  display: inline-flex;
  background: var(--spotify-card);
  color: var(--spotify-white);
  top: 0;
  height: 100vmax;
  width: 100%;
  border: 1px solid var(--spotify-border);
  border-right: none;
  margin-left: 32px;
  border-radius: 0 0 0 8px;
}

@media only screen and (min-width: 1025px) {
  #sidebar-button {
    display: none;
  }
  #sidebar {
    display: block;
  }
  #sidebar-off {
    display: none;
  }
  .chat-output {
    width: calc(100% - 50px) !important;
  }
  #sidebar {
    border: none;
    padding: 0px;
    height: 100% !important;
    background: var(--spotify-dark);
    color: var(--spotify-white);
  }
  #sidebar-content {
    background: var(--spotify-dark) !important;
    padding: 24px 16px;
    margin: 0;
    margin-top: 0px;
    height: calc(100% - 48px);
    border: none;
    border-radius: 0;
    width: 320px;
  }
}

@media only screen and (max-width: 1024px) {
  .chat-output {
    background: transparent;
    width: 100% !important;
  }
  .chat-footer {
    background: var(--spotify-card);
    width: 100%;
    height: 120px;
    color: var(--spotify-white);
  }
  .output-left {
    padding: 12px;
    padding-bottom: 16px;
  }
  .output-right {
    display: none;
  }
  .input-left {
    width: 100%;
  }
  .input-tools,
  .input-options {
    display: none;
  }
  .header-middle,
  .header-right {
    display: none;
  }
  #chatmessages {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: inline-block;
  }

  #sidebar-button {
    display: block;
  }

  #sidebar {
    display: block;
  }
  #sidebar-off {
    display: block;
  }

  #no-autoscroll {
    position: absolute;
    top: 16px;
    right: 80px;
    width: auto;
    height: auto;
    border: none;
    background: var(--spotify-card);
    text-align: center;
    border-radius: 16px;
    margin: 0;
    padding: 8px 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--spotify-white);
  }
}

.tbl {
  color: var(--spotify-white);
  width: 100%;
  height: auto;
  background: var(--spotify-card);
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--spotify-border);
  margin: 8px 0;
}

.tbl-border {
  background: var(--spotify-card);
  padding: 0px;
  text-align: left;
  border: 1px solid var(--spotify-border);
  border-radius: 12px 12px 0 0;
  color: var(--spotify-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tblheader {
  height: auto;
  color: var(--spotify-white);
  background: var(--spotify-gray);
  font-family: DroidSans !important;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px;
  border: none;
  border-radius: 12px 12px 0 0;
}

.tblcell {
  color: var(--spotify-white);
  height: auto;
  background: var(--spotify-card);
  text-align: left;
  font-size: 0.9rem;
  font-weight: normal;
  padding: 12px 16px;
  border-radius: 0px;
  margin: 0;
  border-bottom: 1px solid var(--spotify-border);
}

.tblcell:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

div, p, table, .col {
  color: var(--spotify-white);
}

.cell1 {
  background: var(--spotify-card);
  color: var(--spotify-white);
  padding: 16px !important;
  border-radius: 12px;
  border: 1px solid var(--spotify-border);
}

.cell2 {
  background: var(--spotify-gray) !important;
  color: var(--spotify-text-gray);
  padding: 16px !important;
  border-radius: 12px;
}

input,
select,
option,
textarea,
.formfield,
.formfield:focus {
  height: auto;
  padding: 12px 16px;
  background: var(--spotify-gray);
  color: var(--spotify-white);
  font-family: DroidSans !important;
  font-size: 1rem;
  border: 1px solid var(--spotify-border);
  border-radius: 24px;
  transition: all 0.2s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
.formfield:focus {
  border-color: var(--spotify-green);
  box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: var(--spotify-text-gray);
}

input:-webkit-autofill, 
input:-webkit-autofill:focus {
  -webkit-box-shadow: inset 0 0 0px 9999px var(--spotify-gray);
  -webkit-text-fill-color: var(--spotify-white);
}

.formbutton {
  height: auto;
  padding: 12px 24px;
  width: auto;
  color: var(--spotify-black);
  background: var(--spotify-green);
  text-align: center;
  font-family: DroidSans !important;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
}

.formbutton:hover {
  background: var(--spotify-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.logoutbutton {
  background: #e22134;
  color: var(--spotify-white);
}

.logoutbutton:hover {
  background: #c41e3a;
}

.bottom-menu-button {
  font-size: 1rem !important;
  padding: 10px 20px;
  background: var(--spotify-card);
  color: var(--spotify-white);
  border: 1px solid var(--spotify-border);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.bottom-menu-button:hover {
  background: var(--spotify-gray);
  border-color: var(--spotify-green);
}

.messagetime {
  display: inline-block;
  background: var(--spotify-card);
  color: var(--spotify-green);
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace !important;
  font-size: 0.75rem;
  font-weight: 500;
  width: auto;
  text-align: center;
  border: 1px solid var(--spotify-border);
  border-radius: 12px;
  padding: 4px 8px;
  margin: 0 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.chatrow {
  display: block;
  padding: 12px 16px;
  background: var(--spotify-card);
  border-radius: 16px;
  margin: 8px 16px;
  border: 1px solid var(--spotify-border);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chatrow:hover {
  background: var(--spotify-gray);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chatmessage {
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 1rem;
  font-weight: normal;
  color: var(--spotify-white);
  max-width: 100%;
  height: auto !important;
  padding: 8px 0 !important;
  line-height: 1.5;
}

.botmessage {
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 1rem;
  font-weight: normal;
  color: var(--spotify-green);
  max-width: 100%;
  padding: 12px 0;
  line-height: 1.5;
}

.sysmessage {
  display: block;
  border: none;
  border-radius: 12px;
  background: rgba(29, 185, 84, 0.1);
  font-size: 0.9rem;
  font-weight: normal;
  font-style: normal;
  color: var(--spotify-text-gray);
  padding: 8px 12px;
  max-width: 100%;
  border: 1px solid rgba(29, 185, 84, 0.2);
  margin: 4px 0;
}

.privmessage {
  border: none;
  background: rgba(244, 63, 94, 0.1);
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  max-width: 100%;
  height: auto !important;
  padding: 12px !important;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #f97316;
}

.privmessage_intro {
  color: var(--spotify-white);
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #e11d48, #dc2626);
  padding: 6px 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3);
}

.room_comein {
  float: left;
  font-size: 1.2rem;
  background: var(--spotify-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border: none;
  border-radius: 50%;
}

.room_goout {
  float: left;
  font-size: 1.2rem;
  background: #e11d48;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19 13H5v-2h14v2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border: none;
  border-radius: 50%;
}

#smilies_list {
  text-align: center;
  padding: 24px 16px !important;
  font-style: normal;
  background: var(--spotify-card);
  border-radius: 12px;
  border: 1px solid var(--spotify-border);
}

#smilies_list img {
  max-width: 32px;
  max-height: 32px;
  border: none;
  display: inline-block;
  margin: 4px;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

#smilies_list img:hover {
  background: var(--spotify-hover);
  transform: scale(1.1);
}

.list-group,
.list-group-item {
  background: transparent;
  border: none;
  display: block;
  padding: 8px 0;
}

.list-group-item {
  color: var(--spotify-text-gray);
  transition: color 0.2s ease;
}

.list-group-item:hover {
  color: var(--spotify-white);
}

.message-success {
  background: linear-gradient(135deg, var(--spotify-green), #16a34a);
  color: var(--spotify-white);
  font-size: 0.9rem;
  padding: 12px 16px;
  margin: 8px 0;
  text-align: center;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
}

.message-alert {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: var(--spotify-white);
  font-size: 0.9rem;
  padding: 12px 16px;
  margin: 8px 0;
  text-align: center;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.login_alert {
  background: rgba(220, 38, 38, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 12px;
}

.index_forms {
  width: 400px;
  max-width: 90%;
  margin: 0 auto;
  height: auto;
  padding: 24px;
  background: var(--spotify-card);
  border-radius: 16px;
  border: 1px solid var(--spotify-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.loginform_user,
.loginform_guest,
.loginform_password,
.loginform_roomselect {
  width: 100%;
  display: block;
  margin-bottom: 16px;
}

.loginform_roomoption {
  color: var(--spotify-white);
}

.loginform_passwordlink {
  font-weight: normal;
  font-size: 0.9rem;
  color: var(--spotify-green);
}

.loginform_passwordlink:hover {
  color: var(--spotify-green-hover);
}

.loginform_button {
  width: 100%;
  margin: 16px 0 0 0;
}

.newsticker {
  max-width: 100vw;
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--spotify-card), transparent);
  padding: 8px 0;
  border-radius: 8px;
}

.newsticker span {
  display: inline-block;
  padding-left: 105%;
  animation: marquee 30s linear infinite;
  color: var(--spotify-text-gray);
  font-size: 0.9rem;
}

.newsticker span:hover {
  animation-play-state: paused;
  color: var(--spotify-white);
}

@keyframes newsticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: var(--spotify-card);
  border-radius: 8px;
  padding: 12px 0;
}

.marquee span {
  display: inline-block;
  padding-left: 102%;
  animation: marquee 15s linear infinite;
  color: var(--spotify-green);
  font-weight: 500;
}

.marquee span:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-102%);
  }
}

.index_footer {
  text-align: center;
  padding: 24px;
  color: var(--spotify-text-gray);
}

.index_rendertime {
  color: var(--spotify-text-gray);
  font-size: 0.75rem;
  opacity: 0.7;
}

.register_forms {
  width: 400px;
  max-width: 90%;
  margin: 0 auto;
  height: auto;
  padding: 24px;
  background: var(--spotify-card);
  border-radius: 16px;
  border: 1px solid var(--spotify-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.registerform_user,
.registerform_password,
.registerform_mail,
.registerform_genderselect,
.registerform_captcha_code {
  width: 100%;
  display: block;
  margin-bottom: 16px;
}

.registerform_button {
  width: 100%;
  margin: 16px 0 0 0;
}

.modal-header {
  padding: 20px 24px;
  background: var(--spotify-gray);
  color: var(--spotify-white);
  border-radius: 16px 16px 0 0;
  border: none;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 24px;
  color: var(--spotify-white);
  margin: 0;
  background: var(--spotify-card);
}

.modal-footer {
  padding: 16px 24px;
  background: var(--spotify-dark);
  border-radius: 0 0 16px 16px;
  color: var(--spotify-white);
  margin: 0;
  border: none;
  border-top: 1px solid var(--spotify-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-content {
  position: relative;
  background: var(--spotify-card);
  border-radius: 16px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--spotify-border);
  width: 100%;
  height: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  color: var(--spotify-white);
  animation-name: animatetop;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
  cursor: pointer;
  background: transparent;
  width: 24px;
  height: 24px;
  border: none;
  color: var(--spotify-text-gray);
  font-size: 1.5rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--spotify-white);
}

.modal-close::before {
  content: "×";
}

@keyframes animatetop {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#player {
  background: var(--spotify-card);
  width: 280px;
  margin-left: 0;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid var(--spotify-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#player input[type="image"] {
  float: left;
  height: 24px;
  margin-left: 4px;
  margin-right: 8px;
  margin-top: 4px;
  border-radius: 4px;
}

#vol_img {
  margin-left: 0px;
  width: 32px;
  filter: brightness(0) saturate(100%) invert(70%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(96%) contrast(97%);
}

input[type="range"] {
  height: 40px;
  -webkit-appearance: none;
  margin: 12px 0;
  width: 140px;
  background-color: transparent;
  border: none;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--spotify-light-gray);
  border-radius: 2px;
  border: none;
  transition: background 0.2s ease;
}

input[type="range"]:hover::-webkit-slider-runnable-track {
  background: var(--spotify-green);
}

input[type="range"]::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  background: var(--spotify-white);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6px;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.2);
  background: var(--spotify-green);
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--spotify-light-gray);
  border-radius: 2px;
  border: none;
}

input[type="range"]::-moz-range-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--spotify-white);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: var(--spotify-light-gray);
  border: none;
  border-radius: 2px;
}

input[type="range"]::-ms-fill-upper {
  background: var(--spotify-light-gray);
  border: none;
  border-radius: 2px;
}

input[type="range"]::-ms-thumb {
  margin-top: 1px;
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--spotify-white);
  cursor: pointer;
}

input[type="range"]:focus::-ms-fill-lower {
  background: var(--spotify-green);
}

input[type="range"]:focus::-ms-fill-upper {
  background: var(--spotify-green);
}

#coverimage {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 80px;
  height: 80px;
  padding: 0;
  overflow: hidden;
  background: var(--spotify-gray);
  border: 2px solid var(--spotify-border);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#coverimage img {
  max-width: 76px;
  max-height: 76px;
  border: none;
  border-radius: 6px;
}

.player {
  position: relative;
  right: 0px;
  top: 10px;
  width: 288px;
  height: 120px;
  padding: 16px;
  margin: 0;
  margin-bottom: 25px;
  background: var(--spotify-card);
  border: 1px solid var(--spotify-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.playerdisplay {
  position: absolute;
  left: 103px;
  top: 16px;
  height: 64px;
  width: 173px;
  padding: 8px;
  margin: 0;
  color: var(--spotify-green);
  font-family: DroidSans !important;
  font-size: 0.8rem;
  background: var(--spotify-darker);
  /*background: transparent;*/
  border: 2px solid var(--spotify-border);
  /*border: 1px solid var(--spotify-border);*/
  border-radius: 8px;
  overflow: hidden;
 
}

#song_title {
  position: absolute;
  top: 24px;
  left: 8px;
  width: 154px;
  white-space: nowrap;
  font-family: DroidSans !important;
  font-size: 1.1rem;
  font-weight: 600;
  overflow: hidden;
  border: none;
  background: transparent;
  color: var(--spotify-white);
}

#play_button {
  position: absolute;
  left: 112px;
  top: 88px;
  width: 25px;
  height: 25px;
  padding: 0;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: var(--spotify-green);
  color: var(--spotify-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 8px rgba(29, 185, 84, 0.3);
}

#play_button:hover {
  background: var(--spotify-green-hover);
  transform: scale(1.05);
}

#speaker {
  position: absolute;
  left: 140px;
  top: 88px;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  color: var(--spotify-text-gray);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#change_vol {
  position: absolute;
  top: 70px;
  left: 150px;
}

audio {
  display: none;
}

#chathistory {
  color: var(--spotify-white);
  background: var(--spotify-card);
  border: 1px solid var(--spotify-border);
  border-radius: 12px;
  padding: 20px;
  min-height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.panel-header {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  color: var(--spotify-white);
  background: var(--spotify-gray);
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid var(--spotify-border);
}

.panel-body {
  font-size: 1rem;
  padding: 20px;
  background: var(--spotify-card);
  border-radius: 0 0 12px 12px;
}

.smiley-cat {
  height: auto;
  padding: 8px 16px;
  width: auto;
  color: var(--spotify-text-gray);
  background: var(--spotify-gray);
  text-align: center;
  font-family: DroidSans !important;
  font-size: 0.9rem !important;
  font-weight: 500;
  border: 1px solid var(--spotify-border);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 4px;
}

.smiley-cat:hover {
  color: var(--spotify-white);
  background: var(--spotify-light-gray);
  transform: translateY(-1px);
}

.smiley-cat-active {
  color: var(--spotify-black);
  background: var(--spotify-green);
  cursor: default !important;
  box-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--spotify-light-gray) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--spotify-light-gray);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--spotify-text-gray);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

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

.slide-up {
  animation: slideUp 0.3s ease-out;
}

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

.interactive {
  transition: all 0.2s ease;
}

.interactive:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

input:focus,
button:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--spotify-green);
  outline-offset: 2px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--spotify-border);
  border-top: 2px solid var(--spotify-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}