:root {
    --eth-black: #030303;
    --eth-black-2: #070707;
    --eth-panel: rgba(12, 12, 14, 0.72);
    --eth-panel-strong: rgba(16, 16, 19, 0.88);
    --eth-border: rgba(255, 255, 255, 0.10);
    --eth-border-strong: rgba(215, 73, 42, 0.35);
    --eth-text: #f6f2ee;
    --eth-muted: #a8a29e;
    --eth-muted-2: #78716c;
    --eth-orange: #D7492A;
    --eth-orange-2: #ff6a3d;
    --eth-amber: #f59e0b;
    --eth-blue: #38bdf8;
    --eth-green: #34d399;
    --eth-purple: #a78bfa;
    --eth-radius-xl: 28px;
    --eth-radius-lg: 22px;
    --eth-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    --eth-shadow-orange: 0 0 36px rgba(215, 73, 42, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--eth-black);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 12%, rgba(215, 73, 42, 0.20), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.12), transparent 30%),
        radial-gradient(circle at 72% 92%, rgba(167, 139, 250, 0.11), transparent 34%),
        linear-gradient(135deg, #020202 0%, #070707 46%, #0a0504 100%);
    color: var(--eth-text);
    overflow-x: hidden;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: rgba(215, 73, 42, 0.45);
    color: white;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--eth-orange), #8d2e1c);
    border: 2px solid #080808;
    border-radius: 999px;
}

.eth-noise,
.eth-orbital-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

.eth-noise {
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 82%);
}

.eth-orbital-bg::before,
.eth-orbital-bg::after {
    content: "";
    position: absolute;
    width: 54vw;
    height: 54vw;
    border-radius: 999px;
    border: 1px solid rgba(215, 73, 42, 0.16);
    left: -15vw;
    top: 8vh;
    transform: rotate(-18deg);
    box-shadow: 0 0 90px rgba(215, 73, 42, 0.08), inset 0 0 70px rgba(215, 73, 42, 0.04);
}

.eth-orbital-bg::after {
    width: 44vw;
    height: 44vw;
    left: auto;
    right: -18vw;
    top: 42vh;
    border-color: rgba(56, 189, 248, 0.12);
    box-shadow: 0 0 90px rgba(56, 189, 248, 0.06), inset 0 0 70px rgba(56, 189, 248, 0.035);
}

.eth-page-shell {
    min-height: 100vh;
    position: relative;
}

.eth-glass {
    background: linear-gradient(145deg, rgba(18, 18, 22, 0.78), rgba(8, 8, 10, 0.58));
    border: 1px solid var(--eth-border);
    box-shadow: var(--eth-shadow);
    backdrop-filter: blur(22px);
}

.eth-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #d6d3d1;
    font-size: 12px;
    letter-spacing: .02em;
}

.eth-btn-primary,
.eth-btn-secondary,
.eth-btn-danger,
.eth-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, opacity .22s ease;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

.eth-btn-primary {
    background: linear-gradient(135deg, #f97316, var(--eth-orange) 46%, #a8321f);
    color: white;
    box-shadow: 0 16px 42px rgba(215, 73, 42, 0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}

.eth-btn-primary:hover,
.eth-btn-secondary:hover,
.eth-btn-danger:hover,
.eth-btn-ghost:hover {
    transform: translateY(-2px);
}

.eth-btn-primary:hover {
    box-shadow: 0 20px 55px rgba(215, 73, 42, 0.48), inset 0 1px 0 rgba(255,255,255,0.22);
}

.eth-btn-secondary {
    background: rgba(255, 255, 255, 0.075);
    color: var(--eth-text);
    border-color: rgba(255, 255, 255, 0.12);
}

.eth-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.20);
}

.eth-btn-danger {
    background: rgba(239, 68, 68, 0.10);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.28);
}

.eth-btn-ghost {
    background: transparent;
    color: #d6d3d1;
    border-color: rgba(255,255,255,0.10);
}

.eth-input,
.eth-textarea,
.eth-select {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.34);
    color: #fff;
    outline: none;
    min-height: 50px;
    padding: 0 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.eth-textarea {
    min-height: 120px;
    padding: 14px 15px;
    resize: vertical;
}

.eth-select option {
    color: #111827;
    background: #fff;
}

.eth-input:focus,
.eth-textarea:focus,
.eth-select:focus {
    border-color: rgba(215, 73, 42, 0.72);
    box-shadow: 0 0 0 4px rgba(215, 73, 42, 0.13);
    background: rgba(0,0,0,0.46);
}

.eth-label {
    display: block;
    margin-bottom: 8px;
    color: #d6d3d1;
    font-size: 13px;
    font-weight: 700;
}

.eth-error,
.eth-success {
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 18px;
    border: 1px solid;
}

.eth-error {
    background: rgba(239, 68, 68, 0.11);
    border-color: rgba(239, 68, 68, 0.26);
    color: #fecaca;
}

.eth-success {
    background: rgba(52, 211, 153, 0.10);
    border-color: rgba(52, 211, 153, 0.25);
    color: #bbf7d0;
}

/* Landing */
.eth-landing {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px 18px;
    overflow: hidden;
}

.eth-landing-grid {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 42px;
    align-items: center;
}

.eth-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 30%, #ffb088, var(--eth-orange) 52%, #5d140d 100%);
    color: white;
    font-weight: 950;
    box-shadow: var(--eth-shadow-orange);
}

.eth-landing h1 {
    margin: 24px 0 18px;
    font-size: clamp(46px, 7vw, 96px);
    line-height: .92;
    letter-spacing: -0.075em;
}

.eth-gradient-text {
    color: transparent;
    background: linear-gradient(100deg, #fff 0%, #fed7aa 34%, #ff784e 62%, #f97316 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.eth-landing-copy {
    color: #c7c2bd;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
    max-width: 650px;
}

.eth-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.eth-preview-card {
    min-height: 620px;
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    padding: 24px;
}

.eth-preview-map {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 52%, rgba(215,73,42,.23), transparent 28%),
        radial-gradient(circle at 28% 24%, rgba(56,189,248,.12), transparent 22%),
        radial-gradient(circle at 78% 70%, rgba(167,139,250,.12), transparent 24%);
}

