/* ======================================================================
   Void — «پیام‌های کهکشان» (فاز ۱: پوستهٔ بصری + رابطِ محلی).
   همه‌چیز داخلِ #void-music-root ساخته می‌شود تا نه قاعدهٔ سرکوبِ Music Mode
   و نه sweep() آن را پنهان کند. هیچ وابستگی بیرونی و هیچ انیمیشنِ اجباری ندارد.
   ====================================================================== */

/* ---- تبلتِ آمار کهکشان: بازدیدکننده‌ها و نامه‌ها در یک جا ----
   یک دکمهٔ کوچک در گوشهٔ بالاچپ؛ پنلش با جاوااسکریپت نسبت به همان دکمه جای‌گذاری می‌شود. */
#void-galaxy-stats {
    position: fixed;
    z-index: 3;
    left: max(8px, env(safe-area-inset-left, 0px));
    --void-gs-safe-top: max(8px, env(safe-area-inset-top, 0px));
    top: var(--void-gs-safe-top);
    display: inline-flex;
    align-items: center;
    column-gap: 4px;
    box-sizing: border-box;
    min-width: 44px; min-height: 44px;
    margin: 0;
    padding: 5px 10px 5px 9px;
    border: 1px solid rgba(235, 240, 245, .18);
    border-radius: 13px;
    background: rgba(8, 10, 14, .42);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
    color: rgba(235, 240, 245, .78);
    font: 11px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    pointer-events: auto;
    cursor: pointer;
    user-select: none; -webkit-user-select: none;
    opacity: 0; visibility: hidden; transform: translateY(4px) scale(.96);
    transition:
        opacity .35s ease,
        transform .4s cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear .4s,
        padding .28s cubic-bezier(.22, 1, .36, 1),
        border-color .24s ease,
        background-color .24s ease;
}
#void-galaxy-stats[hidden] { display: none; }
#void-galaxy-stats.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#void-galaxy-stats:focus-visible { outline: 2px solid rgba(220, 230, 240, .85); outline-offset: 3px; }
#void-galaxy-stats[aria-expanded="true"] {
    border-color: rgba(251, 191, 36, .30);
    background: rgba(8, 10, 14, .55);
}

/* نشانگرِ زندهٔ تبلت: یک نقطهٔ طلاییِ کم‌نور که آرام نفس می‌کشد. */
.vm-gs__dot {
    width: 6px; height: 6px; flex: none; border-radius: 50%;
    margin-inline-end: 5px;
    align-self: center;
    background: rgba(251, 191, 36, .85);
    box-shadow: 0 0 7px rgba(251, 191, 36, .32);
    animation: vm-gs-breathe 3.6s ease-in-out infinite;
}
#void-galaxy-stats[aria-expanded="true"] .vm-gs__dot { background: #fbbf24; }
@keyframes vm-gs-breathe {
    0%, 100% { opacity: .5; transform: scale(.82); }
    50% { opacity: .95; transform: scale(1); }
}

.vm-gs__fig { display: flex; align-items: baseline; gap: 0; white-space: nowrap; transition: gap .22s ease; }
.vm-gs__i {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 11px; line-height: 1; font-style: normal; font-weight: 400;
    margin-inline-end: 3px;
}
/* Stage two stays folded until the pointer or keyboard asks for it. */
.vm-gs__more { display: none; align-items: baseline; column-gap: 4px; }
.vm-gs__n { font-size: 11.5px; font-weight: 600; color: rgba(250, 252, 255, .92); }
.vm-gs__l {
    display: block;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 9px; letter-spacing: .09em; text-transform: uppercase;
    color: rgba(235, 240, 245, .55);
    white-space: nowrap;
    transition: max-width .24s ease, opacity .18s ease;
}
.vm-gs__sep { flex: none; color: rgba(235, 240, 245, .42); font-size: 13px; line-height: 1; }
@media (hover: hover) and (pointer: fine) {
    /* مرحلهٔ دوم: فقط با ورودِ نشانگر، تبلت کمی باز می‌شود و برچسب‌ها
       از زیرِ عدد بیرون می‌آیند؛ پنلِ کامل با تأخیرِ کوتاه خودش می‌آید. */
    #void-galaxy-stats:hover,
    #void-galaxy-stats:focus-visible {
        padding: 6px 12px 6px 11px;
        border-color: rgba(235, 240, 245, .28);
        background: rgba(8, 10, 14, .54);
    }
    #void-galaxy-stats:hover .vm-gs__fig,
    #void-galaxy-stats:focus-visible .vm-gs__fig { gap: 4px; }
    #void-galaxy-stats:hover .vm-gs__l,
    #void-galaxy-stats:focus-visible .vm-gs__l { max-width: 8em; opacity: 1; }
    #void-galaxy-stats:hover .vm-gs__more,
    #void-galaxy-stats:focus-visible .vm-gs__more { display: inline-flex; }
}
#void-galaxy-stats:focus-visible .vm-gs__fig { gap: 4px; }
#void-galaxy-stats:focus-visible .vm-gs__l { max-width: 8em; opacity: 1; }
#void-galaxy-stats:focus-visible .vm-gs__more { display: inline-flex; }

#void-galaxy-stats-panel {
    position: fixed;
    left: 0; top: 0;
    z-index: 3;
    box-sizing: border-box;
    display: flex; flex-direction: column; gap: 7px;
    width: min(264px, calc(100vw - 20px));
    padding: 12px 13px 11px;
    border: 1px solid rgba(235, 240, 245, .16);
    border-radius: 14px;
    background:
        radial-gradient(120% 100% at 50% -10%, rgba(251, 191, 36, .06), transparent 62%),
        rgba(9, 12, 18, .96);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
            backdrop-filter: blur(16px) saturate(115%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .62), 0 0 0 1px rgba(0, 0, 0, .3);
    color: rgba(250, 252, 255, .96);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    pointer-events: auto;
    transform-origin: left top;
    opacity: 0; visibility: hidden; transform: translateY(3px) scale(.965);
    transition: opacity .18s ease, transform .28s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .28s;
}
#void-galaxy-stats-panel[hidden] { display: none; }
#void-galaxy-stats-panel.is-on {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}

.vm-gs-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vm-gs-row b {
    font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
    color: rgba(250, 252, 255, .96);
}
.vm-gs-row span {
    font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(235, 240, 245, .7);
}
.vm-gs-row i {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 11px; font-style: normal; letter-spacing: 0;
    margin-inline-end: 5px;
}
/* The Golden Folder is a collection, not a community figure: one hairline
   keeps its count out of the visitor rows. */
.vm-gs-div { height: 1px; margin: 1px 0; background: rgba(235, 240, 245, .12); }

/* Read / Write: one balanced pair. Each tile is a button, so the pair stays a
   single tab stop each and the Write tile carries the same ink meter as the
   quill beside the galaxy. */
.vm-gs-acts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 4px;
}
.vm-gs-act {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 48px;
    padding: 8px 9px;
    border: 1px solid rgba(235, 240, 245, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .028);
    color: rgba(235, 240, 245, .88);
    font-family: inherit;
    text-align: start;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.vm-gs-act:hover:not(:disabled),
.vm-gs-act:focus-visible {
    border-color: rgba(235, 240, 245, .30);
    background: rgba(255, 255, 255, .06);
    color: rgba(250, 252, 255, .96);
}
.vm-gs-act:focus-visible { outline: 2px solid rgba(220, 230, 240, .85); outline-offset: 2px; }
.vm-gs-act:disabled { opacity: .42; cursor: default; }
.vm-gs-act__ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    color: rgba(235, 240, 245, .78);
}
.vm-gs-act__svg { display: block; width: 18px; height: 18px; }
.vm-gs-act__quill {
    display: block;
    width: 19px;
    height: 19px;
    filter: drop-shadow(0 0 2.5px rgba(225, 234, 246, .22));
}
.vm-gs-act__txt {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.vm-gs-act__txt b {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
}
.vm-gs-act__txt small {
    font-size: 10.5px;
    line-height: 1.3;
    letter-spacing: .01em;
    color: rgba(235, 240, 245, .64);
    white-space: nowrap;
}
.vm-gs-act__meter { margin-top: 3px; color: rgba(235, 240, 245, .6); }
.vm-gs-act__pad { display: block; height: 9px; }
/* The Write tile must not repeat the ink count — the quill and the composer
   carry it. Removing the meter also removes its 9px alignment pad, so both
   tile labels keep one baseline. The phone column is too narrow for the
   nowrap label, so it wraps inside the tile instead of overrunning it. */
#void-galaxy-stats-panel .vm-gs-act__meter,
#void-galaxy-stats-panel .vm-gs-act__pad { display: none; }
#void-galaxy-stats-panel .vm-gs-act__txt { flex: 1 1 auto; }
#void-galaxy-stats-panel .vm-gs-act__txt small {
    white-space: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
}

