.cd-info-text {
  font: 300 19px "Museo";
}

.cd-profile-actions-box .dropdown-toggle {
  width: 165px;
  display: block;
  text-align: center;
}

.cd-profile-actions-box .dropdown-toggle:after {
  display: none;
}

.cd-profile-actions-box .dropdown-menu {
  padding: 10px 15px;
  border: 1px solid #000;
  background: linear-gradient(135deg,
      rgba(0, 63, 152, 0.7) 0%,
      rgba(1, 25, 89, 0.7) 100%);
  border-radius: 15px;
  top: 60px !important;
  transform: translateX(-50%) !important;
  color: #fff;
  min-width: 195px;
  left: 50% !important;
}

.cd-profile-actions-list>li {
  margin-bottom: 8px;
}

.cd-profile-actions-list .cd-masked-address {
  margin-bottom: 20px;
}

.cd-profile-actions-list li:last-child {
  margin-top: 20px;
}

.cd-profile-actions-list>li>a,
.cd-profile-actions-list>li>span {
  position: relative;
  padding-left: 30px;
}

.cd-profile-actions-list>li>a:before,
.cd-profile-actions-list>li>span:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background: url("../images/profile-actions-icons.png") 0 0 no-repeat;
}

.cd-profile-actions-list>li:nth-child(2)>span:before {
  background-position: -22px 0;
}

.cd-profile-actions-list .cd-copy-link:before {
  background-position: -44px 0;
}

.cd-profile-actions-list>li:nth-child(3)>a:before {
  background-position: 0 -22px;
}

.cd-profile-actions-list>li:nth-child(4)>a:before {
  background-position: -22px;
}

.cd-profile-actions-list>li:nth-child(5)>a:before {
  background-position: -44px -22px;
}

.cd-profile-actions-list>li:nth-child(6)>a:before {
  background-position: 0 -44px;
}

.cd-profile-actions-list .cd-logout-link:before {
  background-position: -22px -46px;
}

#cd-account-setup-modal .modal-body {
  padding: 20px 45px;
}

#cd-account-setup-form .fv-plugins-icon {
  right: 15px;
}

#cd-connect-discord,
#cd-connect-twitter {
  position: relative;
}

#cd-connect-discord:before,
#cd-connect-twitter:before {
  content: "";
  display: inline-block;
  vertical-align: text-bottom;
  width: 27px;
  height: 22px;
  margin-right: 15px;
  background: url("../images/connect-icons.png") 0 0 no-repeat;
}

#cd-connect-twitter:before {
  background-position: -27px 0;
}

.cd-connect-wallet-btn.btn-primary {
  border-width: 2px !important;
  line-height: 1 !important;
}

#cd-hero-section {
  position: relative;
  height: 230px;
  overflow: hidden;
}

#cd-hero-section>.cd-background-video {
  position: absolute;
  width: 100%;
  height: auto;
  inset-block-start: 50%;
  inset-inline-start: 0;
  transform: translate(0%, -50%);
  object-fit: cover;
  z-index: -1;
}

#cd-bottom-bar {
  padding: 20px 0;
  background:#001542 !important;
  border-top: 1px solid #000;
  box-shadow: 0px -20px 45px 0px rgba(0, 0, 0);
}

#cd-dashboard-content,
.cd-dashboard-content {
  padding: 25px 0;
  /* background-image: linear-gradient(135deg, #004098 0%, #011959 100%); */
}

#cd-dashboard-content .nav .nav-item:not(:last-child) {
  padding-right: 60px;
  position: relative;
}


#cd-dashboard-content .nav .nav-link {
  font-size: 20px;
  padding: 3px 5px 5px 0;
}

#cd-dashboard-content .nav .nav-link.active {
  color: #d40680;
}

#cd-sidebar .nav-link {
  margin-bottom: 25px;
}

#cd-books-list .cd-book-item {
  width: 20%;
}

#cd-books-list .cd-book-item .cd-book-item-thumb {
  border: 1px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

#cd-books-list .cd-book-actions>li,
.cd-library-book-item .cd-book-actions>li {
  margin: 0;
  padding: 0 10px;
  position: relative;
  font-size: 20px;
}

#cd-books-list .cd-book-actions>li:not(:last-child):after,
.cd-library-book-item .cd-book-actions>li:not(:last-child):after {
  top: 2px;
  right: -4px;
  height: 20px;
}

