/* =====================================================================
   FEATURE DEMOS
   Small live previews inside .feature-media. Each demo is a .fx block that
   fills the 16:10 slot. Animations only run while the demo is on screen
   (feature-demos.js toggles .is-live).
   ===================================================================== */

.fx {
    position: absolute;
    inset: 0;
    padding: 12px;
    font-size: 13px;
    line-height: 1.25;
    color: var(--label);
    overflow: hidden;
}
.fx:not(.is-live), .fx:not(.is-live) * { animation-play-state: paused !important; }
.fx svg { display: block; }

/* ---------------------------------------------------------------------
   Private proxies: client -> proxy -> server with packets flowing
   --------------------------------------------------------------------- */
.fx-proxy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-bottom: 46px; }
.fx-route { display: flex; align-items: center; gap: 6px; }
.fx-node {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 76px;
    padding: 10px 4px 8px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    text-align: center;
}
.fx-node svg { width: 22px; height: 22px; color: var(--dim); margin-bottom: 2px; }
.fx-node b { font-weight: 600; color: var(--text); }
.fx-node small { font-size: 11px; color: var(--dim); white-space: nowrap; }
.fx-node.is-accent { border-color: rgba(173, 114, 255, 0.45); box-shadow: 0 0 24px -8px rgba(173, 114, 255, 0.6); }
.fx-node.is-accent svg { color: var(--accent-ink); }
.fx-link {
    position: relative;
    flex: 1;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 9px);
}
.fx-link i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--accent-ink);
    box-shadow: 0 0 8px rgba(173, 114, 255, 0.9);
    opacity: 0;
    animation: fx-flow 1.8s linear infinite;
}
.fx-link i:nth-child(2) { animation-delay: 0.6s; }
.fx-link i:nth-child(3) { animation-delay: 1.2s; }
@keyframes fx-flow {
    0%   { left: 0;    opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
.fx-chips { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Run timer & breaks: a session timeline with a moving playhead
   --------------------------------------------------------------------- */
.fx-timer { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 16px; }
.fx-timer-head { display: flex; align-items: center; justify-content: space-between; }
.fx-clock { font-size: 26px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fx-timeline {
    position: relative;
    height: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 7px;
}
.fx-timeline .seg {
    position: absolute;
    top: 2px; bottom: 2px;
    left: calc(var(--a) * 100%);
    width: calc((var(--b) - var(--a)) * 100%);
    border-radius: 4px;
}
.fx-timeline .seg.run { background: rgba(173, 114, 255, 0.55); }
.fx-timeline .seg.brk { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 3px, transparent 3px 6px); }
.fx-playhead {
    position: absolute;
    top: -5px; bottom: -5px;
    left: 0;
    width: 2px;
    margin-left: -1px;
    border-radius: 1px;
    background: #fff;
    box-shadow: 0 0 10px rgba(220, 198, 255, 0.9);
}
.fx-hours { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-top: -6px; }
.fx-legend { display: flex; gap: 14px; font-size: 12px; color: var(--dim); }
.fx-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.fx-legend i.run { background: rgba(173, 114, 255, 0.55); }
.fx-legend i.brk { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0 2px, transparent 2px 4px); border: 1px solid var(--line-strong); }
.fx-toast {
    position: absolute;
    left: 12px; right: 12px; bottom: 12px;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-left: 3px solid var(--warning);
    border-radius: var(--r-control);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.fx-toast.is-shown { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Cloud-synced settings: one PC to the cloud to another PC
   --------------------------------------------------------------------- */
.fx-cloud { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 46px; }
.fx-pc {
    flex: 0 0 34%;
    padding: 10px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
}
.fx-pc b { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.fx-pc ul { list-style: none; display: grid; gap: 6px; }
.fx-pc li { position: relative; padding-left: 18px; font-size: 12px; color: var(--label); transition: color 0.3s; }
.fx-pc li::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 12px; height: 12px;
    margin-top: -6px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%2334d399' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fx-pc-target li:not(.is-synced) { color: var(--disabled); }
.fx-pc-target li:not(.is-synced)::before {
    background: none;
    border: 1.5px solid var(--line-strong);
    border-top-color: var(--accent);
    animation: fx-spin 0.8s linear infinite;
}
@keyframes fx-spin { to { transform: rotate(360deg); } }
.fx-sync { position: relative; flex: 1; height: 60px; }
.fx-sync svg { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; color: var(--accent-ink); filter: drop-shadow(0 0 10px rgba(173, 114, 255, 0.5)); }
.fx-sync::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 50%;
    border-top: 1.5px dashed var(--line-strong);
}
.fx-sync i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--accent-ink);
    box-shadow: 0 0 8px rgba(173, 114, 255, 0.9);
    animation: fx-flow 1.6s linear infinite;
}
.fx-sync i:nth-of-type(2) { animation-delay: 0.8s; }

/* ---------------------------------------------------------------------
   10 languages: menu rows switching language
   --------------------------------------------------------------------- */
.fx-lang { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px; }
.fx-langs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.fx-langs span {
    display: grid;
    place-items: center;
    height: 22px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--dim);
    border: 1px solid var(--line);
    border-radius: 5px;
    transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.fx-langs span.is-active { color: var(--accent-ink); background: rgba(173, 114, 255, 0.14); border-color: rgba(173, 114, 255, 0.45); }
.fx-menu {
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    padding: 4px 0;
}
.fx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 12px; }
.fx-row + .fx-row { border-top: 1px solid var(--line); }
.fx-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); transition: opacity 0.25s, transform 0.25s var(--ease-out); }
.fx-lang.is-switching .fx-row span:first-child { opacity: 0; transform: translateY(-4px); }
.fx-row .m-switch { pointer-events: none; }