/* ---- ink drops: one meter, three surfaces ---- */
.vm-meter {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: none;
    color: rgba(235, 240, 245, .7);
    transition: opacity .2s ease;
}
.vm-meter__d { display: block; width: 5px; height: 6px; }
.vm-meter__d path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.1;
    opacity: .42;
    transition: opacity .18s ease, fill .18s ease;
}
.vm-meter__d.is-full path { fill: currentColor; opacity: .86; }
.vm-meter.is-unknown { visibility: hidden; }
.vm-meter.is-exhausted { color: rgba(235, 240, 245, .5); }

.void-god-sr {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* حالت quiet: رابط خودکار محو می‌شود؛ تبلت کم‌نور می‌شود، ولی ناپدید نمی‌شود */
body.vm-quiet #void-galaxy-stats { opacity: .5; }

/* ---- دکمهٔ دایره‌ایِ «نامه به خدا» ----
   همان هندسه و جنسِ دکمه‌های دایره‌ایِ پخش (۴۴px، شیشهٔ ۴۲٪، حاشیهٔ .20، blur 10px)
   و آخرین قلمِ ستونِ سمت راست: سه نمادِ سایت از وسط صفحهٔ آزاد شروع می‌شوند
   (همان top در index.html) و قلم ۱۶۲px پایین‌تر، دقیقاً زیرِ آن‌ها. */
#void-god-quill {
    position: absolute;
    top: calc(max(50% - 103px, 30vh + 52px) + 162px);
    right: max(18px, env(safe-area-inset-right, 0px));
    z-index: 4;
    box-sizing: border-box;
    width: 44px; height: 44px;
    margin: 0; padding: 4px 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    transform: none;
    border: 1px solid rgba(235, 240, 245, .20);
    border-radius: 50%;
    background: rgba(8, 10, 14, .42);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    color: rgba(235, 240, 245, .74);
    opacity: .78;
    pointer-events: auto;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.void-god-quill__icon {
    display: block;
    width: 21px; height: 21px;
    filter: drop-shadow(0 0 2.5px rgba(225, 234, 246, .20));
    transition: filter .2s ease;
}
#void-god-quill .vm-meter { color: rgba(235, 240, 245, .72); }
#void-god-quill:hover {
    opacity: 1;
    color: rgba(250, 252, 255, .96);
    border-color: rgba(235, 240, 245, .4);
}
#void-god-quill:hover .void-god-quill__icon,
#void-god-quill:focus-visible .void-god-quill__icon {
    filter: drop-shadow(0 0 4.5px rgba(235, 242, 255, .40));
}
#void-god-quill:active { background: rgba(235, 240, 245, .10); }
#void-god-quill:focus-visible {
    outline: 2px solid rgba(220, 230, 240, .9);
    outline-offset: 4px;
    opacity: 1;
}

/* ---- سهمیهٔ قلم: یک کارتِ شیشه‌ایِ کوچک، فقط هنگامِ تعامل ----
   همان قلم، همان سه قطره، و «۲ / ۳»؛ هرگز متنِ توضیحیِ دائمی روی صفحه نیست. */
.void-god-quota-pop {
    position: fixed;
    left: 0; top: 0;
    z-index: 6;
    box-sizing: border-box;
    width: 184px;
    padding: 10px 12px 11px;
    border: 1px solid rgba(235, 240, 245, .16);
    border-radius: 12px;
    background:
        radial-gradient(120% 100% at 50% -10%, rgba(251, 191, 36, .05), transparent 62%),
        rgba(9, 12, 18, .96);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
            backdrop-filter: blur(16px) saturate(115%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .3);
    color: rgba(235, 240, 245, .88);
    font: 11.5px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
    opacity: 0; visibility: hidden; transform: translateY(2px) scale(.98);
    transition: opacity .16s ease, transform .22s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .22s;
}
.void-god-quota-pop[hidden] { display: none; }
.void-god-quota-pop.is-on {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.void-god-quota-pop__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.void-god-quota-pop__quill {
    display: grid;
    place-items: center;
    width: 18px; height: 18px;
    color: rgba(235, 240, 245, .86);
}
.void-god-quota-pop__quill svg {
    display: block;
    width: 18px; height: 18px;
    filter: drop-shadow(0 0 3px rgba(225, 234, 246, .22));
}
.void-god-quota-pop__meter { color: rgba(235, 240, 245, .8); }
.void-god-quota-pop__text {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(250, 252, 255, .9);
}
.void-god-quota-pop__next {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.35;
    color: rgba(251, 216, 140, .86);
}
.void-god-quota-pop__next[hidden] { display: none; }
.void-god-quota-pop.is-exhausted .void-god-quota-pop__text { color: rgba(251, 216, 140, .92); }
#void-god-discover {
    position: absolute;
    top: calc(max(50% - 103px, 30vh + 52px) + 210px);
    right: max(18px, env(safe-area-inset-right, 0px));
    z-index: 4;
    width: 44px; height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    display: grid; place-items: center;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background .25s ease;
}
.void-god-discover__core {
    position: relative;
    isolation: isolate;
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(255, 218, 113, .96);
    box-shadow: 0 0 4px 1px rgba(251, 191, 36, .42);
}
.void-god-discover__core::before,
.void-god-discover__core::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.void-god-discover__core::before {
    z-index: -1;
    inset: -6px;
    background: radial-gradient(circle, rgba(251, 191, 36, .28) 0%, rgba(251, 191, 36, .12) 48%, transparent 76%);
    opacity: .68;
    transform: scale(.94);
    animation: void-discover-glow-pulse 3.8s ease-in-out infinite;
}
.void-god-discover__core::after {
    inset: -2px;
    border: 1px solid rgba(255, 236, 180, .26);
    opacity: .72;
}
#void-god-discover:hover, #void-god-discover:focus-visible {
    background: radial-gradient(circle, rgba(251, 191, 36, .10), transparent 72%);
}
#void-god-discover:hover .void-god-discover__core,
#void-god-discover:focus-visible .void-god-discover__core {
    box-shadow: 0 0 10px rgba(251, 191, 36, .82);
}
#void-god-discover:focus-visible { outline: 1px solid rgba(255, 218, 113, .65); outline-offset: 1px; }
@keyframes void-discover-glow-pulse {
    0%, 100% { opacity: .56; transform: scale(.94); }
    50% { opacity: .84; transform: scale(1.06); }
}
#void-music-root.is-quiet #void-god-discover { opacity: .48; }
#void-music-root.is-quiet #void-god-quill { opacity: .38; }

/* Keep the three secondary site tools tucked away until the discovery control
   is activated. This presentation state is independent of Music Quiet Mode. */
body:not(.is-tools-revealed) #void-topnav .void-topnav__link {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(.94);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
body.is-tools-revealed #void-topnav .void-topnav__link {
    opacity: .78;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
}
body:not(.is-tools-revealed) #void-god-quill {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility 0s linear .35s;
}
body.is-tools-revealed #void-god-quill {
    opacity: .78;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