#cd-books-list .cd-book-actions a.disabled {
  pointer-events: none;
  cursor: default;
}

#cd-book-printer-modal .modal-body {
  overflow: hidden;
  transition: height 0.2s ease;
}

#cd-print-book-terms {
  transition: transform 0.18s ease;
  transform: translateX(0);
}

#cd-book-printer-modal .modal-body.active #cd-print-book-terms {
  transition: none;
  transform: translateX(-102%);
}

#cd-print-book-terms+#cd-print-book {
  position: absolute;
  top: 15px;
  width: calc(100% - 32px);
  transition: none;
  transform: translateX(101%);
}

#cd-book-printer-modal .modal-body.active #cd-print-book-terms+#cd-print-book {
  transition: transform 0.18s ease;
  transform: translateX(0);
}

.cd-sub-tabs.nav .nav-link {
  font-size: 16px;
}

#cd-image-list .cd-image-item,
#cd-model-list .cd-model-item {
  width: 25%;
}

#cd-image-list .cd-item-thumb,
#cd-model-list .cd-item-thumb {
  width: 100%;
  height: 200px !important;
  object-fit: contain;
  max-width: 190px !important;
}

#cd-image-list .cd-item-thumb {
  border: 1px solid rgba(0, 145, 255, 0.45) !important;
  box-shadow: 0 0 10px rgba(0, 145, 255, 0.30) !important;
}

#cd-model-list .cd-item-thumb {
  border: none !important;
  box-shadow: none !important;
}

.cd-item-thumb-empty {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.cd-item-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

#cd-image-list .cd-item-actions>li,
#cd-model-list .cd-item-actions>li {
  margin: 0;
  padding: 0 10px;
  position: relative;
  font-size: 20px;
}

#cd-image-list .cd-item-actions>li:not(:last-child):after,
#cd-model-list .cd-item-actions>li:not(:last-child):after {
  content: "";
  width: 4px;
  height: 20px;
  background: #fff;
  position: absolute;
  top: 2px;
  right: -4px;
  border: 1px solid #001e6a;
  box-shadow: 2px 1px 1px 0px rgba(0, 0, 0, 0.75);
}

#cd-model-view-container model-viewer {
  display: block;
}

#cd-music-albums .cd-album-card {
  width: 25%;
  display: block;
  color: #fff;
  text-decoration: none;
}

#cd-music-albums .cd-album-card:hover {
  color: #d40680;
  text-decoration: none;
}

#cd-music-albums .cd-item-thumb,
#cd-music-albums .cd-album-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

#cd-music-albums .cd-album-card-body {
  text-align: left;
  padding: 10px 0;
}

#cd-music-albums .cd-album-title {
  font-weight: 700;
  margin-bottom: 2px;
}

#cd-music-albums .cd-album-artist,
#cd-music-albums .cd-album-meta {
  font-size: 14px;
  margin-bottom: 2px;
  opacity: 0.85;
}

#cd-music-player {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #001542;
  border: 1px solid #0074e1 !important;
  border-radius: 0;
  padding: 15px 20px;
}

#cd-player-cover {
  width: 110px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
}

#cd-player-info {
  flex-grow: 1;
  text-align: left;
}

#cd-player-track-title {
  font-weight: 700;
  margin-bottom: 0;
}

#cd-player-track-artist {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}

#cd-player-audio {
  width: 100%;
}

#cd-music-tracks {
  width: 100%;
  border-collapse: collapse;
}

#cd-music-tracks th,
#cd-music-tracks td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#cd-music-tracks .cd-track-title-cell {
  cursor: pointer;
}

#cd-music-tracks .cd-track-row:hover .cd-track-title-cell,
#cd-music-tracks .cd-track-row.active .cd-track-title-cell {
  color: #d40680;
}

#cd-music-tracks a {
  color: #fff;
}

#cd-poll-list .cd-poll-item {
  width: 33.333%;
}

#cd-poll-list .row>.cd-poll-item:not(:nth-child(3n)) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cd-poll-badges {
  margin-bottom: 15px;
}

.cd-poll-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 6px 14px;
  margin: 0 10px 10px 0;
  font-size: 14px;
}

