:root {
  color: #1f2933;
  background: #ffffff;
  font-family: "IRANYekanX", "Yekan Bakh", "Vazirmatn", Tahoma, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --arz-green: #00a878;
  --arz-green-soft: #e9f8f3;
  --arz-red: #db3a56;
  --arz-red-soft: #fff0f3;
  --arz-slate-900: #1f2933;
  --arz-slate-700: #475569;
  --arz-slate-500: #64748b;
  --arz-slate-300: #cbd5e1;
  --arz-slate-200: #e5e7eb;
  --arz-slate-100: #f5f7fa;
}

.idea-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 24px;
  border-bottom: 1px solid #edf2f7;
  color: var(--arz-slate-500);
  font-size: 13px;
  line-height: 1.8;
}

.idea-main-card,
.idea-body-card,
.idea-discussion-card {
  border: 1px solid var(--arz-slate-200);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
}

.idea-main-card {
  overflow: hidden;
}

.idea-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "title"
    "meta";
  align-items: start;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--arz-slate-200);
}

.idea-hero__content {
  display: contents;
  min-width: 0;
}

.idea-meta-row,
.idea-tags,
.idea-hero__author,
.idea-action-bar,
.idea-action-bar > div,
.idea-stat-chip,
.idea-action-bar__buttons,
.idea-section-heading,
.idea-comment__content header,
.idea-comment__content footer,
.idea-discussion-card__header,
.idea-discussion-note,
.idea-empty-description,
.idea-empty-comments {
  display: flex;
  align-items: center;
}

.idea-hero h1 {
  grid-area: title;
  margin: 0;
  color: #1f2933;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0;
}

.idea-hero--long-title h1 {
  font-size: clamp(25px, 2.45vw, 32px);
  line-height: 1.44;
}

.idea-meta-row {
  grid-area: meta;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: 100%;
  color: var(--arz-slate-500);
  font-size: 13px;
  line-height: 1.8;
}

.idea-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.idea-meta-time {
  margin-right: auto;
  font-size: 12px;
  line-height: 1;
}

.idea-meta-time svg {
  display: block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  transform: translateY(-1px);
}

.idea-tags {
  flex-wrap: wrap;
  gap: 8px;
}

.idea-tags--desktop {
  width: 100%;
  direction: ltr;
  justify-content: flex-start;
}

.idea-coin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
}

.idea-coin-pill {
  gap: 7px;
  border: 1px solid rgba(0, 168, 120, 0.18);
  color: #0f766e;
  background: var(--arz-green-soft);
  font-weight: 600;
}

.idea-coin-pill img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.idea-coin-pill b {
  direction: ltr;
  color: #14532d;
	font-weight: 600;
}

.idea-coin-overflow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 34px;
  padding: 4px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #475569;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  direction: ltr;
}

.idea-hero__author {
  align-self: center;
  box-sizing: border-box;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  color: var(--arz-slate-700);
  text-decoration: none;
  background: transparent;
}

.idea-hero__author > a {
  gap: 6px;
}

.idea-hero__author > a:hover strong {
  color: #047857;
}

.idea-hero__author > a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--arz-green);
  outline-offset: 3px;
}

.idea-tags--desktop .idea-coin-pill {
  flex: 0 0 auto;
  max-width: 100%;
  direction: rtl;
  justify-content: center;
}

.idea-tags--desktop-wide {
  grid-column: 1 / -1;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.idea-tags--desktop-wide::-webkit-scrollbar {
  display: none;
}

.idea-hero__author img,
.idea-hero__author > a > span,
.idea-comment__avatar,
.idea-comment__avatar-fallback {
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.idea-hero__author img,
.idea-hero__author > a > span {
  width: 24px;
  height: 24px;
}

.idea-hero__author > a > span,
.idea-comment__avatar-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: #0f766e;
  font-weight: 600;
}

.idea-hero__author > a > div {
  min-width: 0;
}

.idea-hero__author strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.idea-hero__author strong {
  color: var(--arz-slate-700);
  font-size: 12px;
  font-weight: 500;
  transition: color 140ms ease;
}

.idea-chart-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.idea-chart-frame img {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 7.4;
  object-fit: contain;
  cursor: zoom-in;
}

.idea-description-cooked img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  cursor: zoom-in;
}