@media (prefers-reduced-motion: reduce) {
    #void-topnav .void-topnav__link { transition: none !important; transform: none !important; }
    body:not(.is-tools-revealed) #void-god-quill,
    body.is-tools-revealed #void-god-quill { transition: none !important; }
}

/* Reading dims selected chrome only; playback, metadata, and the galaxy canvas
   remain untouched. Quiet Mode keeps its own opacity and interaction rules. */
#void-topnav { transition: opacity .6s ease; }
body.is-reading #void-topnav { opacity: .22; }
body.is-reading #void-topnav:hover,
body.is-reading #void-topnav:focus-within { opacity: 1; }
body.is-reading:not(.vm-quiet) #void-galaxy-stats,
body.is-reading:not(.vm-quiet) #void-god-quill,
body.is-reading:not(.vm-quiet) #void-god-discover {
    opacity: .22;
    transition: opacity .6s ease;
}
body.is-reading:not(.vm-quiet) #void-galaxy-stats:hover,
body.is-reading:not(.vm-quiet) #void-galaxy-stats:focus-visible,
body.is-reading:not(.vm-quiet) #void-god-quill:hover,
body.is-reading:not(.vm-quiet) #void-god-quill:focus-visible,
body.is-reading:not(.vm-quiet) #void-god-discover:hover,
body.is-reading:not(.vm-quiet) #void-god-discover:focus-visible { opacity: 1; }
body.is-reading #void-golden-status:not(.is-action) {
    opacity: .22;
    transition: opacity .6s ease;
}
body.is-reading #void-golden-status:not(.is-action):hover,
body.is-reading #void-golden-status:not(.is-action):focus-within { opacity: 1; }
@media (hover: none) {
    body.is-reading #void-topnav,
    body.is-reading:not(.vm-quiet) #void-galaxy-stats,
    body.is-reading:not(.vm-quiet) #void-god-quill,
    body.is-reading:not(.vm-quiet) #void-god-discover,
    body.is-reading #void-golden-status:not(.is-action) { opacity: .36; }
}

/* Letter Reading View masks the existing interface without changing its
   state. The galaxy, temporary selected star, reader, and visualizer stay live. */
body.is-letter-reading #void-topnav,
body.is-letter-reading #void-counter,
body.is-letter-reading #void-galaxy-stats,
body.is-letter-reading #void-galaxy-stats-panel,
body.is-letter-reading #void-god-quill,
body.is-letter-reading #void-god-quota-pop,
body.is-letter-reading #void-god-discover,
body.is-letter-reading #void-golden-status,
body.is-letter-reading #void-reopen,
body.is-letter-reading #ai-orbit-root,
body.is-letter-reading #void-music-remote-host,
body.is-letter-reading #void-music-mini-wrap,
body.is-letter-reading #void-music-mini,
body.is-letter-reading #void-music-root .vm-meta,
body.is-letter-reading #void-music-root .vm-dock,
body.is-letter-reading #void-music-root .vm-corner,
body.is-letter-reading #void-music-root .vm-pop,
body.is-letter-reading #void-music-root .vm-toast,
body.is-letter-reading #void-music-root .vm-hud {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .22s ease, visibility 0s linear .22s !important;
}

/* Native dialogs paint a top-layer backdrop, so suppress their boxes entirely
   during the reading view; their open state is left untouched for restoration. */
body.is-letter-reading #void-golden-modal,
body.is-letter-reading #void-god-dialog { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    body.is-letter-reading #void-topnav,
    body.is-letter-reading #void-counter,
    body.is-letter-reading #void-galaxy-stats,
    body.is-letter-reading #void-galaxy-stats-panel,
    body.is-letter-reading #void-god-quill,
    body.is-letter-reading #void-god-quota-pop,
    body.is-letter-reading #void-god-discover,
    body.is-letter-reading #void-golden-status,
    body.is-letter-reading #void-reopen,
    body.is-letter-reading #ai-orbit-root,
    body.is-letter-reading #void-music-remote-host,
    body.is-letter-reading #void-music-mini-wrap,
    body.is-letter-reading #void-music-mini,
    body.is-letter-reading #void-music-root .vm-meta,
    body.is-letter-reading #void-music-root .vm-dock,
    body.is-letter-reading #void-music-root .vm-corner,
    body.is-letter-reading #void-music-root .vm-pop,
    body.is-letter-reading #void-music-root .vm-toast,
    body.is-letter-reading #void-music-root .vm-hud {
        transition: none !important;
    }
}

/* On phones the demo star sits at 22%, not 30%; the column follows the same
   formula as #void-topnav in index.html. */
@media (max-width: 520px) {
    #void-god-quill {
        top: calc(max(50% - 103px, 22vh + 52px) + 162px);
    }
    #void-god-discover { top: calc(max(50% - 103px, 22vh + 52px) + 210px); }
}

/* ---- سطحِ کلیکِ کهکشان ----
   بومِ ویژوالایزر pointer-events:none دارد و z-index -1 است؛ این لایه شفاف
   داخلِ ریشه و پیش از داک/گوشه/عنوان می‌نشیند، پس فقط فضای خالیِ کهکشان را
   می‌گیرد و هیچ دکمه‌ای را نمی‌بلعد. رنگ، تصویر یا حرکت ندارد. */
#void-god-galaxy {
    position: absolute; inset: 0;
    z-index: 0;
    background: transparent;
    pointer-events: auto;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
}

/* ---- ستارهٔ موقتِ همان کلیک ----
   در هر لحظه حداکثر یک ستاره؛ در محل کلیک ساخته و پس از بسته‌شدن حذف می‌شود.
   هیچ ستاره‌ای به آرایه/ویژوالایزر اضافه نمی‌شود. */
#void-god-anchor {
    position: fixed;
    z-index: 5;
    width: 44px; height: 44px;
    margin: 0; padding: 0;
    display: grid; place-items: center;
    transform: translate(-50%, -50%);
    border: 0; border-radius: 50%;
    background: transparent;
    -webkit-appearance: none; appearance: none;
    pointer-events: auto;
    cursor: pointer;
    opacity: .62;
    transition: opacity .28s ease;
}
#void-god-anchor:hover,
#void-god-anchor:focus-visible { opacity: 1; }
#void-god-anchor:focus { outline: none; }
#void-god-anchor:focus-visible {
    outline: 1px solid rgba(235, 240, 245, .80);
    outline-offset: 4px;
}
#void-god-anchor.is-closing {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.55);
    transition: opacity .4s ease, transform .45s cubic-bezier(.4, 0, .2, 1);
}
#void-music-root.is-quiet #void-god-anchor { opacity: .38; }
.void-god-anchor__glow {
    position: absolute;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, .30), rgba(251, 191, 36, .10) 45%, transparent 70%);
    filter: blur(2px);
    animation: voidGodGlow 7s ease-in-out infinite;
    pointer-events: none;
}
.void-god-anchor__core {
    position: relative;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(255, 246, 218, .98), rgba(251, 191, 36, .92) 58%, rgba(251, 191, 36, .55));
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
    animation: voidGodTwinkle 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes voidGodTwinkle {
    0%, 100% { opacity: .62; transform: scale(.88); }
    48% { opacity: 1; transform: scale(1); }
}
@keyframes voidGodGlow {
    0%, 100% { opacity: .45; transform: scale(.9); }
    50% { opacity: .9; transform: scale(1.08); }
}

/* غبارِ کوتاهِ بسته‌شدن؛ چند DOM موقت که بعد از ~۰٫۷ ثانیه حذف می‌شوند. */
.void-god-ash {
    position: fixed;
    z-index: 6;
    width: 0; height: 0;
    pointer-events: none;
}
.void-god-ash span {
    position: absolute;
    left: -1.5px; top: -1.5px;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(251, 191, 36, .95);
    box-shadow: 0 0 6px rgba(251, 191, 36, .5);
    opacity: 0;
    animation: voidGodAsh .62s cubic-bezier(.16, .7, .3, 1) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes voidGodAsh {
    0% { opacity: 0; transform: translate(0, 0) scale(.6); }
    16% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(.2); }
}