.cd-poll-question {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cd-poll-coming-soon {
  opacity: 0.7;
  font-style: italic;
}

.cd-btn-primary,
.cd-btn-secondary {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cd-btn-primary {
  background: #e6007a;
  color: #fff;
  border-color: #e6007a;
}

.cd-btn-secondary {
  background: transparent;
  color: #fff;
}

.cd-collections-row {
  position: relative;
}

.cd-collections-filters h3 {
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.cd-trait-search {
  position: relative;
  margin: 0 0 22px;
}

.cd-trait-search .cd-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff !important;
  pointer-events: none;
}

.cd-trait-search input[type="text"] {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 10, 40, 0.55);
  color: #fff !important;
  caret-color: #fff;
  font-size: 15px;
}

.cd-trait-search input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
}


.cd-collections-row.cd-sidebar-collapsed .cd-collections-filters {
  display: none;
}

.cd-collections-row.cd-sidebar-collapsed .cd-collections-main {
  flex: 0 0 100%;
  max-width: 100%;
}

.cd-trait-group {
  border-top: 2px solid rgba(255, 255, 255, 0.35) !important;
}

.cd-trait-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 20px 2px;
  cursor: pointer;
  text-align: left;
}

.cd-trait-group-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.cd-trait-count {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  min-width: 18px;
  text-align: right;
}

.cd-trait-group-toggle:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.cd-trait-group.is-open .cd-trait-group-toggle>span {
  color: #e6007a;
  transition: color 0.15s ease;
}

.cd-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  color: #fff;
}

.cd-trait-group.is-open .cd-chevron {
  transform: rotate(90deg);
}

.cd-trait-group-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.cd-trait-group-panel-inner {
    padding: 2px 10px 16px 2px;
    max-height: 250px;
    overflow-y: auto;
}

.cd-trait-group-panel-inner::-webkit-scrollbar {
  width: 6px;
}

.cd-trait-group-panel-inner::-webkit-scrollbar-track {
  background: rgba(0, 20, 66, 0.4);
}

.cd-trait-group-panel-inner::-webkit-scrollbar-thumb {
  background: #4dd8ff;
  border-radius: 4px;
}

.cd-trait-group-panel-inner {
  scrollbar-width: thin;
  scrollbar-color: #4dd8ff rgba(0, 20, 66, 0.4);
}

.cd-trait-checkbox {
  position: relative;
  display: block;
  padding-left: 28px;
  margin-bottom: 10px;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  min-height: 18px;
  line-height: 18px;
}

.cd-trait-checkbox input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
}

.cd-checkbox-box {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.cd-checkbox-box:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.1s ease;
}

.cd-trait-checkbox input:checked+.cd-checkbox-box {
  background: #e6007a;
  border-color: #e6007a;
}

.cd-trait-checkbox input:checked+.cd-checkbox-box:after {
  opacity: 1;
}

.cd-trait-checkbox input:focus-visible+.cd-checkbox-box {
  outline: 1px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.cd-collections-clear-filters {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.cd-collections-clear-filters:hover {
  color: #fff;
}

.cd-collections-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cd-sidebar-toggle {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.2s ease;
}

.cd-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cd-collections-row.cd-sidebar-collapsed .cd-sidebar-toggle svg {
  transform: rotate(180deg);
}

.cd-sidebar-toggle svg {
  transition: transform 0.2s ease;
}

.cd-collections-search {
  position: relative;
  flex: 1 1 220px;
  max-width: 340px;
}

.cd-collections-search .cd-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}

.cd-collections-search input[type="text"] {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.cd-collections-search input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.cd-collections-view-toggle {
  display: flex;
  gap: 6px;
}

.cd-view-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.cd-view-btn:hover {
  color: #fff;
}

.cd-view-btn.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.cd-collections-result-count {
    white-space: nowrap;
    opacity: 0.85;
    margin-left: auto;
    font-weight: 600;
    padding: 10px 14px;
    color: #fff;
    border-radius: 0;
    background: #001542 !important;
    border: 1px solid #0074e1 !important;
}
.cd-trait-search input[type="text"] {
    width: 100%;
    padding: 12px 14px 12px 40px;
    color: #fff !important;
    caret-color: #fff;
    font-size: 15px;
    border-radius: 0;
    background: #001542 !important;
    border: 1px solid #0074e1 !important;
}
.cd-trait-search input[type="text"]::placeholder {

    color: #fff !important;

    opacity: 1;

}
 
.cd-trait-search input[type="text"]::-webkit-input-placeholder {

    color: #fff !important;

}
 
.cd-trait-search input[type="text"]::-moz-placeholder {

    color: #fff !important;

    opacity: 1;

}
 
.cd-trait-search input[type="text"]:-ms-input-placeholder {

    color: #fff !important;

}
 
.cd-trait-search input[type="text"]::-ms-input-placeholder {

    color: #fff !important;

}
 
#cd-collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

#cd-collections-grid.cd-view-grid-lg {
  grid-template-columns: repeat(3, 1fr);
}

.cd-collections-row.cd-sidebar-collapsed #cd-collections-grid.cd-view-grid-lg {
  grid-template-columns: repeat(4, 1fr);
}