.eth-preview-core,
.eth-preview-node {
    position: absolute;
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.eth-preview-core {
    left: 50%;
    top: 52%;
    width: 112px;
    height: 112px;
    background: radial-gradient(circle at 35% 28%, #ffe1d5, #ff6a3d 36%, var(--eth-orange) 68%, #54140c 100%);
    box-shadow: 0 0 60px rgba(215,73,42,.6), 0 0 140px rgba(215,73,42,.25);
    border: 1px solid rgba(255,255,255,.26);
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 12px;
    color: #fff;
    text-align: center;
    z-index: 4;
}

.eth-preview-node {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle at 35% 25%, #fff, #ff9c74 26%, var(--eth-orange) 63%, #651a10 100%);
    box-shadow: 0 0 34px rgba(215,73,42,.46);
    border: 1px solid rgba(255,255,255,.24);
    animation: ethFloat 6s ease-in-out infinite;
}

.eth-preview-node.n1 { left: 24%; top: 28%; animation-delay: -.8s; }
.eth-preview-node.n2 { left: 74%; top: 28%; width: 60px; height: 60px; animation-delay: -1.6s; }
.eth-preview-node.n3 { left: 79%; top: 72%; animation-delay: -2.4s; background: radial-gradient(circle at 35% 25%, #fff, #7dd3fc 28%, #0ea5e9 68%, #082f49 100%); box-shadow: 0 0 34px rgba(14,165,233,.45); }
.eth-preview-node.n4 { left: 28%; top: 76%; width: 56px; height: 56px; animation-delay: -3.2s; background: radial-gradient(circle at 35% 25%, #fff, #c4b5fd 28%, #8b5cf6 68%, #2e1065 100%); box-shadow: 0 0 34px rgba(139,92,246,.45); }
.eth-preview-node.n5 { left: 52%; top: 20%; width: 42px; height: 42px; animation-delay: -4s; background: radial-gradient(circle at 35% 25%, #fff, #86efac 28%, #22c55e 68%, #052e16 100%); box-shadow: 0 0 34px rgba(34,197,94,.42); }

.eth-preview-line {
    position: absolute;
    height: 1px;
    left: 50%;
    top: 52%;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(215,73,42,.75), transparent);
    box-shadow: 0 0 16px rgba(215,73,42,.35);
}

.eth-preview-line.l1 { width: 220px; transform: rotate(214deg); }
.eth-preview-line.l2 { width: 210px; transform: rotate(326deg); }
.eth-preview-line.l3 { width: 230px; transform: rotate(38deg); }
.eth-preview-line.l4 { width: 220px; transform: rotate(142deg); }
.eth-preview-line.l5 { width: 195px; transform: rotate(270deg); }

@keyframes ethFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}

/* Auth and onboarding */
.eth-auth-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.eth-auth-card {
    width: min(560px, 100%);
    border-radius: 34px;
    padding: clamp(24px, 4vw, 42px);
    position: relative;
    overflow: hidden;
}

.eth-auth-card::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -210px;
    right: -180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(215, 73, 42, .35), transparent 68%);
}

.eth-auth-card > * {
    position: relative;
    z-index: 1;
}

.eth-stepper {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.eth-stepper span {
    height: 6px;
    flex: 1;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
}

.eth-stepper span.active {
    background: linear-gradient(90deg, var(--eth-orange), #fb923c);
    box-shadow: 0 0 24px rgba(215,73,42,.35);
}

.eth-option-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.eth-option-card {
    min-height: 128px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
    display: grid;
    place-items: center;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.eth-option-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215,73,42,.44);
    background: rgba(215,73,42,.10);
}

input:checked + .eth-option-card {
    border-color: rgba(249,115,22,.8);
    background: linear-gradient(145deg, rgba(215,73,42,.22), rgba(255,255,255,.07));
    box-shadow: 0 0 32px rgba(215,73,42,.18);
}

/* Dashboard */
.eth-dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
}

.eth-sidebar {
    position: sticky;
    top: 18px;
    height: calc(100vh - 36px);
    border-radius: 30px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.eth-sidebar::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -140px;
    left: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(215,73,42,.24), transparent 70%);
}

.eth-sidebar > * {
    position: relative;
    z-index: 1;
}

.eth-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 22px;
}

.eth-sidebar-brand strong {
    display: block;
    font-size: 21px;
    letter-spacing: -0.04em;
}

.eth-sidebar-brand small {
    display: block;
    color: var(--eth-muted);
    margin-top: -2px;
}

.eth-nav {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.eth-nav a {
    min-height: 48px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    color: #d6d3d1;
    border: 1px solid transparent;
    background: transparent;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.eth-nav a:hover,
.eth-nav a.active {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.10);
    color: #fff;
    transform: translateX(3px);
}

.eth-nav a.active {
    background: linear-gradient(135deg, rgba(215,73,42,.22), rgba(255,255,255,.055));
    border-color: rgba(215,73,42,.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.eth-nav-icon {
    width: 31px;
    height: 31px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.07);
    font-size: 16px;
}

.eth-sidebar-footer {
    margin-top: auto;
    border-radius: 24px;
    padding: 16px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}

.eth-dashboard-main {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.eth-mobile-topbar {
    display: none;
}

.eth-topbar {
    border-radius: 30px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.eth-kicker {
    color: var(--eth-orange-2);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 6px;
}

.eth-page-title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: .95;
    letter-spacing: -0.07em;
    margin: 0;
}

.eth-page-subtitle {
    margin-top: 9px;
    color: var(--eth-muted);
    max-width: 760px;
    line-height: 1.6;
}

.eth-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.eth-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.eth-stat-card {
    border-radius: 24px;
    padding: 16px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}

.eth-stat-card span {
    color: var(--eth-muted);
    font-size: 12px;
    font-weight: 700;
}

.eth-stat-card strong {
    display: block;
    margin-top: 6px;
    font-size: 26px;
    line-height: 1;
}

.eth-workspace {
    min-height: calc(100vh - 184px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
}

.eth-graph-card {
    min-height: 680px;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

.eth-graph-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(215,73,42,.12), transparent 34%),
        radial-gradient(circle at 20% 18%, rgba(56,189,248,.07), transparent 30%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: auto, auto, 54px 54px, 54px 54px;
    z-index: 0;
}

#cy {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#cy canvas {
    filter: drop-shadow(0 0 12px rgba(215, 73, 42, 0.15));
}

.eth-graph-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 0%, transparent 56%, rgba(0,0,0,.46) 100%);
}

.eth-graph-toolbar {
    position: absolute;
    z-index: 4;
    left: 18px;
    top: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eth-graph-toolbar button,
.eth-graph-toolbar .eth-mode-chip {
    height: 42px;
    border-radius: 14px;
    padding: 0 13px;
    color: #f5f5f4;
    background: rgba(8,8,10,.74);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

.eth-graph-toolbar button:hover,
.eth-graph-toolbar button.active {
    border-color: rgba(215,73,42,.48);
    background: rgba(215,73,42,.18);
}

.eth-graph-help {
    position: absolute;
    z-index: 4;
    left: 18px;
    bottom: 18px;
    max-width: 520px;
    padding: 13px 15px;
    border-radius: 18px;
    background: rgba(8,8,10,.72);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(18px);
    color: #c9c3bd;
    font-size: 13px;
    line-height: 1.5;
}

.eth-empty-state {
    position: absolute;
    z-index: 5;
    width: min(430px, calc(100% - 36px));
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 28px;
    border-radius: 30px;
    text-align: center;
    display: none;
}

.eth-empty-state.visible {
    display: block;
}

.eth-side-panel {
    border-radius: 34px;
    padding: 18px;
    overflow: hidden;
    min-height: 680px;
}

.eth-panel-section {
    padding: 18px;
    border-radius: 26px;
    background: rgba(255,255,255,.052);
    border: 1px solid rgba(255,255,255,.085);
    margin-bottom: 14px;
}

.eth-selected-orb {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 28%, #fff, #ff8d66 32%, var(--eth-orange) 64%, #64190f 100%);
    box-shadow: 0 0 44px rgba(215,73,42,.42);
    border: 1px solid rgba(255,255,255,.22);
}

.eth-detail-title {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 14px 0 8px;
}

.eth-detail-desc {
    color: #bdb6b0;
    line-height: 1.55;
    font-size: 14px;
    min-height: 44px;
}

.eth-mini-list {
    display: grid;
    gap: 10px;
}

.eth-mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #d6d3d1;
    font-size: 13px;
}

.eth-mini-item span {
    color: var(--eth-muted);
}

.eth-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--eth-orange);
    box-shadow: 0 0 20px rgba(215,73,42,.6);
    display: inline-block;
}

.eth-modal-native {
    width: min(620px, calc(100% - 28px));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 32px;
    padding: 0;
    color: var(--eth-text);
    background: rgba(12,12,14,.86);
    backdrop-filter: blur(28px);
    box-shadow: 0 34px 120px rgba(0,0,0,.76);
}

.eth-modal-native::backdrop {
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(12px);
}

.eth-modal-inner {
    padding: clamp(22px, 4vw, 34px);
    position: relative;
    overflow: hidden;
}

.eth-modal-inner::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -210px;
    top: -220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(215,73,42,.35), transparent 70%);
}