.idea-description-cooked img.idea-description-image--no-focus {
  cursor: auto;
}

.idea-inline-image-frame {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.idea-inline-image-frame > a {
  display: block;
}

.idea-inline-image-frame .idea-image-expand {
  top: 12px;
  right: auto;
  left: 12px;
}

@media (min-width: 761px) {
  .idea-inline-image-frame .idea-image-expand {
    width: 29px;
    height: 29px;
  }

  .idea-inline-image-frame .idea-image-expand svg {
    width: 14px;
    height: 14px;
  }
}

/* This media control deliberately uses a fixed treatment in both site themes. */
.idea-image-expand {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  color: #fff;
  background: rgba(18, 24, 32, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.idea-image-expand svg,
.idea-image-focus__close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idea-image-expand:hover {
  background: rgba(18, 24, 32, 0.88);
  transform: scale(1.04);
}

.idea-image-expand:focus-visible,
.idea-image-focus button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.idea-image-focus-open {
  overflow: hidden;
}

.idea-image-focus[hidden] {
  display: none;
}

.idea-image-focus {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  direction: rtl;
}

.idea-image-focus__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 17, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.idea-image-focus__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 78px 24px 24px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.idea-image-focus__toolbar {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, 0.68);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.idea-image-focus__toolbar button {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.idea-image-focus__toolbar button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.idea-image-focus__close {
  margin-right: 2px;
}

.idea-image-focus__canvas {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  background: transparent;
  touch-action: none;
  overscroll-behavior: contain;
}

.idea-image-focus__canvas img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.idea-image-focus__canvas.is-loading::after {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  content: '';
  animation: idea-image-focus-spin 700ms linear infinite;
}

@keyframes idea-image-focus-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .idea-image-expand {
    top: 6px;
    right: auto;
    left: 12px;
    width: 33px;
    height: 33px;
  }

  .idea-image-expand svg {
    width: 16px;
    height: 16px;
  }

  .idea-image-focus {
    padding: 0;
  }

  .idea-image-focus__panel {
    padding: 68px 10px 10px;
  }

  .idea-image-focus__toolbar {
    top: 10px;
    gap: 5px;
    min-height: 48px;
  }

  .idea-image-focus__toolbar button {
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
  }

  .idea-image-focus__toolbar [data-idea-image-reset] {
    font-size: 12px;
  }
}


.idea-action-bar {
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--arz-slate-200);
  background: transparent;
}

.idea-action-bar > div {
  flex-wrap: wrap;
  gap: 8px;
}

.idea-stat-chip {
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  color: #475569;
  background: #fbfcfd;
  font-size: 12px;
}

.idea-stat-chip strong {
  color: #1f2933;
  font-size: 13px;
  font-weight: 600;
}

.idea-stat-chip small {
  color: var(--arz-slate-500);
}

.idea-stat-chip.idea-like-button--detail {
  appearance: none;
  width: auto;
  height: 35px;
  min-height: 35px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms cubic-bezier(.23, 1, .32, 1), color 150ms ease, border-color 150ms ease, background-color 150ms ease, opacity 150ms ease;
}

.idea-stat-chip.idea-like-button--detail:active {
  transform: scale(.97);
}

.idea-stat-chip.idea-like-button--detail .idea-like-icon {
  font-size: 16px;
}

.idea-like-button--detail :is(strong, small) {
  color: inherit;
}

.idea-like-button--detail.is-liked,
.idea-like-button--detail.is-liked strong {
  color: var(--arz-color-negative, #e5484d);
}

.idea-action-bar__buttons {
  flex: 0 0 auto;
  gap: 8px;
  justify-content: flex-end;
}

.idea-action-bar__coins {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.idea-action-bar__coins .idea-coin-pill,
.idea-action-bar__coins .idea-coin-overflow {
  min-height: 36px;
  padding: 6px 10px;
  border-color: var(--arz-slate-200);
  border-radius: 8px;
  color: var(--arz-slate-700);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
}

.idea-action-bar__coins .idea-coin-pill b {
  color: inherit;
  font-weight: 500;
}

.idea-action-bar__buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
}

.idea-action-bar__buttons button {
  width: 38px;
  border: 1px solid var(--arz-slate-200);
  color: #475569;
  background: #fff;
}

.idea-body-card {
  margin: 16px 18px 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.adsbanner-ideas.arz-theme-ad {
  display: grid !important;
  box-sizing: border-box;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-areas: "logo copy action";
  align-items: center;
  column-gap: 12px;
  width: min(720px, calc(100% - 36px));
  min-height: 72px;
  margin: 18px auto 0;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid var(--arz-color-ad-border);
  border-radius: 10px;
  text-decoration: none;
}

.adsbanner-ideas .adsbanner-ideas__logo {
  grid-area: logo;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
  object-fit: contain;
  background: var(--arz-color-surface-elevated);
}

.adsbanner-ideas .adsbanner-ideas__copy {
  grid-area: copy;
  min-width: 0;
}

.adsbanner-ideas .adsbanner-ideas__title {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: var(--arz-color-ad-text) !important;
  font-size: 13px;
  line-height: 1.4;
}

.adsbanner-ideas .adsbanner-ideas__title dotlottie-wc {
  flex: 0 0 auto;
  width: 24px !important;
  height: 24px !important;
}

.adsbanner-ideas .adsbanner-ideas__text {
  overflow: hidden;
  margin-top: 2px;
  color: var(--arz-color-ad-text-muted) !important;
  font-size: 12px;
  line-height: 1.55;
  text-align: initial;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adsbanner-ideas .adsbanner-ideas__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-area: action;
  min-width: 86px;
  min-height: 34px;
  margin: 0;
  padding: 8px 12px 6px;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}


.idea-section-heading {
  gap: 10px;
  margin-bottom: 14px;
}

.idea-section-heading > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 168, 120, 0.18);
  border-radius: 8px;
  color: #047857;
  background: var(--arz-green-soft);
}

.idea-section-heading h2 {
  margin: 0;
  color: #1f2933;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}

.idea-section-heading p {
  margin: 2px 0 0;
  color: var(--arz-slate-500);
  font-size: 12px;
  line-height: 1.7;
}

.idea-description-prose {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
}

.idea-description-prose p {
  width: min(760px, 100%);
  margin: 0;
  margin-inline: auto;
  color: #334155;
  font-size: 15px;
  line-height: 2.15;
}

.idea-description-cooked {
	transition: all 1s;
	display: grid;
	gap: 14px;
	width: min(760px, 100%);
	margin-inline: auto;
	color: #334155;
	font-size: 15px;
	line-height: 2.05;
}


.idea-description-cooked :is(h2, h3, h4, p, ul, ol, blockquote, pre, table, figure) {
  margin: 0;
}

.idea-description-cooked :is(h2, h3, h4) {
  color: #1f2933;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0;
}

.idea-description-cooked h2 {
  font-size: 20px;
}

.idea-description-cooked h3 {
  font-size: 17px;
}

.idea-description-cooked h4 {
  font-size: 15px;
}

.idea-description-cooked :is(ul, ol) {
  display: grid;
  gap: 8px;
  padding: 0 22px 0 0;
}

.idea-description-cooked li::marker {
  color: #0f766e;
  font-weight: 600;
}

.idea-description-cooked a {
  color: #047857;
  font-weight: 600;
  text-decoration: none;
}

/* Discourse link previews embedded in idea descriptions. */
.idea-description-cooked aside.onebox {
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--arz-color-border);
  border-radius: 8px;
  background: var(--arz-color-surface-subtle);
  overflow-wrap: anywhere;
}

.idea-description-cooked aside.onebox > .source {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.7;
}

.idea-description-cooked aside.onebox .source img.site-icon {
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 4px;
  object-fit: contain;
  cursor: auto;
}

.idea-description-cooked aside.onebox .onebox-body {
  display: flow-root;
}

.idea-description-cooked aside.onebox .aspect-image {
  float: inline-start;
  width: 160px;
  max-width: 36%;
  margin-inline-end: 16px;
  margin-bottom: 8px;
}

.idea-description-cooked aside.onebox img.thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 6px;
  object-fit: cover;
  cursor: auto;
}

.idea-description-cooked aside.onebox h3 {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.9;
}

.idea-description-cooked aside.onebox a {
  color: var(--arz-color-text-soft);
}

.idea-description-cooked aside.onebox a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.idea-description-cooked aside.onebox a:focus-visible {
  outline: 2px solid var(--arz-color-text-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

.idea-description-cooked aside.onebox p {
  width: auto;
  color: var(--arz-color-text-muted);
  font-size: 13px;
  line-height: 1.9;
}

.idea-description-cooked aside.onebox .onebox-metadata:empty {
  display: none;
}

@media (max-width: 480px) {
  .idea-description-cooked aside.onebox {
    padding: 12px;
  }

  .idea-description-cooked aside.onebox .aspect-image {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 12px;
  }
}

/* Rich-text authors often use semantic bold tags or inline weights. Keep the detail's type ceiling intact. */
.idea-description-cooked :is(strong, b) {
  font-weight: 600 !important;
}

.idea-description-cooked blockquote {
  padding: 12px 14px;
  border-radius: 8px;
  color: #475569;
  background: #f8fafc;
}

.idea-description-cooked aside.quote {
  overflow: hidden;
  border: 1px solid var(--arz-color-border);
  border-radius: 8px;
  background: var(--arz-color-surface-subtle);
}

.idea-description-cooked aside.quote > .title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--arz-color-divider-soft);
  background: var(--arz-color-surface);
}

.idea-description-cooked aside.quote .quote-controls:empty {
  display: none;
}

.idea-description-cooked aside.quote .title img.avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  cursor: auto;
}

