/* =========================================================
   Electron Executor — electronexe.com
   Core stylesheet (ion / cyan theme)
   ========================================================= */

:root {
    --void: #080D10;
    --void-soft: #0C1418;
    --ion: #00EBFC;
    --ion-deep: #00A3B0;
    --ion-shadow: #00616B;
    --ion-floor: #003C43;
    --paper: #FFFFFF;
    --muted: #8FA2A8;
    --muted-dim: #5F7278;
    --hairline: rgba(255, 255, 255, 0.06);
}

body {
    background-color: var(--void);
    color: var(--paper);
    overflow-x: hidden;
    position: relative;
}

/* ---------- Display type: layered edge ---------- */
.glyph-chrome {
    color: var(--paper);
    -webkit-text-stroke: 1px var(--ion);
    text-shadow:
        1px 1px 0px var(--ion-shadow),
        2px 2px 0px var(--ion-shadow),
        3px 3px 0px var(--ion-floor),
        4px 4px 0px var(--ion-floor),
        5px 5px 0px var(--ion-floor),
        6px 6px 18px rgba(0, 235, 252, 0.35);
    letter-spacing: 0.01em;
    font-weight: 700;
}

/* ---------- Surfaces ---------- */
.panel-skin {
    background: linear-gradient(180deg, #0D171C 0%, #080D10 100%);
}

.panel-skin-lift {
    background: linear-gradient(160deg, #101C22 0%, #090F13 100%);
}

.pill-skin {
    background: linear-gradient(90deg, rgba(0, 235, 252, 0.16) 0%, rgba(0, 235, 252, 0.04) 100%);
    border: 1px solid rgba(0, 235, 252, 0.22);
}

.glyph-plate {
    background: linear-gradient(135deg, rgba(0, 235, 252, 0.22) 0%, rgba(0, 235, 252, 0.05) 100%);
}

/* Thin top light on cards */
.panel-skin::before,
.panel-skin-lift::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 235, 252, 0.3), transparent);
    pointer-events: none;
}

/* ---------- Buttons ---------- */
.cta-solid {
    position: relative;
    background: linear-gradient(180deg, #19F2FF 0%, #00B6C6 100%);
    color: #04191C !important;
    font-weight: 700;
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
    box-shadow: 1px 1px 0 0 var(--ion-floor), 2px 2px 0 0 var(--ion-floor), 3px 3px 0 0 var(--ion-floor), 4px 4px 0 0 var(--ion-floor);
    transform: translate(0, 0);
    border: 1px solid #8CF8FF;
}
.cta-solid:hover { filter: brightness(1.08); }
.cta-solid:active {
    box-shadow: 0 0 0 0 var(--ion-floor);
    transform: translate(4px, 4px);
}

.cta-light {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #C9D6DA 100%);
    color: #06171B !important;
    font-weight: 700;
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
    box-shadow: 1px 1px 0 0 #3C5156, 2px 2px 0 0 #3C5156, 3px 3px 0 0 #3C5156, 4px 4px 0 0 #3C5156;
    transform: translate(0, 0);
    border: 1px solid #FFFFFF;
}
.cta-light:hover { filter: brightness(1.06); }
.cta-light:active {
    box-shadow: 0 0 0 0 #3C5156;
    transform: translate(4px, 4px);
}

/* ---------- Hero particle canvas ---------- */
#ion-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ambient halo blobs */
.halo-blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 235, 252, 0.05) 0%, rgba(8, 13, 16, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(44px);
}

/* =========================================================
   Live metric widgets
   ========================================================= */

/* 1 — Relay scope */
.scope-ring {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 235, 252, 0.3);
    background: radial-gradient(circle, rgba(0, 235, 252, 0.1) 0%, transparent 70%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scope-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(0, 235, 252, 0.16);
    transform: scale(0.52);
}
.scope-arm {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 68%, rgba(0, 235, 252, 0.6) 100%);
    animation: scope-turn 2.6s linear infinite;
}
@keyframes scope-turn { to { transform: rotate(360deg); } }
.scope-ping {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ion);
    border-radius: 50%;
    box-shadow: 0 0 9px var(--ion);
    top: 31%;
    left: 61%;
    animation: scope-flash 2.6s ease-out infinite;
}
@keyframes scope-flash {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; transform: scale(1.6); }
    32% { opacity: 0; }
}

