html {
  height: 100%;
}

body.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer-promo {
  padding: 28px 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.site-footer-promo-title {
  margin: 0;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.2;
}

.site-footer-promo-text {
  margin: 10px auto 0;
  max-width: 640px;
  color: #aaa;
  font-size: 15px;
  line-height: 1.5;
}

.site-footer-promo-action {
  margin: 16px 0 0;
}

.site-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}

.site-footer-bar .copyright-text {
  margin: 0;
  color: #888;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.site-footer-stats-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-footer-stats-btn:hover,
.site-footer-stats-btn:focus {
  outline: none;
  border-color: rgba(81, 66, 252, 0.45);
  background: rgba(81, 66, 252, 0.12);
}

.site-footer-stats-btn[aria-expanded="true"] {
  border-color: rgba(81, 66, 252, 0.55);
  background: rgba(81, 66, 252, 0.18);
}

.vote-form-inline,
.vote-form-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.vote-form-stack {
  justify-content: center;
}

.vote-form-corners {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  min-height: 48px;
}

.vote-form-corners .vote-btn {
  position: static;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 22px;
}

.vote-detail-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vote-detail-btn:hover {
  background: rgba(81, 66, 252, 0.25);
  border-color: rgba(81, 66, 252, 0.45);
  color: #fff;
}

.vote-btn {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 56px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.vote-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.04);
}