#cd-collections-grid.cd-view-grid {
  grid-template-columns: repeat(3, 1fr);
}

#cd-collections-grid.cd-view-list {
  grid-template-columns: 1fr;
}

.cd-collection-item {
    text-align: center;
    /* box-shadow: 0 0 7px rgba(0, 212, 255, 0.7); */
}

.cd-collection-item-thumb {
  border-radius: 0;
  overflow: hidden;
  outline:none !important;
  outline-offset: 0;
  /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.7), 0 0 16px rgba(10, 31, 77, 0.6); */
}

.cd-collection-item-thumb .cd-collection-id {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.cd-collection-item img {
  width: 100%;
  display: block;
}

.cd-item-thumb-empty {
  height: 280px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.cd-collection-name {
  margin: 10px 0 0;
  font-size: 14px;
  opacity: 0.85;
}

.cd-collection-id {
  font-weight: 700;
  margin: 2px 0 0;
}

#cd-collections-grid.cd-view-list .cd-collection-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    background-color: transparent;
    padding: 15px 15px 15px 15px;
    background-image: linear-gradient(90deg, #00081B80 0%, #00081B80 100%);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #0074E1;
    border-radius: 3px 3px 3px 3px;
}

#cd-collections-grid.cd-view-list .cd-collection-item-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

#cd-collections-grid.cd-view-list .cd-collection-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

#cd-collections-grid.cd-view-list .cd-item-thumb-empty {
  width: 64px;
  height: 64px;
}

#cd-collections-grid.cd-view-list .cd-collection-item-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

#cd-collections-grid.cd-view-list .cd-collection-name {
  margin: 0;
  order: 2;
}

#cd-collections-grid.cd-view-list .cd-collection-id {
  margin: 0;
  order: 1;
}

.cd-collections-pagination {
  margin-top: 30px;
}

.cd-collections-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cd-collections-pagination ul.page-numbers li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cd-collections-pagination .page-numbers a,
.cd-collections-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border: 1px solid #0074e1 !important;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cd-collections-pagination .page-numbers a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cd-collections-pagination .page-numbers.current span,
.cd-collections-pagination .page-numbers.current {
  background: #001542 !important;
  border: 1px solid #0074e1 !important;
}

.cd-collections-pagination .page-numbers.dots {
  border: none;
  background: none;
}

.cd-page-heading {
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.cd-library-intro-divider {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cd-collection-item-info--title-only {
  display: none;
}

#cd-collections-grid.cd-view-list .cd-collection-item-info--title-only {
  display: block;
}

/* Client request #20: show the name/ID caption below the thumb in the
   grid and large-grid views too (list view above is unaffected), styled
   as a solid banner per the reference screenshot. */
#cd-collections-grid.cd-view-grid-lg .cd-collection-item-info--title-only,
#cd-collections-grid.cd-view-grid .cd-collection-item-info--title-only {
    display: block;
    background: #0a1550;
    text-align: center;
    padding: 10px 0 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
div#cd-collections-grid .cd-collection-item {
    background: #0a1550;
    padding: 10px;
}
#cd-collections-grid.cd-view-grid-lg .cd-collection-item-info--title-only .cd-collection-name,
#cd-collections-grid.cd-view-grid .cd-collection-item-info--title-only .cd-collection-name,
#cd-collections-grid.cd-view-grid-lg .cd-collection-item-info--title-only .cd-collection-id,
#cd-collections-grid.cd-view-grid .cd-collection-item-info--title-only .cd-collection-id {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  opacity: 1;
  margin: 0;
}

.cd-library-filters {
  margin-bottom: 25px;
}