.idea-description-cooked aside.quote .quote-title__text-content {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: var(--arz-color-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.idea-description-cooked aside.quote .quote-title__text-content > a:first-child {
  color: var(--arz-color-text-soft);
  font-size: 14px;
}

.idea-description-cooked aside.quote > blockquote {
  border-radius: 0;
  background: transparent;
}

.idea-description-cooked aside.quote .idea-inline-image-frame {
  width: 100%;
  margin-bottom: 12px;
}

.idea-description-cooked aside.quote .idea-quoted-image-link img {
  width: 100%;
  max-height: 420px;
  border-radius: 6px;
  background: var(--arz-color-media-surface);
  object-fit: contain;
}

.idea-description-cooked aside.quote .idea-quoted-image-link--failed {
  display: inline-block;
  margin-bottom: 8px;
}

.idea-description-cooked :is(pre, code) {
  direction: ltr;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.idea-description-cooked code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #0f172a;
  font-size: 0.9em;
}

.idea-description-cooked pre {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.8;
}

.idea-description-cooked table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.idea-description-cooked :is(th, td) {
  min-width: 116px;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  text-align: right;
  white-space: nowrap;
}

.idea-description-cooked th {
  color: #1f2933;
  background: #f8fafc;
  font-weight: 600;
}

.idea-description-cooked tr:last-child td {
  border-bottom: 0;
}

.idea-description-cooked img {
  display: block;
  height: auto;
  max-height: 520px;
  margin-right: auto;
  margin-left: auto;
}

.idea-description-prose .idea-description-lead {
  color: #0f766e;
  font-size: 16px;
  font-weight: 600;
}

.idea-description-prose--short {
  min-height: 68px;
  align-content: center;
}

.idea-description-divider {
  display: block;
  width: min(680px, 100%);
  height: 1px;
  margin: 2px auto;
  background: #edf2f7;
}

.idea-description-media {
  width: min(760px, 100%);
  margin: 4px auto;
  overflow: hidden;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #020617;
}

.idea-description-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.idea-body-card--mobile.is-collapsed .idea-description-prose {
  max-height: 238px;
}

.idea-body-card--mobile.is-collapsed .idea-description-prose::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
  content: "";
  pointer-events: none;
}

.idea-description-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid var(--arz-slate-200);
  border-radius: 8px;
  color: #334155;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.idea-empty-comments {
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 8px;
  color: #92400e;
  background: #fffbeb;
}

