/*
 * Custom overrides
 * Load order: last
 * Put quick fixes here to avoid touching dist assets.
 */

.single-preview {
  margin-left: -20px;
}

/* Scrollbar: thumb only, no track, no gutter */
html {
  scrollbar-gutter: auto !important;
  overflow-y: auto !important;
}

@supports (overflow-y: overlay) {
  html { overflow-y: overlay !important; }
}

body {
  width: 100vw !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

* {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(180, 190, 200, 0.55) transparent !important;
}

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent !important; }
*::-webkit-scrollbar-thumb {
  background-color: rgba(180, 190, 200, 0.55) !important;
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
  opacity: 1 !important;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: rgba(200, 210, 220, 0.75) !important;
}

/* Single preview: scroll on canvas, overlay scrollbar */
.single-preview {
  overflow: auto !important;
  scrollbar-gutter: auto !important;
}

.single-preview::-webkit-scrollbar-track {
  background: transparent !important;
}

.single-preview::-webkit-scrollbar-thumb {
  background-color: rgba(180, 190, 200, 0.55) !important;
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.sidebar-toggle {
  top: 12px;
  width: 24px;
  height: 36px;
  }

.sidebar-toggle-icon {
  margin-left: -4px;
}

.wall-grid {
  margin-top: 20px;
}
/* Skeleton sizing + image fade-in */
.wall-skeleton {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.wall-thumb img {
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wall-thumb img.is-loaded {
  opacity: 1;
  transform: none;
}
.nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-more-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: -6px;
  display: none;
  z-index: 200;
}

.nav-link--more.nav-more-toggle {
  background: none;
  border: none;
  padding: 4px 0;
  color: var(--nav-color, #c9d2d8);
  line-height: 1.1;
  font-weight: inherit;
  display: inline-block;
  position: relative;
  font-size: inherit;
  font-family: inherit;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link--more.nav-more-toggle {
  font-size: 12px;
  line-height: 13.2px;
}

.nav-link--more.nav-more-toggle:hover {
  color: #fff;
}

.nav-link--more.nav-more-toggle::after {
  content: "";
}

.nav-more:hover .nav-more-panel,
.nav-more:focus-within .nav-more-panel {
  display: none;
}

.nav-more.is-open .nav-more-panel {
  display: block;
}

.nav-more.is-open .nav-link--more.nav-more-toggle::after {
  transform: none;
  color: inherit;
}

.nav-more.is-open .nav-link--more.nav-more-toggle {
  color: #fff;
}

.single-collection-star {
  width: 12px;
  height: 12px;
  display: inline-flex;
  color: #f3d26b;
}

.prop-edit .prop-edit-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
}

.about-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-subheading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.4;
  margin-top: 12px;
}

.about-heading-icon,
.about-subheading-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.rules-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rules-subheading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 12px;
}

.rules-heading-icon,
.rules-subheading-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.about-panel .about-heading,
.rules-panel .rules-heading,
.faq-panel .about-heading {
  color: #ffb45a !important;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.about-panel .about-subheading,
.rules-panel .rules-subheading,
.faq-panel .about-subheading {
  color: #ff9a62 !important;
  font-size: 16px;
  line-height: 1.4;
  margin-top: 6px;
  margin-bottom: 4px;
}

.about-panel .upload-rules-list,
.rules-panel .upload-rules-list,
.faq-panel .upload-rules-list {
  margin-top: 0;
}

.rules-panel .rules-level {
  color: #f7d26a;
  margin: 10px 0 4px;
  font-size: 14px;
}

.faq-panel .about-subheading {
  font-size: 16px;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 6px;
}

.faq-panel .upload-rules-section {
  padding: 4px 0 10px;
}

.faq-panel .upload-rules-section + .upload-rules-section {
  border-top: none;
  padding-top: 6px;
}

.about-panel a,
.rules-panel a,
.faq-panel a {
  color: #58c4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(88, 196, 255, 0.4);
}

.about-panel a:hover,
.rules-panel a:hover,
.faq-panel a:hover {
  color: #8ad8ff;
  border-bottom-color: rgba(138, 216, 255, 0.8);
}

.about-panel,
.rules-panel,
.faq-panel {
  padding: 20px;
}

.about-panel .upload-rules-section,
.rules-panel .upload-rules-section,
.faq-panel .upload-rules-section {
  margin-bottom: 10px;
}

.stats-page .about-panel .upload-rules-section {
  margin-bottom: 16px;
}

.stats-grid {
  display: grid;
  gap: 8px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(20, 24, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 13px;
}

.stats-row span {
  color: rgba(255, 255, 255, 0.68);
}

.stats-row strong {
  color: #e8f1f7;
  font-weight: 700;
}


.team-page .upload-hero {
  margin-bottom: 16px;
}

.team-panel {
  padding: 24px;
  background: rgba(10, 12, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.team-title {
  text-align: center;
  font-size: 22px;
  margin: 4px 0 20px;
  letter-spacing: 0.5px;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(32, 36, 40, 0.9), rgba(24, 28, 32, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-avatar-placeholder {
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.team-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.team-name {
  color: #ff8b5a;
  font-weight: 700;
  font-size: 16px;
}

.team-role {
  color: #e6e6e6;
  font-weight: 600;
  font-size: 14px;
}

.team-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0 10px;
}

.team-desc {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 820px) {
  .team-card {
    grid-template-columns: 90px 1fr;
  }

  .team-avatar {
    width: 90px;
    height: 90px;
  }
}


:root {
  --full-bleed-width: 100vw;
  --full-bleed-half: 50vw;
}

@supports (width: 100dvw) {
  :root {
    --full-bleed-width: 100dvw;
    --full-bleed-half: 50dvw;
  }
}

/* Force full-bleed layout even if CSS vars are missing */
.listing-header,
.listing-related,
.listing-controls,
.browse-page-marker {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@supports (width: 100dvw) {
  .listing-header,
  .listing-related,
  .listing-controls,
  .browse-page-marker {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}

.nav-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.nav-more-panel {
  min-width: 300px;
  padding: 12px;
  border-radius: 8px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.nav-more-item {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 6px;
  color: #e6e6e6;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.nav-more-item:hover {
  color: #fff;
}

.nav-more-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #cfe2f0;
}

.nav-more-icon svg,
.nav-more-social-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lucide-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-more-social {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-menu-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cfe2f0;
}

.user-menu-item-icon .lucide-icon {
  width: 18px;
  height: 18px;
}

.nav-more-social-item {
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7d0d6;
}

.nav-more-social-item:hover {
  color: #fff;
}