/* 2 — Pulse columns */
.pulse-col {
    width: 6px;
    background: linear-gradient(180deg, var(--ion) 0%, rgba(0, 235, 252, 0.18) 100%);
    border-radius: 2px 2px 0 0;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

/* 3 — Ladder columns (stacked cells) */
.ladder-col {
    width: 6px;
    background-color: var(--ion);
    mask-image: repeating-linear-gradient(to bottom, black 0, black 4px, transparent 4px, transparent 6px);
    -webkit-mask-image: repeating-linear-gradient(to bottom, black 0, black 4px, transparent 4px, transparent 6px);
    transition: height 1.2s ease-in-out;
    will-change: height;
    border-radius: 1px;
}

/* 4 — Trace curve */
.trace-curve path {
    stroke-dasharray: 100;
    animation: trace-run 4s linear infinite;
}
@keyframes trace-run {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: -100; }
}

/* =========================================================
   Motion utilities
   ========================================================= */
.lift-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.lift-in.on { opacity: 1; transform: translateY(0); }
.lift-lag { transition-delay: 0.12s; }

.fold-body {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.fold-body.open { max-height: 820px; opacity: 1; }

.meter-fill { animation: meter-grow 2.4s ease-out forwards; }
@keyframes meter-grow { from { width: 0%; } }

.drift-y { animation: drift-y 5s ease-in-out infinite; }
@keyframes drift-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.orbit-slow { animation: orbit-slow 9s linear infinite; }
@keyframes orbit-slow { to { transform: rotate(360deg); } }

/* Tick loader */
.tick-row { display: flex; gap: 3px; align-items: flex-end; }
.tick-cell {
    width: 5px;
    height: 5px;
    background: var(--ion);
    border-radius: 1px;
    animation: tick-beat 1.5s ease-in-out infinite;
}
.tick-cell:nth-child(2) { animation-delay: .15s; }
.tick-cell:nth-child(3) { animation-delay: .3s; }
.tick-cell:nth-child(4) { animation-delay: .45s; }
.tick-cell:nth-child(5) { animation-delay: .6s; }
@keyframes tick-beat {
    0%, 100% { opacity: .22; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(2.5); }
}

/* =========================================================
   Live download rail
   ========================================================= */
.live-rail { position: relative; overflow: hidden; height: 120px; }
.rail-row {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.rail-row.fresh { animation: rail-drop .4s ease-out; }
@keyframes rail-drop {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Small labels
   ========================================================= */
.tile-tag {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 10px;
    color: var(--ion);
    letter-spacing: .14em;
    text-transform: uppercase;
    display: block;
}
.chip {
    font-size: 9px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 2px 8px;
    border-radius: 5px;
    white-space: nowrap;
}
.chip-ion { background: rgba(0, 235, 252, 0.12); color: var(--ion); border: 1px solid rgba(0, 235, 252, 0.28); }
.chip-ghost { background: rgba(255, 255, 255, 0.04); color: var(--muted); border: 1px solid var(--hairline); }
.chip-note { background: rgba(0, 235, 252, 0.05); color: #A9E9F0; border: 1px dashed rgba(0, 235, 252, 0.4); }

/* =========================================================
   Platform tabs + install stages
   ========================================================= */
.plat-tab { transition: all 0.2s ease; cursor: pointer; }
.plat-tab.on {
    background: linear-gradient(135deg, rgba(0, 235, 252, 0.22) 0%, rgba(0, 235, 252, 0.07) 100%);
    border-color: rgba(0, 235, 252, 0.5);
    color: #fff;
}
.plat-tab:not(.on):hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}
.plat-pane { display: none; }
.plat-pane.on {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: pane-rise .3s ease-out;
}
@keyframes pane-rise {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.stage-dot {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--ion);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 235, 252, 0.18) 0%, rgba(0, 235, 252, 0.05) 100%);
    border: 1px solid rgba(0, 235, 252, 0.28);
    flex-shrink: 0;
}
.stage-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
}
@media (max-width: 767px) {
    .stage-row { grid-template-columns: 1fr; gap: 8px; }
    .stage-row .stage-head { display: flex; align-items: center; gap: 10px; }
    .stage-row .stage-mark { display: flex; justify-content: flex-start; }
}