/* ---- پنل پیام ----
   شیشهٔ هم‌خانوادهٔ پنجره‌ها؛ جای آن با JS کنارِ ستاره و داخل ناحیهٔ آزاد
   (بالای داک، دور از گوشه/ستون) تعیین می‌شود. z آن از قلم و ستاره کمتر است
   تا هرگز کلیکشان را نگیرد. */
#void-god-panel {
    position: fixed;
    z-index: 3;
    box-sizing: border-box;
    display: flex; flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 24px));
    padding: 16px 16px 14px;
    border: 1px solid rgba(236, 241, 247, .15);
    border-radius: 20px 34px 20px 34px;
    background:
        radial-gradient(120% 100% at 50% -10%, rgba(251, 191, 36, .05), transparent 62%),
        linear-gradient(180deg, rgba(15, 19, 26, .965), rgba(7, 9, 14, .975));
    -webkit-backdrop-filter: blur(18px) saturate(112%);
            backdrop-filter: blur(18px) saturate(112%);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, .58),
        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 0 0 1px rgba(0, 0, 0, .32);
    color: rgba(250, 252, 255, .96);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    pointer-events: auto;
    user-select: text; -webkit-user-select: text;
    overscroll-behavior: contain;
    min-height: 0;
    overflow: auto;
    opacity: 0;
    transform: translateY(6px) scale(.99);
    transition: opacity .2s ease, transform .26s cubic-bezier(.22, 1, .36, 1);
}
#void-god-panel.is-on { opacity: 1; transform: none; }
#void-god-panel.is-closing {
    opacity: 0;
    transform: translateY(-7px) scale(.985);
    filter: blur(1.5px);
    pointer-events: none;
    transition: opacity .36s ease, transform .36s ease, filter .36s ease;
}
#void-god-panel[hidden] { display: none; }
#void-god-panel:focus { outline: none; }
.void-god-head,
.void-god-msg-lifespan,
.void-god-msg-meta,
.void-god-votes,
.void-god-panel__actions,
.void-god-panel__status { flex: 0 0 auto; }