/* ---------------------------------------------------------------------
   Fast worldwide network: dotted globe with edge hubs
   --------------------------------------------------------------------- */
.fx-globe { padding: 0; }
.fx-globe canvas { display: block; width: 100%; height: 100%; }
.fx-globe-city {
    position: absolute;
    left: 12px; top: 12px;
    font-size: 12px;
    color: var(--dim);
}
.fx-globe-city b { display: block; font-size: 15px; font-weight: 600; color: var(--text); }

/* ---------------------------------------------------------------------
   Runs in virtual machines: a VM window inside the host
   --------------------------------------------------------------------- */
.fx-vm { display: grid; place-items: center; padding: 14px 14px 44px; }
.fx-host {
    width: 100%;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.fx-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; font-size: 11px; color: var(--dim); background: var(--surface); border-bottom: 1px solid var(--line); }
.fx-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.fx-bar span { margin-left: 4px; }
.fx-guest {
    flex: 1;
    margin: 10px 14px 12px;
    background: var(--inset);
    border: 1px solid rgba(173, 114, 255, 0.35);
    border-radius: 7px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 26px -12px rgba(173, 114, 255, 0.7);
}
.fx-guest .fx-bar { height: 22px; background: rgba(173, 114, 255, 0.08); }
.fx-guest .fx-bar b { font-weight: 600; color: var(--accent-ink); transition: opacity 0.25s; }
.fx-guest-body { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; }
.fx-guest-body img { width: 26px; height: 26px; }
.fx-guest-body strong { font-size: 15px; }
.fx-vm .m-badge { font-size: 12px; height: 22px; }
.fx-vm .m-badge:not(.is-on) i { background: var(--warning); }

/* ---------------------------------------------------------------------
   Compatibility check: checklist ticking through
   --------------------------------------------------------------------- */