.idea-empty-comments strong {
  display: block;
  margin-bottom: 4px;
  color: #78350f;
  font-size: 14px;
  font-weight: 600;
}

.idea-empty-comments p {
  margin: 0;
  color: #92400e;
  font-size: 13px;
  line-height: 1.9;
}

.idea-discussion-card {
  margin-top: 16px;
  padding: 18px;
}

.idea-discussion-card__header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.idea-discussion-card__header a {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--arz-slate-200);
  border-radius: 8px;
  color: #334155;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.idea-comment-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--arz-slate-200);
  border-radius: 8px;
  background: #fbfcfd;
}

.idea-comment-form textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  resize: vertical;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  color: #334155;
  background: #fff;
}

.idea-comment-form textarea:focus {
  border-color: var(--arz-slate-300);
}

.idea-comment-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.idea-comment-form p {
  margin: 0;
  color: var(--arz-slate-500);
  font-size: 12px;
  line-height: 1.8;
}

.idea-comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 120px;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #18181b;
  font-size: 13px;
  font-weight: 600;
}

.idea-comment-form button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.idea-discussion-note {
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: #64748b;
  background: #fafafa;
  font-size: 13px;
  line-height: 1.9;
}

.idea-discussion-note p {
  margin: 0;
}

.idea-comments-list {
  border-top: 1px solid var(--arz-slate-200);
}