.grab-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
}
@media (max-width: 639px) {
    .grab-bar { grid-template-columns: 1fr; gap: 10px; text-align: center; }
    .grab-bar .grab-mark { justify-content: center; }
    .grab-bar .grab-btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Key forge
   ========================================================= */
.code-glyph {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .1em;
}
.forge-live .code-glyph { animation: glyph-jitter .08s infinite; }
@keyframes glyph-jitter { 0% { opacity: 1; } 50% { opacity: .3; } }

.caret-tick {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--ion);
    margin-left: 2px;
    vertical-align: middle;
    animation: caret-pulse .8s step-end infinite;
}
@keyframes caret-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.forge-meter {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ion), transparent);
    width: 0%;
    transition: width .1s linear;
    border-radius: 1px;
}
.forge-shell.forge-live {
    border-color: rgba(0, 235, 252, 0.5);
    box-shadow: 0 0 18px rgba(0, 235, 252, 0.12);
}
.forge-shell.forge-done {
    border-color: rgba(0, 235, 252, 0.4);
    box-shadow: 0 0 14px rgba(0, 235, 252, 0.09);
}

.clip-flag {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%) scale(.9);
    background: var(--ion);
    color: #04191C;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
    white-space: nowrap;
}
.clip-flag.up { opacity: 1; transform: translateX(-50%) scale(1); }

.drip-char {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: rgba(0, 235, 252, .16);
    pointer-events: none;
    animation: drip-fall linear forwards;
}
@keyframes drip-fall {
    from { transform: translateY(-8px); opacity: .3; }
    to { transform: translateY(100%); opacity: 0; }
}

/* =========================================================
   Community voices
   ========================================================= */
