
/* Georgian font */
.NUCUBA-ViewerModal *,
.NUCUBA-Creator *,
.NUCUBA-Bar *,
.NUCUBA-SB-Wrap * {
  font-family: 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
/* ═══════════════════════════════════════════════════════════
   NUCUBA — Stories CSS
   ყველა კლასი: NUCUBA-
   Mobile-first, fully responsive
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset / Base ─── */
.NUCUBA-ViewerModal *,
.NUCUBA-Creator *,
.NUCUBA-Bar * { box-sizing: border-box; }

/* ══════════════════════════════════════
   STORY BAR — Facebook card style
══════════════════════════════════════ */
.NUCUBA-Bar {
  display: flex;
  gap: 10px;
  padding: 8px 12px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.NUCUBA-Bar::-webkit-scrollbar { display: none; }

/* Card */
.NUCUBA-Card {
  flex-shrink: 0;
  width: 112px;
  height: 196px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  background: #e4e6ea;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform .18s;
  -webkit-tap-highlight-color: transparent;
}
.NUCUBA-Card:active { transform: scale(.96); }

.NUCUBA-CardImg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.NUCUBA-CardBgImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.6);
}
.NUCUBA-CardTextThumb {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  line-height: 1.3;
}

/* Avatar ring inside card */
.NUCUBA-CardAvaWrap {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 3px;
  background: #e4e6ea;
}
.NUCUBA-CardAvaNew {
  background: linear-gradient(135deg,#1877f2,#42a5f5) !important;
}
.NUCUBA-CardAvaImg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  display: block;
}