.idea-comment {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--arz-slate-200);
}

.idea-comment__avatar,
.idea-comment__avatar-fallback {
  width: 40px;
  height: 40px;
}

.idea-comment__content {
  min-width: 0;
}

.idea-comment__content header {
  justify-content: space-between;
  gap: 12px;
}

.idea-comment__content header div {
  min-width: 0;
}

.idea-comment__content strong,
.idea-comment__content span {
  display: inline-block;
}

.idea-comment__content strong {
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

.idea-comment__content header span {
  direction: ltr;
  margin-inline-start: 8px;
  color: var(--arz-slate-500);
  font-size: 12px;
}

.idea-comment__content time {
  flex: 0 0 auto;
  color: var(--arz-slate-500);
  font-size: 12px;
}

.idea-comment__content p {
  margin: 8px 0 10px;
  color: #334155;
  font-size: 13px;
  line-height: 2;
}

.idea-comment__content footer {
  flex-wrap: wrap;
  gap: 10px;
  color: var(--arz-slate-500);
  font-size: 12px;
}

.idea-comment__content footer button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  color: #334155;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.idea-empty-comments {
  margin-top: 12px;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .idea-hero {
    gap: 14px;
    padding: 14px 20px;
  }

  .idea-hero h1 {
    font-size: 28px;
  }

  .idea-hero--long-title h1 {
    font-size: clamp(25px, 2.65vw, 30px);
    line-height: 1.44;
  }
}