.eth-modal-inner > * {
    position: relative;
    z-index: 1;
}

.eth-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}

.eth-color-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eth-color-input {
    width: 58px;
    height: 50px;
    padding: 4px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.eth-toast {
    position: fixed;
    z-index: 80;
    right: 20px;
    bottom: 20px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(8,8,10,.86);
    border: 1px solid rgba(215,73,42,.28);
    box-shadow: var(--eth-shadow);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.eth-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Diary/settings */
.eth-content-page {
    min-height: 100vh;
    padding: 28px 16px;
}

.eth-content-wrap {
    width: min(980px, 100%);
    margin: 0 auto;
}

.eth-list-card {
    border-radius: 28px;
    padding: 22px;
    margin-bottom: 14px;
}

.eth-floating-mobile-add {
    display: none;
}

@media (max-width: 1180px) {
    .eth-dashboard-shell {
        grid-template-columns: 92px minmax(0, 1fr);
    }
    .eth-sidebar {
        padding: 14px;
    }
    .eth-sidebar-brand div:not(.eth-brand-mark),
    .eth-nav-text,
    .eth-sidebar-footer {
        display: none;
    }
    .eth-sidebar-brand {
        justify-content: center;
        padding-bottom: 16px;
    }
    .eth-nav a {
        justify-content: center;
        padding: 0;
    }
    .eth-nav a:hover,
    .eth-nav a.active {
        transform: translateY(-2px);
    }
    .eth-workspace {
        grid-template-columns: minmax(0, 1fr);
    }
    .eth-side-panel {
        min-height: auto;
    }
}

@media (max-width: 860px) {
    .eth-dashboard-shell {
        display: block;
        padding: 12px;
        padding-bottom: 86px;
    }
    .eth-sidebar {
        display: none;
    }
    .eth-mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        border-radius: 24px;
        padding: 12px;
    }
    .eth-mobile-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px 2px 2px;
    }
    .eth-mobile-nav a {
        white-space: nowrap;
        flex: 0 0 auto;
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.10);
        color: #e7e5e4;
        font-size: 13px;
        font-weight: 800;
    }
    .eth-topbar {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .eth-top-actions {
        justify-content: flex-start;
    }
    .eth-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .eth-graph-card {
        min-height: 560px;
        border-radius: 28px;
    }
    .eth-graph-help {
        display: none;
    }
    .eth-graph-toolbar {
        left: 12px;
        right: 12px;
        top: 12px;
    }
    .eth-side-panel {
        border-radius: 28px;
    }
    .eth-floating-mobile-add {
        position: fixed;
        right: 18px;
        bottom: 18px;
        display: inline-flex;
        width: 58px;
        height: 58px;
        border-radius: 20px;
        z-index: 50;
        padding: 0;
        font-size: 24px;
    }
    .eth-landing-grid {
        grid-template-columns: 1fr;
    }
    .eth-preview-card {
        min-height: 520px;
        order: -1;
    }
    .eth-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .eth-landing-actions,
    .eth-modal-actions {
        flex-direction: column;
    }
    .eth-btn-primary,
    .eth-btn-secondary,
    .eth-btn-danger,
    .eth-btn-ghost {
        width: 100%;
    }
    .eth-stat-row {
        grid-template-columns: 1fr;
    }
    .eth-graph-card {
        min-height: 520px;
    }
    .eth-option-grid {
        grid-template-columns: 1fr;
    }
}
.eth-auth-card.eth-wide { width: min(980px, 100%); }
.eth-auth-card.eth-form-wide { width: min(760px, 100%); }
.hidden { display: none !important; }
.eth-inline-empty { position: relative; left: auto; top: auto; transform: none; margin: 40px auto 0; }

/* Ethernal fullscreen mind map redesign */
.eth-map-shell {
    position: fixed;
    inset: 0;
    z-index: 20;
    min-height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(215, 73, 42, 0.22), transparent 28%),
        radial-gradient(circle at 84% 14%, rgba(56, 189, 248, 0.12), transparent 30%),
        radial-gradient(circle at 68% 84%, rgba(167, 139, 250, 0.13), transparent 34%),
        linear-gradient(135deg, #020202 0%, #070707 46%, #110604 100%);
}