.voice-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.rate-cell { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.rate-on { background: var(--ion); box-shadow: 0 0 4px rgba(0, 235, 252, .5); }
.rate-off { background: rgba(0, 235, 252, 0.14); }

/* =========================================================
   Build history
   ========================================================= */
.rel-item {
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 2px solid transparent;
}
.rel-item:hover { background: rgba(255, 255, 255, 0.02); }
.rel-item.on {
    background: linear-gradient(90deg, rgba(0, 235, 252, 0.1) 0%, transparent 100%);
    border-left-color: var(--ion);
}
.rel-item.on .rel-no { color: #fff; }
.rel-item.on .rel-bead { background: var(--ion); box-shadow: 0 0 7px var(--ion); }
.rel-pane { display: none; animation: pane-rise .25s ease-out; }
.rel-pane.on { display: block; }
.rel-chip {
    font-size: 9px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}
.rel-line { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; }
.rel-glyph {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* =========================================================
   Misc
   ========================================================= */
.rule-fade { width: 100%; height: 1px; background: linear-gradient(90deg, rgba(0, 235, 252, 0.22), rgba(0, 235, 252, 0.08), transparent); }
.mono-note { font-family: 'JetBrains Mono', monospace; }

::selection { background: rgba(0, 235, 252, 0.3); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #080D10; }
::-webkit-scrollbar-thumb { background: #16333A; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #1E4A54; }

/* =========================================================
   Live status strip
   ========================================================= */
.beacon {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ion);
    box-shadow: 0 0 10px var(--ion);
    flex-shrink: 0;
}
.beacon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(0, 235, 252, 0.45);
    animation: beacon-ring 2s ease-out infinite;
}
@keyframes beacon-ring {
    0% { transform: scale(0.5); opacity: .9; }
    100% { transform: scale(1.5); opacity: 0; }
}
.status-slot {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 18px;
    border-left: 1px solid var(--hairline);
}
@media (max-width: 767px) {
    .status-slot { padding: 0; border-left: 0; }
}

/* =========================================================
   Data sheets (platform matrix / executor comparison)
   ========================================================= */
.sheet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sheet-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.sheet-table th,
.sheet-table td {
    padding: 11px 14px;
    text-align: center;
    border-bottom: 1px solid var(--hairline);
    font-size: 12px;
    white-space: nowrap;
}
.sheet-table th {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(0, 235, 252, 0.03);
}
.sheet-table th.sheet-own,
.sheet-table td.sheet-own {
    background: linear-gradient(180deg, rgba(0, 235, 252, 0.09) 0%, rgba(0, 235, 252, 0.03) 100%);
    color: var(--paper);
    border-left: 1px solid rgba(0, 235, 252, 0.18);
    border-right: 1px solid rgba(0, 235, 252, 0.18);
}
.sheet-table th:first-child,
.sheet-table td:first-child {
    text-align: left;
    color: var(--paper);
    font-weight: 700;
    position: sticky;
    left: 0;
    background: #0B1317;
    z-index: 2;
}
.sheet-table tbody tr:hover td { background-color: rgba(255, 255, 255, 0.015); }
.sheet-table tbody tr:last-child td { border-bottom: 0; }
.cell-ok, .cell-x, .cell-half {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
}
.cell-ok { background: rgba(0, 235, 252, 0.14); color: var(--ion); }
.cell-x { background: rgba(255, 255, 255, 0.04); color: var(--muted-dim); }
.cell-half { background: rgba(0, 235, 252, 0.06); color: #A9E9F0; border: 1px dashed rgba(0, 235, 252, 0.35); }
.cell-note { color: var(--muted); font-size: 11px; }

/* =========================================================
   Script library
   ========================================================= */
.sweep-field {
    width: 100%;
    background: rgba(8, 13, 16, 0.7);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 10px 14px 10px 36px;
    color: var(--paper);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.sweep-field::placeholder { color: var(--muted-dim); }
.sweep-field:focus {
    border-color: rgba(0, 235, 252, 0.45);
    box-shadow: 0 0 14px rgba(0, 235, 252, 0.1);
}
.scr-card { transition: border-color .2s ease, transform .2s ease; }
.scr-card:hover { border-color: rgba(0, 235, 252, 0.32); transform: translateY(-2px); }
.scr-void { display: none; }
.scr-void.on { display: block; }

/* =========================================================
   Troubleshooting
   ========================================================= */
.fix-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 9px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    background: transparent;
    transition: all .15s ease;
    text-align: left;
}
.fix-cat:hover { background: rgba(255, 255, 255, 0.025); color: var(--paper); }
.fix-cat.on {
    background: linear-gradient(90deg, rgba(0, 235, 252, 0.14) 0%, rgba(0, 235, 252, 0.03) 100%);
    border-color: rgba(0, 235, 252, 0.35);
    color: var(--paper);
}
.fix-tally {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted-dim);
}
.fix-cat.on .fix-tally { background: rgba(0, 235, 252, 0.18); color: var(--ion); }

.fix-row { transition: opacity .2s ease; }
.fix-row.away { display: none; }
.fix-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .28s ease-out, opacity .28s ease-out;
}
.fix-body.open { max-height: 460px; opacity: 1; }
.fix-arrow { transition: transform .25s ease; }
.fix-row.lit .fix-arrow { transform: rotate(180deg); }
.fix-row.lit { border-color: rgba(0, 235, 252, 0.3) !important; }
.fix-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #A9E9F0;
    background: rgba(0, 235, 252, 0.06);
    border: 1px solid rgba(0, 235, 252, 0.16);
    border-radius: 5px;
    padding: 1px 6px;
}
.fix-step {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 3px 0;
}
.fix-step span.fix-bullet {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: rgba(0, 235, 252, 0.12);
    color: var(--ion);
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* =========================================================
   Changelog — grouped release notes
   ========================================================= */
.rel-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.rel-stat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--hairline);
    color: var(--muted);
    white-space: nowrap;
}
.rel-lede {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    padding-bottom: 2px;
}
.rel-band {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0 2px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.rel-band::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 235, 252, 0.18), transparent);
}
.rel-band i {
    width: 5px;
    height: 5px;
    border-radius: 2px;
    background: var(--ion);
    display: block;
    flex-shrink: 0;
}
.rel-band.band-fix i { background: #A9E9F0; }
.rel-band.band-gone i { background: var(--muted-dim); }
.rel-note {
    margin-top: 15px;
    border-left: 2px solid rgba(0, 235, 252, 0.35);
    background: rgba(0, 235, 252, 0.035);
    border-radius: 0 8px 8px 0;
    padding: 9px 13px;
}
.rel-note-head {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ion);
    display: block;
    margin-bottom: 2px;
}