.void-god-msg-title {
    margin: 0;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .02em;
    color: rgba(250, 252, 255, .96);
}
.void-god-nav__button {
    display: grid; place-items: center;
    flex: none;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid rgba(205, 213, 223, .15);
    border-radius: 50%;
    background: rgba(32, 36, 43, .34);
    color: rgba(220, 226, 234, .84);
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .12s ease;
}
.void-god-nav__button:hover:not(:disabled), .void-god-nav__button:focus-visible {
    color: rgba(247, 249, 252, .98);
    border-color: rgba(220, 227, 236, .24);
    background: rgba(48, 53, 62, .42);
}
.void-god-nav__button:focus-visible { outline: 1px solid rgba(235, 240, 245, .65); outline-offset: 2px; }
.void-god-nav__button:active:not(:disabled) { background: rgba(58, 63, 72, .48); transform: scale(.97); }
.void-god-nav__button:disabled { opacity: .44; cursor: default; }
.void-god-nav__button svg {
    display: block;
    width: 17px; height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.void-god-msg-tag {
    font-size: 10.5px;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(251, 204, 108, .9);
}
.void-god-msg-text {
    box-sizing: border-box;
    width: 100%;
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(235, 240, 245, .24) transparent;
    margin: 0;
    color: rgba(250, 252, 255, .96);
    font-size: 15.5px;
    line-height: 1.75;
    letter-spacing: .01em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    unicode-bidi: plaintext;
    text-align: start;
    user-select: text; -webkit-user-select: text;
}
.void-god-msg-wrap {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 0;
}
.void-god-msg-wrap .void-god-msg-text { height: auto; padding: 4px 4px 6px; }
.void-god-msg-text.is-secret-ink {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.void-god-msg-text.is-concealed {
    letter-spacing: .08em;
    user-select: none; -webkit-user-select: none;
}
.void-god-msg-text.is-secret-ink:focus-visible {
    outline: 2px solid rgba(251, 191, 36, .7);
    outline-offset: 4px;
    border-radius: 6px;
}
.void-god-secret-hint {
    margin: 0;
    padding: 0 4px 2px;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(251, 191, 36, .55);
    pointer-events: none;
}
.void-god-reader-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(245, 247, 250, .9);
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease, opacity .18s ease, background .18s ease;
}
.void-god-reader-icon:hover:not(:disabled),
.void-god-reader-icon:active:not(:disabled) { background: rgba(255, 255, 255, .07); color: #fff; }
.void-god-reader-icon:focus-visible { outline: 1px solid rgba(235, 240, 245, .7); outline-offset: 1px; }
.void-god-reader-icon:disabled { opacity: .34; cursor: not-allowed; }
.void-god-reader-icon svg { display: block; width: 18px; height: 18px; }
.void-god-copy-icon { position: static; }
.void-god-copy-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.void-god-copy-icon .void-god-copy-icon__check { display: none; }
.void-god-copy-icon.is-copied { color: rgba(180, 220, 195, .96); }
.void-god-copy-icon.is-copied > svg:first-child { display: none; }
.void-god-copy-icon.is-copied .void-god-copy-icon__check { display: block; }
/* ---- منوی اشتراک: شیشهٔ کوچک، بیرون از پنلِ اسکرول‌شدنی تا هیچ‌گاه بریده نشود ---- */
.void-god-share-trigger { position: static; }
.void-god-share-trigger svg {
    display: block; width: 18px; height: 18px;
    fill: none; stroke: currentColor; stroke-width: 1.7;
    stroke-linecap: round; stroke-linejoin: round;
}
.void-god-share-trigger.is-open { color: #fff; background: rgba(255, 255, 255, .07); }
.void-god-share-pop {
    position: fixed;
    left: 0; top: 0;
    z-index: 6;
    box-sizing: border-box;
    width: 188px;
    padding: 6px;
    border: 1px solid rgba(235, 240, 245, .16);
    border-radius: 12px;
    background:
        radial-gradient(120% 100% at 50% -10%, rgba(251, 191, 36, .05), transparent 62%),
        rgba(9, 12, 18, .96);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
            backdrop-filter: blur(16px) saturate(115%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .3);
    font: 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    pointer-events: auto;
    opacity: 0; visibility: hidden; transform: translateY(2px) scale(.98);
    transition: opacity .16s ease, transform .22s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .22s;
}
.void-god-share-pop[hidden] { display: none; }
.void-god-share-pop.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.void-god-share-pop__item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 7px 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(245, 247, 250, .9);
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.void-god-share-pop__item[hidden] { display: none; }
.void-god-share-pop__item:hover:not(:disabled),
.void-god-share-pop__item:focus-visible {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}
.void-god-share-pop__item:focus-visible { outline: 1px solid rgba(235, 240, 245, .7); outline-offset: 1px; }
.void-god-share-pop__item:disabled { opacity: .34; cursor: not-allowed; }
.void-god-share-pop__ico {
    display: grid;
    place-items: center;
    flex: 0 0 15px;
    width: 15px; height: 15px;
    color: rgba(235, 240, 245, .8);
}
.void-god-share-pop__ico svg {
    display: block;
    width: 15px; height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.void-god-share-pop__label { display: block; min-width: 0; }
.void-god-msg-meta {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(235, 240, 245, .66);
}
.void-god-msg-lifespan {
    margin: -2px 0 0;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .05em;
    color: rgba(251, 216, 140, .86);
    font-variant-numeric: tabular-nums;
}
.void-god-msg-lifespan[hidden] { display: none; }
.void-god-msg-lifespan.is-bumped { animation: void-lifespan-bump .8s ease; }
.void-god-msg-lifespan.is-dipped { animation: void-lifespan-dip .8s ease; }
@keyframes void-lifespan-bump {
    0% { color: rgba(251, 191, 36, .35); transform: translateY(2px); }
    35% { color: rgba(255, 226, 150, 1); transform: translateY(-1px); }
    100% { color: rgba(251, 216, 140, .86); transform: none; }
}
@keyframes void-lifespan-dip {
    0% { color: rgba(170, 190, 220, .35); transform: translateY(-2px); }
    35% { color: rgba(190, 205, 230, .95); transform: translateY(1px); }
    100% { color: rgba(251, 216, 140, .86); transform: none; }
}
.void-god-votes {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.void-god-votes[hidden] { display: none; }
.void-god-vote {
    flex: 0 0 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: auto;
    padding: 5px 0;
    opacity: .82;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(250, 252, 255, .94);
}
.void-god-vote__icon {
    display: block;
    width: 18px; height: 18px; flex: 0 0 18px;
    align-self: center;
    fill: currentColor;
}
.void-god-vote__icon--down { color: rgba(201, 143, 145, .96); }
.void-god-vote:hover, .void-god-vote:focus-visible { opacity: 1; }
.void-god-vote__count {
    display: block;
    min-height: 11px;
    color: rgba(215, 220, 230, .8);
    font-size: 10.5px;
    font-weight: 400;
    line-height: 11px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}
.void-god-vote.is-voted {
    color: rgba(251, 222, 150, .98);
    background: rgba(251, 191, 36, .1);
}
.void-god-vote.is-voted:disabled { opacity: 1; }
.void-god-panel__actions {
    display: flex;
    direction: ltr;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
}
.void-god-share-icon {
    color: rgba(235, 238, 243, .88);
}
.void-god-share-icon svg { width: 17px; height: 17px; fill: currentColor; }
.void-god-panel__status {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.4;
    color: rgba(251, 216, 140, .92);
}
.void-god-panel__status[hidden] { display: none; }
/* ---- منوی ترجمه: همان شیشهٔ کوچکِ بیرون از پنل تا بریده نشود ---- */
.void-god-translate-pop {
    position: fixed;
    left: 0; top: 0;
    z-index: 6;
    box-sizing: border-box;
    width: 216px;
    max-width: calc(100vw - 16px);
    padding: 6px;
    border: 1px solid rgba(235, 240, 245, .16);
    border-radius: 12px;
    background:
        radial-gradient(120% 100% at 50% -10%, rgba(251, 191, 36, .05), transparent 62%),
        rgba(9, 12, 18, .96);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
            backdrop-filter: blur(16px) saturate(115%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .3);
    font: 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    pointer-events: auto;
    opacity: 0; visibility: hidden; transform: translateY(2px) scale(.98);
    transition: opacity .16s ease, transform .22s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .22s;
}
.void-god-translate-pop[hidden] { display: none; }
.void-god-translate-pop.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.void-god-translate-pop__note {
    margin: 0;
    padding: 6px 9px 7px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(251, 216, 140, .9);
}
.void-god-translate-pop__note[hidden] { display: none; }
.void-god-translate-pop__item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 7px 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(245, 247, 250, .9);
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.void-god-translate-pop__item[hidden] { display: none; }
.void-god-translate-pop__item:hover:not(:disabled),
.void-god-translate-pop__item:focus-visible {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}
.void-god-translate-pop__item:focus-visible { outline: 1px solid rgba(235, 240, 245, .7); outline-offset: 1px; }
.void-god-translate-pop__item:disabled { opacity: .34; cursor: not-allowed; }
.void-god-translate-pop__ico {
    display: grid;
    place-items: center;
    flex: 0 0 15px;
    width: 15px; height: 15px;
    color: rgba(235, 240, 245, .8);
}
.void-god-translate-pop__ico svg {
    display: block;
    width: 15px; height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.void-god-translate-pop__label-text { display: block; min-width: 0; }
.void-god-translate-pop__sep {
    height: 1px;
    margin: 5px 7px;
    background: rgba(235, 240, 245, .09);
}
.void-god-translate-pop__label {
    margin: 0;
    padding: 3px 9px 5px;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(235, 240, 245, .62);
}
.void-god-translate-pop__list {
    max-height: 188px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(235, 240, 245, .24) transparent;
}
.void-god-translate-pop__lang { min-height: 32px; padding: 5px 9px; }
.void-god-translate-pop__lang.is-current {
    color: rgba(251, 222, 150, .98);
    background: rgba(251, 191, 36, .08);
}
.void-god-translate-pop__lang.is-current .void-god-translate-pop__label-text::after {
    content: '\2713';
    margin-left: 6px;
    font-size: 10.5px;
    opacity: .8;
}

/* ---- پنجرهٔ نوشتنِ نامه ---- */
#void-god-dialog,
#void-god-dialog * { box-sizing: border-box; }
#void-god-dialog {
    position: fixed;
    inset: auto;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    border: 1px solid rgba(236, 241, 247, .15);
    border-radius: 18px;
    background:
        radial-gradient(130% 90% at 50% -12%, rgba(251, 191, 36, .06), transparent 60%),
        linear-gradient(180deg, rgba(15, 19, 26, .965), rgba(6, 8, 13, .98));
    -webkit-backdrop-filter: blur(18px) saturate(116%);
            backdrop-filter: blur(18px) saturate(116%);
    box-shadow:
        0 26px 80px rgba(0, 0, 0, .6),
        inset 0 1px 0 rgba(255, 255, 255, .055),
        0 0 0 1px rgba(0, 0, 0, .30);
    color: rgba(250, 252, 255, .96);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    pointer-events: auto;
    user-select: text; -webkit-user-select: text;
    overscroll-behavior: contain;
}
#void-god-dialog {
    width: min(560px, calc(100vw - 24px));
    max-height: min(88vh, 760px);
    max-height: min(88dvh, 760px);
    overflow: auto;
}
#void-god-dialog::backdrop {
    background: rgba(2, 3, 7, .50);
    -webkit-backdrop-filter: blur(8px) saturate(115%);
            backdrop-filter: blur(8px) saturate(115%);
}
#void-god-dialog[open] {
    animation: voidGodIn .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes voidGodIn {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.void-god-form {
    display: flex; flex-direction: column;
    gap: 11px;
    padding: 20px 20px 18px;
}
/* پس از ثبتِ واقعی، فرم جای خود را به نمای تأیید می‌دهد. */
.void-god-form.is-published > :not(.void-god-published) { display: none; }

.void-god-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.void-god-titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.void-god-title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .02em;
    color: rgba(250, 252, 255, .96);
}
.void-god-title-fa {
    font-size: 12.5px;
    line-height: 1.4;
    letter-spacing: 0;
    color: rgba(251, 191, 36, .78);
}
.void-god-x {
    flex: none;
    width: 44px; height: 44px;
    margin: -6px -6px 0 0;
    display: grid; place-items: center;
    padding: 0;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: rgba(235, 240, 245, .70);
    font-family: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}
.void-god-x:hover { background: rgba(255, 255, 255, .09); color: rgba(250, 252, 255, .96); }
.void-god-x:focus-visible {
    outline: 2px solid rgba(235, 240, 245, .85);
    outline-offset: 2px;
}
/* دکمهٔ ترجمه: دایرهٔ کوچک در سربرگ؛ ناحیهٔ لمس ۴۴px است ولی دایرهٔ دیداری
   ۳۴px می‌ماند تا چیدمان موجود تغییر نکند. */
.void-god-translate {
    position: relative;
    flex: none;
    width: 44px; height: 44px;
    margin: -6px -5px 0 -10px;
    display: grid; place-items: center;
    padding: 0;
    border: 0; border-radius: 50%;
    background: transparent;
    color: rgba(235, 240, 245, .72);
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease;
}
.void-god-translate__ring {
    position: relative;
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: inherit;
    transition: background .18s ease, color .18s ease;
}
.void-god-translate svg {
    display: block;
    width: 17px; height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.void-god-translate:hover:not(:disabled) { color: rgba(250, 252, 255, .96); }
.void-god-translate:hover:not(:disabled) .void-god-translate__ring { background: rgba(255, 255, 255, .09); }
.void-god-translate:focus-visible { outline: none; }
.void-god-translate:focus-visible .void-god-translate__ring {
    box-shadow: 0 0 0 2px rgba(235, 240, 245, .8);
}
.void-god-translate:disabled { opacity: .3; cursor: not-allowed; }
.void-god-translate.is-open .void-god-translate__ring {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.void-god-translate.is-on { color: rgba(251, 216, 140, .92); }
.void-god-translate.is-on .void-god-translate__ring {
    background: rgba(251, 191, 36, .1);
    color: rgba(251, 222, 150, .98);
}
.void-god-translate.is-busy .void-god-translate__ring { color: rgba(251, 216, 140, .9); }
.void-god-translate.is-busy .void-god-translate__ring::after {
    content: '';
    position: absolute;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(251, 216, 140, .22);
    border-top-color: rgba(251, 216, 140, .9);
    animation: void-translate-spin .9s linear infinite;
}
@keyframes void-translate-spin { to { transform: rotate(360deg); } }

/* The writer's mark beside the title: inert, gold, and the same 26px slot
   whether it shows the chosen glyph or the single concealed dot. */
.void-god-msg-presence {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px; height: 26px;
    margin: 3px 0 0;
    border: 1px solid rgba(251, 216, 140, .26);
    border-radius: 50%;
    background: rgba(251, 216, 140, .05);
    color: rgba(251, 216, 140, .92);
    pointer-events: none;
}
.void-god-msg-presence[hidden] { display: none; }
.void-god-msg-presence svg {
    display: block;
    width: 15px; height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* presence: five line-art marks on one quiet grid. The glyph carries the state;
   the word beneath it stays small so the marks read first. */
.void-god-presence {
    margin: 0;
    padding: 0;
    border: 0;
    min-inline-size: 0;
}
.void-god-presence__legend {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0;
    margin-bottom: 6px;
    font-size: 10.5px;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(235, 240, 245, .72);
}
.void-god-presence__optional {
    letter-spacing: .02em;
    text-transform: none;
    font-size: 11px;
    color: rgba(235, 240, 245, .56);
}
.void-god-presence__row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
}
.void-god-presence__opt {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 6px 2px 5px;
    border-radius: 10px;
    color: rgba(235, 240, 245, .68);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease, background .18s ease;
}
.void-god-presence__opt:hover { color: rgba(235, 240, 245, .84); }
.void-god-presence__opt input {
    position: absolute;
    width: 1px; height: 1px;
    margin: 0;
    opacity: 0;
}
.void-god-presence__glyph {
    display: grid;
    place-items: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    transition: background .18s ease, box-shadow .18s ease;
}
.void-god-presence__glyph svg {
    display: block;
    width: 22px; height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.void-god-presence__name {
    font-size: 10.5px;
    line-height: 1.2;
    letter-spacing: .03em;
    color: currentColor;
    white-space: nowrap;
}
.void-god-presence__opt input:checked ~ .void-god-presence__glyph {
    background: rgba(251, 191, 36, .1);
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .38);
    color: rgba(251, 216, 140, .98);
}
.void-god-presence__opt input:checked ~ .void-god-presence__name { color: rgba(251, 216, 140, .92); }
.void-god-presence__opt input:focus-visible ~ .void-god-presence__glyph {
    box-shadow: 0 0 0 2px rgba(235, 240, 245, .75);
}

/* Ink: the same three drops as the quill, sitting quietly above the page. */
.void-god-quota {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    color: rgba(235, 240, 245, .8);
    font-size: 11.5px;
    line-height: 1.3;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}
.void-god-quota[hidden] { display: none; }
.void-god-quota .vm-meter { gap: 4px; color: rgba(251, 208, 118, .9); }
.void-god-quota .vm-meter__d { width: 9px; height: 11px; }
.void-god-quota__meter { color: rgba(251, 208, 118, .88); }
.void-god-quota__text { color: rgba(235, 240, 245, .58); }
.void-god-quota.is-exhausted .vm-meter { color: rgba(235, 240, 245, .42); }
.void-god-quota.is-exhausted .void-god-quota__text { color: rgba(251, 216, 140, .9); }

/* THE PAGE: borderless, generous, the visual centre of the instrument. */
.void-god-text {
    width: 100%;
    min-height: 216px;
    max-height: 40vh;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(7, 9, 14, .20), rgba(7, 9, 14, .20));
    box-shadow:
        inset 0 0 0 1px rgba(235, 240, 245, .08),
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 22px 40px -34px rgba(0, 0, 0, .9);
    color: rgba(252, 253, 255, .98);
    caret-color: rgba(251, 216, 140, .98);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.74;
    letter-spacing: .005em;
    unicode-bidi: plaintext;
    resize: vertical;
    outline: none;
    user-select: text; -webkit-user-select: text;
    cursor: text;
    transition: box-shadow .2s ease, background .2s ease;
}
.void-god-text::selection {
    background: rgba(251, 191, 36, .28);
    color: rgba(255, 252, 245, 1);
}
.void-god-text::placeholder { color: rgba(235, 240, 245, .52); font-style: italic; }
.void-god-text:focus {
    background: rgba(8, 10, 16, .22);
    box-shadow:
        inset 0 0 0 1px rgba(251, 191, 36, .30),
        inset 0 1px 0 rgba(255, 255, 255, .045),
        0 26px 46px -34px rgba(0, 0, 0, .95);
}

.void-god-count-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: -4px;
    font-size: 11.5px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}
.void-god-count { flex: none; color: rgba(235, 240, 245, .55); }
.void-god-count.is-over { color: rgba(240, 161, 150, .96); }
.void-god-hint { flex: 1; text-align: right; color: rgba(240, 161, 150, .92); }

.void-god-exp { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.void-god-exp-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    border-bottom: 1px solid rgba(235, 240, 245, .1);
}
.void-god-legend {
    padding: 0;
    margin-bottom: 5px;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(235, 240, 245, .72);
}
.void-god-exp-opt { position: relative; display: flex; min-width: 0; }
.void-god-exp-opt input {
    position: absolute;
    width: 1px; height: 1px;
    margin: 0;
    opacity: 0;
}
.void-god-exp-opt span {
    flex: 1 1 auto;
    padding: 8px 2px;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: rgba(235, 240, 245, .74);
    font-size: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.void-god-exp-opt:hover span { color: rgba(235, 240, 245, .9); }
.void-god-exp-opt input:checked + span {
    background: rgba(251, 191, 36, .07);
    box-shadow: inset 0 -1px 0 rgba(251, 191, 36, .62);
    color: rgba(251, 216, 140, .98);
}
.void-god-exp-opt input:focus-visible + span {
    outline: 1px solid rgba(235, 240, 245, .8);
    outline-offset: -2px;
}

.void-god-secret {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(235, 240, 245, .07);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.void-god-secret input {
    position: absolute;
    width: 1px; height: 1px;
    margin: 0;
    opacity: 0;
}
.void-god-secret__copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1 1 auto;
    min-width: 0;
}
.void-god-secret__title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .02em;
    color: rgba(235, 240, 245, .82);
    transition: color .18s ease;
}
.void-god-secret__sub {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(235, 240, 245, .6);
}
.void-god-switch {
    flex: none;
    width: 38px; height: 22px;
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 1px rgba(235, 240, 245, .14);
    transition: background .18s ease, box-shadow .18s ease;
}
.void-god-switch__track {
    display: block;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(235, 240, 245, .55);
    transition: transform .18s ease, background .18s ease;
}
.void-god-secret input:checked ~ .void-god-secret__copy .void-god-secret__title { color: rgba(251, 216, 140, .98); }
.void-god-secret input:checked ~ .void-god-switch {
    background: rgba(251, 191, 36, .2);
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .5);
}
.void-god-secret input:checked ~ .void-god-switch .void-god-switch__track {
    transform: translateX(16px);
    background: rgba(251, 216, 140, .98);
}
.void-god-secret input:focus-visible ~ .void-god-switch {
    box-shadow: 0 0 0 2px rgba(235, 240, 245, .75);
}
.void-god-secret input:disabled ~ .void-god-switch,
.void-god-secret input:disabled ~ .void-god-secret__copy { opacity: .45; }

.void-god-ack {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(235, 240, 245, .86);
    cursor: pointer;
}
.void-god-ack input {
    flex: none;
    width: 16px; height: 16px;
    margin: 1px 0 0;
    accent-color: #fbbf24;
    cursor: pointer;
}
.void-god-ack input:focus-visible {
    outline: 2px solid rgba(235, 240, 245, .8);
    outline-offset: 2px;
}

.void-god-notice {
    margin: 0;
    padding: 9px 11px;
    border: 1px solid rgba(251, 191, 36, .28);
    border-radius: 10px;
    background: rgba(251, 191, 36, .07);
    color: rgba(251, 216, 140, .95);
    font-size: 12px;
    line-height: 1.5;
}
.void-god-notice[hidden] { display: none; }

.void-god-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}
.void-god-release { flex: 1 1 auto; min-width: 0; }
.void-god-release__micro {
    font-size: 11.5px;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: .02em;
    color: rgba(235, 240, 245, .58);
}
.void-god-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}
.void-god-btn {
    min-height: 40px;
    padding: 10px 17px;
    border: 1px solid rgba(235, 240, 245, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    color: rgba(235, 240, 245, .92);
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .02em;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}
.void-god-btn:hover { border-color: rgba(235, 240, 245, .34); background: rgba(255, 255, 255, .07); }
.void-god-btn:focus-visible {
    outline: 2px solid rgba(235, 240, 245, .85);
    outline-offset: 2px;
}
/* The single act: warmer than a form button, still a quiet instrument. */
.void-god-btn--primary {
    border-color: rgba(251, 191, 36, .52);
    background: linear-gradient(180deg, rgba(251, 191, 36, .24), rgba(251, 191, 36, .12));
    color: rgba(255, 246, 224, .99);
    letter-spacing: .03em;
    box-shadow: 0 10px 24px -18px rgba(251, 191, 36, .9);
}
.void-god-btn--primary:hover {
    border-color: rgba(251, 208, 118, .7);
    background: linear-gradient(180deg, rgba(251, 191, 36, .32), rgba(251, 191, 36, .18));
}
.void-god-btn:disabled {
    opacity: .38;
    cursor: not-allowed;
}
.void-god-btn--primary:disabled { box-shadow: none; }

/* نمای تأییدِ ثبت؛ فقط با پاسخِ واقعی آشکار می‌شود. */
.void-god-published {
    display: flex; flex-direction: column;
    gap: 12px;
}
.void-god-published[hidden] { display: none; }
.void-god-published__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .02em;
    color: rgba(250, 252, 255, .96);
}
.void-god-published__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(235, 240, 245, .68);
}
/* اشتراکِ عمومیِ نامهٔ تازه: همان آیتم‌های منوی پنل، درون پنجرهٔ ثبت. */
.void-god-published__menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(235, 240, 245, .16);
    border-radius: 12px;
    background:
        radial-gradient(120% 100% at 50% -10%, rgba(251, 191, 36, .05), transparent 62%),
        rgba(9, 12, 18, .96);
}
.void-god-published__menu[hidden] { display: none; }
.void-god-published__status {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(235, 240, 245, .64);
}
.void-god-published__status[hidden] { display: none; }