.cd-library-item img {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cd-my-nfts-empty {
  max-width: 480px;
  margin: 0 auto;
}

.cd-my-nfts-empty .cd-info-text {
  margin-bottom: 18px;
}

.cd-my-nft-assets {
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cd-my-nft-asset {
  padding: 4px 0;
  font-size: 13px;
}

.cd-my-nft-asset-label {
  opacity: 0.75;
  text-transform: capitalize;
}

.cd-my-nft-asset-actions a {
  margin-left: 10px;
}

#cd-collections-grid.cd-view-list .cd-my-nft-item {
  flex-wrap: wrap;
}

#cd-collections-grid.cd-view-list .cd-my-nft-assets {
  flex: 0 0 100%;
  width: 100%;
}

@media (max-width: 991.98px) {

  .cd-collections-filters,
  .cd-collections-main {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .cd-collections-filters {
    margin-bottom: 24px;
  }
}

@media (max-width: 767.98px) {
  .cd-page-heading {
    font-size: 22px;
    margin-bottom: 14px;
  }

  #cd-dashboard-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .cd-library-intro-divider {
    font-size: 13px;
    padding-bottom: 16px;
    margin-bottom: 18px;
  }

  .cd-collections-filters {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 22px 15px 15px 15px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 18px;
  }

  .cd-trait-group-toggle {
    font-size: 14px;
    padding: 12px 2px;
  }

  .cd-trait-checkbox {
    font-size: 13px;
  }

  .cd-collections-toolbar {
    gap: 10px;
    margin-bottom: 16px;
  }

  .cd-sidebar-toggle {
    width: 34px;
    height: 34px;
  }

  .cd-view-btn {
    width: 32px;
    height: 32px;
  }

  .cd-collections-result-count {
    font-size: 12px;
  }

  #cd-collections-grid.cd-view-grid-lg {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  #cd-collections-grid.cd-view-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .cd-collection-name {
    font-size: 12px;
  }

  #cd-collections-grid.cd-view-list .cd-collection-item {
    padding: 8px;
    gap: 10px;
  }

  #cd-collections-grid.cd-view-list .cd-collection-item-thumb,
  #cd-collections-grid.cd-view-list .cd-collection-item img,
  #cd-collections-grid.cd-view-list .cd-item-thumb-empty {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .cd-collections-pagination .page-numbers a,
  .cd-collections-pagination .page-numbers span {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .cd-library-copy-card {
    background-image: linear-gradient(135deg,
        #004098 0%,
        #011959 100%) !important;
    background-color: #011959 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
  }

  .cd-library-copy-card p {
    color: #fff !important;
  }

  .cd-library-copy-card p:last-child {
    margin-bottom: 0;
  }

  .cd-library-copy-card .cd-library-intro-divider {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  #cd-collections-grid.cd-view-grid-lg .cd-collection-item-info--title-only .cd-collection-name,
#cd-collections-grid.cd-view-grid .cd-collection-item-info--title-only .cd-collection-name,
#cd-collections-grid.cd-view-grid-lg .cd-collection-item-info--title-only .cd-collection-id,
#cd-collections-grid.cd-view-grid .cd-collection-item-info--title-only .cd-collection-id {
  font-size: 14px;
}
}

.Books-text {
  display: inline-block !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 8px 24px !important;
}

@media (min-width: 768px) {
  .MOBILE-BOOKS {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .DESKTOP-BOOKS {
    display: none !important;
  }
}

.cd-model-hint {
  font-size: 12px;
  opacity: 0.75;
  margin: 6px 0 2px;
}

#cd-model-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

#cd-model-list .cd-model-item {
  width: auto;
  margin: 0;
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

#cd-model-list .cd-item-thumb,
#cd-model-list .cd-item-thumb-empty {
  width: 100%;
  height: 260px;
  margin: 0 auto;
}

#cd-model-list .cd-item-thumb {
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: transparent;
}

#cd-model-list .cd-model-hint {
  margin-top: 14px;
}

#cd-model-list .cd-collection-id {
  margin: auto;
  width: fit-content;
}

#cd-model-list .cd-item-actions {
  margin-top: 14px;
}

