/* napster.css */
* {
  box-sizing: border-box;
}

body {
  color: #000;
  overflow: hidden;
  background: teal;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Tahoma, MS Sans Serif, Arial, sans-serif;
  font-size: 13px;
}

#root {
  display: flex;
  height: 100vh;
}

.nap-window {
  display: flex;
  background: silver;
  border: 2px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  flex-direction: column;
  flex: 1;
}

.nap-titlebar {
  color: #fff;
  display: flex;
  user-select: none;
  background: linear-gradient(to right, #000082, #1084d0);
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: 5px 8px;
  font-size: 14px;
  font-weight: bold;
}

.nap-title-left {
  display: flex;
  align-items:  center;
  gap: 8px;
}

.nap-titlebar-buttons {
  display: flex;
  gap: 3px;
}

.nap-titlebar-btn {
  display: flex;
  cursor: default;
  color: #000;
  background: silver;
  border: 1px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  justify-content: center;
  align-items:  center;
  width: 18px;
  height: 16px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
}

.nap-menubar {
  display: flex;
  background: silver;
  border-bottom: 1px solid gray;
  flex-shrink: 0;
  align-items:  center;
  padding: 2px 4px;
}

.nap-menu-item {
  cursor: default;
  color: #000;
  padding: 4px 12px;
  font-size: 13px;
}

.nap-menu-item:hover {
  color: #fff;
  background: navy;
}

.nap-menu-item-wrapper {
  position: relative;
  display: inline-block;
}

.nap-dropdown {
  position: absolute;
  z-index: 100;
  background: silver;
  border: 2px outset #fff;
  min-width: 120px;
  top: 100%;
  left: 0;
  box-shadow: 2px 2px 4px #0000004d;
}

.nap-dropdown-item {
  cursor: default;
  color: #000;
  padding: 4px 16px;
  font-size: 13px;
}

.nap-dropdown-item:hover {
  color: #fff;
  background: navy;
}

.nap-dropdown-item.active:before {
  content: "✓ ";
}

.nap-banner {
  color: #fff;
  text-shadow: 2px 2px #000c, -1px -1px #0006;
  letter-spacing: .05em;
  display: flex;
  background: linear-gradient(to right, #c00, #f60, #fc0, #f60, #c00);
  border: 2px solid #fff;
  border-color: gray #fff #fff gray;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  min-height: 28px;
  margin: 5px 5px 3px;
  padding: 5px 14px;
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
}

.nap-toolbar {
  display: flex;
  background: silver;
  border-bottom: 1px solid gray;
  flex-shrink: 0;
  padding: 5px 5px 0;
}

.nap-tab {
  cursor: default;
  color: #555;
  user-select: none;
  background: #b0aaa0;
  border: 1px solid #fff;
  border-color: #fff gray #0000 #fff;
  margin-right: 3px;
  padding: 5px 18px;
  font-size: 13px;
}

.nap-tab.active {
  position: relative;
  z-index: 1;
  color: #000;
  background: silver;
  border-bottom-color: silver;
  padding-top: 6px;
  bottom: -1px;
}

.nap-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
  flex: 1;
  gap: 6px;
  padding: 6px;
}

.nap-content:has(.nap-pane-minimized) {
  grid-template-rows: 1fr auto;
}

.nap-pane {
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  border-color: gray #fff #fff gray;
  flex-direction: column;
  flex: 1;
}

.nap-pane-header {
  color: #fff;
  user-select: none;
  display: flex;
  background: linear-gradient(to right, #000082, #1084d0);
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: bold;
}

.nap-pane-toggle {
  color: #000;
  display: flex;
  cursor: pointer;
  background: silver;
  border: 1px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  justify-content: center;
  align-items:  center;
  width: 18px;
  height: 16px;
  padding: 0;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
}

.nap-pane-toggle:active {
  border-color: #404040 #fff #fff #404040;
}

.nap-pane-minimized {
  flex: none;
  align-self:  end;
}

.nap-col-headers {
  display: grid;
  background: #d4d0c8;
  border-color: gray #fff #fff gray;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  flex-shrink: 0;
  align-items:  center;
  font-weight: bold;
}

.nap-col-header {
  white-space: nowrap;
  overflow: hidden;
  border-right: 1px solid gray;
  padding: 6px;
  font-size: 12px;
}

.nap-track-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  flex: 1;
}

.nap-track-scroll::-webkit-scrollbar {
  width: 14px;
}

.nap-track-scroll::-webkit-scrollbar-track {
  background: silver;
  border-left: 1px solid gray;
}

.nap-track-scroll::-webkit-scrollbar-thumb {
  background: silver;
  border: 2px solid #404040;
  border-color: #fff #404040 #404040 #fff;
}

.nap-track-scroll::-webkit-scrollbar-button {
  display: block;
  background: silver;
  border: 1px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  height: 14px;
}

.nap-track-row {
  display: flex;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #ebebeb;
  align-items:  center;
  gap: 8px;
  min-height: 48px;
  padding: 4px 0;
  font-size: 13px;
}

.nap-track-row:hover {
  background: #a8d4f0;
}

.nap-track-row.selected {
  color: #fff;
  background: navy;
}

.nap-track-row.playing {
  color: #fff;
  background: navy;
  font-weight: bold;
}

.nap-track-row.playing:hover, .nap-track-row.selected:hover {
  background: #0000a0;
}

.nap-track-cover {
  object-fit: cover;
  background: #ddd;
  border: 1px solid #ccc;
  border-radius: 2px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.nap-track-cover-empty {
  display: inline-block;
}

.nap-tag-folder {
  border-bottom: 1px solid #d4d0c8;
}

.nap-folder-header {
  display: flex;
  cursor: pointer;
  user-select: none;
  background: #d4d0c8;
  border-color: gray;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  align-items:  center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

.nap-folder-header:hover {
  background: #c8c4bc;
}

.nap-folder-chevron {
  display: flex;
  color: #333;
  align-items:  center;
}

.nap-folder-icon {
  display: flex;
  color: #c8a800;
  align-items:  center;
}

.nap-folder-label {
  color: #000;
}

.nap-cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 6px;
}

.nap-cell-num {
  text-align: right;
  color: #666;
  flex-shrink: 0;
  width: 34px;
  padding-right: 8px;
}

.nap-track-row.selected .nap-cell-num, .nap-track-row.playing .nap-cell-num {
  color: #aac;
}

.nap-cell-filename {
  flex: 1;
}

.nap-cell-length {
  text-align: right;
  color: #666;
  flex-shrink: 0;
  width: 46px;
  padding-right: 8px;
}

.nap-track-row.selected .nap-cell-length, .nap-track-row.playing .nap-cell-length {
  color: #aac;
}

.nap-cell-action {
  display: flex;
  justify-content: center;
  align-items:  center;
  font-size: 14px;
}

.nap-play-indicator {
  display: flex;
  color: navy;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  font-size: 8px;
}

.nap-track-row.selected .nap-play-indicator, .nap-track-row.playing .nap-play-indicator {
  color: #fff;
}

.nap-remove-btn {
  cursor: pointer;
  color: gray;
  display: flex;
  background: none;
  border: none;
  justify-content: center;
  align-items:  center;
  padding: 0 4px;
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
}

.nap-remove-btn:hover {
  color: #c00;
}

.nap-track-row.selected .nap-remove-btn, .nap-track-row.playing .nap-remove-btn {
  color: #88c;
}

.nap-drag-handle {
  color: gray;
  text-align: center;
  cursor: grab;
  flex-shrink: 0;
  width: 14px;
  padding: 0 2px;
  font-size: 9px;
}

.nap-track-row.selected .nap-drag-handle, .nap-track-row.playing .nap-drag-handle {
  color: #88c;
}

.nap-mix-toolbar {
  background: #d4d0c8;
  border-bottom: 1px solid gray;
  padding: 3px 6px;
}

.nap-mix-count {
  color: #444;
  font-size: 13px;
}

.nap-drop-active {
  background: #def !important;
}

.nap-empty-hint {
  color: gray;
  text-align: center;
  padding: 28px 20px;
  font-size: 13px;
  font-style: italic;
}

.nap-overlay {
  position: fixed;
  display: flex;
  z-index: 100;
  background: #0000008c;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

.nap-dialog {
  display: flex;
  background: silver;
  border: 2px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
}

.nap-dialog-titlebar {
  color: #fff;
  display: flex;
  user-select: none;
  background: linear-gradient(to right, #000082, #1084d0);
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: 5px 8px;
  font-size: 14px;
  font-weight: bold;
}

.nap-dialog-close {
  color: #000;
  display: flex;
  cursor: pointer;
  background: silver;
  border: 1px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  justify-content: center;
  align-items:  center;
  width: 18px;
  height: 16px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
}

.nap-dialog-close:active {
  border-color: #404040 #fff #fff #404040;
}

.nap-dialog-body {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.nap-dialog-tracklist {
  overflow-y: auto;
  background: #fff;
  border: 2px solid #fff;
  border-color: gray #fff #fff gray;
  max-height: 130px;
}

.nap-dialog-tracklist-header {
  color: #444;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #d4d0c8;
  border-bottom: 1px solid gray;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: bold;
}

.nap-dialog-track-row {
  color: #222;
  border-bottom: 1px solid #ebebeb;
  padding: 4px 8px;
  font-size: 13px;
}

.nap-dialog-track-row:last-child {
  border-bottom: none;
}

.nap-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nap-field label {
  font-size: 13px;
  font-weight: bold;
}

.nap-input {
  color: #000;
  outline: none;
  background: #fff;
  border: 2px solid #fff;
  border-color: gray #fff #fff gray;
  padding: 5px 7px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
}

.nap-input:focus {
  border-color: navy silver silver navy;
}

.nap-input.error {
  border-color: #c00 #fff #fff #c00;
}

.nap-field-error {
  color: #c00;
  font-size: 11px;
}

.nap-dialog-actions {
  display: flex;
  border-top: 1px solid gray;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 4px;
}

.nap-dialog-success {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items:  center;
  gap: 10px;
  padding: 20px 8px;
}

.nap-dialog-success-icon {
  font-size: 36px;
}

.nap-dialog-success h2 {
  margin: 0;
  font-size: 15px;
}

.nap-dialog-success p {
  color: #444;
  margin: 0;
  font-size: 13px;
}

@keyframes nap-spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.nap-spin {
  animation: nap-spin 1s linear infinite;
}

.nap-button {
  cursor: pointer;
  color: #000;
  background: #d4d0c8;
  border: 2px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  padding: 4px 14px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
}

.nap-button:active {
  border-color: #404040 #fff #fff #404040;
  padding: 5px 13px 3px 15px;
}

.nap-button:disabled {
  color: gray;
  cursor: not-allowed;
}

.nap-statusbar {
  display: flex;
  background: silver;
  border-top: 2px solid gray;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
  padding: 6px 10px 7px;
}

.nap-statusbar-row {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
}

.nap-ctrl-group {
  display: flex;
  position: absolute;
  align-items:  center;
  gap: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.nap-statusbar-track {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: 13px;
  font-weight: bold;
}

.nap-statusbar-time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  color: #444;
  min-width: 88px;
  font-size: 13px;
}

.nap-progress-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items:  center;
  gap: 10px;
}

.nap-progress-row .nap-progress-wrap {
  min-width: 0;
}

.nap-progress-wrap {
  position: relative;
  cursor: pointer;
  display: flex;
  background: none;
  align-items:  center;
  width: 100%;
  height: 20px;
}

.nap-progress-track {
  position: absolute;
  background: gray;
  border: 1px solid #fff;
  border-color: #404040 #fff #fff #404040;
  height: 7px;
  left: 0;
  right: 0;
}

.nap-progress-fill {
  position: relative;
  background: navy;
  height: 100%;
  transition: width .1s linear;
}

.nap-progress-thumb {
  position: absolute;
  pointer-events: none;
  background: #d4d0c8;
  border: 2px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  width: 13px;
  height: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nap-ctrl-btn {
  cursor: pointer;
  color: #000;
  text-align: center;
  background: linear-gradient(#e8e4dc 0%, #c8c4bc 100%);
  border: 1px solid gray;
  border-radius: 12px;
  min-width: 38px;
  padding: 5px 14px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  box-shadow: inset 0 1px #fff, inset 0 -1px #909090, 0 1px 2px #0000004d;
}

.nap-ctrl-btn:hover:not(:disabled) {
  background: linear-gradient(#f0ece4 0%, #d4d0c8 100%);
}

.nap-ctrl-btn:active:not(:disabled) {
  background: linear-gradient(#b8b4ac 0%, #d0ccc4 100%);
  box-shadow: inset 0 1px gray, inset 0 -1px #e0dcd4, 0 1px 1px #0003;
}

.nap-ctrl-btn:disabled {
  color: gray;
  cursor: default;
  opacity: .6;
}

.nap-ctrl-btn.play-pause {
  color: #0f0;
  text-shadow: 0 0 6px #0c0;
  background: linear-gradient(#2020a0 0%, #000060 100%);
  border-color: #000040;
  min-width: 80px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: inset 0 1px #4040c0, inset 0 -1px #000040, 0 1px 2px #0006;
}

.nap-ctrl-btn.play-pause:hover:not(:disabled) {
  background: linear-gradient(#3030b8 0%, navy 100%);
  box-shadow: inset 0 1px #5050d0, inset 0 -1px #000060, 0 1px 2px #0006;
}

.nap-ctrl-btn.play-pause:active {
  background: linear-gradient(#000060 0%, #2020a0 100%);
  box-shadow: inset 0 1px #000040, inset 0 -1px #4040c0, 0 1px 1px #0000004d;
}

.nap-artwork-popup {
  position: absolute;
  z-index: 50;
  animation: nap-popup-in .15s ease-out;
  background: silver;
  border: 2px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  width: 160px;
  bottom: 80px;
  left: 12px;
  box-shadow: 3px 3px 6px #0006;
}

@keyframes nap-popup-in {
  from {
    opacity: 0;
    transform: scale(.85)translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.nap-artwork-titlebar {
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  background: linear-gradient(to right, #000082, #1084d0);
  padding: 3px 6px;
  font-size: 11px;
  font-weight: bold;
}

.nap-artwork-img {
  display: block;
  object-fit: cover;
  border-top: 1px solid gray;
  width: 160px;
  height: 160px;
}

.nap-msgboard {
  display: flex;
  overflow-y: auto;
  background: #d4d0c8;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-height: 0;
  padding: 8px;
}

.nap-msgboard-form {
  display: flex;
  background: #d4d0c8;
  border: 2px solid #fff;
  border-color: gray #fff #fff gray;
  flex-direction: column;
  flex-shrink: 0;
  gap: 6px;
  padding: 8px;
}

.nap-msgboard-form-row {
  display: flex;
  align-items:  flex-start;
  gap: 6px;
}

.nap-msgboard-form-row label {
  flex-shrink: 0;
  width: 60px;
  padding-top: 3px;
  font-size: 12px;
}

.nap-input {
  background: #fff;
  border: 2px solid #fff;
  border-color: gray #fff #fff gray;
  flex: 1;
  padding: 2px 4px;
  font-family: Tahoma, MS Sans Serif, Arial, sans-serif;
  font-size: 12px;
}

.nap-textarea {
  resize: vertical;
  min-height: 54px;
}

.nap-btn {
  cursor: default;
  background: #d4d0c8;
  border: 2px solid gray;
  border-color: #fff gray gray #fff;
  align-self:  flex-end;
  padding: 3px 14px;
  font-family: Tahoma, MS Sans Serif, Arial, sans-serif;
  font-size: 12px;
}

.nap-btn:disabled {
  color: gray;
  cursor: default;
}

.nap-btn:not(:disabled):active {
  border-color: gray #fff #fff gray;
}

.nap-msgboard-error {
  color: #c00;
  font-size: 12px;
}

.nap-msgboard-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.nap-msgboard-empty {
  color: gray;
  padding: 8px;
  font-size: 12px;
}

.nap-msgboard-entry {
  background: #fff;
  border: 2px solid #fff;
  border-color: gray #fff #fff gray;
  padding: 6px 8px;
}

.nap-msgboard-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.nap-msgboard-author {
  color: #000082;
  font-size: 12px;
  font-weight: bold;
}

.nap-msgboard-date {
  color: gray;
  font-size: 11px;
}

.nap-msgboard-delete {
  color: gray;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 11px;
  line-height: 1;
}

.nap-msgboard-delete:hover:not(:disabled) {
  color: #c00;
}

.nap-msgboard-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
}

.nap-pane-tabs {
  display: flex;
  flex: 1;
  gap: 0;
}

.nap-pane-tab {
  cursor: pointer;
  color: #aac;
  user-select: none;
  padding: 4px 12px;
  font-size: 12px;
}

.nap-pane-tab:hover {
  color: #fff;
}

.nap-pane-tab-active {
  color: #fff;
  text-decoration: underline;
}

.nap-social {
  overflow-y: auto;
  background: #d4d0c8;
  flex: 1;
  padding: 10px;
}

.nap-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.nap-social-friend {
  display: flex;
  text-decoration: none;
  border: 1px solid #0000;
  flex-direction: column;
  align-items:  center;
  gap: 3px;
  padding: 4px;
}

.nap-social-friend:hover {
  background: #c8d8e8;
  border-color: #000082;
}

.nap-social-avatar {
  display: flex;
  color: #fff;
  text-shadow: 1px 1px 2px #00000080;
  border: 2px solid #999;
  justify-content: center;
  align-items:  center;
  width: 60px;
  height: 60px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.nap-social-name {
  color: #000082;
  text-decoration: underline;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 70px;
  font-size: 10px;
  font-weight: bold;
}

.nap-social-handle {
  color: gray;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 64px;
  font-size: 8px;
}

.pac-container {
  z-index: 10000 !important;
}

/* myspace.css */
.ms-page {
  display: flex;
  color: #333;
  overflow-y: auto;
  overflow-x: hidden;
  background: #036;
  flex-direction: column;
  flex: 1;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.ms-topbar {
  display: flex;
  background: #036;
  border-bottom: 1px solid #024;
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: 4px 12px;
}

.ms-topbar-left {
  display: flex;
  align-items:  center;
  gap: 8px;
}

.ms-topbar-left input[type="text"] {
  border: 1px solid #999;
  width: 100px;
  padding: 2px 4px;
  font-size: 10px;
}

.ms-topbar-left select {
  padding: 1px;
  font-size: 10px;
}

.ms-topbar-left button {
  cursor: pointer;
  background: #ddd;
  border: 1px solid #999;
  padding: 2px 8px;
  font-size: 10px;
}

.ms-topbar-links {
  display: flex;
  gap: 6px;
  font-size: 10px;
}

.ms-topbar-links a, .ms-topbar-links span {
  color: #9cf;
  text-decoration: none;
  cursor: pointer;
}

.ms-topbar-links span:hover {
  text-decoration: underline;
}

.ms-header {
  display: flex;
  background: linear-gradient(#003971 0%, #002a52 100%);
  border-bottom: 2px solid #001a33;
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: 6px 16px;
}

.ms-header-brand {
  color: #fff;
  letter-spacing: -.5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
}

.ms-header-nav {
  display: flex;
  gap: 14px;
  font-size: 11px;
}

.ms-header-nav span {
  color: #ace;
  cursor: pointer;
  text-decoration: underline;
}

.ms-header-nav span:hover {
  color: #fff;
}

.ms-nav-item-wrapper {
  position: relative;
  display: inline-block;
}

.ms-dropdown {
  position: absolute;
  z-index: 100;
  background: #036;
  border: 1px solid #ace;
  min-width: 100px;
  top: 20px;
  right: 0;
  box-shadow: 2px 2px 6px #0006;
}

.ms-dropdown-item {
  color: #ace;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 12px;
  font-size: 11px;
}

.ms-dropdown-item:hover {
  color: #fff;
  background: #048;
}

.ms-theme-toggle {
  position: absolute;
  z-index: 50;
  color: #ccc;
  cursor: pointer;
  background: #00000080;
  border: 1px solid #666;
  border-radius: 2px;
  padding: 3px 8px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  top: 6px;
  right: 12px;
}

.ms-theme-toggle:hover {
  color: #fff;
  background: #000000b3;
}

.nap-theme-toggle {
  position: absolute;
  z-index: 50;
  color: #000;
  cursor: pointer;
  background: #d4d0c8;
  border: 2px solid #404040;
  border-color: #fff #404040 #404040 #fff;
  padding: 2px 8px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 11px;
  top: 6px;
  right: 12px;
}

.nap-theme-toggle:active {
  border-color: #404040 #fff #fff #404040;
}

.ms-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-height: 0;
  padding: 10px 16px;
}

.ms-top-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: minmax(500px, auto) auto;
  gap: 10px 48px;
}

.ms-profile {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid #b0b0b0;
  flex-direction: column;
  min-height: 0;
}

.ms-profile-header {
  color: #036;
  background: #88aed0;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

.ms-profile-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
}

.ms-profile-name {
  color: #036;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.ms-profile-detail {
  color: #666;
  font-size: 10px;
  line-height: 1.5;
}

.ms-profile-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  color: #ccc;
  background: linear-gradient(135deg, #679, #457);
  border: 1px solid #999;
  justify-content: center;
  align-items:  center;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  font-size: 48px;
}

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

.ms-profile-links {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 4px;
  font-size: 10px;
}

.ms-profile-links span {
  color: #036;
  cursor: pointer;
  text-decoration: underline;
  margin: 0 4px;
}

.ms-profile-tracks-header {
  color: #036;
  text-transform: lowercase;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #88aed0, #6690b8);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
}

.ms-profile-tracks {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.ms-profile-stats {
  display: flex;
  color: #333;
  background: #e8e8e8;
  border: 1px solid #ccc;
  justify-content: space-between;
  padding: 4px 6px;
  font-size: 9px;
}

.ms-profile-stats b {
  color: #036;
}

.ms-profile-banner {
  color: #333;
  border-top: 1px solid #eee;
  padding: 4px 0;
  font-size: 11px;
  font-style: italic;
}

.ms-player-section {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
}

.ms-player-chrome {
  overflow: hidden;
  background: linear-gradient(#d8d8d8 0%, #b8b8b8 50%, #a0a0a0 100%);
  border: 1px solid #888;
  border-radius: 3px;
}

.ms-player-chrome-header {
  display: flex;
  background: linear-gradient(#c8c8c8 0%, #aaa 100%);
  border-bottom: 1px solid #999;
  justify-content: space-between;
  align-items:  center;
  padding: 4px 10px;
}

.ms-player-chrome-title {
  color: #333;
  font-size: 11px;
  font-weight: bold;
}

.ms-song-list {
  overflow: hidden;
  display: flex;
  background: #fff;
  border: 1px solid #b0b0b0;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.ms-song-list-header {
  color: #036;
  display: flex;
  background: #88aed0;
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

.ms-contacting {
  overflow: hidden;
  display: flex;
  background: #fff;
  border: 1px solid #b0b0b0;
  flex-direction: column;
}

.ms-contacting-header {
  color: #fff;
  text-transform: lowercase;
  letter-spacing: .5px;
  display: flex;
  background: linear-gradient(90deg, #f39, #c06);
  flex-shrink: 0;
  align-items:  center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: bold;
}

.ms-contacting-content {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  flex: 1;
}

.ms-upcoming {
  grid-column: 1;
  grid-row: 2;
  overflow: hidden;
  display: flex;
  background: #fff;
  border: 1px solid #b0b0b0;
  flex-direction: column;
  align-self:  start;
}

.ms-upcoming-header {
  color: #fff;
  text-transform: lowercase;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #f63, #c30);
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: bold;
}

.ms-upcoming-body {
  color: #666;
  overflow-y: auto;
  padding: 10px;
  font-size: 11px;
}

.ms-upcoming-item {
  display: flex;
  border-bottom: 1px solid #eee;
  gap: 12px;
  padding: 6px 0;
}

.ms-upcoming-item:last-child {
  border-bottom: none;
}

.ms-upcoming-date {
  color: #036;
  white-space: nowrap;
  min-width: 70px;
  font-weight: bold;
}

.ms-upcoming-venue {
  color: #333;
}

.ms-page .nap-pane {
  background: none;
  border: none;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.ms-page .nap-pane-header {
  display: none;
}

.ms-page .nap-mix-toolbar {
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
  padding: 2px 6px;
}

.ms-page .nap-col-headers {
  background: #f0f0f0;
  border: none;
  border-bottom: 1px solid #ddd;
}

.ms-page .nap-col-header {
  color: #666;
  border-right: none;
  padding: 3px 6px;
  font-size: 10px;
}

.ms-page .nap-track-row {
  border-bottom: 1px solid #eee;
  min-height: 48px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.ms-page .nap-track-cover {
  border-color: #999;
  border-radius: 3px;
}

.ms-page .nap-track-row:hover {
  background: #e8f0ff;
}

.ms-page .nap-track-row.playing {
  color: #fff;
  background: #036;
}

.ms-page .nap-track-row.selected {
  color: #fff;
  background: #369;
}

.ms-page .nap-track-row.playing:hover, .ms-page .nap-track-row.selected:hover {
  background: #048;
}

.ms-page .nap-play-indicator {
  color: #036;
}

.ms-page .nap-track-row.playing .nap-play-indicator, .ms-page .nap-track-row.selected .nap-play-indicator {
  color: #9cf;
}

.ms-page .nap-cell-num {
  color: #999;
  font-size: 10px;
}

.ms-page .nap-track-row.playing .nap-cell-num, .ms-page .nap-track-row.selected .nap-cell-num {
  color: #8be;
}

.ms-page .nap-cell-length {
  color: #999;
  font-size: 10px;
}

.ms-page .nap-track-row.playing .nap-cell-length, .ms-page .nap-track-row.selected .nap-cell-length {
  color: #8be;
}

.ms-page .nap-cell-filename {
  font-size: 11px;
}

.ms-page .nap-drag-handle {
  color: #bbb;
}

.ms-page .nap-track-row.playing .nap-drag-handle, .ms-page .nap-track-row.selected .nap-drag-handle {
  color: #8be;
}

.ms-page .nap-track-scroll {
  background: #fff;
}

.ms-page .nap-track-scroll::-webkit-scrollbar {
  width: 10px;
}

.ms-page .nap-track-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-left: none;
}

.ms-page .nap-track-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.ms-page .nap-track-scroll::-webkit-scrollbar-button {
  display: none;
}

.ms-page .nap-tag-folder {
  border-bottom: 1px solid #eee;
}

.ms-page .nap-folder-header {
  background: #f0f0f0;
  border-color: #ddd;
  border-radius: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.ms-page .nap-folder-header:hover {
  background: #e8f0ff;
}

.ms-page .nap-folder-icon {
  color: #369;
}

.ms-page .nap-folder-label {
  color: #333;
}

.ms-page .nap-drop-active {
  background: #e8f0ff !important;
}

.ms-page .nap-empty-hint {
  color: #999;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

.ms-page .nap-remove-btn {
  color: #999;
}

.ms-page .nap-remove-btn:hover {
  color: #f39;
}

.ms-page .nap-track-row.playing .nap-remove-btn, .ms-page .nap-track-row.selected .nap-remove-btn {
  color: #8be;
}

.ms-page .nap-button {
  background: linear-gradient(#f0f0f0, #ddd);
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 3px 10px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
}

.ms-page .nap-button:active {
  background: linear-gradient(#ddd, #ccc);
  padding: 3px 10px;
}

.ms-page .nap-statusbar {
  color: #000;
  background: linear-gradient(#d8d8d8 0%, #b8b8b8 50%, #a0a0a0 100%);
  border: 1px solid #888;
  border-top-color: #ccc;
  flex-shrink: 0;
  gap: 0;
  padding: 0;
}

.ms-page .nap-progress-row {
  display: flex;
  background: #fff;
  border: 1px solid #999;
  flex-direction: column;
  gap: 0;
  margin: 6px 8px 4px;
  padding: 6px 10px 4px;
}

.ms-page .nap-progress-wrap {
  order: 2;
  height: 14px;
}

.ms-page .nap-progress-track {
  background: linear-gradient(#666 0%, #888 100%);
  border: 1px solid #555;
  border-radius: 0;
  height: 6px;
}

.ms-page .nap-progress-fill {
  background: linear-gradient(#58c 0%, #36a 100%);
  border-radius: 0;
}

.ms-page .nap-progress-thumb {
  box-shadow: none;
  background: linear-gradient(#ddd 0%, #aaa 100%);
  border: 1px solid #666;
  border-radius: 2px;
  width: 10px;
  height: 12px;
}

.ms-page .nap-statusbar-time {
  color: #369;
  text-align: left;
  order: 1;
  min-width: auto;
  margin-bottom: 2px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.ms-page .nap-statusbar-row {
  justify-content: flex-start;
  gap: 6px;
  padding: 4px 8px 6px;
}

.ms-page .nap-statusbar-track {
  color: #000;
  display: none;
  flex: none;
  order: -1;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.ms-page .nap-ctrl-group {
  position: static;
  gap: 2px;
  transform: none;
}

.ms-page .nap-ctrl-btn {
  color: #333;
  display: flex;
  background: linear-gradient(#e8e8e8 0%, silver 50%, #aaa 100%);
  border: 1px solid #888;
  border-radius: 2px;
  justify-content: center;
  align-items:  center;
  min-width: 32px;
  min-height: 26px;
  padding: 4px 8px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  box-shadow: inset 0 1px #fff9;
}

.ms-page .nap-ctrl-btn:hover:not(:disabled) {
  color: #000;
  background: linear-gradient(#f0f0f0 0%, #d0d0d0 50%, #bbb 100%);
  transform: none;
}

.ms-page .nap-ctrl-btn:active:not(:disabled) {
  background: linear-gradient(#999 0%, #bbb 50%, #ccc 100%);
  transform: none;
  box-shadow: inset 0 1px 2px #0000004d;
}

.ms-page .nap-ctrl-btn:disabled {
  opacity: .4;
  color: #888;
}

.ms-page .nap-ctrl-btn.play-pause {
  color: #333;
  text-shadow: none;
  background: linear-gradient(#e8e8e8 0%, silver 50%, #aaa 100%);
  border: 1px solid #888;
  border-radius: 2px;
  min-width: 32px;
  padding: 4px 8px;
  font-weight: normal;
  box-shadow: inset 0 1px #fff9;
}

.ms-page .nap-ctrl-btn.play-pause:hover:not(:disabled) {
  background: linear-gradient(#f0f0f0 0%, #d0d0d0 50%, #bbb 100%);
  transform: none;
}

.ms-page .nap-ctrl-btn.play-pause:active {
  background: linear-gradient(#999 0%, #bbb 50%, #ccc 100%);
  transform: none;
  box-shadow: inset 0 1px 2px #0000004d;
}

.ms-page .nap-overlay {
  background: #001432b3;
}

.ms-page .nap-dialog {
  background: #fff;
  border: 2px solid #036;
  border-radius: 4px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 14px;
}

.ms-page .nap-dialog-titlebar {
  background: linear-gradient(#003971, #024);
  border-radius: 2px 2px 0 0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
}

.ms-page .nap-dialog-close {
  color: #ccc;
  background: none;
  border: 1px solid #668;
  border-radius: 2px;
}

.ms-page .nap-dialog-close:hover {
  color: #fff;
  background: #f36;
}

.ms-page .nap-dialog-body {
  font-family: Verdana, Arial, sans-serif;
}

.ms-page .nap-dialog-tracklist {
  border: 1px solid #ccc;
  border-radius: 2px;
}

.ms-page .nap-dialog-tracklist-header {
  color: #036;
  background: #88aed0;
  border-bottom: 1px solid #aaa;
  font-size: 10px;
}

.ms-page .nap-dialog-track-row {
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

.ms-page .nap-input {
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

.ms-page .nap-input:focus {
  outline: none;
  border-color: #39f;
  box-shadow: 0 0 3px #39f6;
}

.ms-page .nap-field label {
  color: #333;
  font-size: 11px;
}

.ms-page .nap-field-error {
  font-size: 10px;
}

.ms-page .nap-mix-count {
  color: #666;
  font-size: 10px;
}

.ms-song-meta {
  color: #999;
  padding: 0 6px 2px;
  font-size: 9px;
}

.ms-song-meta span {
  color: #369;
  cursor: pointer;
  margin: 0 2px;
}

.ms-song-meta span:hover {
  text-decoration: underline;
}

.ms-wall {
  grid-column: 2;
  grid-row: 2;
  background: #fff;
  border: 1px solid #b0b0b0;
  align-self:  start;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.ms-wall-header {
  color: #036;
  background: #88aed0;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

.ms-wall-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
}

.ms-wall-form {
  display: flex;
  background: #f7f9ff;
  border: 1px solid #ddd;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.ms-wall-input, .ms-wall-textarea {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #b0b0b0;
  width: 100%;
  padding: 3px 5px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.ms-wall-textarea {
  resize: vertical;
}

.ms-wall-btn {
  color: #fff;
  cursor: pointer;
  background: #369;
  border: 1px solid #036;
  align-self:  flex-end;
  padding: 3px 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.ms-wall-btn:disabled {
  cursor: default;
  background: #aaa;
  border-color: #999;
}

.ms-wall-error {
  color: #c00;
  font-size: 11px;
}

.ms-wall-posts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ms-wall-empty {
  color: #999;
  padding: 4px 0;
  font-size: 11px;
}

.ms-wall-post {
  background: #f7f9ff;
  border: 1px solid #dde;
  padding: 6px 8px;
}

.ms-wall-post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.ms-wall-post-author {
  color: #369;
  font-size: 11px;
  font-weight: bold;
}

.ms-wall-post-date {
  color: #999;
  font-size: 10px;
}

.ms-wall-delete {
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 10px;
  line-height: 1;
}

.ms-wall-delete:hover:not(:disabled) {
  color: #c00;
}

.ms-wall-post-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
}

.ms-top8 {
  grid-column: 1;
  grid-row: 2;
  overflow: hidden;
  background: #fff;
  border: 1px solid #b0b0b0;
  align-self:  start;
}

.ms-top8-header {
  color: #fff;
  text-transform: lowercase;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #f69, #c36);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
}

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

.ms-top8-friend {
  display: flex;
  text-decoration: none;
  border: 1px solid #0000;
  flex-direction: column;
  align-items:  center;
  gap: 3px;
  padding: 4px;
  transition: border-color .15s;
}

.ms-top8-friend:hover {
  background: #f0f6ff;
  border-color: #88aed0;
}

.ms-top8-avatar {
  display: flex;
  color: #fff;
  text-shadow: 1px 1px 2px #00000080;
  border: 2px solid #999;
  justify-content: center;
  align-items:  center;
  width: 60px;
  height: 60px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.ms-top8-name {
  color: #036;
  text-decoration: underline;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 70px;
  font-size: 10px;
  font-weight: bold;
}

.ms-top8-handle {
  color: #999;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 70px;
  font-size: 8px;
}