.fx-compat { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.fx-checks { list-style: none; display: grid; gap: 2px; }
.fx-checks li {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 24px;
    font-size: 12.5px;
    color: var(--disabled);
    transition: color 0.3s;
}
.fx-checks li em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--dim); opacity: 0; transition: opacity 0.3s; }
.fx-checks li .fx-st {
    flex: none;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
}
.fx-checks li.is-checking { color: var(--label); }
.fx-checks li.is-checking .fx-st { border-top-color: var(--accent); animation: fx-spin 0.7s linear infinite; }
.fx-checks li.is-ok, .fx-checks li.is-warn { color: var(--text); }
.fx-checks li.is-ok em, .fx-checks li.is-warn em { opacity: 1; }
.fx-checks li.is-ok .fx-st {
    border: 0;
    background: rgba(52, 211, 153, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%2334d399' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.fx-checks li.is-warn .fx-st {
    border: 0;
    background: rgba(251, 191, 36, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 3.6v4.2' stroke='%23fbbf24' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='10.2' r='1' fill='%23fbbf24'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.fx-checks li.is-warn em { color: var(--warning); }
.fx-compat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.fx-copy {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    font-size: 12px;
    color: var(--label);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    opacity: 0.35;
    transition: opacity 0.3s, border-color 0.3s;
}
.fx-compat.is-done .fx-copy { opacity: 1; border-color: var(--hover); }

/* ---------------------------------------------------------------------
   Multi-account profiles: three clients, three separate identities
   --------------------------------------------------------------------- */
.fx-accounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: center; padding: 14px 12px 46px; }
.fx-acc {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 9px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    transition: border-color 0.4s, box-shadow 0.4s;
}
.fx-acc b { font-weight: 600; color: var(--text); }
.fx-acc small { font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-acc code {
    display: block;
    padding: 4px 5px;
    font: 10.5px/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace;
    color: var(--accent-ink);
    background: var(--inset);
    border: 1px solid var(--line);
    border-radius: 5px;
    white-space: nowrap;
    overflow: hidden;
}
.fx-acc .fx-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px rgba(52, 211, 153, 0.8); }
.fx-acc.is-rolling { border-color: rgba(173, 114, 255, 0.5); box-shadow: 0 0 22px -8px rgba(173, 114, 255, 0.7); }

/* ---------------------------------------------------------------------
   Discord alerts & remote control: a DM with action buttons
   --------------------------------------------------------------------- */
.fx-dm { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; }
.fx-msg { display: flex; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease-out); }
.fx-dm.is-msg .fx-msg { opacity: 1; transform: none; }
.fx-avatar {
    flex: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #1d1630 url("/assets/menu/nocturne_logo.png") center / 70% no-repeat;
    border: 1px solid rgba(173, 114, 255, 0.4);
}
.fx-msg-body { min-width: 0; flex: 1; }
.fx-msg-name { font-size: 12.5px; font-weight: 600; color: var(--text); }
.fx-msg-name span { margin-left: 5px; padding: 0 4px; font-size: 9.5px; font-weight: 600; color: #fff; background: var(--discord); border-radius: 3px; vertical-align: 1px; }
.fx-embed {
    margin-top: 5px;
    padding: 7px 9px;
    background: var(--card);
    border-left: 3px solid var(--danger);
    border-radius: 4px;
    font-size: 12px;
}
.fx-embed b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.fx-embed span { color: var(--dim); }
.fx-actions { display: flex; gap: 5px; margin-top: 7px; }
.fx-actions span {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    font-size: 11.5px;
    color: var(--text);
    background: var(--surface-2);
    border-radius: 4px;
    overflow: hidden;
    transition: background 0.25s;
}
.fx-actions span:first-child { background: var(--discord); }
.fx-actions span.is-pressed { background: #4752c4; }
.fx-actions span.is-pressed::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: fx-ripple 0.6s ease-out forwards;
}
@keyframes fx-ripple { to { transform: scale(9); opacity: 0; } }
.fx-reply {
    margin: 8px 0 0 42px;
    font-size: 12px;
    color: var(--success);
    opacity: 0;
    transition: opacity 0.4s;
}
.fx-dm.is-done .fx-reply { opacity: 1; }

/* ---------------------------------------------------------------------
   Auto heal & potting: HP / MP draining and refilled at the threshold
   --------------------------------------------------------------------- */
.fx-heal { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 16px 46px; }
.fx-bar-row { display: grid; grid-template-columns: 28px 1fr 42px; align-items: center; gap: 8px; font-size: 12px; }
.fx-bar-row b { font-weight: 600; color: var(--text); }
.fx-bar-row em { font-style: normal; text-align: right; color: var(--label); font-variant-numeric: tabular-nums; }
.fx-meter {
    position: relative;
    height: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}
.fx-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 5px; }
.fx-meter.hp i { background: linear-gradient(90deg, #e35d6a, #f87171); }
.fx-meter.mp i { background: linear-gradient(90deg, #4f7cf0, #6aa0ff); }
.fx-meter::after {
    content: "";
    position: absolute;
    top: -1px; bottom: -1px;
    left: calc(var(--th) * 100%);
    border-left: 1.5px dashed rgba(255, 255, 255, 0.55);
}
.fx-meter.is-flash i { filter: brightness(1.5); }
.fx-potlog { display: flex; gap: 6px; min-height: 22px; }
.fx-potlog .m-tag { opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s var(--ease-out); }
.fx-potlog .m-tag.is-shown { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Captcha alert: popup, bot pauses, sound rings
   --------------------------------------------------------------------- */
.fx-captcha { display: grid; place-items: center; padding: 12px 12px 44px; }
.fx-cap-win {
    width: 74%;
    padding: 10px 12px 12px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    text-align: center;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.fx-captcha.is-open .fx-cap-win { opacity: 1; transform: none; }
.fx-cap-win small { display: block; font-size: 11px; color: var(--dim); margin-bottom: 4px; }
.fx-cap-win b { display: block; font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.fx-cap-input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 24px;
    margin-top: 6px;
    padding: 0 8px;
    font-size: 13px;
    color: var(--text);
    background: var(--inset);
    border: 1px solid var(--line-strong);
    border-radius: 5px;
}
.fx-captcha.is-solved .fx-cap-input { border-color: rgba(52, 211, 153, 0.6); color: var(--success); }
.fx-bell {
    position: absolute;
    left: 16px; top: 14px;
    width: 26px; height: 26px;
    color: var(--warning);
    opacity: 0.35;
    transition: opacity 0.3s;
}
.fx-bell svg { width: 26px; height: 26px; }
.fx-bell::before, .fx-bell::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1.5px solid var(--warning);
    opacity: 0;
}
.fx-captcha.is-ringing .fx-bell { opacity: 1; }
.fx-captcha.is-ringing .fx-bell::before { animation: fx-ring 1.2s ease-out infinite; }
.fx-captcha.is-ringing .fx-bell::after { animation: fx-ring 1.2s ease-out 0.6s infinite; }
@keyframes fx-ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.2); opacity: 0; } }

/* ---------------------------------------------------------------------
   Pause your key: countdown frozen by /pause-key
   --------------------------------------------------------------------- */
.fx-pause { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px 16px; }
.fx-lic {
    padding: 10px 12px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    transition: border-color 0.4s;
}
.fx-lic-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--dim); }
.fx-lic-time { margin-top: 4px; font-size: 24px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.fx-pause.is-paused .fx-lic { border-color: rgba(251, 191, 36, 0.45); }
.fx-pause.is-paused .fx-lic-time { color: var(--warning); }
.fx-cmd {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-control);
}
.fx-cmd span { color: var(--accent-ink); }
.fx-cmd span::after { content: ""; display: inline-block; width: 1px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--label); animation: fx-caret 1s steps(1) infinite; }
@keyframes fx-caret { 50% { opacity: 0; } }
.fx-cmd small { margin-left: auto; font-size: 11px; color: var(--dim); }