/* =========================================================
   Rating input
   ========================================================= */
.rate-ui { display: inline-flex; align-items: center; gap: 4px; }
.rate-pick {
    background: transparent;
    border: 0;
    padding: 2px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.18);
    transition: color .15s ease, transform .15s ease;
    line-height: 1;
}
.rate-pick:hover { transform: scale(1.1); }
.rate-pick.lit { color: var(--ion); filter: drop-shadow(0 0 4px rgba(0, 235, 252, 0.4)); }
.rate-pick svg { display: block; width: 18px; height: 18px; }
.rate-flag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--ion);
    margin-left: 6px;
}

/* =========================================================
   Comment form
   ========================================================= */
.wire-input, .wire-area {
    width: 100%;
    background: rgba(8, 13, 16, 0.75);
    border: 1px solid var(--hairline);
    border-radius: 9px;
    padding: 10px 12px;
    color: var(--paper);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    resize: vertical;
}
.wire-input::placeholder, .wire-area::placeholder { color: var(--muted-dim); }
.wire-input:focus, .wire-area:focus {
    border-color: rgba(0, 235, 252, 0.45);
    box-shadow: 0 0 14px rgba(0, 235, 252, 0.09);
}
.form-note { font-size: 10px; color: var(--muted-dim); font-family: 'Plus Jakarta Sans', sans-serif; }
.form-ack {
    display: none;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(0, 235, 252, 0.08);
    border: 1px solid rgba(0, 235, 252, 0.25);
    color: var(--ion);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
}
.form-ack.up { display: block; animation: pane-rise .3s ease-out; }

/* =========================================================
   Community feedback headline numbers
   ========================================================= */
.score-dial {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Chakra Petch', sans-serif;
}
.score-dial b {
    font-size: 48px;
    line-height: 1;
    color: var(--ion);
    font-weight: 700;
    text-shadow: 0 0 22px rgba(0, 235, 252, 0.25);
}
.score-dial span { font-size: 15px; color: var(--muted); font-weight: 600; }
.bar-row { display: flex; align-items: center; gap: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; color: var(--muted); }
.bar-row .bar-tag { width: 24px; font-weight: 700; color: var(--paper); }
.bar-row .bar-pct { width: 36px; text-align: right; color: var(--muted-dim); font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.bar-track {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ion), rgba(0, 235, 252, 0.35));
    border-radius: 3px;
    animation: meter-grow 1.8s ease-out forwards;
}

/* =========================================================
   Author portrait
   ========================================================= */
.author-face {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 235, 252, 0.25), rgba(0, 235, 252, 0.03));
    border: 1px solid rgba(0, 235, 252, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--paper);
    text-shadow: 0 0 12px rgba(0, 235, 252, 0.4);
    flex-shrink: 0;
}