.eth-map-topbar {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    left: 14px;
    right: 14px;
    z-index: 80;
    min-height: 66px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(18, 18, 22, 0.78), rgba(8, 8, 10, 0.54));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(22px);
}

.eth-map-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.eth-brand-mark-small {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 20px;
    box-shadow: 0 0 34px rgba(215, 73, 42, 0.38);
}

.eth-map-brand strong,
.eth-map-brand small {
    display: block;
    line-height: 1.05;
}

.eth-map-brand strong {
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.eth-map-brand small {
    margin-top: 4px;
    font-size: 11px;
    color: #a8a29e;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eth-map-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.eth-map-nav a,
.eth-map-action,
.eth-map-floating-toolbar button,
.eth-neuron-sheet-actions button,
.eth-edge-menu button {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
    color: #f5f0ec;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.eth-map-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.eth-map-nav a:hover,
.eth-map-nav a.active,
.eth-map-action:hover,
.eth-map-floating-toolbar button:hover,
.eth-neuron-sheet-actions button:hover,
.eth-edge-menu button:hover {
    background: rgba(215, 73, 42, 0.16);
    border-color: rgba(215, 73, 42, 0.40);
    box-shadow: 0 0 30px rgba(215, 73, 42, 0.16);
}

.eth-map-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.eth-map-action {
    height: 42px;
    padding: 0 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.eth-map-action-primary,
.eth-map-action.active,
.eth-map-floating-toolbar button.active {
    border-color: rgba(255, 138, 92, .66);
    background: linear-gradient(135deg, #D7492A, #ff7548);
    color: white;
    box-shadow: 0 0 36px rgba(215, 73, 42, .38);
}

.eth-map-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: none;
}

.eth-fullscreen-cy {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
}

.eth-cosmos-field {
    position: absolute;
    inset: -20%;
    z-index: 1;
    opacity: .84;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.65) 0 1px, transparent 1.6px),
        radial-gradient(circle at 70% 30%, rgba(255,138,92,.55) 0 1px, transparent 1.5px),
        radial-gradient(circle at 42% 78%, rgba(56,189,248,.5) 0 1px, transparent 1.6px),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 96px 96px, 138px 138px, 172px 172px, 88px 88px, 88px 88px;
    animation: eth-star-drift 28s linear infinite;
    mask-image: radial-gradient(circle at center, black 0%, rgba(0,0,0,.72) 58%, transparent 100%);
}

.eth-cosmos-orbit {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    border-radius: 999px;
    border: 1px solid rgba(215,73,42,.12);
    box-shadow: 0 0 90px rgba(215,73,42,.10), inset 0 0 70px rgba(215,73,42,.04);
    animation: eth-orbit-slow 18s linear infinite;
}

.eth-cosmos-orbit-a {
    width: min(72vw, 760px);
    height: min(72vw, 760px);
    left: -18vw;
    top: 12vh;
}

.eth-cosmos-orbit-b {
    width: min(58vw, 640px);
    height: min(58vw, 640px);
    right: -22vw;
    bottom: -18vh;
    border-color: rgba(56,189,248,.11);
    animation-direction: reverse;
    animation-duration: 24s;
}

.eth-map-vignette {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 0%, transparent 55%, rgba(0,0,0,.46) 100%),
        linear-gradient(180deg, rgba(0,0,0,.48) 0%, transparent 24%, transparent 72%, rgba(0,0,0,.55) 100%);
}

.eth-map-floating-toolbar {
    position: absolute;
    z-index: 85;
    left: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(18,18,22,.78), rgba(7,7,9,.56));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 60px rgba(0,0,0,.48);
    backdrop-filter: blur(22px);
}

.eth-map-floating-toolbar button {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 19px;
    font-weight: 950;
}

.eth-link-chip {
    position: absolute;
    z-index: 86;
    left: 50%;
    bottom: max(26px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,138,92,.42);
    background: rgba(14, 10, 8, .76);
    color: #fff3ed;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 0 42px rgba(215,73,42,.28);
    backdrop-filter: blur(18px);
}

.eth-link-chip span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff784e;
    box-shadow: 0 0 20px rgba(255,120,78,.9);
    animation: eth-pulse-dot 1.1s ease-in-out infinite;
}

.eth-map-empty {
    position: absolute;
    z-index: 88;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%) scale(.98);
    width: min(430px, calc(100vw - 32px));
    padding: 28px;
    border-radius: 30px;
    text-align: center;
    background: linear-gradient(145deg, rgba(16,16,20,.82), rgba(7,7,9,.66));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 80px rgba(0,0,0,.54), inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.eth-map-empty.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.eth-empty-orb {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 28%, #fff4ef, #ff7b51 26%, #D7492A 62%, #310b06 100%);
    box-shadow: 0 0 54px rgba(215,73,42,.48);
}

.eth-empty-orb::before,
.eth-empty-orb::after {
    content: "";
    position: absolute;
    inset: -16px;
    border-radius: inherit;
    border: 1px solid rgba(255, 138, 92, .34);
    animation: eth-neuron-wave 2.6s ease-out infinite;
}

.eth-empty-orb::after {
    animation-delay: .9s;
}

.eth-map-empty h1 {
    font-size: clamp(24px, 5vw, 34px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.06em;
}

.eth-map-empty p {
    margin: 14px auto 22px;
    color: #b8b2ad;
    line-height: 1.6;
}

.eth-neuron-sheet {
    --sheet-color: #D7492A;
    position: absolute;
    z-index: 86;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: min(480px, calc(100vw - 36px));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(18,18,22,.84), rgba(7,7,9,.66));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 70px rgba(0,0,0,.50), 0 0 42px color-mix(in srgb, var(--sheet-color) 28%, transparent);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
}

.eth-neuron-sheet.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.eth-neuron-sheet-orb {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 28%, #fff, var(--sheet-color) 36%, #160504 100%);
    box-shadow: 0 0 30px color-mix(in srgb, var(--sheet-color) 72%, transparent);
    position: relative;
}

.eth-neuron-sheet-orb::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: inherit;
    border: 1px solid color-mix(in srgb, var(--sheet-color) 45%, transparent);
    animation: eth-neuron-wave 2.2s ease-out infinite;
}

.eth-neuron-sheet-text {
    min-width: 0;
}

.eth-neuron-sheet-text small,
.eth-neuron-sheet-text strong {
    display: block;
    line-height: 1.1;
}