/* ---------------------------------------------------------------------
   Built-in HWID spoofer: real IDs stay hidden, the game sees new ones
   --------------------------------------------------------------------- */
.fx-hwid { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 14px 44px; }
.fx-hwid-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--dim); }
.fx-hwid-head b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.fx-hwid-table {
    display: grid;
    grid-template-columns: auto minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: 10px;
    row-gap: 5px;
    align-items: center;
    padding: 8px 10px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    font-size: 11.5px;
}
.fx-hwid-table .th { font-size: 10.5px; color: var(--dim); padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.fx-hwid-table .lb { color: var(--label); white-space: nowrap; }
.fx-hwid-table .real, .fx-hwid-table .fake {
    font: 11px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.fx-hwid-table .real { position: relative; color: var(--dim); filter: blur(3.2px); user-select: none; }
.fx-hwid-table .fake { color: var(--accent-ink); transition: color 0.3s, text-shadow 0.3s; }
.fx-hwid-table .fake.is-scrambling { color: var(--mint); text-shadow: 0 0 8px rgba(94, 230, 196, 0.6); }
.fx-hwid-table .th-real { display: flex; align-items: center; gap: 4px; }
.fx-hwid-table .th-real svg { width: 11px; height: 11px; color: var(--dim); }

/* ---------------------------------------------------------------------
   Background FPS limiter: focus moves between two clients
   --------------------------------------------------------------------- */
.fx-fps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: center; padding: 14px 12px 46px; }
.fx-win {
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-control);
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s;
}
.fx-win.is-focus { border-color: rgba(173, 114, 255, 0.45); box-shadow: 0 0 24px -10px rgba(173, 114, 255, 0.7); }
.fx-win-body { display: flex; align-items: baseline; gap: 5px; padding: 10px 10px 2px; }
.fx-win-body b { font-size: 26px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fx-win-body small { font-size: 11px; color: var(--dim); }
.fx-win-state { display: block; padding: 0 10px; font-size: 11px; color: var(--dim); transition: color 0.3s; }
.fx-win.is-focus .fx-win-state { color: var(--accent-ink); }
.fx-gpu { display: flex; align-items: center; gap: 7px; padding: 9px 10px 10px; font-size: 10.5px; color: var(--dim); }
.fx-gpu div { flex: 1; height: 5px; background: var(--inset); border-radius: 3px; overflow: hidden; }
.fx-gpu i { display: block; width: 20%; height: 100%; border-radius: 3px; background: var(--success); }
.fx-win.is-focus .fx-gpu i { background: var(--accent); }
.fx-cursor {
    position: absolute;
    left: 30%; top: 44%;
    z-index: 3;
    width: 16px; height: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
    transition: left 0.7s var(--ease-out), top 0.7s var(--ease-out);
}
.fx-fps[data-cursor="1"] .fx-cursor { left: 76%; top: 40%; }
.fx-cursor svg { width: 16px; height: 16px; }
.fx-cursor::before {
    content: "";
    position: absolute;
    left: -4px; top: -4px;
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-ink);
    opacity: 0;
}
.fx-fps.is-click .fx-cursor::before { animation: fx-click 0.45s ease-out; }
@keyframes fx-click {
    from { opacity: 0.9; transform: scale(0.4); }
    to   { opacity: 0;   transform: scale(1.9); }
}

