body *,
body *::after {
    direction: rtl;
    font-family: 'yekan bakh';
}

.updates-list img {
    max-width: 100%;
    border-radius: 8px;
    width: 350px;
}

.arz-container *,
.arz-container *::after,
.arz-container *::before {
    outline: none;
}

.ascendant {
    color: #14B8A6;
}

.descendant {
    color: #E11D48;
}

.circleLoading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
}

.khonsa {
    color: #acacac;
}

#type-selection {
    opacity: 0;
    display: none;
}

.playBtnChart {
    top: 45%;
    position: absolute;
    z-index: 1023;
    right: 105px;
    background: #ef4444;
    box-shadow: 0 0 2rem #ef44446e !important;
    border-radius: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Open Sans, Ubuntu, Fira Sans, Helvetica Neue, sans-serif;
    font-size: 1rem;
    margin: 0;
}

.desktop .ideas-update-content .lightbox img {
    width:80%;
}
.mobile .ideas-update-content .lightbox img {
    width:100%;
}
.ideas-update-content .lightbox .meta{
    display:none;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

:root {
    --container: 100%;
}

.richText .richText-editor {
    max-width: var(--container);
}

.arz-container {
    border: 0;
    margin: auto;
    padding: 0;
    width: 100%;
    position: relative;
}
#coin-dialog{
    z-index: 999;
}
.arz-coin-dialog-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--arz-color-overlay, rgba(15, 23, 42, 0.55));
}
.arz-coin-dialog-panel {
    width: min(520px, 100%);
    max-height: min(720px, calc(100vh - 48px));
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--arz-color-border, #e2e8f0);
    border-radius: 16px;
    color: var(--arz-color-text, #333);
    background: var(--arz-color-surface-elevated, #fff);
}
.arz-coin-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.arz-coin-dialog-heading { display: flex; align-items: center; gap: 12px; }
.arz-coin-dialog-header h2 { margin: 0; color: var(--arz-color-text, #333); font-size: 18px; font-weight: 600; line-height: 1.6; }
.arz-coin-dialog-clear {
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    color: var(--arz-color-primary, #0b776b);
    background: var(--arz-color-primary-subtle, #effaf8);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}
.arz-coin-dialog-clear:hover { background: var(--arz-color-primary-subtle-solid, #e6f4f1); }
.arz-coin-dialog-close {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: var(--arz-color-text-muted, #64748b);
    background: var(--arz-color-surface-subtle, #f8fafc);
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease;
}
.arz-coin-dialog-close:hover { color: var(--arz-color-text, #333); background: var(--arz-color-interactive-hover, #f1f5f9); }
.arz-coin-dialog-close:focus-visible,
.arz-coin-dialog-clear:focus-visible,
.coin-items:focus-visible,
.arz-coin-dialog-search:focus-within { outline: 2px solid var(--arz-color-primary, #0b776b); outline-offset: 2px; }
.arz-coin-dialog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    margin: 20px 0 16px;
    padding: 0 14px;
    border: 1px solid var(--arz-color-border, #e2e8f0);
    border-radius: 8px;
    color: var(--arz-color-text-muted, #64748b);
    background: var(--arz-color-surface, #fff);
}
.arz-coin-dialog-search svg { width: 19px; height: 19px; }
.arz-coin-dialog-search input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--arz-color-text, #333);
    background: transparent;
    font-size: 14px;
    font-weight: 400;
}
#coin-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: min(500px, calc(100vh - 220px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2px 0 4px 8px;
    align-content: start;
    gap: 10px;
    scrollbar-color: var(--arz-color-border-strong, #cbd5e1) transparent;
}

#coin-list .coin-items {
    min-width: 0;
    cursor: pointer;
}
.arz-coin-item {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    padding: 12px 8px;
    border: 1px solid var(--arz-color-border, #e2e8f0);
    border-radius: 10px;
    background: var(--arz-color-surface, #fff);
    transition: border-color 150ms ease, background-color 150ms ease;
}
.arz-coin-item:hover { border-color: var(--arz-color-primary, #0b776b); background: var(--arz-color-primary-subtle, #effaf8); }
.coin-items.is-selected .arz-coin-item { border-color: var(--arz-color-primary, #0b776b); background: var(--arz-color-primary-subtle, #effaf8); }
.coin-items.is-selected .arz-coin-item p { color: var(--arz-color-primary, #0b776b); font-weight: 600; }
.arz-coin-item img { width: 36px; height: 36px; object-fit: contain; }
.arz-coin-item p {
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--arz-color-text-soft, #334155);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
}
.arz-coin-dialog-empty {
    display: flex;
    grid-column: 1 / -1;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--arz-color-text-muted, #64748b);
    font-size: 13px;
    font-weight: 400;
}
.arz-coin-dialog-empty svg { width: 24px; height: 24px; }
.arz-coin-dialog-empty p { margin: 0; }
@media (max-width: 575px) {
    .arz-coin-dialog-backdrop { align-items: flex-end; padding: 0; }
    .arz-coin-dialog-panel { max-height: 88vh; padding: 20px 16px; border-radius: 16px 16px 0 0; }
    #coin-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: calc(88vh - 190px); }
    .arz-coin-item { min-height: 88px; }
}
.image-container {
    height: 20rem;
}
@media (min-width: 576px) {
    .arz-container {
        max-width: 544px;
    }
     :root {
        --container: 544px;
    }
}

@media (min-width: 768px) {
    .arz-container {
        max-width: 734px;
    }
     :root {
        --container: 734px;
    }
    .ideas-item {
        width: calc(100% / 2 - 8px);
        height: 550px;
    }
    .ideas-item:nth-child(2n) {
        margin: 0 8px;
    }
    .image-container {
        height: 28rem;
    }
}

@media (min-width: 1024px) {
    .arz-container {
        max-width: 992px;
    }
     :root {
        --container: 992px;
    }
    .ideas-item:nth-child(2n) {
        margin: 0 0;
    }
    .ideas-item:nth-child(3n - 1) {
        margin: 0 10px;
    }
    .ideas-item {
        width: calc(100% / 3 - 7px);
        height: 550px;
    }
    .image-container {
        height: 32rem;
    }
}

@media (min-width: 1112px) {
    
    .arz-container {
        max-width: 1080px;
    }
     :root {
        --container: 1080px;
    }
    .image-container {
        height: 34rem;
    }
}
.arz-ideas-list-top-ranking{
    box-shadow: none;
}

@media (min-width: 1312px) {
    .arz-ideas-list-top-ranking{
        box-shadow:none;
    }
    .arz-container {
        max-width: 1280px;
    }
     :root {
        --container: 1325px;
    }
}

.chart-container {
    height: 540px;
}

.arz-chart-loading-circular {
    -webkit-animation: chart-loading-dash 1s ease-in-out infinite, chart-loading-strock 5s ease-in-out infinite;
    animation: chart-loading-dash 1s ease-in-out infinite, chart-loading-strock 5s ease-in-out infinite;
    /* height: 50px; */
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
    /* width: 50px; */
    margin: auto;
}

.arz-chart-loading-path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    -webkit-animation: chart-loading-dash 1s ease-in-out infinite, chart-loading-strock 5s ease-in-out infinite;
    animation: chart-loading-dash 1s ease-in-out infinite, chart-loading-strock 5s ease-in-out infinite;
    stroke-linecap: round;
}

@-webkit-keyframes chart-loading-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes chart-loading-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-webkit-keyframes chart-loading-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124
    }
}

@keyframes chart-loading-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124
    }
}

@-webkit-keyframes chart-loading-strock {
    100%,
    0% {
        stroke: #41c3ee
    }
    40% {
        stroke: #45b29d
    }
    60% {
        stroke: #f68e2b
    }
    80%,
    90% {
        stroke: #df3f2a
    }
}

@keyframes chart-loading-strock {
    100%,
    0% {
        stroke: #41c3ee
    }
    40% {
        stroke: #45b29d
    }
    60% {
        stroke: #f68e2b
    }
    80%,
    90% {
        stroke: #df3f2a
    }
}

.thumbnail-upload {
    max-height: 250px;
    max-width: 250px;
}

::-webkit-scrollbar {
    width: 6px;
}

 ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

 ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

 ::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.arz-ideas-list-top-ranking::-webkit-scrollbar {
    display: none;
}
.arz-ideas-list-top-ranking::-webkit-scrollbar-thumb {
    display: none;
}
#text-editor div:not(.arz-ideas-preview-in-comment),
.matne-update div:not(.arz-ideas-preview-in-comment) {
    padding-bottom: 10px;
    line-height: 2;
    width: 100% !important;
    max-width: 700px;
}
#text-editor div img:not(.arz-ideas-preview-in-comment-img),
.matne-update div img:not(.arz-ideas-preview-in-comment-img) {
    padding: 10px 0;
    margin: auto;
    max-width: 700px;
    display: block;
}

.matne-update svg {
    max-width: 20px;
}

#ideas-editor-view {
    max-width: 950px;
}

img[src$=".svg"]:not(.nowidth),
img[src*="emoji"]:not(.nowidth) {
    width: 24px !important;
}

.coin-icon-size {
    height: 16px;
    min-height: 16px;
    min-width: 16px;
    width: 16px;
    display: block;
}

.ideas-article-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background: #fff;
}

.ideas-update-content *:not(.arz-ideas-preview-in-comment-img , .arz-ideas-preview-in-comment) {
    
    line-height: 2;
}

.ideas-update-content img:not(.arz-ideas-preview-in-comment-img) {
    display: block;
}
.content-line a{
    color: #41c3ee;
}




.ideas-leaderbords .leaderbord-item{
    width:220px;
}

.ideas-leaderboard-skeleton {
    display: none;
}

@media (min-width: 768px) {
    .ideas-leaderboard-skeleton {
        display: flex;
        width: 100%;
        height: 184px;
        gap: 14px;
        overflow: hidden;
    }

    .ideas-leaderboard-skeleton__card {
        position: relative;
        flex: 0 0 220px;
        height: 184px;
        overflow: hidden;
        border: 1px solid var(--arz-color-border, #e2e8f0);
        border-radius: 6px;
        background: var(--arz-color-surface, #fff);
    }

    .ideas-leaderboard-skeleton__cover,
    .ideas-leaderboard-skeleton__avatar,
    .ideas-leaderboard-skeleton__name,
    .ideas-leaderboard-skeleton__meta {
        background: linear-gradient(90deg, var(--arz-color-surface-subtle, #f1f5f9) 25%, var(--arz-color-border, #e2e8f0) 50%, var(--arz-color-surface-subtle, #f1f5f9) 75%);
        background-size: 200% 100%;
        animation: ideas-skeleton-shimmer 1.4s ease-in-out infinite;
    }

    .ideas-leaderboard-skeleton__cover {
        height: 58px;
    }

    .ideas-leaderboard-skeleton__avatar {
        position: absolute;
        top: 24px;
        right: 15px;
        width: 72px;
        height: 72px;
        border: 3px solid var(--arz-color-surface, #fff);
        border-radius: 50%;
    }

    .ideas-leaderboard-skeleton__name {
        width: 92px;
        height: 12px;
        margin: 52px 15px 0;
        border-radius: 5px;
    }

    .ideas-leaderboard-skeleton__meta {
        width: calc(100% - 30px);
        height: 10px;
        margin: 22px 15px 0;
        border-radius: 5px;
    }
}

@keyframes ideas-skeleton-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ideas-leaderboard-skeleton__cover,
    .ideas-leaderboard-skeleton__avatar,
    .ideas-leaderboard-skeleton__name,
    .ideas-leaderboard-skeleton__meta {
        animation: none;
    }
}



.leaderbord-rank0 {
    position: absolute;
    width: 21px;
    left: 20px;
    height: 24px;
    background: #fff;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0%, 100% 75%, 48% 99%, 0 75%);
}
.leaderbord-rank1 {
    height: 18px;
    width: 15px;
    clip-path: polygon(0 0, 100% 0%, 100% 75%, 48% 99%, 0 75%);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.leaderbord-cont{
    overflow: hidden;border:1px solid #e8e8e8; height: 184px;
}
.leaderbord-topback{
    height: 58px;                                
    background-image: url('https://cdn.arz.digital/ad-cnt/main/other/idea-cover.png');
    background-size: 241px 100px;
    background-repeat: no-repeat;
}
.leaderbord-gridcont{
    display: grid; 
    grid-template-columns: 120px 1fr;
    grid-template-rows: 72px 1fr 1fr;
    gap: 10px;
    margin-top: -35px;
    padding: 0 15px;
}

.leaderbord-avatar{
    width: 72px !important;
    height: 72px;
    border-color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderbord-name{
    font-weight: bold;font-size: 15px;color: #1F252D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.leaderbord-separator{
    border-top: 1px solid #8C8C8C33;width: 46px;margin-top: 6px;
}
.leaderbord-link{
    width: 20px;
    margin-right: auto;
    height: 20px;
    direction: ltr;
}
.leaderbord-popultext{
    font-size: 12px;color: #1F252D;
}
.leaderbord-score{
    color:#087A67;font-size: 14px;text-align: left;
}


@media (max-width: 400px) {
    /* Keep one analyst card comfortably readable instead of squeezing two
       desktop cards into the mobile viewport. The adjacent card remains a
       deliberate carousel affordance. */
    .ideas-leaderbords {
        margin-bottom: 28px !important;
    }

    .ideas-leaderbords > h2 {
        margin-bottom: 18px !important;
        color: #182230;
        font-size: 20px !important;
        line-height: 1.45;
        letter-spacing: -0.35px;
    }

    .arz-ideas-list-top-ranking {
        margin-inline: 0 !important;
        padding: 2px 16px 8px;
        box-shadow: none;
    }

    .ideas-leaderbords .leaderbord-item{
        width: min(258px, calc(100vw - 76px));
    }

    .ideas-leaderbords .leaderbord-cont{
        height: 178px;
        border-color: #dfe7eb;
        border-radius: 14px !important;
        box-shadow: none;
        transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .ideas-leaderbords .leaderbord-cont:active {
        transform: scale(0.98);
        box-shadow: none;
    }

    .leaderbord-rank0 {
        top: 0;
        left: 18px;
        width: 27px;
        height: 30px;
    }

    .leaderbord-rank1 {
        width: 19px;
        height: 23px;
        font-size: 12px;
    }

    .leaderbord-avatar{
        width: 66px !important;
        height: 66px;
        border-width: 3px;
    }

    .leaderbord-gridcont{
        grid-template-columns: 1fr 30px;
        grid-template-rows: 76px 26px 30px;
        gap: 0 8px;
        margin-top: -34px;
        padding: 0 16px;
    }

    .leaderbord-name{
        align-self: end;
        font-size: 16px;
        line-height: 1.4;
    }

    .leaderbord-gridcont > :nth-child(2) {
        display: none;
    }

    .leaderbord-gridcont > :nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .leaderbord-link {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        justify-self: end;
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        margin: 0;
        border-radius: 9px;
        background: transparent;
    }

    .leaderbord-link svg {
        width: 16px;
        height: 16px;
    }

    .leaderbord-separator {
        width: 100%;
        margin-top: 9px;
        border-color: #e4eaed;
    }

    .leaderbord-popultext,
    .leaderbord-score {
        grid-row: 3;
        align-self: end;
        font-size: 13px;
        line-height: 1.4;
    }

    .leaderbord-popultext {
        grid-column: 1;
        color: #687684;
        white-space: nowrap;
    }

    .leaderbord-score {
        grid-column: 2;
        color: #087a67;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
    }

    .leaderbord-topback{
        height: 54px;
        background-size: 258px 107px;
    }
}

/* Ideas header: compact, single-row controls and clear hierarchy on mobile. */
.ideas-list-title {
    font-size: 23px;
}

.ideas-list-actions [data-feather] {
    display: block;
    flex: 0 0 auto;
}

.ideas-list-actions #select-coin [data-feather] {
    width: 20px;
    height: 20px;
}

.ideas-list-actions #add-ideas > div {
    flex: 0 0 20px;
    width: 20px;
    height: 24px;
}

.ideas-list-actions #add-ideas .hide-when-show-loading {
    width: 16px;
    height: 24px;
}

@media (min-width: 768px) {
    .ideas-list-actions {
        flex: 0 0 auto;
        width: auto;
        min-height: 40px;
    }

    .ideas-list-actions #select-coin {
        flex: 0 0 112px;
        width: 112px;
    }

    .ideas-list-actions #add-ideas {
        flex: 0 0 157px;
        width: 157px;
    }
}

.ideas-leaderbords {
    margin-bottom: 32px;
    padding-bottom: 12px;
}

@media (max-width: 767px) {
    .leaderbord-score {
        font-size: 15px;
        font-weight: 500;
    }

    #doc-main {
        padding-inline: 16px !important;
        margin-top: 0 !important;
    }

    .ideas-list-heading {
        gap: 16px;
        margin-bottom: 18px;
    }

    .ideas-list-title {
        margin: 0;
        color: var(--arz-color-text, #17202d);
        font-size: 24px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: -0.35px;
    }

    .ideas-list-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        height: 44px;
        padding: 0;
        gap: 8px;
    }

    .ideas-list-actions > * {
        width: 100%;
        min-width: 0;
        height: 44px !important;
    }

    .ideas-list-actions #select-coin {
        width: 100%;
        padding-inline: 10px;
        color: var(--arz-color-primary, #008f7a);
        border-color: var(--arz-color-primary, #008f7a);
        background: var(--arz-color-surface, #fff);
    }

    .ideas-list-actions #add-ideas {
        background-color: var(--arz-color-primary, #008f7a) !important;
    }

    .ideas-list-actions #add-ideas {
        min-width: 0;
        padding-inline: 13px;
        white-space: nowrap;
    }

    .ideas-leaderbords {
        grid-column: 1 / -1;
        width: 100%;
        margin: 18px 0 4px !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .ideas-leaderbords > h2 {
        margin-bottom: 16px !important;
    }

    .arz-ideas-list-top-ranking,
    .arz-ideas-list-top-ranking .owl-stage-outer,
    .arz-ideas-list-top-ranking .owl-stage,
    .arz-ideas-list-top-ranking .owl-item {
        background: transparent !important;
    }

    .ideaDesc {
        display: -webkit-box;
        height: auto !important;
        max-height: 84px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
}

.list-of-ideas {
    position: relative;
}

.list-of-ideas article .ideas-article-title {
    transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .list-of-ideas article:hover .ideas-article-title {
        color: var(--arz-color-primary, #0b776b);
    }
}

.ideas-list-is-loading {
    min-height: 280px;
    pointer-events: none;
}

.ideas-list-loading {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--arz-color-surface, #fff) 82%, transparent);
    backdrop-filter: blur(2px);
}

.ideas-list-loading svg {
    width: 42px;
    height: 42px;
    color: var(--arz-color-primary, #0b776b);
}

.ideas-list-loading circle {
    stroke: currentColor;
}

html[data-theme='dark'] body .ideas-list-title {
    color: var(--arz-color-text, #f4f7f8) !important;
}

html[data-theme='dark'] body .ideas-list-actions #select-coin,
html[data-theme='dark'] body .ideas-list-actions #switch-btn {
    color: var(--arz-color-primary, #20bda7);
    border-color: var(--arz-color-primary, #20bda7);
    background: var(--arz-color-surface-elevated, #182226);
}

html[data-theme='dark'] body .ideas-leaderbords,
html[data-theme='dark'] body .arz-ideas-list-top-ranking,
html[data-theme='dark'] body .arz-ideas-list-top-ranking .owl-stage-outer,
html[data-theme='dark'] body .arz-ideas-list-top-ranking .owl-stage,
html[data-theme='dark'] body .arz-ideas-list-top-ranking .owl-item {
    background: transparent !important;
}

@media (prefers-reduced-motion: reduce) {
    .ideas-leaderbords .leaderbord-cont {
        transition: none;
    }
}





.ideas-update-content aside.onebox{
    margin-inline: 4px;
    border-radius: 6px;
    margin: 1em 0;
    padding: 1em;
    font-size: 1em;
    border: 1px solid rgb(26, 160, 137);
    cursor:pointer;
}
.ideas-update-content aside.onebox header{
    align-items: center;
    display: flex;
    line-height: 1.4;
    direction: ltr;
}

.ideas-update-content aside.onebox header img{
    max-width: 100%;
    height: auto;
    display: inline-block;
    width: 16px;
    margin: 0 3px 2px 0;
    border-radius: unset;
}


.ideas-update-content aside.onebox .onebox-body .aspect-image{
    position: relative;
    max-height: 170px;
    --magic-ratio: calc(var(--aspect-ratio) + 0.15);
    width: calc(128px * var(--magic-ratio));
    max-width: 20% !important;
    float: right;
    margin-left: 1em;
    height: auto;
}

.ideas-update-content aside.onebox .onebox-body .aspect-image::before{
    content: "";
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
}

.ideas-update-content aside.onebox .onebox-body .aspect-image img{
          
    max-width: initial !important;
    max-height: initial;
    float: none;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    margin-left: 1em !important;
    padding: 0 !important;
}

.ideas-update-content aside.onebox .onebox-body h3{
    font-size: 1.17em;
    line-height: 1.5;
    direction: ltr;
    
}
.ideas-update-content aside.onebox .onebox-body h3 a{
    color:#1aa089;
}
.ideas-update-content aside.onebox .onebox-body p{
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 0;
    direction: ltr;
    font-size: 1em;
}

/* Dark mode */
html[data-theme='dark'] body #doc-main > header h1,
html[data-theme='dark'] body #ideas-leaderboards > h2 {
    color: var(--arz-color-text, #f4f7f8) !important;
}

html[data-theme='dark'] body .leaderbord-cont,
html[data-theme='dark'] body .leaderbord-cont:hover {
    border-color: var(--arz-color-border) !important;
    background: var(--arz-color-surface-elevated) !important;
    color: var(--arz-color-text) !important;
}

html[data-theme='dark'] body .leaderbord-name {
    color: var(--arz-color-text) !important;
}

html[data-theme='dark'] body .leaderbord-popultext {
    color: var(--arz-color-text-muted) !important;
}

html[data-theme='dark'] body .leaderbord-separator {
    border-color: var(--arz-color-border) !important;
}

html[data-theme='dark'] body .leaderbord-link path {
    stroke: var(--arz-color-text-muted) !important;
}

html[data-theme='dark'] body .arz-ideas-list-top-ranking {
    box-shadow: none;
}

@media (min-width: 1312px) {
    html[data-theme='dark'] body .arz-ideas-list-top-ranking {
        box-shadow: none;
    }
}

/* Keep the analysis controls on the product primary palette in both themes. */
body .ideas-list-actions #select-coin,
body .ideas-list-actions #switch-btn {
    color: var(--arz-color-primary, #0b776b) !important;
    border-color: var(--arz-color-border-strong, #cbd5e1) !important;
    background-color: var(--arz-color-surface, #fff) !important;
}

body .ideas-list-actions #switch-btn > div,
body .ideas-list-actions #add-ideas {
    background-color: var(--arz-color-primary, #0b776b) !important;
}

html[data-theme='dark'] body .ideas-list-actions #select-coin {
    background-color: var(--arz-color-surface-elevated, #1f2937) !important;
}

/* Semantic control states override legacy Tailwind colors in both themes. */
body .ideas-list-actions #select-coin,
body .ideas-list-actions #switch-btn {
    color: var(--arz-color-text-soft) !important;
    border-color: var(--arz-color-border-strong) !important;
}

body .ideas-list-actions #select-coin [data-feather] {
    color: var(--arz-color-text-muted) !important;
}

body .ideas-list-actions #switch-btn > div,
body .ideas-list-actions #add-ideas {
    background-color: var(--arz-color-primary) !important;
    color: var(--arz-color-on-primary) !important;
}

body .ideas-list-actions #switch-btn :is(svg, i) {
    color: var(--arz-color-text-muted);
    fill: currentColor;
    stroke: currentColor;
}

body .ideas-list-actions #switch-btn > div ~ :is(svg, i).arz-tw-fill-white,
body .ideas-list-actions #switch-btn > div ~ :is(svg, i).arz-tw-text-white {
    color: var(--arz-color-on-primary) !important;
}

body .ideas-list-actions :is(#select-coin, #switch-btn, #add-ideas):focus-visible {
    outline: 2px solid var(--arz-color-primary);
    outline-offset: 2px;
}

html[data-theme='dark'] body .leaderbord-score {
    color: var(--arz-color-primary) !important;
}