/* حالت quiet مخفی‌سازیِ نشانگر را روی کل صفحه اعمال می‌کند؛ متن و دکمه‌های
   پنجره/پنلِ باز باید نشانگرِ عادی داشته باشند. */
body.vm-quiet #void-god-dialog,
body.vm-quiet #void-god-dialog *,
body.vm-quiet #void-god-panel,
body.vm-quiet #void-god-panel * { cursor: auto !important; }
body.vm-quiet #void-god-dialog button,
body.vm-quiet #void-god-panel button,
body.vm-quiet #void-god-anchor,
body.vm-quiet .void-god-ack,
body.vm-quiet .void-god-ack input,
body.vm-quiet .void-god-secret,
body.vm-quiet .void-god-presence__opt,
body.vm-quiet .void-god-presence__opt input,
body.vm-quiet .void-god-exp-opt span { cursor: pointer !important; }
body.vm-quiet .void-god-text,
body.vm-quiet .void-god-msg-text { cursor: text !important; }
body.vm-quiet .void-god-btn:disabled { cursor: not-allowed !important; }

@media (max-width: 520px) {
    #void-galaxy-stats { font-size: 10px; column-gap: 4px; row-gap: 1px; padding: 5px 8px 5px 7px; }
    .vm-gs__n { font-size: 10.5px; }
    .vm-gs__l { display: none; }
    #void-god-dialog { width: calc(100vw - 20px); max-height: 90vh; max-height: 90dvh; }
    /* The site rail keeps its 44px column at the middle-right on these widths;
       ending the panel before it keeps every action button clear of the icons. */
    #void-god-panel { width: calc(100vw - 84px); padding: 14px 14px 12px; }
    body.is-letter-reading #void-god-panel { width: min(380px, calc(100vw - 24px)); }
    .void-god-panel__actions { gap: 4px; }
    .void-god-form { padding: 14px 14px 13px; gap: 9px; }
    .void-god-text { min-height: 168px; font-size: 16px; }
    .void-god-release { display: none; }
    .void-god-actions { flex: 1 1 auto; }
    .void-god-foot .void-god-btn { flex: 1; }
}