/* ---------------------------------------------------------------------
   Multi-server support: the launcher picker steps through the live list
   --------------------------------------------------------------------- */
.fx-servers { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 14px 14px 46px; }
.fx-srv-pick {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    background: var(--card);
    border: 1px solid rgba(173, 114, 255, 0.45);
    border-radius: var(--r-control);
    box-shadow: 0 0 24px -10px rgba(173, 114, 255, 0.6);
}
.fx-srv-pick > svg { flex: none; width: 16px; height: 16px; color: var(--dim); }
.fx-srv-logo, .fx-srv-tile {
    flex: none;
    display: grid;
    place-items: center;
    background: var(--inset);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-ink);
}
.fx-srv-logo { width: 38px; height: 38px; transition: opacity 0.25s; }
.fx-srv-logo img, .fx-srv-tile img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.fx-srv-name { flex: 1; min-width: 0; transition: opacity 0.25s, transform 0.25s var(--ease-out); }
.fx-srv-name small { display: block; font-size: 11px; color: var(--dim); }
.fx-srv-name b { display: block; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-servers.is-switching .fx-srv-logo, .fx-servers.is-switching .fx-srv-name { opacity: 0; }
.fx-servers.is-switching .fx-srv-name { transform: translateY(-4px); }
.fx-srv-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.fx-srv-tile {
    width: 34px; height: 34px;
    background: var(--card);
    color: var(--dim);
    opacity: 0.45;
    transition: opacity 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.fx-srv-tile.is-active { opacity: 1; border-color: rgba(173, 114, 255, 0.6); transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   Anti-Kill-Steal: taken monster is skipped, a free one becomes the target
   --------------------------------------------------------------------- */
.fx-ks, .fx-field { padding: 0; background: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 14px 14px; }
.fx-ks-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-ks-lines line { vector-effect: non-scaling-stroke; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 4; animation: fx-dash 0.6s linear infinite; }
.fx-ks-lines .other { stroke: rgba(94, 230, 196, 0.6); }
.fx-ks-lines .mine { stroke: var(--accent); opacity: 0; transition: opacity 0.4s; }
.fx-ks[data-ks="attack"] .fx-ks-lines .mine { opacity: 1; }
@keyframes fx-dash { to { stroke-dashoffset: -7; } }
.fx-unit {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: 12px; height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
}
.fx-unit em {
    position: absolute;
    left: 50%; bottom: 100%;
    margin-bottom: 5px;
    transform: translateX(-50%);
    font-style: normal;
    font-size: 10.5px;
    color: var(--label);
    white-space: nowrap;
}
.fx-unit.you { background: var(--accent); box-shadow: 0 0 0 4px rgba(173, 114, 255, 0.18), 0 0 14px rgba(173, 114, 255, 0.8); }
.fx-unit.player { background: var(--mint); box-shadow: 0 0 10px rgba(94, 230, 196, 0.6); }
.fx-unit.mob { background: #fb923c; box-shadow: 0 0 10px rgba(251, 146, 60, 0.5); }
.fx-unit.mob-a { animation: fx-hit 0.6s ease-out infinite; }
@keyframes fx-hit { 0% { transform: scale(1.25); } 40%, 100% { transform: scale(1); } }
.fx-unit .hp {
    position: absolute;
    left: 50%; top: 100%;
    width: 28px; height: 3px;
    margin-top: 5px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
}
.fx-unit .hp::before { content: ""; display: block; height: 100%; background: var(--danger); transform-origin: left; }
.mob-a .hp::before { animation: fx-hp 7s linear infinite; }
.mob-b .hp { display: none; }
.fx-ks[data-ks="attack"] .mob-b .hp { display: block; }
.fx-ks[data-ks="attack"] .mob-b .hp::before { animation: fx-hp 2.6s linear forwards; }
@keyframes fx-hp { from { transform: scaleX(1); } to { transform: scaleX(0.1); } }
.fx-ks-flag {
    position: absolute;
    left: 50%; top: 100%;
    margin-top: 14px;
    padding: 2px 6px;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: var(--danger);
    white-space: nowrap;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}
.fx-ks:not([data-ks="scan"]) .fx-ks-flag { opacity: 1; }
.fx-reticle {
    position: absolute;
    left: calc(var(--x, 36) * 1%);
    top: calc(var(--y, 46) * 1%);
    width: 22px; height: 22px;
    margin: -11px 0 0 -11px;
    color: var(--dim);
    transition: left 0.6s var(--ease-out), top 0.6s var(--ease-out), color 0.3s;
}
.fx-reticle svg { width: 100%; height: 100%; }
.fx-ks[data-ks="scan"] .fx-reticle { animation: fx-breathe 1s ease-in-out infinite; }
.fx-ks[data-ks="taken"] .fx-reticle { color: var(--danger); }
.fx-ks[data-ks="free"] .fx-reticle, .fx-ks[data-ks="attack"] .fx-reticle { color: var(--success); }
@keyframes fx-breathe { 50% { transform: scale(0.85); } }

/* ---------------------------------------------------------------------
   GM & Player Warner: radar with a warn radius and an alert log
   --------------------------------------------------------------------- */
.fx-warn { display: flex; align-items: center; gap: 12px; padding: 12px 12px 44px; }
.fx-radar {
    position: relative;
    flex: none;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    overflow: hidden;
    background:
        radial-gradient(circle closest-side, transparent calc(33% - 1px), rgba(255, 255, 255, 0.07) 33%, transparent calc(33% + 1px),
                                             transparent calc(66% - 1px), rgba(255, 255, 255, 0.07) 66%, transparent calc(66% + 1px)),
        var(--card);
}
.fx-radar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(transparent 290deg, rgba(173, 114, 255, 0.35) 360deg);
    animation: fx-spin 3s linear infinite;
}
.fx-radar-zone { position: absolute; inset: 15%; border-radius: 50%; border: 1.5px dashed rgba(251, 191, 36, 0.45); }
.fx-blip {
    position: absolute;
    left: calc(var(--x, 50) * 1%);
    top: calc(var(--y, 50) * 1%);
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    opacity: 0;
    transition: left 1.6s linear, top 1.6s linear, opacity 0.4s, background 0.3s, box-shadow 0.3s;
}
.fx-blip.you { opacity: 1; background: var(--accent); box-shadow: 0 0 10px rgba(173, 114, 255, 0.9); }
.fx-blip.player { background: var(--mint); }
.fx-blip.player.is-warned { background: var(--warning); box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2); }
.fx-blip.gm { width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1.5px dashed var(--danger); }
.fx-blip.gm.is-found { background: rgba(248, 113, 113, 0.3); animation: fx-ping 1.2s ease-out infinite; }
.fx-blip.is-shown { opacity: 1; }
@keyframes fx-ping {
    from { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6); }
    to   { box-shadow: 0 0 0 10px rgba(248, 113, 113, 0); }
}
.fx-wlog { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.fx-wlog:empty::before { content: "Watching a 40 m radius"; font-size: 12px; color: var(--dim); text-align: center; }
.fx-wrow {
    padding: 7px 10px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-left: 3px solid var(--warning);
    border-radius: var(--r-control);
    animation: fx-in 0.35s var(--ease-out);
    transition: opacity 0.4s;
}
.fx-wrow.is-gm { border-left-color: var(--danger); }
.fx-wrow b { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-wrow small { display: flex; justify-content: space-between; gap: 6px; margin-top: 2px; font-size: 11px; color: var(--dim); white-space: nowrap; }
.fx-wrow small span { color: var(--warning); font-weight: 600; }
.fx-wrow.is-gm small span { color: var(--danger); }
.fx-warn.is-clearing .fx-blip:not(.you), .fx-warn.is-clearing .fx-wrow { opacity: 0; }
@keyframes fx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Corner tag, top left (bottom right holds .media-tag) */
.fx-tl { position: absolute; left: 10px; top: 10px; z-index: 2; }

/* ---------------------------------------------------------------------
   Farming & AOE pulls: monsters trail you in a chain, one AOE clears them
   --------------------------------------------------------------------- */
.fx-aoe .fx-unit { transition: opacity 0.4s, transform 0.4s var(--ease-out), background 0.3s, box-shadow 0.3s; }
.fx-aoe .mob.is-aggro { background: var(--danger); box-shadow: 0 0 10px rgba(248, 113, 113, 0.7); animation: fx-hit 0.6s ease-out infinite; }
.fx-aoe .mob.is-dead { opacity: 0; transform: scale(0.3); animation: none; }
.fx-aoe .mob .hp { opacity: 0; transition: opacity 0.3s; }
.fx-aoe .mob.is-aggro .hp { opacity: 1; }
.fx-aoe .hp::before { transform: scaleX(var(--hp, 1)); transition: transform 0.45s var(--ease-out), background 0.3s; }
.fx-aoe .you .hp::before { background: var(--success); }
.fx-aoe .you.is-low .hp::before { background: var(--danger); }
.fx-aoe-ring {
    position: absolute;
    left: calc(var(--x, 50) * 1%);
    top: calc(var(--y, 50) * 1%);
    width: 36%;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(173, 114, 255, 0.35), rgba(173, 114, 255, 0) 70%);
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
    pointer-events: none;
}
.fx-aoe.is-blast .fx-aoe-ring { animation: fx-blast 0.8s var(--ease-out) forwards; }
@keyframes fx-blast {
    from { opacity: 1; transform: translate(-50%, -50%) scale(0.1); }
    to   { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* ---------------------------------------------------------------------
   Humanized movement: curved zig-zag route, random stops, anti-stuck
   --------------------------------------------------------------------- */
.fx-human svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-human line, .fx-human polyline, .fx-human .rock {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: opacity 0.4s, stroke 0.3s;
}
.fx-human .straight { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; stroke-dasharray: 2 6; }
.fx-human .plan { stroke: rgba(173, 114, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 3 4; }
.fx-human .walked { stroke: var(--accent); stroke-width: 2.5; filter: drop-shadow(0 0 3px rgba(173, 114, 255, 0.7)); }
.fx-human .stops circle { fill: var(--warning); }
.fx-human .stops { transition: opacity 0.4s; }
.fx-human .rock { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; opacity: 0; }
.fx-human.has-rock .rock { opacity: 1; }
.fx-human.is-stuck .rock { stroke: var(--danger); }
.fx-human.is-stuck .you { animation: fx-shake 0.12s linear infinite; }
@keyframes fx-shake { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.fx-human .fx-unit { transition: opacity 0.4s; }
.fx-unit.goal { background: transparent; border: 2px solid var(--mint); box-shadow: 0 0 10px rgba(94, 230, 196, 0.45); }
.fx-human.is-clearing :is(.straight, .plan, .walked, .stops, .rock, .fx-unit) { opacity: 0; }

@media (max-width: 640px) {
    .fx-node { width: 66px; }
    .fx-clock { font-size: 22px; }
    .fx-acc small { display: none; }
}