@media (max-width: 991px) {
  #cd-model-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  #cd-model-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .cd-primary-nav .dashboard-nav.nav {
    row-gap: 12px;
  }

  .cd-primary-nav .dashboard-nav.nav .downloads-label {
    flex-basis: 100%;
    padding-right: 0;
  }

  .cd-primary-nav .dashboard-nav.nav .downloads-sub {
    padding-right: 30px;
  }

  .cd-primary-nav .dashboard-nav.nav .last-index-menu {
    flex-basis: 100%;
    margin-top: 0px;
  }

  .cd-primary-nav .dashboard-nav.nav .nav-item:not(:last-child):after {
    display: none;
  }

  .cd-primary-nav .dashboard-nav.nav .nav-item:not(:last-child) {
    padding-right: 30px;
  }

  .cd-primary-nav .dashboard-nav.nav {
    margin-bottom: 10px;
  }

  .cd-primary-nav .cd-mobile-submenu {
    margin: 8px 0px 0px 0px;
    padding: 0 0 0 20px;
    gap: 5px;
  }

  #cd-dashboard-content .nav .nav-link sup {
    top: 2px;
  }

}


@media (min-width: 1600px) {
  .cd-collections-row:not(.cd-sidebar-collapsed) #cd-collections-grid.cd-view-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cd-collections-row.cd-sidebar-collapsed #cd-collections-grid.cd-view-grid {
    grid-template-columns: repeat(5, 1fr);
  }

}

/* Empty-cover placeholder for albums with no featured image set yet,
   and the "Back to albums" link on the album detail view. (v1.1.5) */
#cd-music-albums .cd-album-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 40px;
  color: rgba(255, 255, 255, 0.35);
}

.cd-back-link {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
}

.cd-back-link:hover {
  color: #d40680;
  opacity: 1;
  text-decoration: none;
}

a.cd-album-card.cd-album-card-electronic {
  background: #001542;
  padding: 20px 20px;
  border: 1px solid #0074e1 !important;
}

#cd-music-albums .cd-album-card img {
  border: none;
  box-shadow: 2px 2px 8px #212121;
}

#cd-music-albums .cd-album-card p.cd-album-title {
  margin: 0 0 5px 0;
}

#cd-music-albums .cd-album-card .cd-album-card-body {
  padding: 15px 0 0 0;
}

table#cd-music-tracks {

  margin: 0 !important;

}


table#cd-music-tracks thead tr th {

  padding: 25px 18px;

    background: #001542 !important;
  border: none;

}

table#cd-music-tracks tbody tr td {

  padding: 25px 18px;

  border: none;

}

table#cd-music-tracks tbody tr:nth-child(even) td {

    background: #001542 !important;
}

.cd-back-link .cd-back-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: -2px;
}

#cd-music-player {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 300px;
}

#cd-player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 0;
}

.cd-player-playpause {
  position: absolute;
  left: 90px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #d40680;
  border: none;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.cd-player-playpause .fa-play {
  margin-left: 3px;
}

.cd-player-playpause:hover {
  background: #ef0a9c;
}

#cd-player-info {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  text-align: left;
  margin-left: 160px;
}

#cd-player-track-title {
  font-size: 22px;
}

#cd-player-track-artist {
  font-size: 15px;
}

#cd-player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
div#cd-player-controls .cd-player-btn {
    min-height: auto;
}
.cd-player-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #fff;
  opacity: 0.75;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  min-height:250px;
  border:none !important;
}

.cd-player-btn:hover,
.cd-player-btn.active {
  opacity: 1;
  color: #d40680;
}

@media (max-width: 575px) {
  #cd-music-player {
    min-height: 220px;
    align-items: flex-end;
  }

  .cd-player-playpause {
    left: 50%;
    top: 35%;
  }

  #cd-player-info {
    margin-left: 0;
    text-align: left;
  }

  #cd-player-controls {
    justify-content: flex-start;
  }
}

#cd-player-waveform {
  width: 100%;
  cursor: pointer;
}

#cd-player-time {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 4px;
}

.main-table-music {
  max-width: 960px;
  margin: auto;
}

a.cd-back-link.mb-3.d-inline-block {
  margin: 0 !important;
}
.cd-toggle-list .custom-switch .custom-control-label::before {
  background-color: #0a1836;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.cd-toggle-list .custom-switch .custom-control-label::after {
  background-color: #fff;
}

.cd-toggle-list .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background-image: linear-gradient(90deg, #0d6efd 0%, #00c2ff 100%);
  border-color: transparent;
  box-shadow: none;
}

.cd-toggle-list .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
}

.cd-toggle-list .custom-switch .custom-control-input:focus ~ .custom-control-label::before,
.cd-toggle-list .custom-switch .custom-control-input:active ~ .custom-control-label::before {
  box-shadow: none;
}