/* Small phones and short phone viewports: the whole form — page, consent and
   the single action — fits without an inner scroll, so submitting never means
   hunting for a control hidden under the fold. */
@media (max-width: 360px), (max-width: 520px) and (max-height: 700px) {
    #void-god-dialog { max-height: 96vh; max-height: 96dvh; }
    .void-god-form { padding: 12px 12px 11px; gap: 7px; }
    .void-god-title { font-size: 16px; }
    .void-god-title-fa { font-size: 11.5px; }
    .void-god-presence__legend { margin-bottom: 4px; }
    .void-god-presence__opt { gap: 3px; padding: 3px 1px 2px; }
    .void-god-presence__glyph { width: 24px; height: 24px; }
    .void-god-presence__glyph svg { width: 20px; height: 20px; }
    .void-god-quota { font-size: 11px; }
    /* rows=7 sets the intrinsic height; an explicit height is what actually
       compacts the page on a 568px-tall phone. */
    .void-god-text { height: 132px; min-height: 132px; padding: 10px 12px; }
    .void-god-count-row { font-size: 11px; }
    .void-god-exp-opt span { padding: 6px 2px; font-size: 11.5px; }
    .void-god-secret { margin-top: 6px; padding-top: 6px; }
    .void-god-ack { font-size: 11.5px; line-height: 1.4; }
    .void-god-foot { margin-top: 0; }
    .void-god-btn { min-height: 38px; padding: 8px 14px; font-size: 12.5px; }
}

@media (max-width: 420px) {
    /* سه دکمهٔ نمای ثبت (اشتراک عمومی، X، Done) در یک ردیف جای نمی‌گیرند. */
    .void-god-published .void-god-foot { flex-wrap: wrap; }
    .void-god-published .void-god-foot .void-god-btn { flex: 1 1 calc(50% - 4px); }
}

@media (max-width: 340px) {
    .void-god-panel__actions { gap: 1px; }
    .void-god-votes { gap: 0; }
}