.eth-neuron-sheet-text small {
    color: #a8a29e;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.eth-neuron-sheet-text strong {
    margin-top: 4px;
    color: #fffaf6;
    font-size: 15px;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eth-neuron-sheet-actions {
    display: flex;
    gap: 7px;
}

.eth-neuron-sheet-actions button,
.eth-edge-menu button {
    height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.eth-neuron-sheet-actions .danger,
.eth-edge-menu button.danger {
    border-color: rgba(248,113,113,.36);
    background: rgba(127,29,29,.32);
    color: #fecaca;
}

.eth-edge-menu {
    position: fixed;
    z-index: 110;
    left: 20px;
    top: 90px;
    width: 270px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(18,18,22,.94), rgba(7,7,9,.86));
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 24px 80px rgba(0,0,0,.62), 0 0 42px rgba(215,73,42,.22);
    backdrop-filter: blur(22px);
    opacity: 0;
    transform: translateY(8px) scale(.98);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.eth-edge-menu.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.eth-edge-menu strong,
.eth-edge-menu span {
    display: block;
}

.eth-edge-menu strong {
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -.03em;
}

.eth-edge-menu span {
    margin-top: 5px;
    color: #b8b2ad;
    font-size: 12px;
    line-height: 1.45;
}

.eth-edge-menu div {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.eth-mobile-orb-add {
    display: none;
    position: absolute;
    z-index: 87;
    right: 18px;
    bottom: max(92px, calc(env(safe-area-inset-bottom) + 92px));
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 22px;
    background: radial-gradient(circle at 32% 22%, #fff1eb, #ff784e 26%, #D7492A 66%, #340b05 100%);
    color: white;
    font-size: 30px;
    font-weight: 950;
    box-shadow: 0 0 46px rgba(215,73,42,.58), 0 18px 46px rgba(0,0,0,.46);
}

.eth-mobile-orb-add::before,
.eth-mobile-orb-add::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: inherit;
    border: 1px solid rgba(255,138,92,.30);
    animation: eth-neuron-wave 2.4s ease-out infinite;
}

.eth-mobile-orb-add::after {
    animation-delay: .8s;
}

@keyframes eth-star-drift {
    from { transform: translate3d(0, 0, 0) rotate(0deg); }
    to { transform: translate3d(-96px, 48px, 0) rotate(.001deg); }
}

@keyframes eth-orbit-slow {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.04); }
    to { transform: rotate(360deg) scale(1); }
}

@keyframes eth-neuron-wave {
    0% { transform: scale(.72); opacity: .65; }
    72% { opacity: .14; }
    100% { transform: scale(1.62); opacity: 0; }
}

@keyframes eth-pulse-dot {
    0%, 100% { transform: scale(.82); opacity: .65; }
    50% { transform: scale(1.18); opacity: 1; }
}

@media (max-width: 900px) {
    .eth-map-topbar {
        grid-template-columns: 1fr auto;
        gap: 8px;
        min-height: auto;
        padding: 9px;
        border-radius: 22px;
    }

    .eth-map-brand {
        grid-column: 1 / 2;
    }

    .eth-map-actions {
        grid-column: 2 / 3;
    }

    .eth-map-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 0 1px;
        scrollbar-width: none;
    }

    .eth-map-nav::-webkit-scrollbar { display: none; }

    .eth-map-nav a {
        height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .eth-map-action {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }

    .eth-map-action-primary {
        width: 42px;
        padding: 0;
        overflow: hidden;
        color: transparent;
        position: relative;
    }

    .eth-map-action-primary::before {
        content: "+";
        color: #fff;
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        font-size: 24px;
    }

    .eth-link-chip {
        bottom: max(102px, calc(env(safe-area-inset-bottom) + 102px));
        width: max-content;
        max-width: calc(100vw - 34px);
        white-space: nowrap;
    }

    .eth-map-floating-toolbar {
        left: 50%;
        right: auto;
        bottom: max(18px, env(safe-area-inset-bottom));
        transform: translateX(-50%);
    }

    .eth-map-floating-toolbar button {
        width: 46px;
        height: 46px;
    }

    .eth-neuron-sheet {
        left: 12px;
        right: 12px;
        bottom: max(78px, calc(env(safe-area-inset-bottom) + 78px));
        width: auto;
        grid-template-columns: auto minmax(0, 1fr);
        border-radius: 24px;
    }

    .eth-neuron-sheet-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .eth-neuron-sheet-actions button {
        width: 100%;
    }

    .eth-mobile-orb-add {
        display: inline-grid;
        place-items: center;
    }

    .eth-edge-menu {
        left: 12px !important;
        right: 12px;
        top: auto !important;
        bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px));
        width: auto;
        border-radius: 24px;
    }

    .eth-edge-menu div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .eth-map-topbar {
        top: max(8px, env(safe-area-inset-top));
        left: 8px;
        right: 8px;
    }

    .eth-brand-mark-small {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .eth-map-brand strong {
        font-size: 14px;
    }

    .eth-map-brand small {
        display: none;
    }

    .eth-map-action:not(.eth-map-action-primary) {
        width: 42px;
        padding: 0;
        overflow: hidden;
        font-size: 0;
        position: relative;
    }

    .eth-map-action:not(.eth-map-action-primary)::before {
        content: "⛓";
        color: #fff;
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        font-size: 18px;
    }

    .eth-map-empty {
        padding: 22px;
        top: 54%;
    }

    .eth-empty-orb {
        width: 70px;
        height: 70px;
    }

    .eth-map-floating-toolbar {
        padding: 7px;
        gap: 6px;
    }

    .eth-map-floating-toolbar button {
        width: 43px;
        height: 43px;
        border-radius: 15px;
    }

    .eth-mobile-orb-add {
        width: 56px;
        height: 56px;
        border-radius: 20px;
        right: 14px;
    }
}

/* =========================================================
   Ethernal Knowledge Universe v2
   ========================================================= */
.eth-knowledge-shell {
    min-height: 100dvh;
    background:
        radial-gradient(circle at 50% 45%, rgba(215, 73, 42, 0.16), transparent 34%),
        radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.11), transparent 28%),
        radial-gradient(circle at 78% 74%, rgba(167, 139, 250, 0.10), transparent 30%),
        #020202;
}