@media (max-width: 760px) {

  .idea-image-expand {
    top: 6px;
    right: auto;
    left: 12px;
    width: 33px;
    height: 33px;
  }

  .idea-image-expand svg {
    width: 16px;
    height: 16px;
  }

  /* Idea-page ad: keep the offer scannable at narrow mobile widths. */
  .adsbanner-ideas.arz-theme-ad {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    column-gap: 9px;
    width: auto;
    min-height: 68px;
    margin: 14px 12px !important;
    padding: 8px 10px;
  }

  .adsbanner-ideas .adsbanner-ideas__logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .adsbanner-ideas .adsbanner-ideas__title dotlottie-wc {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 auto;
  }

  .adsbanner-ideas .adsbanner-ideas__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
  }

  .adsbanner-ideas .adsbanner-ideas__button {
    min-width: 74px;
    min-height: 32px;
    padding: 7px 9px 5px;
  }

  .idea-breadcrumb {
    overflow: hidden;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .idea-hero {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 10px;
    padding: 16px 14px 12px;
  }

  .idea-hero__content {
    display: block;
  }

  .idea-meta-row {
    margin: 0 0 12px;
  }

  .idea-hero h1 {
    font-size: 21px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .idea-hero--long-title h1 {
    font-size: 20px;
    line-height: 1.48;
  }

  #comments > .idea-comments-title {
    margin-bottom: 4px !important;
  }

  #comments .sendComment {
    font-size: 14px;
  }

  .idea-tags--mobile {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .idea-tags--mobile::-webkit-scrollbar {
    display: none;
  }

  .idea-tags--mobile .idea-coin-pill {
    flex: 0 0 auto;
  }

  .idea-chart-mobile-shell {
    width: calc(100% + 28px);
    margin: 12px -14px 0;
  }

  .idea-chart-frame--mobile {
    display: block;
    width: 100%;
    margin: 0;
  }

  .idea-chart-frame img {
    max-height: none;
    aspect-ratio: 1.12 / 1;
  }

  .idea-action-bar {
    align-items: center;
    flex-direction: row;
    padding: 10px 12px;
  }

  .idea-action-bar__buttons {
    width: auto;
  }

  .idea-action-bar__buttons button {
    width: 40px;
    min-height: 40px;
  }



  .idea-body-card--mobile {
    display: block;
    margin: 14px 0 0;
    box-shadow: none;
  }

  .idea-description-prose {
    gap: 12px;
    padding: 14px;
  }

  .idea-description-prose p {
    font-size: 14px;
    line-height: 1.9;
  }

  .idea-description-prose .idea-description-lead {
    font-size: 15px;
  }

  .idea-description-prose--short {
    min-height: 48px;
  }

  .idea-body-card--mobile.is-collapsed .idea-description-prose {
    max-height: 232px;
  }

  .idea-discussion-card {
    margin-top: 12px;
    padding: 14px;
  }

  .idea-discussion-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .idea-discussion-card__header a {
    width: 100%;
    text-align: center;
  }

  .idea-comment-form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .idea-comment-form button {
    width: 100%;
  }

  .idea-comment {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
  }

  .idea-comment__avatar,
  .idea-comment__avatar-fallback {
    width: 34px;
    height: 34px;
  }

  .idea-comment__content header {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

.idea-description-cooked .content-shadow{
    background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;z-index:9;
    pointer-events: none;
    transition: 1s all;
    opacity:1;
}

/* Dark mode */
html[data-theme='dark'] body .idea-main-card,
html[data-theme='dark'] body .idea-body-card,
html[data-theme='dark'] body .idea-discussion-card {
  border-color: var(--arz-color-border);
  background: var(--arz-color-surface);
  color: var(--arz-color-text);
  box-shadow: none;
}

html[data-theme='dark'] body .idea-breadcrumb,
html[data-theme='dark'] body .idea-hero,
html[data-theme='dark'] body .idea-action-bar {
  border-color: var(--arz-color-border);
}

html[data-theme='dark'] body .idea-breadcrumb,
html[data-theme='dark'] body .idea-meta-row,
html[data-theme='dark'] body .idea-section-heading p {
  color: var(--arz-color-text-muted);
}

html[data-theme='dark'] body .idea-hero h1,
html[data-theme='dark'] body .idea-hero__author strong,
html[data-theme='dark'] body .idea-stat-chip strong,
html[data-theme='dark'] body .idea-section-heading h2,
html[data-theme='dark'] body .idea-description-cooked :is(h2, h3, h4),
html[data-theme='dark'] body .idea-comment__content strong {
  color: var(--arz-color-text);
}

html[data-theme='dark'] body .idea-section-heading > span,
html[data-theme='dark'] body .idea-description-prose .idea-description-lead,
html[data-theme='dark'] body .idea-description-cooked a {
  color: var(--arz-color-primary);
}

html[data-theme='dark'] body .idea-coin-pill,
html[data-theme='dark'] body .idea-section-heading > span {
  border-color: rgba(26, 160, 137, 0.35);
  background: var(--arz-color-primary-subtle);
  color: var(--arz-color-primary);
}

html[data-theme='dark'] body .idea-coin-pill b {
  color: var(--arz-color-primary);
}

html[data-theme='dark'] body .idea-action-bar__coins .idea-coin-pill b {
  color: inherit;
}

html[data-theme='dark'] body .idea-coin-overflow,
html[data-theme='dark'] body .idea-stat-chip,
html[data-theme='dark'] body .idea-action-bar__coins .idea-coin-pill,
html[data-theme='dark'] body .idea-action-bar__coins .idea-coin-overflow,
html[data-theme='dark'] body .idea-action-bar__buttons button,
html[data-theme='dark'] body .idea-description-toggle,
html[data-theme='dark'] body .idea-discussion-card__header a,
html[data-theme='dark'] body .idea-comment-form,
html[data-theme='dark'] body .idea-comment-form textarea {
  border-color: var(--arz-color-border);
  background: var(--arz-color-surface-elevated);
  color: var(--arz-color-text);
}

html[data-theme='dark'] body .idea-hero__author {
  color: var(--arz-color-text-muted);
  background: transparent;
}

html[data-theme='dark'] body .idea-hero__author strong {
  color: var(--arz-color-text-muted);
}

html[data-theme='dark'] body .idea-hero__author > a:hover strong {
  color: var(--arz-color-primary);
}

html[data-theme='dark'] body .idea-action-bar {
  background: transparent;
}

html[data-theme='dark'] body .idea-stat-chip small,
html[data-theme='dark'] body .idea-comment-form p,
html[data-theme='dark'] body .idea-comment__content :is(header span, time, footer) {
  color: var(--arz-color-text-muted);
}

html[data-theme='dark'] body .idea-like-button--detail.is-liked,
html[data-theme='dark'] body .idea-like-button--detail.is-liked strong {
  color: var(--arz-color-negative, #ff626d);
}

html[data-theme='dark'] body .idea-description-prose {
  border-color: var(--arz-color-border);
  background: var(--arz-color-surface);
  color: var(--arz-color-text);
}

html[data-theme='dark'] body .idea-description-prose p,
html[data-theme='dark'] body .idea-description-cooked,
html[data-theme='dark'] body .idea-description-cooked :is(p, ul, ol),
html[data-theme='dark'] body .idea-comment__content p,
html[data-theme='dark'] body .idea-comment__content footer button {
  color: var(--arz-color-text);
}

html[data-theme='dark'] body .idea-description-cooked blockquote,
html[data-theme='dark'] body .idea-discussion-note {
  background: var(--arz-color-surface-subtle);
  color: var(--arz-color-text-muted);
}

html[data-theme='dark'] body .idea-description-cooked table {
  border-color: var(--arz-color-border);
  background: var(--arz-color-surface-elevated);
}

html[data-theme='dark'] body .idea-description-cooked :is(th, td) {
  border-color: var(--arz-color-border);
  color: var(--arz-color-text);
}

html[data-theme='dark'] body .idea-description-cooked th {
  background: var(--arz-color-surface-subtle);
}

html[data-theme='dark'] body .idea-comments-list,
html[data-theme='dark'] body .idea-comment {
  border-color: var(--arz-color-border);
}

html[data-theme='dark'] body .idea-empty-comments {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

html[data-theme='dark'] body .idea-empty-comments :is(strong, p) {
  color: #fbbf24;
}

html[data-theme='dark'] body .idea-body-card--mobile.is-collapsed .idea-description-prose::after {
  display: none;
}

html[data-theme='dark'] body .idea-description-cooked .content-shadow {
  display: none;
}