@media (max-height: 560px) {
    #void-god-dialog { max-height: 94vh; max-height: 94dvh; }
    .void-god-text { height: 132px; min-height: 132px; }
}

/* When the whole column cannot stay in the middle-right band, the quill
   follows the three marks into the compact top-left strip, 4px under them,
   same size and same column (see index.html for the tier boundaries). */
@media (max-width: 520px) and (max-height: 653px),
       (min-width: 521px) and (max-width: 683px) and (max-height: 688px),
       (min-width: 684px) and (max-width: 703px) and (max-height: 605px),
       (min-width: 704px) and (max-height: 379px) {
    #void-god-quill {
        left: 64px;
        right: auto;
        top: calc(106px + env(safe-area-inset-top, 0px));
        transform: none;
        width: 30px; height: 30px;
        padding: 3px 0;
        gap: 1px;
    }
    #void-god-discover {
        left: 57px; right: auto;
        top: calc(106px + env(safe-area-inset-top, 0px) + 34px);
    }
    #void-god-quill .void-god-quill__icon { width: 16px; height: 16px; }
    #void-god-quill .vm-meter__d { width: 4px; height: 5px; }
    /* The mark shrinks in this tier; the tap target stays 44px. */
    #void-god-quill::after {
        content: "";
        position: absolute;
        left: 50%; top: 50%;
        width: 44px; height: 44px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
    }
    /* In this tier the rail lives top-left, so the panel can use the full width. */
    #void-god-panel { width: min(380px, calc(100vw - 24px)); }
    /* The three marks start at left:64px, so the pill only has 56px in the
       corner: the live dot sits inside the left padding and the gaps tighten
       to keep the collapsed pill (dot + both counts) off the icons. */
    #void-galaxy-stats { padding: 5px 8px 5px 12px; column-gap: 2px; }
    #void-galaxy-stats .vm-gs__dot {
        position: absolute;
        left: 4px;
        top: calc(50% - 3px);
        margin: 0;
    }
    /* There is no room to the right of the pill here, so the hover stage only
       deepens the glass; the row labels stay folded and the panel that opens
       320ms later carries the detail. */
    #void-galaxy-stats:hover,
    #void-galaxy-stats:focus-visible { padding: 6px 8px 6px 12px; }
    #void-galaxy-stats:hover .vm-gs__fig,
    #void-galaxy-stats:focus-visible .vm-gs__fig { gap: 0; }
    #void-galaxy-stats:hover .vm-gs__l,
    #void-galaxy-stats:focus-visible .vm-gs__l { max-width: 0; opacity: 0; }
    #void-galaxy-stats:hover .vm-gs__more,
    #void-galaxy-stats:focus-visible .vm-gs__more { display: none; }
}
/* Under 400px the column shrinks to 22px so it ends at 98px and the pill keeps
   its own line at 104px. */
@media (max-width: 703px) and (max-height: 399px), (min-width: 704px) and (max-height: 379px) {
    #void-god-quill {
        top: calc(76px + env(safe-area-inset-top, 0px));
        width: 22px; height: 22px;
        padding: 1px 0;
        gap: 0;
    }
    #void-god-discover { top: calc(76px + env(safe-area-inset-top, 0px) + 26px); left: 53px; right: auto; }
    #void-god-quill .void-god-quill__icon { width: 11px; height: 11px; }
    #void-god-quill .vm-meter__d { width: 2.5px; height: 3.5px; }
}

/* Lift the complete right-side tool group on touch devices in landscape,
   where the discovery control otherwise reaches the bottom edge. */
@media (orientation: landscape) and (hover: none) and (pointer: coarse)
       and (min-width: 704px) and (min-height: 380px) and (max-height: 520px) {
    #void-topnav.void-topnav--rail,
    #void-god-quill,
    #void-god-discover { translate: 0 -60px; }
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse)
       and (min-width: 521px) and (max-height: 520px) {
    #void-god-panel { gap: 6px; padding: 12px; }
    .void-god-msg-wrap { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    #void-galaxy-stats { transition: none; }
    .vm-gs__fig, .vm-gs__l { transition: none; }
    .vm-gs__dot { animation: none; opacity: .9; transform: none; }
    #void-galaxy-stats-panel { transition: none; }
    #void-god-dialog[open] { animation: none; }
    .void-god-quota-pop,
    .void-god-share-pop,
    .void-god-translate-pop,
    .void-god-translate,
    .void-god-translate__ring,
    .vm-meter,
    .vm-meter__d path,
    .void-god-quill__icon,
    .vm-gs-act { transition: none; }
    #void-god-anchor,
    #void-god-anchor.is-closing,
    #void-god-panel,
    #void-god-panel.is-closing,
    #void-god-quill,
    #void-god-discover,
    .void-god-x,
    .void-god-nav__button,
    .void-god-btn,
    .void-god-exp-opt span,
    .void-god-presence__opt,
    .void-god-presence__glyph,
    .void-god-switch,
    .void-god-switch__track,
    .void-god-msg-lifespan,
    .void-god-text { transition: none; animation: none; }
    .void-god-anchor__glow,
    .void-god-anchor__core { animation: none; }
    .void-god-discover__core { animation: none; }
    .void-god-discover__core::before { animation: none; opacity: .7; transform: none; }
    .void-god-ash span { animation: none; }
    .void-god-translate.is-busy .void-god-translate__ring::after { animation: none; opacity: .7; }
    #void-god-panel.is-closing {
        opacity: 0;
        transform: none;
        filter: none;
        transition: opacity .08s linear;
    }
}

/* ---- UI clarity pass (2026-11-07) ----
   Functional surfaces sit at 96–98% opacity: the galaxy stays faintly present,
   the text layer never competes with it, and every label keeps a readable floor. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #void-god-panel {
        background:
            radial-gradient(120% 100% at 50% -10%, rgba(251, 191, 36, .05), transparent 62%),
            rgba(8, 10, 15, .97);
    }
    #void-god-dialog {
        background:
            radial-gradient(130% 90% at 50% -12%, rgba(251, 191, 36, .06), transparent 60%),
            linear-gradient(180deg, rgba(15, 19, 26, .97), rgba(6, 8, 13, .98));
    }
}

/* خواننده */
#void-god-panel .void-god-msg-text {
    color: rgba(250, 252, 255, .97);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
#void-god-panel .void-god-msg-title { color: rgba(250, 252, 255, 1); }
#void-god-panel .void-god-msg-meta { color: rgba(235, 240, 245, .68); }
#void-god-panel .void-god-msg-tag { color: rgba(251, 204, 108, .9); }
#void-god-panel .void-god-secret-hint { color: rgba(251, 208, 118, .78); }

/* نویسنده */
#void-god-dialog .void-god-title { color: rgba(250, 252, 255, 1); }
#void-god-dialog .void-god-title-fa { color: rgba(251, 204, 108, .88); }
#void-god-dialog .void-god-legend,
#void-god-dialog .void-god-presence__legend { color: rgba(235, 240, 245, .72); }
#void-god-dialog .void-god-presence__optional { color: rgba(235, 240, 245, .56); }
#void-god-dialog .void-god-count { color: rgba(235, 240, 245, .72); }
#void-god-dialog .void-god-quota { color: rgba(235, 240, 245, .86); }
#void-god-dialog .void-god-quota__text { color: rgba(235, 240, 245, .78); }
#void-god-dialog .void-god-secret__title { color: rgba(235, 240, 245, .9); }
#void-god-dialog .void-god-secret__sub { color: rgba(235, 240, 245, .64); }
#void-god-dialog .void-god-release__micro { color: rgba(235, 240, 245, .58); }
#void-god-dialog .void-god-ack { color: rgba(235, 240, 245, .86); }
#void-god-dialog .void-god-published__note { color: rgba(235, 240, 245, .84); }
#void-god-dialog .void-god-published__status { color: rgba(235, 240, 245, .78); }
#void-god-dialog .void-god-text { text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
