.gallery-goto {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
}

.gallery-goto input {
    border: 1px solid #000;
    border-right: none;
    padding: 10px 14px;
    font-family: 'Chivo Mono', monospace;
    font-size: 11px;
    width: 280px;
    background: #fff;
    outline: none;
}

.gallery-goto button {
    border: 1px solid #000;
    padding: 10px 16px;
    font-family: 'Chivo Mono', monospace;
    font-size: 11px;
    background: #000;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.gallery-goto button:hover {
    background: #333;
}

.gallery-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-label {
    font-family: 'Chivo Mono', monospace;
    font-size: 11px;
    color: #999;
    width: 50px;
    flex-shrink: 0;
}

.gallery-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Chivo Mono', monospace;
    font-size: 12px;
}

.gallery-table thead th {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 2px solid #000;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
}

.gallery-table thead th.sortable {
    cursor: pointer;
}

.gallery-table thead th.sortable:hover {
    opacity: 0.6;
}

.gallery-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #ddd;
}

.row-sun { background-color: #fff; }
.row-moon { background-color: #111; color: #fff; }
.row-moon td a { color: #fff; }
.row-neutral { background-color: #f5f5f0; }

.gallery-table a {
    color: inherit;
    text-decoration: none;
}

.gallery-table a:hover {
    opacity: 0.6;
}

.sort-arrow {
    margin-left: 4px;
    color: #999;
}

.slider-group {
    position: relative;
    display: inline-flex;
    background: #eae4d9;
    border-radius: 0;
}

.slider-pill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #000;
    transition: left 0.2s ease, width 0.2s ease;
    pointer-events: none;
    border-radius: 0;
}

.slider-btn {
    position: relative;
    z-index: 1;
    border: none;
    background: transparent;
    padding: 7px 16px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Chivo Mono', monospace;
    color: #666;
    transition: color 0.2s;
    white-space: nowrap;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.slider-btn.on {
    color: #fff;
}

.slider-btn.on .guild-icon { filter: invert(1); }
.row-moon .guild-icon { filter: invert(1); }

.guild-data-block {
    margin-bottom:32px;
}

.guild-top {
    font-family:'Chivo Mono',monospace;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:0.12em;
    color:#999;
    margin-bottom:12px;
    text-align: center;
    padding-bottom: 10px;
}

.guild-info {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;margin-bottom:6px;
    font-family:'Space Grotesk',sans-serif;
    font-size:24px;
    font-weight:700;
    letter-spacing:-0.02em;
}

.guild-info img {
    width:35px;
    height:35px;
}

.guild-bottom {
    font-family:'Chivo Mono',monospace;
    font-size:12px;
    color:#999;
    padding-top: 10px;
    text-align: center;
}

.guild-global-stats {
    margin-bottom: 32px;
}

.guild-global-stats-number {
    font-size: 36px;
    text-align: center;
    font-weight: 700;
}

.guild-global-stats-info {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 10px;
    text-align: center;
}



.guild-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}



.dom-block.dom-sun { background: #fff; }
.dom-block.dom-moon { background: #111; color: #fff; }
.dom-block.dom-neutral { background: #f5f5f0; color: #000; }
.dom-block.dom-moon .dom-block__label { color: #666; }
.dom-block.dom-moon .dom-block__count { color: #888; }
.dom-block.dom-moon img { filter: invert(1); }
.dom-block.dom-neutral img { filter: none; }





/* ── Сеть ── */
#network-wrap {
    position: relative;
    width: 100%;
    height: 560px;
    margin-bottom: 60px;
}

#network-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
}

.network-node {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.network-node__box {
    position: relative;
    width: 22px;
    height: 22px;
    background: #f5f5f0;
}

.network-node__box--root {
    width: 120px;
    height: 40px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f0;
    font-family: 'Chivo Mono', monospace;
    font-size: 12px;
    font-weight: 700;
}

.network-node__box--l1 {
    border: 2px solid #1a1a1a;
}

.network-node__box--l2 {
    border: 1.5px dashed #1a1a1a;
}

.network-node__box--unconnected {
    border: 1.5px dashed #000;
    background: #f5f5f0;
}

/* ── Зелёная точка ── */
.network-node__listing-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 7px;
    height: 7px;
    background: #098932;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* ── Кубок ── */
.network-node__trophy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    line-height: 1;
    pointer-events: none;
}

/* ── Ховер карточка ── */
#network-hover {
    position: fixed;
    display: none;
    background: #f5f5f0;
    border: 1px solid #c8c5c0;
    padding: 12px 14px;
    z-index: 1000;
    min-width: 160px;
    max-width: 240px;
    pointer-events: none;
}

.network-hover-level {
    font-size: 10px;
    color: #aaa;
    margin-bottom: 4px;
    font-family: 'Chivo Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.network-hover-addr {
    font-family: 'Chivo Mono', monospace;
    font-size: 11px;
    color: #555;
    margin-bottom: 6px;
    word-break: break-all;
}

.network-hover-transfer {
    font-size: 10px;
    color: #999;
    font-family: 'Chivo Mono', monospace;
    margin-bottom: 8px;
}

.network-hover-tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.network-hover__token {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.network-hover__token-img {
    width: 40px;
    height: 40px;
    background: #e0ddd8;
}

.network-hover__token-id {
    font-family: 'Chivo Mono', monospace;
    font-size: 8px;
    color: #888;
}

.network-hover-listing {
    font-size: 10px;
    color: #000;
    font-family: 'Chivo Mono', monospace;
}

/* ── Превью ховеров ── */


.hover-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hover-static {
    background: #f5f5f0;
    border: 1px solid #c8c5c0;
    padding: 12px 14px;
    min-width: 160px;
    max-width: 240px;
}

.network-node--root {
    cursor: default;
}

.network-node__box--inactive {
    border: 1.5px solid #ccc;
    /* opacity: 0.5; */
    background: #f5f5f0;
}

.network-node__cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #999;
    line-height: 1;
    pointer-events: none;
}

.network-hover__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s ease-in-out infinite;
    vertical-align: middle;
}