/* Add card extras */
.NUCUBA-AddCard .NUCUBA-CardImg { background: #fff; }
.NUCUBA-AddPlus {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: #1877f2;
  border-radius: 50%;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
}
.NUCUBA-AddPlus svg { width: 18px; height: 18px; }

/* Card label at bottom */
.NUCUBA-CardLabel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  z-index: 2;
}
.NUCUBA-CardLabelMain {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  display: block;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Ring gradient for unseen */
.NUCUBA-HasNew .NUCUBA-CardAvaWrap { background: linear-gradient(135deg,#1877f2,#42a5f5); }
.NUCUBA-Seen .NUCUBA-CardAvaWrap   { background: #bbb; }

/* ══════════════════════════════════════
   VIEWER MODAL
══════════════════════════════════════ */
.NUCUBA-ViewerModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.NUCUBA-ViewerBg {
  position: absolute;
  inset: 0;
  background: #000;
}
.NUCUBA-Viewer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  height: 100dvh;
  max-height: 720px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
@media (max-width: 460px) {
  .NUCUBA-Viewer { max-width: 100%; border-radius: 0; max-height: 100dvh; }
}

/* Progress */
.NUCUBA-Progress {
  display: flex;
  gap: 3px;
  padding: 10px 10px 2px;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
.NUCUBA-ProgSeg {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  overflow: hidden;
}
.NUCUBA-ProgSeg.done .NUCUBA-ProgFill { width: 100%; background: #fff; }
.NUCUBA-ProgFill {
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 2px;
}

/* Viewer header */
.NUCUBA-VHead {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 12px 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 100%);
}
.NUCUBA-VAuthor { display: flex; align-items: center; gap: 8px; }
.NUCUBA-VAva {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.8);
}
.NUCUBA-VInfo { display: flex; flex-direction: column; }
.NUCUBA-VNick { color: #fff; font-size: 14px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.NUCUBA-VTime { color: rgba(255,255,255,.75); font-size: 11px; }
.NUCUBA-VCtrl { display: flex; gap: 4px; }
.NUCUBA-VBtn {
  width: 34px; height: 34px;
  background: rgba(0,0,0,.35);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.NUCUBA-VBtn svg { width: 16px; height: 16px; }

/* Content */
.NUCUBA-VContent {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.NUCUBA-VMedia {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}
.NUCUBA-VTextCard {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
  color: #fff;
}
.NUCUBA-VTextInner {
  width: 100%;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
}


/* Viewer text styles */
.NUCUBA-preview-style-dark{background:rgba(0,0,0,.34);padding:.18em .34em;border-radius:.28em}
.NUCUBA-preview-style-light{background:rgba(255,255,255,.92);color:#111 !important;padding:.18em .34em;border-radius:.28em}
.NUCUBA-preview-style-outline{-webkit-text-stroke:2px rgba(255,255,255,.92);color:transparent !important;text-shadow:none}
.NUCUBA-preview-style-circle{padding:.22em .42em;border:2px solid rgba(255,255,255,.85);border-radius:999px}
.NUCUBA-preview-style-capsule{padding:.18em .38em;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,.04))}
.NUCUBA-preview-style-glow{text-shadow:0 0 14px rgba(255,255,255,.95),0 0 34px rgba(255,255,255,.45)}
.NUCUBA-preview-style-glass{padding:.2em .38em;border-radius:.34em;background:rgba(255,255,255,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.NUCUBA-preview-style-shadow{text-shadow:0 6px 18px rgba(0,0,0,.66)}
.NUCUBA-preview-style-fire{color:#fff4da !important;text-shadow:0 0 8px rgba(255,149,0,.72),0 0 18px rgba(255,94,0,.48)}
.NUCUBA-preview-style-sky{padding:.18em .34em;border-radius:.32em;background:linear-gradient(90deg,rgba(96,185,255,.28),rgba(255,255,255,.08));border:1px solid rgba(165,220,255,.45)}
.NUCUBA-preview-style-candy{padding:.18em .34em;border-radius:999px;background:linear-gradient(90deg,rgba(255,131,182,.26),rgba(176,132,255,.22));border:1px solid rgba(255,213,234,.42)}
.NUCUBA-preview-style-frame{padding:.2em .38em;border-radius:.3em;box-shadow:inset 0 0 0 2px rgba(255,255,255,.82)}
.NUCUBA-preview-style-underline{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:5px}
.NUCUBA-preview-style-marker{color:#111 !important;padding:.04em .12em;background:linear-gradient(180deg,transparent 52%,rgba(255,236,115,.92) 52%);border-radius:.08em}
.NUCUBA-preview-style-dream{color:#fff !important;text-shadow:0 0 10px rgba(222,193,255,.95),0 0 28px rgba(188,140,255,.52)}
.NUCUBA-preview-style-minimal{text-shadow:none;letter-spacing:.01em;font-weight:700}

.NUCUBA-VCaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  padding: 24px 16px 10px;
  font-size: 14px; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.NUCUBA-VLoader {
  position: absolute; inset: 0;
  background: #111;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.NUCUBA-Spin {
  width: 34px; height: 34px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: NUCUBA-spin .7s linear infinite;
}
@keyframes NUCUBA-spin { to { transform: rotate(360deg); } }

/* Nav zones */
.NUCUBA-NavL, .NUCUBA-NavR {
  position: absolute;
  top: 80px; bottom: 80px;
  width: 35%;
  z-index: 8;
  cursor: pointer;
  background: transparent !important;
}
.NUCUBA-NavL { left: 0; }
.NUCUBA-NavR { right: 0; }

/* Group arrows */
.NUCUBA-GroupArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 12;
  transition: background .15s;
}
.NUCUBA-GroupArrow:hover { background: rgba(255,255,255,.28); }
.NUCUBA-GroupArrow svg { width: 20px; height: 20px; }
.NUCUBA-GroupArrowL { left: 8px; }
.NUCUBA-GroupArrowR { right: 8px; }
@media (max-width: 460px) {
  .NUCUBA-GroupArrow { display: none; }
}

/* Footer */
.NUCUBA-VFoot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
  flex-wrap: wrap;
  gap: 8px;
}
.NUCUBA-VReacts { display: flex; gap: 6px; flex-wrap: wrap; }
.NUCUBA-VReactBtn {
  font-size: 22px;
  background: rgba(255,255,255,.15);
  border: none; border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  transition: transform .18s, background .15s;
  line-height: 1;
}
.NUCUBA-VReactBtn:hover { background: rgba(255,255,255,.3); transform: scale(1.25); }
.NUCUBA-VViews { color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; }

/* ══════════════════════════════════════
   CREATOR — fullscreen
══════════════════════════════════════ */
.NUCUBA-Creator {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.NUCUBA-CStep {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* ── STEP 1: Gallery — matches screenshot ── */
.NUCUBA-CHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #e4e6ea;
  flex-shrink: 0;
}
.NUCUBA-CHeadBtn {
  width: 38px; height: 38px;
  background: none; border: none;
  cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #1c1e21; transition: background .12s;
}
.NUCUBA-CHeadBtn:hover { background: #f0f2f5; }
.NUCUBA-CHeadBtn svg { width: 22px; height: 22px; }
.NUCUBA-CHeadTitle {
  font-size: 17px;
  font-weight: 800;
  color: #1c1e21;
  margin: 0;
}

/* Tool tabs: bordered cards with icon + label */
.NUCUBA-CTypeTabs {
  display: flex;
  gap: 6px;
  padding: 8px 8px;
  background: #fff;
  border-bottom: 1px solid #e4e6ea;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.NUCUBA-CTypeTabs::-webkit-scrollbar { display: none; }
.NUCUBA-CTypeTab {
  flex: 0 0 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px 10px;
  border: 1px solid #e4e6ea;
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #1c1e21;
  cursor: pointer;
  transition: background .12s;
}
.NUCUBA-CTypeTab:hover { background: #f0f2f5; }
.NUCUBA-CTypeTab svg { width: 24px; height: 24px; stroke: #1c1e21; }
.NUCUBA-CTypeTabIconText {
  font-size: 22px;
  font-weight: 700;
  color: #1c1e21;
  font-family: serif;
  line-height: 1;
  height: 24px;
  display: flex;
  align-items: center;
}

/* Gallery header bar */
.NUCUBA-CGalHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff;
  flex-shrink: 0;
}
/* "გალერეა ▾" — plain text + chevron */
.NUCUBA-CGalFolder {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none;
  font-size: 15px; font-weight: 800; color: #1c1e21;
  cursor: pointer; padding: 0;
}
.NUCUBA-CGalFolder svg { width: 16px; height: 16px; }
/* "🔲 რამდენიმეს მონიშვნა" — oval black border */
.NUCUBA-CGalMulti {
  display: flex; align-items: center; gap: 7px;
  background: #fff;
  border: 2px solid #1c1e21;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 700; color: #1c1e21;
  cursor: pointer; white-space: nowrap;
  transition: background .12s, color .12s;
}
.NUCUBA-CGalMulti.NUCUBA-CGalMultiActive {
  background: #1c1e21; color: #fff;
}
.NUCUBA-CGalMulti svg { width: 15px; height: 15px; }

/* Gallery Grid: 3 cols, first item tall (2 rows) */
.NUCUBA-CGalGrid {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: calc((min(100vw, 600px) - 4px) / 3);
  gap: 2px;
  align-content: start;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.NUCUBA-CGalGrid::-webkit-scrollbar { display: none; }

/* Gallery items */
.NUCUBA-CGalItem {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e4e6ea;
}
.NUCUBA-CGalTall { grid-row: span 2; }
.NUCUBA-CGalItemImg {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .12s;
}
.NUCUBA-CGalServerItem:active .NUCUBA-CGalItemImg { opacity: .85; }
/* Checkbox */
.NUCUBA-CGalItemCheck {
  position: absolute;
  top: 7px; right: 7px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
  transition: background .12s, border-color .12s;
}
.NUCUBA-CGalItemNum {
  position: absolute;
  top: 7px; right: 7px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #1877f2; color: #fff;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.NUCUBA-CGalItemDur {
  position: absolute;
  bottom: 4px; right: 6px;
  background: rgba(0,0,0,.6);
  color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 4px; padding: 2px 5px;
}

/* Empty state */
.NUCUBA-CGalEmpty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; min-height: 320px;
  color: #65676b; font-size: 14px;
  text-align: center; padding: 24px;
  cursor: pointer;
}
.NUCUBA-CGalPickBtn {
  background: #1877f2; color: #fff;
  border: none; border-radius: 10px;
  padding: 10px 24px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}

/* Camera FAB — blue, bottom-right */
.NUCUBA-CGalCamFab {
  position: absolute;
  bottom: 20px; right: 16px;
  width: 54px; height: 54px;
  background: #1877f2; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(24,119,242,.45);
  z-index: 10;
  transition: transform .15s, box-shadow .15s;
}
.NUCUBA-CGalCamFab:hover { transform: scale(1.06); box-shadow: 0 6px 22px rgba(24,119,242,.55); }
.NUCUBA-CGalCamFab:active { transform: scale(.95); }
.NUCUBA-CGalCamFab svg { width: 26px; height: 26px; }

/* Step 1 bottom bar */
.NUCUBA-CStep1Bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid #e4e6ea;
  flex-shrink: 0;
  min-height: 56px;
}
.NUCUBA-CStep1BottomInfo {
  display: flex; align-items: center; gap: 6px;
  color: #1877f2; font-size: 14px; font-weight: 700;
}
.NUCUBA-CStep1Next {
  background: #1877f2; color: #fff;
  border: none; border-radius: 10px;
  padding: 10px 26px;
  font-size: 15px; font-weight: 800;
  cursor: pointer; margin-left: auto;
}

/* ── TEXT EDITOR ── */
.NUCUBA-TextEditor {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
}
.NUCUBA-TextCanvas {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background .3s;
}
.NUCUBA-TextContent {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  text-align: left;
  outline: none;
  padding: 12px 20px;
  min-width: 100px;
  max-width: 85%;
  word-break: break-word;
  line-height: 1.25;
  caret-color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  white-space: pre-wrap;
}
.NUCUBA-TextContent:empty::before {
  content: attr(data-placeholder);
  color: rgba(255,255,255,.5);
  pointer-events: none;
}
.NUCUBA-TextCursor {
  position: absolute;
  left: calc(10% - 4px);
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 48px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  display: none;
}
.NUCUBA-TextOverlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

/* Top toolbar */
.NUCUBA-TextToolbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 12px 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%);
}
.NUCUBA-TextTBtn {
  width: 44px; height: 44px;
  background: rgba(0,0,0,.4);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
  flex-shrink: 0;
}
.NUCUBA-TextTBtn svg { width: 18px; height: 18px; }
.NUCUBA-TextTBtnL { background: rgba(0,0,0,.5); }
.NUCUBA-TextTCenter { display: flex; gap: 8px; }
.NUCUBA-TextTBtnRight {
  background: none; border: none;
  color: #fff; cursor: pointer;
  font-size: 14px; font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.NUCUBA-TextTBtnGreen { background: rgba(0,200,100,.35); }
.NUCUBA-BgColorCircle {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);
}

/* Color strip */
.NUCUBA-TextColorStrip {
  position: absolute;
  left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(0,0,0,.3);
}
.NUCUBA-TextColorStrip::-webkit-scrollbar { display: none; }
.NUCUBA-TCSBtn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none; cursor: pointer;
  flex-shrink: 0;
  transition: transform .15s;
}
.NUCUBA-TCSBtn:hover { transform: scale(1.2); }
.NUCUBA-TCSRemove {
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.NUCUBA-TCSRemove svg { width: 14px; height: 14px; }
.NUCUBA-TCSCustom {
  background: conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);
  position: relative;
  overflow: hidden;
}
.NUCUBA-TCSCustom input[type=color] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}

/* Font size pill */
.NUCUBA-TextSizePill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(0,0,0,.5);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
}
.NUCUBA-TextSizePill button {
  width: 38px; height: 38px;
  background: none; border: none;
  color: #fff; font-size: 20px; font-weight: 400;
  cursor: pointer; transition: background .15s;
}
.NUCUBA-TextSizePill button:hover { background: rgba(255,255,255,.15); }
.NUCUBA-TextSizePill span {
  min-width: 40px; text-align: center;
  color: #fff; font-size: 14px; font-weight: 700;
}

/* Sticker panel */
.NUCUBA-StickerPanel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 30;
  background: #1c1e21;
  border-radius: 16px 16px 0 0;
  padding: 0 0 20px;
  max-height: 50dvh;
  overflow-y: auto;
}
.NUCUBA-MStickerPanel {
  background: #1c1e21;
  border-radius: 16px 16px 0 0;
  padding-bottom: 20px;
}
.NUCUBA-StickerPanelHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky; top: 0;
  background: inherit;
  z-index: 1;
}
.NUCUBA-StickerPanelHead button {
  background: rgba(255,255,255,.15); border: none;
  width: 28px; height: 28px; border-radius: 50%;
  color: #fff; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.NUCUBA-StickerGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
}
.NUCUBA-StickerBtn {
  font-size: 28px;
  background: none; border: none;
  cursor: pointer; border-radius: 8px;
  padding: 4px 6px;
  transition: transform .18s, background .1s;
  line-height: 1;
}
.NUCUBA-StickerBtn:hover { background: rgba(255,255,255,.1); transform: scale(1.2); }

/* ── MEDIA EDITOR ── */
.NUCUBA-MediaEditor {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
}
.NUCUBA-MediaCanvas {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.NUCUBA-PreviewMedia {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.NUCUBA-MediaOverlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

/* Media top bar */
.NUCUBA-MediaTopBar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 14px 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 100%);
}
.NUCUBA-MTopBtn {
  width: 40px; height: 40px;
  background: rgba(0,0,0,.4);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.NUCUBA-MTopBtn svg { width: 20px; height: 20px; }
.NUCUBA-MTopTools { display: flex; gap: 8px; }
.NUCUBA-MTopBtnRight {
  background: none; border: none;
  color: #fff; font-size: 14px; font-weight: 800;
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
  white-space: nowrap;
}
.NUCUBA-MTopBtnRed { background: rgba(200,0,0,.35); }

/* Media bottom bar */
.NUCUBA-MediaBottomBar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.NUCUBA-MToolRow {
  display: flex;
  justify-content: space-around;
  padding: 14px 10px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 4px;
}
.NUCUBA-MToolRow::-webkit-scrollbar { display: none; }
.NUCUBA-MTool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transition: opacity .15s;
}
.NUCUBA-MTool:hover { opacity: .8; }
.NUCUBA-MToolIcon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff;
}
.NUCUBA-MToolIcon svg { width: 22px; height: 22px; }
.NUCUBA-MToolIconColor {
  background: conic-gradient(#f00 0deg,#ff0 60deg,#0f0 120deg,#0ff 180deg,#00f 240deg,#f0f 300deg,#f00 360deg);
}

.NUCUBA-MBotActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  gap: 12px;
}
.NUCUBA-MBotLeft {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  border: none; border-radius: 24px;
  color: #fff; font-size: 14px; font-weight: 800;
  padding: 10px 18px; cursor: pointer;
  flex-shrink: 0;
}
.NUCUBA-MBotRight {
  display: flex; align-items: center; gap: 6px;
  border: none; border-radius: 24px;
  font-size: 15px; font-weight: 800;
  padding: 12px 28px; cursor: pointer;
  flex: 1; justify-content: center;
  transition: opacity .15s;
}
.NUCUBA-MBotRight:hover { opacity: .9; }
.NUCUBA-MBotShare {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 4px 16px rgba(24,119,242,.4);
}

/* ── Shared floater emoji on media ── */
.NUCUBA-FloatEmoji {
  position: absolute;
  font-size: 40px;
  cursor: move;
  user-select: none;
  z-index: 10;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  touch-action: none;
  transition: transform .15s;
}
.NUCUBA-FloatEmoji:hover { transform: scale(1.15); }

/* ── Upload progress overlay ── */
.NUCUBA-UploadOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
}
.NUCUBA-UploadBox {
  background: #1c1e21;
  border-radius: 18px;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 260px;
}
.NUCUBA-UploadTitle { font-size: 16px; font-weight: 800; }
.NUCUBA-UploadTrack {
  width: 200px; height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 3px; overflow: hidden;
}
.NUCUBA-UploadBar {
  height: 100%; width: 0;
  background: #1877f2;
  border-radius: 3px;
  transition: width .2s;
}
.NUCUBA-UploadPct { font-size: 14px; color: rgba(255,255,255,.7); }

/* ── Responsive ── */
@media (max-width: 360px) {
  .NUCUBA-Card { width: 96px; height: 168px; }
  .NUCUBA-MToolIcon { width: 40px; height: 40px; }
  .NUCUBA-MTool { font-size: 10px; }
}
@media (min-width: 768px) {
  .NUCUBA-Bar { padding: 12px 20px 16px; gap: 14px; }
  .NUCUBA-Card { width: 130px; height: 224px; }
}

/* ══════════════════════════════════════
   v5 ADDITIONS
══════════════════════════════════════ */

/* ── Story Bar: wrapper + scroll arrows ── */
.NUCUBA-BarWrap { position:relative; width:100%; overflow:hidden; }
.NUCUBA-BarArr {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 36px; height: 36px;
  background: #fff; border: 1.5px solid #ddd; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.18); color: #1c1e21;
  font-size: 22px; line-height: 1; cursor: pointer;
  align-items: center; justify-content: center; transition: box-shadow .12s;
}
.NUCUBA-BarArr:hover { box-shadow: 0 4px 18px rgba(0,0,0,.24); }
#NUCUBA-BarArL { left: 4px; }
#NUCUBA-BarArR { right: 4px; }

/* ── Viewer footer redesigned ── */
.NUCUBA-VFoot {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 9;
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px max(18px,env(safe-area-inset-bottom,18px));
  background: linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.2) 65%,transparent 100%);
}
.NUCUBA-VFR1 { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.NUCUBA-VFR2 { display:flex; align-items:center; gap:8px; width:100%; }
.NUCUBA-VReacts { display:flex; gap:4px; flex:1; flex-wrap:wrap; }
.NUCUBA-VReactBtn {
  font-size:20px; background:rgba(255,255,255,.15); border:none;
  border-radius:999px; padding:5px 9px; cursor:pointer; line-height:1;
  transition:transform .18s,background .12s;
}
.NUCUBA-VReactBtn:hover { background:rgba(255,255,255,.3); transform:scale(1.26); }

/* Views badge */
.NUCUBA-VViews {
  display: none; /* shown by JS */
  align-items: center; gap: 4px;
  background: rgba(0,0,0,.4); backdrop-filter: blur(5px);
  border: none; border-radius: 20px; color: rgba(255,255,255,.92);
  font-size: 12px; font-weight: 700; padding: 5px 12px;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.NUCUBA-VViews:hover { background: rgba(0,0,0,.6); }

/* Volume button in viewer */
.NUCUBA-VVolBtn { display: none; }

/* Comment input */
.NUCUBA-VCmSelf {
  width:28px; height:28px; border-radius:50%; object-fit:cover;
  flex-shrink:0; border:1.5px solid rgba(255,255,255,.38);
}
.NUCUBA-CmInputWrap {
  flex:1; display:flex; align-items:center;
  background:rgba(255,255,255,.15); backdrop-filter:blur(5px);
  border:1px solid rgba(255,255,255,.22); border-radius:22px; overflow:hidden;
}
.NUCUBA-CmInput {
  flex:1; background:none; border:none; outline:none;
  color:#fff; font-size:13px; padding:8px 12px; font-family:inherit;
}
.NUCUBA-CmInput::placeholder { color:rgba(255,255,255,.44); }
.NUCUBA-CmSendBtn {
  width:36px; height:36px; background:none; border:none;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; opacity:.85; transition:opacity .12s;
}
.NUCUBA-CmSendBtn:hover { opacity:1; }

/* Comments list */
.NUCUBA-Comments {
  width:100%; max-height:100px; overflow-y:auto;
  display:flex; flex-direction:column; gap:4px; scrollbar-width:none;
}
.NUCUBA-Comments::-webkit-scrollbar { display:none; }
.NUCUBA-CmRow { display:flex; align-items:flex-start; gap:6px; }
.NUCUBA-CmAva { width:22px; height:22px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.NUCUBA-CmBub {
  background:rgba(255,255,255,.14); border-radius:12px;
  padding:4px 10px; font-size:12px; color:#fff;
  line-height:1.4; word-break:break-word;
}
.NUCUBA-CmNick { font-weight:800; margin-right:3px; }

/* ── 3-dot menu ── */
.NUCUBA-3DotMenu {
  display: none;
  position: absolute; top:68px; right:10px; z-index:25;
  background:#1c1e21; border-radius:14px; overflow:hidden;
  box-shadow:0 8px 32px rgba(0,0,0,.65); min-width:200px;
  animation: nsc3dIn .15s ease;
}
@keyframes nsc3dIn { from{opacity:0;transform:translateY(-6px) scale(.95)} to{opacity:1;transform:none} }
.NUCUBA-3DotItem {
  display:flex; align-items:center; gap:10px;
  padding:13px 16px; color:#e4e6eb; font-size:14px; font-weight:600;
  cursor:pointer; transition:background .1s;
}
.NUCUBA-3DotItem:hover { background:rgba(255,255,255,.08); }
.NUCUBA-3DDel { color:#ff5252; }
.NUCUBA-3DRep { color:#ffab40; }

/* ── Viewers / Report bottom sheets ── */
.NUCUBA-ViewersModal, .NUCUBA-ReportModal {
  display: none;
  position: fixed; inset:0; z-index:10020;
  align-items: flex-end; justify-content: center;
}
.NUCUBA-SheetBg { position:absolute; inset:0; background:rgba(0,0,0,.5); }
.NUCUBA-Sheet {
  position:relative; z-index:1; background:#18191a;
  border-radius:20px 20px 0 0; width:100%; max-width:520px;
  max-height:72dvh; display:flex; flex-direction:column;
  padding-bottom:max(16px,env(safe-area-inset-bottom,16px));
  animation:nscSlUp .22s ease;
}
@keyframes nscSlUp { from{transform:translateY(40px);opacity:0} to{transform:none;opacity:1} }
.NUCUBA-SheetHead {
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px 12px; color:#fff; font-size:16px; font-weight:800;
  border-bottom:1px solid rgba(255,255,255,.08); flex-shrink:0;
}
.NUCUBA-SheetHead button {
  background:rgba(255,255,255,.12); border:none;
  width:28px; height:28px; border-radius:50%;
  color:#fff; cursor:pointer; font-size:14px;
  display:flex; align-items:center; justify-content:center;
}
.NUCUBA-VwList { overflow-y:auto; flex:1; padding:6px 0; }
.NUCUBA-VwEmpty { color:rgba(255,255,255,.45); text-align:center; padding:24px; font-size:14px; }
.NUCUBA-VwRow { display:flex; align-items:center; gap:12px; padding:10px 20px; transition:background .1s; }
.NUCUBA-VwRow:hover { background:rgba(255,255,255,.06); }
.NUCUBA-VwAva { width:40px; height:40px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.1); }
.NUCUBA-VwNick { color:#e4e6eb; font-size:14px; font-weight:600; }
.NUCUBA-RepDesc { color:rgba(255,255,255,.55); font-size:13px; margin:0 20px 10px; }
.NUCUBA-RepReasons { display:flex; flex-direction:column; gap:2px; margin:0 8px 14px; }
.NUCUBA-RepReason { display:flex; align-items:center; gap:10px; color:#e4e6eb; font-size:14px; padding:9px 12px; border-radius:10px; cursor:pointer; }
.NUCUBA-RepReason:hover { background:rgba(255,255,255,.07); }
.NUCUBA-RepReason input { accent-color:#1877f2; width:16px; height:16px; cursor:pointer; }
.NUCUBA-RepBtns { display:flex; gap:10px; padding:0 20px; }
.NUCUBA-RepCancel { flex:1; padding:12px; background:rgba(255,255,255,.1); border:none; border-radius:12px; color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.NUCUBA-RepSubmit { flex:2; padding:12px; background:#1877f2; border:none; border-radius:12px; color:#fff; font-size:14px; font-weight:800; cursor:pointer; }
.NUCUBA-RepSubmit:hover { background:#1560d8; }

/* ── Toast ── */
.NUCUBA-Toast {
  position:fixed; bottom:80px; left:50%; transform:translateX(-50%) translateY(14px);
  z-index:99999; background:#1c1e21; color:#fff;
  padding:10px 20px; border-radius:22px; font-size:13px; font-weight:700;
  box-shadow:0 4px 20px rgba(0,0,0,.4); opacity:0;
  transition:opacity .3s,transform .3s; pointer-events:none; white-space:nowrap; font-family:inherit;
}
.NUCUBA-ToastOn { opacity:1; transform:translateX(-50%) translateY(0); }

/* ── Video preview in Creator ── */
#NUCUBA-PreviewVidWrap { position:absolute; inset:0; display:none; }
#NUCUBA-PreviewVid { width:100%; height:100%; object-fit:contain; display:block; }
.NUCUBA-PVidVolBtn {
  position:absolute; top:72px; right:14px; z-index:10;
  width:40px; height:40px; background:rgba(0,0,0,.5);
  border:none; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.NUCUBA-PVidVolBtn:hover { background:rgba(0,0,0,.72); }

/* ── Privacy button ── */
.NUCUBA-PrivacyBtn {
  display:flex; align-items:center; gap:6px;
  background:rgba(255,255,255,.15);
  border:1.5px solid rgba(255,255,255,.3);
  border-radius:24px; color:#fff;
  font-size:13px; font-weight:800;
  padding:9px 16px; cursor:pointer; font-family:inherit;
  transition:background .15s,border-color .15s; flex-shrink:0;
}
.NUCUBA-PrivacyBtn:hover { background:rgba(255,255,255,.26); border-color:rgba(255,255,255,.55); }


.NUCUBA-CardVideo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#000;
}

/* ══════════════════════════════════════
   MUSIC MODAL
══════════════════════════════════════ */
.NUCUBA-MusicModal {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.NUCUBA-MusicBg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.NUCUBA-MusicSheet {
  position: relative;
  z-index: 1;
  background: #18191a;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 540px;
  height: 72dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  animation: nscSlUp .22s ease;
}
.NUCUBA-MusicHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.NUCUBA-MusicHead button {
  background: rgba(255,255,255,.12);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.NUCUBA-MusicSearchWrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 16px 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 10px 14px;
  flex-shrink: 0;
}
.NUCUBA-MusicSearchInput {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  -webkit-appearance: none;
}
.NUCUBA-MusicSearchInput::placeholder { color: rgba(255,255,255,.38); }
/* Remove default search cancel button on Safari/Chrome */
.NUCUBA-MusicSearchInput::-webkit-search-cancel-button { -webkit-appearance: none; }
.NUCUBA-MusicList {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}
.NUCUBA-MusicList::-webkit-scrollbar { display: none; }
.NUCUBA-MusicLoading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.NUCUBA-MusicRow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background .12s;
  -webkit-tap-highlight-color: transparent;
}
.NUCUBA-MusicRow:hover,
.NUCUBA-MusicRow:active { background: rgba(255,255,255,.07); }
.NUCUBA-MusicRowSelected { background: rgba(24,119,242,.18) !important; }
.NUCUBA-MusicCover {
  width: 46px; height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #333;
}
.NUCUBA-MusicInfo { flex: 1; min-width: 0; }
.NUCUBA-MusicTitle {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.NUCUBA-MusicArtist {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.NUCUBA-MusicPlay {
  width: 36px; height: 36px;
  background: rgba(24,119,242,.25);
  border: 1.5px solid rgba(24,119,242,.5);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.NUCUBA-MusicPlay:hover { background: rgba(24,119,242,.5); }

/* ══════════════════════════════════════
   MUSIC BAR (selected track indicator)
══════════════════════════════════════ */
.NUCUBA-MusicBar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 15;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(24,119,242,.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,.15);
}
.NUCUBA-MusicBarLabel {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.NUCUBA-MusicBarRemove {
  width: 26px; height: 26px;
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.NUCUBA-MusicBarRemove:hover { background: rgba(255,255,255,.4); }

/* ── Settings/Clear button highlight ── */
.NUCUBA-CHeadBtnRight {
  color: #1877f2;
}
.NUCUBA-CHeadBtnRight:hover {
  background: rgba(24,119,242,.1) !important;
}


.NUCUBA-CardMusic{position:absolute;right:8px;top:8px;z-index:3;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(0,0,0,.38);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;backdrop-filter:blur(4px)}
.NUCUBA-VMusicBadge{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:6;max-width:calc(100% - 24px);background:rgba(0,0,0,.34);color:#fff;border-radius:14px;padding:8px 12px;font-size:12px;font-weight:700;line-height:1.25;backdrop-filter:blur(8px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}


html[data-site-theme="dark"] .nav1,
html[data-site-theme="dark"] .menu,
html[data-site-theme="dark"] .main,
html[data-site-theme="dark"] .panel,
html[data-site-theme="dark"] .block,
html[data-site-theme="dark"] .listing,
html[data-site-theme="dark"] .post,
html[data-site-theme="dark"] .profile,
html[data-site-theme="dark"] .ank,
html[data-site-theme="dark"] .user-info,
html[data-site-theme="dark"] .menu_razd,
html[data-site-theme="dark"] .menu_link,
html[data-site-theme="dark"] .nav,
html[data-site-theme="dark"] .forum,
html[data-site-theme="dark"] .stena{
 background:#1b2433 !important;
 color:#e5e7eb !important;
 border-color:#334155 !important;
}
html[data-site-theme="dark"] .white,
html[data-site-theme="dark"] [style*="background:#fff"],
html[data-site-theme="dark"] [style*="background: #fff"]{
 background:#1b2433 !important;
 color:#e5e7eb !important;
}