.cd-my-nft-item .cd-collection-item-thumb {
  outline-offset: 0;
  /* box-shadow: 0 0 11px rgba(77, 216, 255, 0.69); */
   outline: none !important;
}
/* ---------------------------------------------------------------------
 * Collections / Library / My NFTs / Public Profile - mobile toolbar +
 * filters bottom sheet (OpenSea-style). Shared by all four pages since
 * they all reuse the same .cd-sidebar-toggle / .cd-collections-filters
 * / .cd-collections-toolbar markup and collections-library-filters.js.
 * Desktop behaviour (inline collapse via .cd-sidebar-collapsed) is
 * untouched - none of this fires above 767.98px.
 * ------------------------------------------------------------------- */

/* One button holds both icons; only one is shown at a time via the
   media query below. */
.cd-sidebar-toggle-icon-mobile {
    display: none;
}

/* Backdrop for the mobile filters sheet. Inert (display:none) until
   JS adds is-visible, which only ever happens at mobile widths, so
   this is safe to leave outside the media query. */
.cd-mobile-filters-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 30, 0.6);
    z-index: 1040;
}

.cd-mobile-filters-backdrop.is-visible {
    display: block;
}

/* Sheet header (drag handle + "Filters" title + close X) - only
   relevant once the panel becomes a bottom sheet on mobile. */
.cd-mobile-filters-header {
    display: none;
}

@media (max-width: 767.98px) {

    /* Hamburger replaces the double-arrow on mobile only. */
    .cd-sidebar-toggle-icon-desktop {
        display: none;
    }
    .cd-sidebar-toggle-icon-mobile {
        display: block;
    }

    /* Toolbar: force one line - hamburger, search, view toggle, and
       result count all shrink to fit instead of wrapping to a second
       line (which is what was pushing "Voting"/extra rows below). */
    .cd-collections-toolbar {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .cd-sidebar-toggle {
        width: 30px;
        height: 30px;
        flex: 0 0 auto;
    }

    /* Smaller, narrower search box - was fighting the view toggle and
       result count for space and forcing a wrap. */
    .cd-collections-search {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 90px;
    }

    .cd-collections-search .cd-search-icon {
        left: 8px;
        width: 12px;
        height: 12px;
    }

    .cd-collections-search input[type="text"] {
        padding: 6px 8px 6px 24px;
        font-size: 11px;
        border-radius: 14px;
    }

    .cd-collections-view-toggle {
        flex: 0 0 auto;
        gap: 2px;
    }

    .cd-collections-result-count {
        flex: 0 0 auto;
        margin-left: 0;
        padding: 6px 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    /* Filters panel becomes a bottom sheet: fixed to the viewport
       floor, hidden below it by default, slides up when
       .cd-mobile-filters-open is added by JS. */
    /* Compound selector (.cd-collections-row .cd-collections-filters)
       is deliberate: the theme's Bootstrap grid framework ships
       ".col-lg-3, .col-lg-4, ... { position: static !important; }"
       (since .cd-collections-filters also carries the .col-lg-3 grid
       class). Both rules are !important, so the tie is broken by
       specificity, not source order - a bare ".cd-collections-filters"
       selector ties with ".col-lg-3" and can lose unpredictably. This
       compound selector plus !important on position guarantees we win. */
    .cd-collections-row .cd-collections-filters {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999999;
        max-height: 80vh;
        overflow-y: auto;
        background: #011959;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 16px 16px 0 0;
        padding: 0 16px 20px;
        transform: translateY(100%);
        transition: transform 0.28s ease;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
        margin: 0;
    }

    .cd-collections-row .cd-collections-filters.cd-mobile-filters-open {
        transform: translateY(0);
    }

    /* The sheet gets its own "Filters" title from the header below -
       hide the page's own "Traits" heading to avoid a duplicate title. */
    .cd-collections-filters > h3 {
        display: none;
    }

    .cd-mobile-filters-header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 0;
        background: #011959;
        padding: 10px 0 6px;
        margin: 0 -16px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .cd-mobile-filters-handle {
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 36px;
        height: 4px;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.3);
    }

    .cd-mobile-filters-title {
        font-weight: 700;
        font-size: 14px;
        margin-top: 6px;
    }

    .cd-mobile-filters-close {
         position: absolute;
        right: 15px;
        top: 9px;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: #fff;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
    }

    /* Lock page scroll behind the open sheet. */
    body.cd-mobile-filters-locked {
        overflow: hidden;
    }
}

/* The sheet was rendering far down the page (after all the grid
   content) instead of pinned to the bottom of the screen, requiring a
   long scroll to reach it. Root cause: some ancestor (theme/plugin JS
   commonly sets this on body/html, not anything in this plugin) has a
   CSS transform, which makes IT the containing block for our
   position:fixed sheet instead of the real viewport - so "bottom: 0"
   was resolving against the bottom of the whole page, not the screen.
   Resetting transform on html/body only while the sheet is open (via
   the same lock class already toggled by JS) is a safe, scoped fix
   that can't affect anything else on the site. */
body.cd-mobile-filters-locked {
    transform: none !important;
}

html:has(body.cd-mobile-filters-locked) {
    transform: none !important;
}



@media(max-width: 991px){
      div#cd-collections-grid.cd-liababry-collection.cd-view-grid-lg {
        gap: 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }
    div#cd-collections-grid.cd-liababry-collection.cd-view-grid-lg .cd-collection-item.cd-library-book-item{
            width: 48% !important;
    }
 div#cd-collections-grid.cd-liababry-collection.cd-view-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}