.eth-knowledge-stage {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

.eth-cosmos-orbit-c {
    width: 74vmax;
    height: 74vmax;
    left: 50%;
    top: 50%;
    border-color: rgba(255, 255, 255, 0.045);
    animation-duration: 38s;
    animation-direction: reverse;
}

.eth-knowledge-topbar {
    z-index: 80;
}

.eth-knowledge-actions {
    gap: 8px;
}

.eth-constellation-rail {
    position: fixed;
    z-index: 62;
    left: 50%;
    top: 88px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(980px, calc(100vw - 28px));
    padding: 8px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    background: rgba(7, 7, 8, 0.58);
    backdrop-filter: blur(22px) saturate(1.2);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.32);
    scrollbar-width: none;
}
.eth-constellation-rail::-webkit-scrollbar { display: none; }
.eth-constellation-chip-list { display: flex; gap: 8px; align-items: center; }
.eth-constellation-chip {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.eth-constellation-chip:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.20); }
.eth-constellation-chip.active {
    color: #fff;
    border-color: color-mix(in srgb, var(--chip-color, #D7492A) 60%, #fff 20%);
    background: linear-gradient(135deg, color-mix(in srgb, var(--chip-color, #D7492A) 28%, transparent), rgba(255,255,255,.08));
    box-shadow: 0 0 34px color-mix(in srgb, var(--chip-color, #D7492A) 30%, transparent);
}
.eth-constellation-chip small {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

.eth-empty-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.eth-knowledge-sheet {
    max-width: min(720px, calc(100vw - 24px));
}
.eth-constellation-sheet .eth-neuron-sheet-orb {
    border-radius: 28% 72% 61% 39% / 45% 38% 62% 55%;
}

.eth-ai-panel {
    position: fixed;
    z-index: 88;
    right: 18px;
    top: 96px;
    width: min(420px, calc(100vw - 28px));
    max-height: calc(100dvh - 126px);
    overflow: auto;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        radial-gradient(circle at top left, rgba(215, 73, 42, 0.20), transparent 38%),
        rgba(7, 7, 8, 0.82);
    backdrop-filter: blur(24px) saturate(1.25);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
    transform: translateX(calc(100% + 32px));
    opacity: 0;
    pointer-events: none;
    transition: transform .26s ease, opacity .26s ease;
}
.eth-ai-panel.visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.eth-ai-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}
.eth-ai-panel-head small,
.eth-section-head small {
    display: block;
    color: #ffb089;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 10px;
    font-weight: 900;
}
.eth-ai-panel-head strong {
    display: block;
    color: #fff;
    font-size: 20px;
    letter-spacing: -0.05em;
}
.eth-ai-panel-head button {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}
.eth-ai-panel p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 14px;
}
.eth-ai-suggestion-list,
.eth-focused-suggestions {
    display: grid;
    gap: 10px;
}
.eth-ai-suggestion,
.eth-focused-suggestions article {
    padding: 13px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.055);
    display: grid;
    gap: 8px;
}
.eth-ai-suggestion strong,
.eth-focused-suggestions strong { color: #fff; font-size: 13px; }
.eth-ai-suggestion span,
.eth-focused-suggestions span { color: rgba(255, 255, 255, 0.62); font-size: 12px; }
.eth-ai-suggestion button,
.eth-focused-suggestions button {
    justify-self: start;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(215, 73, 42, 0.42);
    background: rgba(215, 73, 42, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.eth-ai-loading,
.eth-ai-empty,
.eth-empty-mini {
    padding: 14px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.eth-mobile-primary-actions { display: none; }
.eth-range {
    width: 100%;
    accent-color: #D7492A;
    min-height: 38px;
}
.eth-range-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 800;
}
.eth-range-label strong { color: #fff; }

/* Neuron workspace */
.eth-neuron-page {
    min-height: 100dvh;
    background:
        radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--neuron-color, #D7492A) 24%, transparent), transparent 34%),
        radial-gradient(circle at 88% 22%, rgba(56, 189, 248, 0.10), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(167, 139, 250, 0.10), transparent 30%),
        #030303;
    color: #fff;
}
.eth-neuron-topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(14px, 3vw, 42px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(3,3,3,.68);
    backdrop-filter: blur(22px) saturate(1.2);
}
.eth-neuron-topbar nav { display: flex; align-items: center; gap: 8px; overflow-x: auto; }
.eth-neuron-topbar a,
.eth-back-link {
    color: rgba(255,255,255,.80);
    text-decoration: none;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
}
.eth-back-link { color: #fff; background: color-mix(in srgb, var(--neuron-color, #D7492A) 22%, rgba(255,255,255,.06)); }
.eth-neuron-workspace {
    width: min(1440px, calc(100vw - 28px));
    margin: 0 auto;
    padding: clamp(22px, 4vw, 54px) 0 48px;
}
.eth-neuron-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(18px, 3vw, 34px);
    align-items: center;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 34px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--neuron-color, #D7492A) 18%, transparent), rgba(255,255,255,.045)),
        rgba(255,255,255,.04);
    box-shadow: 0 30px 100px rgba(0,0,0,.28), 0 0 60px color-mix(in srgb, var(--neuron-color, #D7492A) 14%, transparent);
    position: relative;
    overflow: hidden;
}
.eth-neuron-hero::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--neuron-color, #D7492A) 24%, transparent), transparent 30%);
    pointer-events: none;
}
.eth-neuron-orb-big {
    position: relative;
    width: clamp(96px, 16vw, 154px);
    height: clamp(96px, 16vw, 154px);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 24%, #fff, color-mix(in srgb, var(--neuron-color, #D7492A) 72%, #111 28%) 42%, #090909 73%);
    border: 5px solid color-mix(in srgb, var(--neuron-color, #D7492A) 74%, #fff 26%);
    font-size: clamp(32px, 6vw, 64px);
    box-shadow: 0 0 60px color-mix(in srgb, var(--neuron-color, #D7492A) 60%, transparent);
}
.eth-neuron-orb-big::after {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: inherit;
    border: 1px solid color-mix(in srgb, var(--neuron-color, #D7492A) 36%, transparent);
    animation: ethPulseRing 2.4s infinite ease-out;
}
.eth-neuron-hero-copy { position: relative; min-width: 0; }
.eth-neuron-hero h1 {
    font-size: clamp(36px, 7vw, 86px);
    line-height: .86;
    letter-spacing: -0.085em;
    font-weight: 950;
    max-width: 980px;
}
.eth-neuron-hero p {
    color: rgba(255,255,255,.68);
    max-width: 820px;
    margin-top: 14px;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
}
.eth-neuron-meta-row,
.eth-tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.eth-neuron-meta-row span,
.eth-tag-row span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.76);
    font-size: 12px;
    font-weight: 800;
}
.eth-tag-row span { color: #ffd7c7; background: color-mix(in srgb, var(--neuron-color, #D7492A) 18%, rgba(255,255,255,.06)); }
.eth-workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}
.eth-editor-card,
.eth-side-card {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(22px) saturate(1.15);
    box-shadow: 0 24px 80px rgba(0,0,0,.24);
}
.eth-editor-card { padding: clamp(16px, 3vw, 26px); min-height: 680px; }
.eth-neuron-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.eth-side-card { padding: 16px; }
.eth-ai-card { background: linear-gradient(135deg, color-mix(in srgb, var(--neuron-color, #D7492A) 12%, rgba(255,255,255,.045)), rgba(255,255,255,.04)); }
.eth-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.eth-section-head h2 {
    font-size: 23px;
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 950;
}
.compact-head h2 { font-size: 18px; }
.eth-btn-primary.compact,
.eth-btn-secondary.compact {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
}
.eth-description-input {
    width: 100%;
    min-height: 74px;
    resize: vertical;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(0,0,0,.28);
    color: #fff;
    padding: 13px 14px;
    outline: none;
    margin-bottom: 12px;
}
.eth-editor-toolbar {
    position: sticky;
    top: 74px;
    z-index: 12;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(8,8,8,.74);
    backdrop-filter: blur(18px);
    margin-bottom: 14px;
}
.eth-editor-toolbar button {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.86);
    font-size: 12px;
    font-weight: 900;
}
.eth-rich-editor {
    min-height: 520px;
    outline: none;
    color: rgba(255,255,255,.88);
    line-height: 1.75;
    font-size: 16px;
    padding: clamp(12px, 2vw, 22px);
    border-radius: 22px;
    background: rgba(0,0,0,.20);
    border: 1px solid rgba(255,255,255,.08);
}
.eth-rich-editor:empty::before {
    content: attr(data-placeholder);
    color: rgba(255,255,255,.35);
}
.eth-rich-editor h1,
.eth-rich-editor h2,
.eth-rich-editor h3 {
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.055em;
    margin: 1.1em 0 .4em;
    font-weight: 950;
}
.eth-rich-editor h2 { font-size: 32px; }
.eth-rich-editor h3 { font-size: 24px; }
.eth-rich-editor p { margin: .7em 0; }
.eth-rich-editor blockquote {
    margin: 1em 0;
    padding: 14px 16px;
    border-left: 3px solid var(--neuron-color, #D7492A);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.78);
}
.eth-rich-editor img,
.eth-rich-editor video,
.eth-rich-editor iframe {
    max-width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    margin: 12px 0;
}
.eth-rich-editor a { color: #ffb089; text-decoration: underline; }
.eth-inline-form,
.eth-stack-form { display: grid; gap: 8px; }
.eth-inline-form { grid-template-columns: 1fr auto auto; }
.eth-inline-form input,
.eth-stack-form input {
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.26);
    color: #fff;
    padding: 0 12px;
    outline: none;
    min-width: 0;
}
.eth-inline-form button,
.eth-stack-form button {
    min-height: 42px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--neuron-color, #D7492A) 24%, rgba(255,255,255,.07));
    color: #fff;
    border: 1px solid color-mix(in srgb, var(--neuron-color, #D7492A) 38%, rgba(255,255,255,.10));
    font-weight: 900;
}
.eth-task-list,
.eth-resource-list { display: grid; gap: 8px; margin-top: 10px; }
.eth-task-item,
.eth-resource-item {
    display: grid;
    gap: 4px;
    padding: 11px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    position: relative;
}
.eth-task-item label { display: flex; gap: 9px; align-items: flex-start; color: rgba(255,255,255,.86); font-size: 13px; font-weight: 760; }
.eth-task-item.done label span { text-decoration: line-through; color: rgba(255,255,255,.42); }
.eth-task-item small,
.eth-resource-item small { color: rgba(255,255,255,.44); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eth-task-item button,
.eth-resource-item button {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.62);
}
.eth-resource-item a { color: #fff; font-size: 13px; font-weight: 850; text-decoration: none; padding-right: 32px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eth-side-card p { color: rgba(255,255,255,.63); font-size: 13px; line-height: 1.6; }

@keyframes ethPulseRing {
    0% { transform: scale(.86); opacity: .65; }
    100% { transform: scale(1.28); opacity: 0; }
}

@media (max-width: 980px) {
    .eth-workspace-grid { grid-template-columns: 1fr; }
    .eth-neuron-side { position: static; }
    .eth-neuron-hero { grid-template-columns: 1fr; text-align: left; }
    .eth-neuron-orb-big { width: 104px; height: 104px; font-size: 38px; }
}

@media (max-width: 760px) {
    .eth-knowledge-topbar {
        align-items: center;
        gap: 8px;
    }
    .eth-knowledge-actions { display: none; }
    .eth-map-nav { flex: 1; justify-content: flex-start; }
    .eth-constellation-rail {
        top: calc(max(8px, env(safe-area-inset-top)) + 66px);
        max-width: calc(100vw - 16px);
        border-radius: 22px;
        padding: 7px;
    }
    .eth-constellation-chip { min-height: 34px; padding: 0 11px; font-size: 11px; }
    .eth-ai-panel {
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        top: auto;
        width: auto;
        max-height: 64dvh;
        border-radius: 24px;
        transform: translateY(calc(100% + 24px));
    }
    .eth-ai-panel.visible { transform: translateY(0); }
    .eth-mobile-primary-actions {
        position: fixed;
        z-index: 75;
        right: 12px;
        bottom: max(16px, env(safe-area-inset-bottom));
        display: flex;
        flex-direction: column;
        gap: 9px;
    }
    .eth-mobile-primary-actions button {
        width: 56px;
        height: 56px;
        border-radius: 20px;
        border: 1px solid rgba(255,255,255,.14);
        color: #fff;
        font-size: 20px;
        font-weight: 950;
        background: linear-gradient(135deg, rgba(215,73,42,.95), rgba(109,27,12,.95));
        box-shadow: 0 18px 50px rgba(215,73,42,.24);
    }
    .eth-map-floating-toolbar {
        left: 12px;
        right: auto;
        bottom: max(16px, env(safe-area-inset-bottom));
        transform: none;
        flex-direction: column;
    }
    .eth-neuron-sheet,
    .eth-constellation-sheet {
        left: 10px;
        right: 10px;
        bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px));
        transform: translateY(22px);
        width: auto;
        max-width: none;
        grid-template-columns: auto 1fr;
        padding: 12px;
    }
    .eth-neuron-sheet.visible,
    .eth-constellation-sheet.visible { transform: translateY(0); }
    .eth-neuron-sheet-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
    .eth-constellation-sheet .eth-neuron-sheet-actions { grid-template-columns: repeat(3, 1fr); }
    .eth-neuron-sheet-actions button { min-height: 40px; padding: 0 8px; font-size: 11px; }
    .eth-link-chip { top: calc(max(8px, env(safe-area-inset-top)) + 118px); }
    .eth-neuron-workspace { width: min(100vw - 20px, 1440px); padding-top: 18px; }
    .eth-neuron-topbar { padding: 10px; }
    .eth-neuron-topbar nav { max-width: 62vw; }
    .eth-neuron-topbar a { min-height: 34px; padding: 0 10px; font-size: 12px; }
    .eth-neuron-hero { border-radius: 26px; padding: 18px; }
    .eth-neuron-hero h1 { font-size: clamp(36px, 14vw, 58px); }
    .eth-editor-card { border-radius: 24px; padding: 12px; min-height: 520px; }
    .eth-editor-toolbar { top: 55px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .eth-editor-toolbar::-webkit-scrollbar { display: none; }
    .eth-rich-editor { min-height: 420px; font-size: 15px; padding: 14px; }
    .eth-side-card { border-radius: 22px; }
    .eth-inline-form { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .eth-map-action:not(.eth-map-action-primary)::before { content: none !important; }
    .eth-map-action:not(.eth-map-action-primary) { font-size: 12px !important; width: auto !important; padding: 0 10px !important; }
    .eth-knowledge-actions { display: none !important; }
    .eth-constellation-rail { top: 76px; }
    .eth-map-brand span:not(.eth-brand-mark) small { display: none; }
    .eth-map-brand strong { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .eth-map-nav a { padding: 0 10px; font-size: 11px; }
    .eth-map-empty.eth-knowledge-empty { width: min(94vw, 420px); }
    .eth-modal-native .eth-modal-inner { width: calc(100vw - 18px); max-height: calc(100dvh - 18px); overflow: auto; border-radius: 24px; }
}

/* Map preferences / performance controls */
.eth-reduce-map-motion .eth-cosmos-field,
.eth-reduce-map-motion .eth-cosmos-orbit,
.eth-reduce-map-motion .eth-link-chip span,
.eth-reduce-map-motion .eth-empty-orb::before,
.eth-reduce-map-motion .eth-empty-orb::after,
.eth-reduce-map-motion .eth-neuron-sheet-orb::after,
.eth-reduce-map-motion .eth-brand-mark-small {
    animation: none !important;
}

.eth-reduce-map-motion .eth-cosmos-field {
    opacity: .42;
    transform: none !important;
}

.eth-reduce-map-motion .eth-cosmos-orbit {
    opacity: .24;
    box-shadow: none;
}

.eth-reduce-map-motion .eth-fullscreen-cy {
    filter: none;
}

.eth-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    align-items: start;
}

.eth-settings-card {
    width: 100%;
    max-width: none;
    display: grid;
    gap: 18px;
}

.eth-settings-section {
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    padding: clamp(15px, 3vw, 22px);
    background: rgba(255,255,255,.035);
}

.eth-section-minihead {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.eth-section-minihead > span {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(215,73,42,.95), rgba(255,117,72,.78));
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 0 28px rgba(215,73,42,.24);
}

.eth-section-minihead strong,
.eth-section-minihead small {
    display: block;
}

.eth-section-minihead strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -.035em;
}

.eth-section-minihead small {
    margin-top: 4px;
    color: rgba(255,255,255,.48);
    font-size: 12px;
}

.eth-switch-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.20);
    cursor: pointer;
}

.eth-switch-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.eth-switch-control {
    position: relative;
    width: 58px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.20);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.eth-switch-control::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 3px;
    top: 3px;
    border-radius: 999px;
    background: #fff7ed;
    box-shadow: 0 6px 16px rgba(0,0,0,.28);
    transition: transform .2s ease;
}

.eth-switch-card input:checked + .eth-switch-control {
    background: linear-gradient(135deg, #D7492A, #ff784e);
    border-color: rgba(255,138,92,.72);
    box-shadow: 0 0 28px rgba(215,73,42,.24);
}

.eth-switch-card input:checked + .eth-switch-control::after {
    transform: translateX(24px);
}

.eth-switch-card strong,
.eth-switch-card small {
    display: block;
}

.eth-switch-card strong {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.eth-switch-card small,
.eth-settings-hint,
.eth-settings-preview p,
.eth-settings-preview small {
    color: rgba(255,255,255,.55);
    line-height: 1.55;
    font-size: 12.5px;
}

.eth-settings-hint {
    margin-top: 8px;
}

.eth-settings-preview {
    position: sticky;
    top: 22px;
    padding: 22px;
    border-radius: 28px;
}

.eth-settings-preview h2 {
    margin-top: 6px;
    color: #fff;
    font-size: 28px;
    line-height: .98;
    letter-spacing: -.06em;
    font-weight: 950;
}

.eth-settings-preview p {
    margin-top: 14px;
}

.eth-line-preview {
    position: relative;
    height: 120px;
    margin: 20px 0;
    border-radius: 24px;
    background:
        radial-gradient(circle at 26% 48%, rgba(215,73,42,.28), transparent 24%),
        radial-gradient(circle at 74% 52%, rgba(56,189,248,.20), transparent 26%),
        rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
}

.eth-line-preview span {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: radial-gradient(circle at 34% 26%, #fff, #ff784e 38%, #D7492A 70%, #250604 100%);
    box-shadow: 0 0 34px rgba(215,73,42,.34);
    z-index: 2;
}

.eth-line-preview span:first-child { left: 18%; }
.eth-line-preview span:last-child { right: 18%; background: radial-gradient(circle at 34% 26%, #fff, #67e8f9 38%, #0891b2 70%, #082f49 100%); }

.eth-line-preview i {
    position: absolute;
    left: calc(18% + 38px);
    right: calc(18% + 38px);
    top: 50%;
    height: 3px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, #ff784e 0 18px, transparent 18px 27px);
    box-shadow: 0 0 22px rgba(255,120,78,.38);
}

@media (max-width: 860px) {
    .eth-settings-grid {
        grid-template-columns: 1fr;
    }
    .eth-settings-preview {
        position: static;
    }
}

@media (max-width: 540px) {
    .eth-switch-card {
        grid-template-columns: 1fr;
    }
    .eth-settings-section {
        border-radius: 20px;
        padding: 14px;
    }
}