.vote-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vote-btn-up {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.vote-btn-down {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.vote-countdown:not(.card-countdown) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  overflow: hidden;
}

.vote-countdown-label {
  display: none;
  color: #ddd;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.vote-countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.vote-countdown:not(.card-countdown) .countdown-segment {
  min-width: 0;
  flex: 0 1 auto;
  text-align: center;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.vote-countdown:not(.card-countdown) .countdown-segment strong {
  display: inline;
  font-size: clamp(11px, 3.2vw, 14px);
  line-height: 1;
  font-family: Montserrat, sans-serif;
  font-variant-numeric: tabular-nums;
}

.vote-countdown:not(.card-countdown) .countdown-segment small {
  display: none;
}

.vote-countdown:not(.card-countdown) .countdown-sep {
  flex: 0 0 auto;
  color: #888;
  font-weight: 700;
  margin: 0;
  padding: 0 1px;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1;
}

@media (min-width: 768px) {
  .vote-countdown:not(.card-countdown) {
    padding: 14px 16px;
  }

  .vote-countdown-label {
    display: block;
  }

  .vote-countdown-timer {
    gap: 8px;
  }

  .vote-countdown:not(.card-countdown) .countdown-segment {
    min-width: 42px;
    display: block;
  }

  .vote-countdown:not(.card-countdown) .countdown-segment strong {
    display: block;
    font-size: 22px;
  }

  .vote-countdown:not(.card-countdown) .countdown-segment small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
  }

  .vote-countdown:not(.card-countdown) .countdown-sep {
    margin-top: -8px;
    padding: 0;
    font-size: inherit;
  }
}

.vote-stats {
  color: #fff;
  font-size: 14px;
}

.vote-stats span {
  margin-right: 12px;
}

.category-card {
  background: linear-gradient(180deg, #242424 0%, #171717 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.category-card h3 a,
.category-sidebar-title {
  color: #fff;
  text-decoration: none;
  margin: 0 0 8px;
  font-size: 18px;
}

.home-page-wrap {
  max-width: 1400px;
}

.home-voting-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-areas: "cats main";
  gap: 28px;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.home-categories-panel {
  grid-area: cats;
  min-width: 0;
}

.home-participants-panel {
  grid-area: main;
  min-width: 0;
}

.home-participants-panel.has-side-winners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.home-participants-panel.has-side-winners > .home-category-pane {
  grid-column: 1;
  min-width: 0;
}

.home-participants-panel.has-side-winners > .home-winners-panel {
  grid-column: 2;
  grid-row: 1;
  width: 240px;
  max-width: 240px;
}

.home-winners-panel,
.home-winners-mobile {
  min-width: 0;
}

.home-winners-panel {
  position: sticky;
  top: 20px;
}

.home-winners-mobile-wrap {
  display: none;
  max-width: 1400px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.home-winners-widget {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-winners-empty {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
}

.home-winners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-winners-item {
  margin: 0;
}

.home-winners-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-winners-link:hover,
.home-winners-link:focus {
  text-decoration: none;
  background: rgba(81, 66, 252, 0.08);
  border-color: rgba(81, 66, 252, 0.28);
  transform: translateY(-1px);
}

.home-winners-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #14141f;
  overflow: hidden;
}

.home-winners-cover-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-winners-cover-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(8, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.home-winners-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 10px 12px 12px;
}

.home-winners-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-winners-all-link {
  display: inline-block;
  margin-top: 14px;
  color: #b8b0ff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.home-winners-all-link:hover,
.home-winners-all-link:focus {
  color: #fff;
  text-decoration: underline;
}

.home-participants-panel.has-side-banners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--banner-sidebar-right-w, 180px);
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.home-participants-panel.has-side-banners > .home-category-pane {
  grid-column: 1;
  min-width: 0;
}

.home-participants-panel.has-side-banners > .home-banners-panel-side {
  grid-column: 2;
  grid-row: 1;
  width: var(--banner-sidebar-right-w, 180px);
  max-width: var(--banner-sidebar-right-w, 180px);
}

.home-banners-panel-side {
  position: sticky;
  top: 20px;
  min-width: 0;
}

.home-banners-mobile-wrap {
  display: none;
  max-width: 1400px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.home-banners-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.home-banners-panel-side:empty,
.home-banners-mobile:empty,
.banner-slot:empty {
  display: none;
}

.home-side-bar {
  position: sticky;
  top: 20px;
}

.home-categories-panel {
  position: sticky;
  top: 20px;
  align-self: start;
}

.home-side-title {
  margin: 0 0 18px;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-category-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-category-menu li {
  margin-bottom: 12px;
}

.home-category-menu li:last-child {
  margin-bottom: 0;
}

.home-category-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: #aaa;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.2s ease;
}

.home-category-link::after {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -2px;
  background: #5142fc;
  transition: width 0.25s ease;
}

.home-category-link:hover,
.home-category-link.is-active {
  color: #fff;
}

.home-category-link.is-active::after {
  width: 100%;
}

.home-category-filter {
  position: relative;
}

.home-category-filter-toggle {
  display: none;
}

.home-category-filter-chevron {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8a8aa0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.home-category-filter-chevron::before {
  content: "^";
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.home-category-filter-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.home-side-divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.08);
}

.home-filter-pane {
  display: none;
}

.home-filter-pane.is-active {
  display: block;
}

.home-filter-desc,
.home-category-desc-text {
  margin: 0 0 18px;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #b0b0bc;
  font-size: 15px;
  line-height: 1.65;
  font-style: italic;
  text-align: center;
  quotes: "«" "»";
}

.home-category-desc-text::before {
  content: open-quote;
  margin-right: 0.15em;
  color: #7c6bff;
  font-style: normal;
  font-weight: 700;
}

.home-category-desc-text::after {
  content: close-quote;
  margin-left: 0.15em;
  color: #7c6bff;
  font-style: normal;
  font-weight: 700;
}

.home-category-desc-mobile {
  display: none;
}

@media (max-width: 959px) {
  .home-category-desc-mobile.is-active {
    display: block;
    margin-top: 12px;
  }

  .home-category-desc-mobile .home-category-desc-text {
    margin-bottom: 0;
  }

  .home-category-desc-desktop {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .home-category-desc-mobile {
    display: none !important;
  }
}

.home-stats-site {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.forum-stats-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.forum-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.forum-stats-row dt {
  margin: 0;
  color: #8a8aa0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.forum-stats-row dd {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.forum-stats-row dd .badge-open,
.forum-stats-row dd .badge-closed {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-filter-meta {
  margin: 0 0 12px;
  font-size: 13px;
}

.home-category-pane {
  display: none;
  min-width: 0;
}

.home-category-pane.is-active {
  display: block;
}

.participants-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 768px) {
  .participants-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 960px) {
  .home-voting-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .home-participants-panel.has-side-winners {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 16px;
  }

  .home-participants-panel.has-side-winners > .home-winners-panel {
    width: 200px;
    max-width: 200px;
  }

  .participants-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .participants-grid .sc-card-product {
    padding: 10px;
    border-radius: 12px;
  }

  .participants-grid .sc-card-product .card-media {
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .participants-grid .sc-card-product .card-head {
    margin-bottom: 6px;
    gap: 4px;
  }

  .participants-grid .sc-card-product .card-name {
    font-size: 13px;
  }

  .participants-grid .sc-card-product .card-type-tag {
    display: none;
  }

  .participants-grid .vote-form-card {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 4px;
  }

  .participants-grid .vote-form-card .card-action {
    min-height: 32px;
    border-radius: 7px;
  }

  .participants-grid .vote-form-card .card-action-up,
  .participants-grid .vote-form-card .card-action-down {
    font-size: 14px;
  }

  .participants-grid .card-type-prediction .vote-form-card .card-action-up,
  .participants-grid .card-type-prediction .vote-form-card .card-action-down {
    font-size: 9px;
  }

  .participants-grid .vote-form-card .card-action-main {
    font-size: 9px;
    padding: 0 3px;
  }

  .participants-grid .sc-card-product .card-countdown.vote-countdown {
    bottom: 6px;
    width: calc(100% - 10px);
    max-width: calc(100% - 10px);
    padding: 2px 5px;
  }

  .participants-grid .card-polymarket-cta {
    min-height: 32px;
    font-size: 11px;
  }
}

.participants-grid .sc-card-product {
  padding: 12px;
  border-radius: 14px;
}

.participants-grid .sc-card-product .card-media {
  margin-bottom: 10px;
  border-radius: 10px;
}

.participants-grid .sc-card-product .card-head {
  margin-bottom: 8px;
  gap: 6px;
}

.participants-grid .sc-card-product .card-name {
  font-size: 14px;
}

.participants-grid .sc-card-product .card-type-tag {
  padding: 2px 6px;
  font-size: 9px;
}

.participants-grid .card-theory-preview {
  margin-bottom: 8px;
  font-size: 11px;
}

.participants-grid .sc-card-product .card-countdown.vote-countdown {
  bottom: 8px;
  padding: 3px 8px;
}

.participants-grid .sc-card-product .card-countdown .vote-countdown-timer {
  font-size: 10px;
}

.participants-grid .vote-form-card {
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 5px;
}

.participants-grid .vote-form-card .card-action {
  min-height: 36px;
  border-radius: 8px;
}

.participants-grid .vote-form-card .card-action-up,
.participants-grid .vote-form-card .card-action-down {
  font-size: 16px;
}

.participants-grid .card-type-prediction .vote-form-card .card-action-up,
.participants-grid .card-type-prediction .vote-form-card .card-action-down {
  font-size: 10px;
}

.participants-grid .vote-form-card .card-action-main {
  font-size: 10px;
  padding: 0 4px;
}

.participants-grid .sc-card-product.card-polymarket .polymarket-gauge-card .polymarket-gauge-dial {
  max-width: 132px;
}

.participants-grid .sc-card-product.card-polymarket .polymarket-gauge-card .polymarket-gauge-values {
  font-size: 12px;
}

.participants-grid .card-polymarket-cta {
  min-height: 36px;
  border-radius: 10px;
  font-size: 12px;
}

.home-participants-panel {
  min-width: 0;
}

@media (max-width: 959px) and (min-width: 768px) {
  .home-participants-panel.has-side-winners {
    grid-template-columns: minmax(0, 1fr) 200px;
  }

  .home-participants-panel.has-side-winners > .home-winners-panel {
    width: 200px;
    max-width: 200px;
  }

  .home-participants-panel.has-side-banners {
    grid-template-columns: minmax(0, 1fr) 160px;
  }

  .home-participants-panel.has-side-banners > .home-banners-panel-side {
    width: 160px;
    max-width: 160px;
  }
}

@media (max-width: 767px) {
  .participants-grid .sc-card-product {
    padding: 10px;
  }

  .participants-grid .sc-card-product .card-name {
    font-size: 13px;
  }

  .participants-grid .vote-form-card {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .participants-grid .vote-form-card .card-action {
    min-height: 34px;
  }

  .hero-section-with-banners {
    height: auto;
  }

  .hero-section:not(.hero-section-with-banners) .hero-content {
    padding: 20px 16px 28px;
  }

  .hero-section:not(.hero-section-with-banners) .uk-h1-d {
    font-size: clamp(22px, 6vw, 32px);
  }

  .hero-section:not(.hero-section-with-banners) .uk-p {
    font-size: 13px;
  }

  .home-participants-panel.has-side-winners {
    grid-template-columns: 1fr;
  }

  .home-participants-panel.has-side-winners > .home-winners-panel {
    display: none !important;
  }

  .home-winners-mobile-wrap {
    display: block;
  }

  .home-participants-panel.has-side-banners {
    grid-template-columns: 1fr;
  }

  .home-participants-panel.has-side-banners > .home-banners-panel-side {
    display: none !important;
  }

  .home-banners-mobile-wrap {
    display: block;
  }
}

@media (max-width: 959px) {
  .home-voting-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cats"
      "main";
    gap: 20px;
  }

  .home-categories-panel {
    position: static;
  }

  .home-side-bar {
    position: static;
  }

  .home-category-title-desktop {
    display: none;
  }

  .home-category-widget {
    margin-bottom: 0;
  }

  .home-category-filter {
    position: relative;
    z-index: 1;
  }

  .home-category-filter.is-open {
    z-index: 120;
  }

  .home-category-filter.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 119;
  }

  .home-category-filter-toggle {
    position: relative;
    z-index: 122;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .home-category-filter-toggle:hover,
  .home-category-filter-toggle:focus {
    outline: none;
    border-color: rgba(81, 66, 252, 0.45);
    background: rgba(81, 66, 252, 0.08);
  }

  .home-category-filter.is-open .home-category-filter-toggle {
    border-color: rgba(81, 66, 252, 0.45);
    background: rgba(81, 66, 252, 0.1);
  }

  .home-category-filter.is-open .home-category-filter-chevron {
    transform: rotate(180deg);
    color: #c4baff;
  }

  .home-category-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 121;
    display: block;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(18, 18, 24, 0.98);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .home-category-filter.is-open .home-category-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-category-menu ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: min(240px, 42vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .home-category-menu li {
    margin-bottom: 0;
  }

  .home-category-link {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    text-align: left;
  }

  .home-category-link::after {
    display: none;
  }

  .home-category-link.is-active {
    background: rgba(81, 66, 252, 0.16);
    color: #fff;
  }

  .home-category-link:hover,
  .home-category-link:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }
}

.participant-avatar,
.nft-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid #191818;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}

img.participant-avatar,
img.nft-avatar {
  display: block;
}

.participant-avatar-fallback,
.nft-avatar.participant-avatar-fallback {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  font-size: 18px;
}

/* ——— Карточки участников (сетка + таймер + кнопки) ——— */

.sc-card-product {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px;
  background: #343444;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.sc-card-product:hover {
  border-color: rgba(81, 66, 252, 0.35);
  box-shadow: 0 14px 36px rgba(81, 66, 252, 0.12);
}

.sc-card-product .card-media {
  position: relative;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #14141f;
  aspect-ratio: 1 / 1;
}

.sc-card-product .card-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sc-card-product .card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #14141f;
  transition: transform 0.35s ease;
}

.sc-card-product.card-has-logo .card-cover {
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

.sc-card-product:hover .card-cover {
  transform: scale(1.04);
}

.sc-card-product .card-countdown.vote-countdown {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 12px);
  max-width: calc(100% - 12px);
  margin: 0;
  padding: 3px 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(81, 66, 252, 0.92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  overflow: hidden;
}

.sc-card-product .card-countdown .vote-countdown-label {
  display: none;
}

.sc-card-product .card-countdown .vote-countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: clamp(8px, 2.4vw, 11px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.sc-card-product .card-countdown .countdown-segment {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  min-width: 0;
  flex: 0 1 auto;
  text-align: center;
}

.sc-card-product .card-countdown .countdown-segment strong {
  display: inline;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

.sc-card-product .card-countdown .countdown-segment small {
  display: none;
}

.sc-card-product .card-countdown .countdown-sep {
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  padding: 0 1px;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.sc-card-product .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.sc-card-product .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.sc-card-product .card-name {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  min-width: 0;
  flex: 1;
}

.sc-card-product .card-name a {
  color: #fff;
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-card-product .card-name a:hover {
  color: #c4bbff;
}

.sc-card-product .card-type-tag {
  flex-shrink: 0;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(81, 66, 252, 0.15);
  color: #c4bbff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.sc-card-product.card-type-prediction .card-type-tag {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.card-theory-preview {
  margin: 0 0 10px;
  color: #8a8aa0;
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vote-form-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 6px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin-top: auto;
  padding-top: 2px;
  box-sizing: border-box;
}

.vote-form-card > input[type="hidden"] {
  display: none;
}

.vote-form-card .card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
}

.vote-form-card .card-action-up {
  grid-column: 1;
  background: #22c55e;
  color: #fff;
  font-size: 18px;
}

.vote-form-card .card-action-main {
  grid-column: 2;
  min-width: 0;
  background: transparent;
  border: 1px solid #5142fc;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-form-card .card-action-down {
  grid-column: 3;
  background: #ef4444;
  color: #fff;
  font-size: 18px;
}

.card-type-prediction .vote-form-card .card-action-up,
.card-type-prediction .vote-form-card .card-action-down {
  font-size: 11px;
}

.vote-form-card .card-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vote-form-card .card-action-main:hover {
  border-color: #6d5dfc;
  color: #fff;
  background: rgba(81, 66, 252, 0.12);
}

.vote-form-card .card-action:not(:disabled):hover {
  filter: brightness(1.06);
}

.vote-form-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.vote-form-detail .card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
  box-shadow: none;
}

.vote-form-detail .card-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vote-form-detail .card-action-up {
  background: #22c55e;
  color: #fff;
}

.vote-form-detail .card-action-down {
  background: #ef4444;
  color: #fff;
}

.vote-form-detail .card-action:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* legacy aliases for detail page */
.nft-card {
  background: #343444;
  border-radius: 20px;
}

.nft-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #111;
}

.nft-detail {
  padding-top: 10px;
  padding-bottom: 40px;
}

.nft-detail-back {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px 8px 0;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nft-detail-back:hover,
.nft-detail-back:focus {
  color: #a89bff !important;
  text-decoration: none;
  transform: translateX(-2px);
}

.nft-detail-back .uk-icon-arrow-left {
  color: #5142fc;
}

.nft-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.nft-detail-media,
.nft-detail-content {
  min-width: 0;
}

.nft-detail-cover-wrap {
  position: relative;
  padding: 8px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.55), rgba(236, 72, 153, 0.45));
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.nft-detail-cover {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: block;
  background: #111;
  object-fit: cover;
  object-position: center;
}

.nft-detail-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  box-sizing: border-box;
}

.nft-detail-section-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-family: Montserrat, sans-serif;
}

.nft-detail-desc {
  margin: 24px 0;
}

.nft-detail-desc p {
  margin: 0;
  line-height: 1.65;
}

.nft-detail-vote {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nft-detail-vote-note {
  margin: 0 0 14px;
  font-size: 13px;
}

.nft-detail-vote .vote-form-detail {
  max-width: 420px;
}

.sc-card-product.card-polymarket .card-body {
  gap: 10px;
}

.sc-card-product.card-polymarket .polymarket-gauge-card {
  padding: 4px 0 0;
}

.sc-card-product.card-polymarket .polymarket-gauge-card .polymarket-gauge-dial {
  max-width: 168px;
}

.sc-card-product.card-polymarket .polymarket-gauge-card .polymarket-gauge-values {
  margin-top: 4px;
  font-size: 14px;
}

.sc-card-product.card-polymarket .card-polymarket-cta {
  margin-top: auto;
}

.card-polymarket-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(81, 66, 252, 0.95), rgba(124, 58, 237, 0.95));
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-polymarket-cta:hover,
.card-polymarket-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(81, 66, 252, 0.35);
  color: #fff !important;
}

.card-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
}

.card-emoji-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.vote-form-card .card-emoji-img {
  width: 22px;
  height: 22px;
}

.vote-form-detail .card-emoji-img {
  width: 24px;
  height: 24px;
}

.card-polymarket-cta .card-emoji-img {
  width: 22px;
  height: 22px;
}

.card-action-main-emoji,
.card-polymarket-cta-emoji,
.vote-form .action-label-emoji {
  line-height: 0;
}

.vote-form-card .action-label-emoji,
.vote-form-card .card-action-main-emoji {
  display: inline-flex;
}

.vote-form-card .action-label-text,
.vote-form-card .card-action-main-text {
  display: none;
}

.vote-form-detail .action-label-emoji,
.vote-form-detail .card-action-main-emoji {
  display: inline-flex;
  margin-right: 6px;
}

.card-polymarket-cta-emoji {
  display: inline-flex;
  margin-right: 6px;
}

.vote-form .card-action {
  gap: 0;
}

.vote-form .action-label-text,
.vote-form .action-label-emoji {
  line-height: 1;
}

.card-promo-tag {
  pointer-events: none;
  z-index: 3;
}

.card-promo-tag-text {
  line-height: 1.1;
  white-space: nowrap;
  color: var(--tag-text);
}

.card-promo-tag--simple,
.card-promo-tag--blink {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--tag-bg);
  border: 1px solid color-mix(in srgb, var(--tag-bg) 70%, #fff 30%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.card-promo-tag--blink {
  animation: card-promo-tag-blink 1.15s ease-in-out infinite;
}

@keyframes card-promo-tag-blink {
  0%, 100% {
    background: color-mix(in srgb, var(--tag-bg) 28%, #14141f 72%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    background: var(--tag-bg);
    border-color: color-mix(in srgb, var(--tag-bg) 80%, #fff 20%);
    box-shadow: 0 0 18px color-mix(in srgb, var(--tag-bg) 55%, transparent);
  }
}

.card-promo-tag--arrow {
  position: absolute;
  top: 10px;
  left: 8px;
  max-width: calc(100% - 16px);
}

.card-promo-tag-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 14px 6px 10px;
  background: linear-gradient(135deg, var(--tag-bg), color-mix(in srgb, var(--tag-bg) 72%, #000 28%));
  color: var(--tag-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.sc-card-product.card-has-promo-tag--arrow .card-media {
  overflow: visible;
}

.polymarket-gauge {
  position: relative;
  padding: 8px 6px 0;
}

.polymarket-gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.polymarket-gauge-label-no {
  color: #f87171;
}

.polymarket-gauge-label-yes {
  color: #4ade80;
}

.polymarket-gauge-dial {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.polymarket-gauge-arc {
  position: absolute;
  inset: 0;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
}

.polymarket-gauge-arc-no {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.55) 0%, rgba(239, 68, 68, 0.15) 50%, transparent 50%);
  clip-path: polygon(0 100%, 0 0, 50% 0, 50% 100%);
}

.polymarket-gauge-arc-yes {
  background: linear-gradient(270deg, rgba(34, 197, 94, 0.55) 0%, rgba(34, 197, 94, 0.15) 50%, transparent 50%);
  clip-path: polygon(50% 100%, 50% 0, 100% 0, 100% 100%);
}

.polymarket-gauge-needle {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: calc(100% - 12px);
  margin-left: -2px;
  transform-origin: bottom center;
  transform: rotate(var(--needle-deg, 0deg));
  background: linear-gradient(to top, #fff 0%, #cbd5e1 100%);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
  transition: transform 0.35s ease;
}

.polymarket-gauge-hub {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.polymarket-gauge-values {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
}

.polymarket-gauge-value-no {
  color: #f87171;
}

.polymarket-gauge-value-yes {
  color: #4ade80;
}

.polymarket-gauge-detail .polymarket-gauge-dial {
  max-width: 280px;
}

.crypto-bet-side-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.crypto-side-pick {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #ddd;
  font-weight: 700;
  cursor: pointer;
}

.crypto-side-pick.is-active[data-side="for"] {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.crypto-side-pick.is-active[data-side="against"] {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.crypto-bet-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.crypto-bet-pool {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(81, 66, 252, 0.08);
  border: 1px solid rgba(81, 66, 252, 0.22);
}

.crypto-bet-pool-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  color: #ddd;
}

.crypto-bet-pool-row strong {
  color: #fff;
  font-size: 18px;
}

.crypto-bet-pool-row small {
  color: #8a8aa0;
}

.crypto-bet-pool-note,
.crypto-bet-note,
.crypto-bet-hint {
  margin: 0;
  color: #8a8aa0;
  font-size: 13px;
  line-height: 1.5;
}

.crypto-bet-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crypto-bet-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.crypto-bet-side-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.crypto-bet-side-option input {
  margin: 0;
}

.crypto-bet-side-option span {
  color: #fff;
  font-weight: 700;
}

.crypto-bet-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crypto-bet-field label {
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
}

.crypto-bet-field input,
.crypto-bet-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.crypto-bet-field-amount.is-invalid #crypto-amount {
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.crypto-bet-field-amount.is-invalid #crypto-amount-range {
  accent-color: #f87171;
}

.crypto-bet-amount-error {
  margin: 0;
  color: #fca5a5;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.crypto-bet-field-amount.is-shaking {
  animation: cryptoAmountShake 0.45s ease;
}

@keyframes cryptoAmountShake {
  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.crypto-bet-form [data-crypto-submit].is-disabled,
.crypto-bet-form [data-crypto-submit]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.crypto-bets-public {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-bets-public-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  font-family: Montserrat, sans-serif;
}

.crypto-bets-public-empty {
  margin: 0;
  color: #8a8aa0;
  font-size: 13px;
  line-height: 1.5;
}

.crypto-bets-public-table-wrap {
  overflow-x: auto;
}

.crypto-bets-public-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 13px;
}

.crypto-bets-public-table th,
.crypto-bets-public-table td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
}

.crypto-bets-public-table thead th {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-bets-public-table th {
  color: #8a8aa0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crypto-bets-public-table tbody tr td {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.crypto-bets-public-table tbody tr td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.crypto-bets-public-table tbody tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.crypto-bets-public-table td {
  color: inherit;
}

.crypto-bets-public-table td:first-child {
  width: 36px;
  opacity: 0.85;
}

.crypto-bets-public-table td:nth-child(3) {
  font-weight: 600;
  white-space: nowrap;
}

.crypto-bets-public-table td:last-child {
  white-space: nowrap;
  opacity: 0.85;
}

.crypto-bets-row--for {
  color: #86efac;
}

.crypto-bets-row--for td {
  background: rgba(34, 197, 94, 0.1);
}

.crypto-bets-row--against {
  color: #fca5a5;
}

.crypto-bets-row--against td {
  background: rgba(239, 68, 68, 0.1);
}

.crypto-bets-side {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.crypto-bets-row--for .crypto-bets-side {
  color: #4ade80;
}

.crypto-bets-row--against .crypto-bets-side {
  color: #f87171;
}

@media (min-width: 960px) {
  .crypto-bets-public {
    display: block;
  }
}

.about-page-panel {
  padding: 28px 32px;
}

.site-page-hero {
  box-sizing: border-box;
  min-height: 250px;
  padding: 24px 20px;
  overflow: hidden;
}

.site-page-hero-title {
  margin: 0;
  padding: 0 12px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  font-size: clamp(24px, 5.5vw, 56px) !important;
  line-height: 1.15 !important;
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .site-page-hero {
    min-height: 180px;
    padding: 20px 16px;
  }

  .site-page-hero-title {
    font-size: clamp(22px, 7vw, 34px) !important;
  }
}

.about-page-content {
  color: #b8b8c8;
  line-height: 1.75;
}

.about-page-content-lead {
  color: #d6d6e3;
  font-size: 18px;
}

.about-page-content p {
  margin: 0 0 14px;
  white-space: pre-line;
}

.about-page-content p:last-child {
  margin-bottom: 0;
}

.about-page-content-separated {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-page-layout {
  width: 100%;
}

.site-page-layout--with-media {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.site-page-media,
.site-page-content {
  min-width: 0;
}

.site-page-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: fit-content;
  max-width: min(420px, 100%);
}

.site-page-cover-wrap {
  aspect-ratio: unset;
  width: auto;
  max-width: 420px;
  height: auto;
  overflow: hidden;
}

.site-page-cover-wrap .site-page-cover {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}

.site-page-panel {
  height: auto;
}

.site-page-ad-form-wrap {
  margin-top: 28px;
}

.site-ad-request-panel {
  padding: 0;
  overflow: hidden;
}

.site-ad-request-collapse {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-ad-request-collapse:first-child {
  border-top: 0;
}

.site-ad-request-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.site-ad-request-summary::-webkit-details-marker {
  display: none;
}

.site-ad-request-summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(81, 66, 252, 0.18);
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}

.site-ad-request-collapse[open] .site-ad-request-summary::after {
  content: "−";
}

.site-ad-request-summary-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
}

.site-ad-request-summary-hint {
  color: #8a8aa0;
  font-size: 13px;
  margin-left: auto;
  padding-right: 8px;
}

.site-ad-request-body {
  padding: 0 24px 24px;
}

.site-ad-request-collapsed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
}

.site-ad-request-success {
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.site-ad-request-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  font-family: Montserrat, sans-serif;
}

.site-ad-request-lead {
  margin: 0 0 20px;
  font-size: 14px;
}

.site-ad-request-form {
  display: grid;
  gap: 16px;
}

.site-ad-request-field label,
.site-ad-request-field-label {
  display: block;
  margin-bottom: 6px;
  color: #d6d6e3;
  font-size: 14px;
  font-weight: 600;
}

.site-ad-request-role-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.site-ad-request-role-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #ddd;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.site-ad-request-role-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-ad-request-role-btn.is-active {
  border-color: rgba(81, 66, 252, 0.65);
  background: rgba(81, 66, 252, 0.18);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(81, 66, 252, 0.18);
}

.site-ad-request-role-picker.is-invalid .site-ad-request-role-btn {
  border-color: rgba(248, 113, 113, 0.45);
}

.site-ad-request-role-error {
  margin: 8px 0 0;
  color: #fca5a5;
  font-size: 13px;
}

.site-styled-select {
  position: relative;
}

.site-styled-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-styled-select-trigger {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.site-styled-select-trigger::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #a89bff;
  border-bottom: 2px solid #a89bff;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}

.site-styled-select.is-open .site-styled-select-trigger::after {
  transform: rotate(-135deg) translateY(2px);
}

.site-styled-select-trigger.is-placeholder {
  color: #8a8aa0;
}

.site-styled-select-trigger:focus {
  outline: none;
  border-color: rgba(81, 66, 252, 0.65);
  box-shadow: 0 0 0 2px rgba(81, 66, 252, 0.18);
}

.site-styled-select.is-disabled .site-styled-select-trigger {
  cursor: default;
  opacity: 0.92;
}

.site-styled-select.is-locked .site-styled-select-trigger {
  cursor: default;
}

.site-styled-select.is-locked .site-styled-select-trigger::after {
  opacity: 0.35;
}

.site-styled-select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #1f1f28;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.site-styled-select-option {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #ddd;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-styled-select-option:hover,
.site-styled-select-option:focus {
  outline: none;
  background: rgba(81, 66, 252, 0.14);
  color: #fff;
}

.site-styled-select-option.is-selected {
  background: rgba(81, 66, 252, 0.22);
  color: #fff;
}

.site-ad-request-field input,
.site-ad-request-field select,
.site-ad-request-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
}

.site-ad-request-field textarea {
  min-height: 120px;
  resize: vertical;
}

.site-ad-request-field input:focus,
.site-ad-request-field select:focus,
.site-ad-request-field textarea:focus {
  outline: none;
  border-color: rgba(81, 66, 252, 0.65);
  box-shadow: 0 0 0 2px rgba(81, 66, 252, 0.18);
}

@media (max-width: 767px) {
  .site-page-layout--with-media {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-page-media {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .site-page-cover-wrap {
    max-width: 100%;
  }

  .site-page-cover-wrap .site-page-cover {
    width: 100%;
    max-height: 280px;
  }

  .site-ad-request-role-picker {
    grid-template-columns: 1fr;
  }
}

.crypto-bet-conversion,
.crypto-bet-odds {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #bbb;
  font-size: 14px;
}

.crypto-bet-conversion strong,
.crypto-bet-odds strong {
  color: #fff;
}

.crypto-bet-conversion code {
  word-break: break-all;
  color: #a89bff;
}

.crypto-rate-updated {
  display: block;
  margin-top: 4px;
  color: #7c7c94;
  font-size: 12px;
}

.nft-detail-card-wrap {
  position: relative;
}

.participant-card-flag {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-radius: 24px;
  overflow: hidden;
}

.participant-card-flag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 18, 0.42);
  backdrop-filter: blur(1px);
}

.participant-card-flag-mark {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 22px 28px;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 32, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  transform: rotate(-8deg);
  text-align: center;
}

.participant-card-flag-icon {
  font-size: 42px;
  line-height: 1;
}

.participant-card-flag-text {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.participant-card-flag--history .participant-card-flag-mark {
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.5);
}

.participant-card-flag--history .participant-card-flag-text {
  color: #dbeafe;
}

.participant-card-flag--winner .participant-card-flag-mark {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(42, 32, 8, 0.92);
  box-shadow: 0 18px 48px rgba(120, 80, 0, 0.35);
}

.participant-card-flag--winner .participant-card-flag-text {
  color: #fde68a;
}

.participant-card-flag--prediction .participant-card-flag-mark {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(8, 36, 24, 0.92);
  box-shadow: 0 18px 48px rgba(0, 80, 40, 0.35);
}

.participant-card-flag--prediction .participant-card-flag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  color: #86efac;
  font-size: 28px;
  font-weight: 800;
}

.participant-card-flag--prediction .participant-card-flag-text {
  color: #bbf7d0;
}

.participant-card-flag--crypto .participant-card-flag-mark {
  border-color: rgba(168, 155, 255, 0.55);
  background: rgba(24, 16, 48, 0.92);
  box-shadow: 0 18px 48px rgba(81, 66, 252, 0.28);
}

.participant-card-flag--crypto .participant-card-flag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(81, 66, 252, 0.2);
  color: #c4bbff;
  font-size: 24px;
  font-weight: 800;
}

.participant-card-flag--crypto .participant-card-flag-text {
  color: #ddd6fe;
}

.participant-review-alert {
  margin: 0;
}

.crypto-payout-winners {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.crypto-payout-winners-empty,
.crypto-payout-winners-summary {
  margin: 0;
  color: #8a8aa0;
  font-size: 14px;
  line-height: 1.6;
}

.crypto-payout-winners-summary strong {
  color: #fff;
}

.crypto-payout-winners-table-wrap {
  overflow-x: auto;
}

.crypto-payout-winners-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 13px;
}

.crypto-payout-winners-table th,
.crypto-payout-winners-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.crypto-payout-winners-table thead th {
  color: #8a8aa0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-payout-winners-table td:first-child {
  width: 36px;
  opacity: 0.85;
}

.crypto-payout-winners-table td small {
  display: block;
  margin-top: 4px;
  color: inherit;
  opacity: 0.82;
  font-size: 11px;
}

.crypto-payout-winners-table td strong {
  color: #fff;
}

.nft-creator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.nft-creator .participant-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  max-width: 64px;
  max-height: 64px;
  font-size: 24px;
}

.nft-creator-name {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.nft-creator-role {
  margin: 4px 0 0;
  color: #999;
  font-size: 13px;
}

.nft-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.nft-stat-box {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.nft-stat-box strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.nft-stat-box span {
  color: #888;
  font-size: 12px;
}

.vote-countdown-card {
  margin-top: 14px;
}

.hero-countdown-wrap {
  margin-top: 10px;
}

.category-header-countdown {
  margin: 16px 0;
  min-width: 0;
}

.category-header-countdown .category-card {
  overflow: hidden;
}

@media (max-width: 767px) {
  .category-header-countdown .category-card {
    padding: 12px 10px;
  }
}

.badge-open {
  color: #5cb85c;
}

.badge-closed {
  color: #d9534f;
}

.winners-page {
  max-width: 720px;
}

.winners-page-head {
  margin-bottom: 28px;
}

.winners-page-head h1 {
  margin: 0 0 8px;
}

.winners-page-head p {
  margin: 0;
}

.winners-tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.winners-tab-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.winners-tab-link {
  flex: 1 1 180px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #8a8aa0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.winners-tab-link:hover,
.winners-tab-link:focus {
  color: #fff;
  outline: none;
}

.winners-tab-link.is-active {
  background: rgba(81, 66, 252, 0.16);
  border-color: rgba(81, 66, 252, 0.45);
  color: #fff;
}

.winners-tab-pane {
  display: none;
}

.winners-tab-pane.is-active {
  display: block;
}

.history-page-head {
  margin-bottom: 28px;
}

.home-empty-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 20px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #8a8aa0;
  font-size: 15px;
  line-height: 1.5;
}

.home-empty-note a {
  color: #a89bff;
  text-decoration: underline;
}

.home-empty-note a:hover {
  color: #c4baff;
}

.winners-empty {
  padding: 28px 0;
  font-size: 15px;
}

.winners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.winner-list-item {
  margin: 0;
}

.winner-list-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.winner-list-link:hover,
.winner-list-link:focus {
  text-decoration: none;
  background: rgba(81, 66, 252, 0.1);
  border-color: rgba(81, 66, 252, 0.35);
  transform: translateX(2px);
}

.winner-list-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  font-size: 20px;
}

.winner-list-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.winner-list-name {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.winner-list-meta {
  color: #8a8aa0;
  font-size: 13px;
  line-height: 1.4;
}

#tm-header .site-main-nav > li > a {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  padding: 0 16px;
  line-height: 72px;
  height: 72px;
}

#tm-header.site-header-compact {
  padding: 8px 0;
}

#tm-header.site-header-compact .uk-container,
#tm-header.site-header-compact .site-header-row {
  min-height: 64px;
}

.site-header-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.site-header-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.site-header-link {
  display: inline-flex;
  align-items: center;
  max-width: 140px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ddd !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header-link:hover,
.site-header-link:focus {
  color: #fff !important;
  background: rgba(81, 66, 252, 0.22);
}

#tm-header.site-header-compact .uk-navbar-flip {
  flex: 0 0 auto;
  margin-left: auto;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-nav-link {
  color: #bbb !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.site-footer-nav-link:hover,
.site-footer-nav-link:focus {
  color: #fff !important;
}

@media (max-width: 767px) {
  .site-header-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 64px;
  }

  #tm-header.site-header-compact .site-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  #tm-header.site-header-compact .site-brand-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
  }

  .site-brand-title {
    font-size: 15px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  #tm-header.site-header-compact .site-header-row {
    min-height: 72px;
  }

  #tm-header.site-header-compact .site-brand-logo {
    width: 64px;
    height: 64px;
  }
}

.site-header-mobile-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.site-menu-toggle {
  margin: 0 !important;
  float: none !important;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.site-menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.site-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 11000;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  contain: layout style paint;
}

.site-mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.site-mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.site-mobile-menu.is-open .site-mobile-menu-backdrop {
  opacity: 1;
}

.site-mobile-menu-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  width: min(280px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  border-radius: 18px;
  padding: 10px 8px;
  background: linear-gradient(180deg, #232330 0%, #17171f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  transform: translateX(calc(100% + 20px));
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-mobile-menu.is-open .site-mobile-menu-panel {
  transform: translateX(0);
  opacity: 1;
}

.site-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-mobile-menu-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.site-mobile-menu-list a:hover,
.site-mobile-menu-list a:focus {
  background: rgba(81, 66, 252, 0.18);
  color: #fff;
  text-decoration: none;
}

body.site-stats-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.site-stats-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  contain: layout style paint;
}

.site-stats-overlay.is-open {
  pointer-events: auto;
  visibility: visible;
}

.site-stats-overlay-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.site-stats-overlay.is-open .site-stats-overlay-backdrop {
  opacity: 1;
}

.site-stats-overlay-panel {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(440px, calc(100vw - 24px));
  max-height: min(72vh, calc(100vh - 24px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #232330 0%, #17171f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, calc(100% + 20px));
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-stats-overlay.is-open .site-stats-overlay-panel {
  transform: translate(-50%, 0);
  opacity: 1;
}

.site-stats-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-stats-overlay-head h2 {
  margin: 0;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.site-stats-overlay-close {
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-stats-overlay-close:hover,
.site-stats-overlay-close:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

.site-stats-overlay-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px 16px;
}

.site-stats-empty {
  margin: 0;
  font-size: 14px;
}

.site-stats-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
}

.site-audience-stats-list {
  margin: 0;
}

.site-stats-panel .forum-stats-list {
  margin: 0;
}

.site-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  height: auto !important;
  padding: 0 !important;
}

.site-brand-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
  padding: 6px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.site-brand-title {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  min-width: 0;
}

.home-hero-wrap {
  margin-top: 20px;
  margin-bottom: 32px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #111;
  border-radius: 16px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section-with-banners.hero-mode-grid2 {
  height: auto;
}

.hero-section-with-banners > .banner-slot-hero {
  position: relative;
  inset: auto;
  height: auto;
  padding: 8px 8px 0;
  box-sizing: border-box;
  display: block;
  width: 100%;
  gap: 0;
  overflow: hidden;
}

.hero-section-with-banners .banner-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.hero-section-with-banners > .hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 4;
  padding: 0;
  margin: 0;
}

.hero-section-with-banners .banner-slider-track,
.hero-section-with-banners .banner-slide.is-active {
  height: 100%;
}

.hero-section-with-banners.hero-mode-slider .banner-item-frame {
  height: 100%;
  aspect-ratio: unset;
  max-height: none;
}

.hero-section-with-banners .banner-slider-track {
  min-height: 0;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 24px 40px;
}

.hero-section-with-banners:not(.hero-mode-grid2) .hero-content,
.hero-section:not(.hero-section-with-banners) .hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 36px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-section-with-banners.hero-mode-grid2 .hero-content {
  position: relative;
  inset: auto;
  display: block;
  padding: 20px 16px 16px;
  background: transparent;
}

.hero-section-with-banners .uk-h1-d {
  margin-top: 0;
  font-size: clamp(26px, 4.5vw, 46px);
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-section-with-banners .uk-p {
  margin: 10px 0 0;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.4;
  max-width: 640px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-content-action {
  margin: 16px 0 0;
}

.hero-section:not(.hero-section-with-banners) .hero-content {
  background: rgba(0, 0, 0, 0.35);
}

.banner-slot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.banner-item {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  line-height: 0;
}

.banner-item-frame {
  display: block;
  width: 100%;
  aspect-ratio: var(--banner-w, 900) / var(--banner-h, 200);
  max-height: var(--banner-height, 200px);
  position: relative;
  overflow: hidden;
  background: #111;
}

.banner-item-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.25s ease;
}

.banner-above-header-wrap {
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
}

.banner-slot-above_header {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--above-header-cols, 1), minmax(0, 1fr));
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
}

.banner-slot-above_header--count-1 {
  --above-header-cols: 1;
}

.banner-slot-above_header--count-2 {
  --above-header-cols: 2;
}

.banner-slot-above_header--count-3 {
  --above-header-cols: 3;
}

.banner-slot-above_header .banner-item {
  width: auto;
  max-width: none;
  min-width: 0;
}

.banner-slot-above_header .banner-item-frame {
  max-height: none;
}

.banner-slot-sidebar_below .banner-item-frame,
.banner-slot-sidebar_right .banner-item-frame {
  max-height: var(--banner-height, 200px);
}

.banner-slider-track {
  position: relative;
  min-height: 0;
}

.banner-slide {
  display: none;
}

.banner-slide.is-active {
  display: block;
}

.banner-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 0;
}

.banner-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.banner-slider-dot.is-active {
  background: #5142fc;
}

.banner-slot-sidebar_below,
.banner-slot-sidebar_right {
  gap: 14px;
}

.banner-item:hover img {
  transform: scale(1.02);
}

#tm-header .site-main-nav > li > a:hover,
#tm-header .site-main-nav > li.uk-active > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-table {
  width: 100%;
  background: #fff;
  color: #111;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.admin-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.admin-panel-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.admin-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.admin-stat-card .admin-stat-label {
  display: block;
  color: #aaa;
  font-size: 13px;
  margin-bottom: 8px;
}

.admin-stat-card strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.admin-stat-card small {
  display: block;
  margin-top: 8px;
  color: #888;
}

.admin-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #ccc;
}

.admin-info-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.admin-info-list a {
  color: #9cf;
}

.admin-note {
  color: #888;
  font-size: 13px;
  line-height: 1.5;
}

.admin-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.admin-badge-open {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.admin-badge-closed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.admin-badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
}

.admin-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.admin-filter-form label {
  display: block;
  margin: 0 0 4px;
  color: #ccc;
  font-size: 12px;
}

.admin-filter-form select {
  min-width: 180px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
}

.m-t-10 { margin-top: 10px; }
.m-t-20 { margin-top: 20px; }
.m-b-20 { margin-bottom: 20px; }

.admin-form label {
  display: block;
  color: #ddd;
  margin-top: 12px;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="date"],
.admin-form input[type="url"],
.admin-form textarea,
.admin-form select {
  width: 100%;
  max-width: 640px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
}

.admin-form button,
.admin-actions .btn {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .nft-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nft-stat-grid {
    grid-template-columns: 1fr;
  }

  .nft-cover {
    height: 240px;
    min-height: 240px;
  }

  .vote-form-corners {
    gap: 8px;
  }

  .vote-detail-btn {
    font-size: 12px;
    padding: 8px 8px;
  }

  .card-action-main-emoji,
  .card-polymarket-cta-emoji,
  .vote-form-detail .action-label-emoji {
    display: inline-block;
    margin-right: 0;
    font-size: 20px;
  }

  .card-action-main-text,
  .card-polymarket-cta-text,
  .vote-form-detail .action-label-text {
    display: none;
  }

  .vote-form-card .card-emoji-img {
    width: 22px;
    height: 22px;
  }

  .vote-form-detail .card-emoji-img {
    width: 24px;
    height: 24px;
  }

  .card-polymarket-cta .card-emoji-img {
    width: 22px;
    height: 22px;
  }

  .vote-form-card {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
  }

  .vote-form-card .card-action {
    min-height: 38px;
    padding: 0;
  }

  .vote-form-card .card-action-main {
    font-size: 20px;
    line-height: 1;
    padding: 0;
  }

  .vote-form-card .card-action-up,
  .vote-form-card .card-action-down {
    font-size: 18px;
  }

  .vote-form-detail {
    gap: 10px;
  }

  .vote-form-detail .card-action {
    min-height: 48px;
    font-size: 22px;
  }

  .card-polymarket-cta {
    min-height: 38px;
    font-size: 20px;
    gap: 0;
  }
}