div#cd-collections-grid.cd-liababry-collection.cd-view-grid .cd-collection-item.cd-library-book-item {
    width: 31% !important;
}
html body .cd-library-book-item .cd-collection-id {
    width: 100% !important;
    font-size: 14px !important;
}
#cd-collections-grid.cd-view-list .cd-collection-item-info {
    flex-wrap: wrap;
}
div#cd-collections-grid.cd-liababry-collection.cd-view-list p.cd-collection-name.cd-collection-id {
    width: auto !important;
}
div#cd-collections-grid.cd-liababry-collection.cd-view-list ul.cd-book-actions.list-inline.mt-2 {
    margin: 0 !important;
    display: block;
    width: 100%;
}
div#cd-collections-grid.cd-liababry-collection.cd-view-list li.list-inline-item {
    padding: 0;
}
div#cd-collections-grid.cd-liababry-collection.cd-view-list a.btn.cd-btn-secondary.btn-sm.cd-view-book-cover {
    margin: 0;
    display: block;
}
div#cd-collections-grid.cd-liababry-collection.cd-view-list ul.cd-book-actions.list-inline.mt-2 li.list-inline-item a {
    margin: 0 0 0px 10px;
}
ul.cd-book-actions.list-inline.mt-2 {
    margin-bottom: 0;
}

}
/* ---------------------------------------------------------------------
 * Client #41 / #42 - one line style everywhere: 1px stroke + black outer
 * glow. Used by every hr.separator on the dashboard and by the Downloads
 * > Images / 3D Models grids (connected grid, lines on left + right).
 * Grid glow = container outer shadow + each cell's inset shadow, so both
 * sides of every inner line get the same glow without cells painting
 * over each other's borders.
 * ------------------------------------------------------------------- */
#cd-dashboard-content hr.separator {
    height: 0 !important;
    border: 0 !important;
    border-top: 1px solid #0074e1 !important;
    background: none !important;
    box-shadow: 0 0 4px #000 !important;
    opacity: 1 !important;
}

#cd-dashboard-content #cd-image-list > .row,
#cd-dashboard-content #cd-model-list {
    display: grid !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 1px 1px 0 !important; /* room for the cells' -1px overlap */
}

#cd-dashboard-content #cd-image-list > .row {
    grid-template-columns: repeat(var(--cd-grid-cols, 4), minmax(0, 1fr));
}

#cd-dashboard-content #cd-image-list > .row:before,
#cd-dashboard-content #cd-image-list > .row:after {
    display: none !important;
}

#cd-dashboard-content #cd-image-list .cd-image-item,
#cd-dashboard-content #cd-model-list .cd-model-item {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    /* Each cell draws its own full box, so lines only go as far as there
       are items (no empty frame when a row isn't full). The -1px right /
       bottom overlap merges neighbouring borders into one 1px line. */
    margin: 0 -1px -1px 0 !important;
    border: 1px solid #0074e1 !important;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.6), 0 0 4px #000 !important;
    position: relative;
}

#cd-dashboard-content #cd-image-list .cd-image-item {
    padding: 25px 15px !important;
}

@media (max-width: 991.98px) {
    #cd-dashboard-content #cd-image-list > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    #cd-dashboard-content #cd-image-list > .row {
        grid-template-columns: minmax(0, 1fr);
    }
}