* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: #1a1a1a;
            color: #B1B2B6;
            min-height: 100vh;
            overflow: hidden;
        }
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 64px;
            background: #252525;
            border-bottom: 1px solid rgba(212, 113, 89, 0.2);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            z-index: 100;
        }
        .logo {
            font-size: 18px;
            font-weight: 600;
            color: #D47159;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo-icon {
            width: 28px;
            height: 28px;
        }
        .search-box {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .search-input {
            width: 420px;
            padding: 10px 16px;
            background: #1a1a1a;
            border: 1px solid #333;
            border-radius: 8px;
            color: #B1B2B6;
            font-size: 14px;
            font-family: monospace;
            transition: border-color 0.3s;
        }
        .search-input:focus {
            outline: none;
            border-color: #D47159;
        }
        .search-input::placeholder {
            color: #666;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        .search-btn {
            padding: 10px 24px;
            background: rgba(212, 113, 89, 0.2);
            color: #D47159;
            border: 1px solid #D47159;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        .search-btn:hover {
            background: rgba(212, 113, 89, 0.3);
        }
        .search-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .search-container {
            position: relative;
        }
        .search-autocomplete {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #252525;
            border: 1px solid #D47159;
            border-top: none;
            border-radius: 0 0 8px 8px;
            max-height: 300px;
            overflow-y: auto;
            z-index: 200;
            display: none;
        }
        .search-autocomplete.active {
            display: block;
        }
        .autocomplete-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid #333;
        }
        .autocomplete-item:last-child {
            border-bottom: none;
        }
        .autocomplete-item:hover {
            background: rgba(212, 113, 89, 0.1);
        }
        .autocomplete-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #1a1a1a;
            overflow: hidden;
            border: 2px solid #333;
            flex-shrink: 0;
        }
        .autocomplete-avatar.ethos {
            border-color: #D47159;
        }
        .autocomplete-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .autocomplete-info {
            flex: 1;
            min-width: 0;
        }
        .autocomplete-name {
            font-size: 13px;
            color: #fff;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .autocomplete-address {
            font-size: 11px;
            color: #949390;
            font-family: monospace;
        }
        .autocomplete-meta {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .autocomplete-score {
            font-size: 11px;
            color: #D47159;
            font-weight: 600;
        }
        .autocomplete-txcount {
            font-size: 10px;
            color: #666;
        }
        .autocomplete-status {
            font-size: 9px;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 500;
            text-transform: uppercase;
        }
        .autocomplete-status.researched {
            background: rgba(76, 175, 80, 0.15);
            border: 1px solid rgba(76, 175, 80, 0.3);
            color: #4CAF50;
        }
        .autocomplete-status.not-researched {
            background: rgba(148, 147, 144, 0.15);
            border: 1px solid rgba(148, 147, 144, 0.3);
            color: #949390;
        }
        .main-container {
            margin-top: 64px;
            display: flex;
            min-height: calc(100vh - 64px);
        }
        .sidebar {
            width: 320px;
            background: #252525;
            border-right: 1px solid rgba(212, 113, 89, 0.15);
            padding: 24px;
            position: fixed;
            top: 64px;
            left: 0;
            bottom: 0;
            overflow-y: auto;
            z-index: 1;
        }

        .sidebar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('/media/background.svg');
            background-repeat: no-repeat;
            background-position: center top;
            background-size: 100% auto;
            filter: blur(6px);
            z-index: -1;
            opacity: 0.5;
            pointer-events: none;
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: #1a1a1a;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: #D47159;
            border-radius: 3px;
        }
        .profile-card {
            text-align: center;
            padding-bottom: 24px;
            border-bottom: 1px solid rgba(212, 113, 89, 0.15);
            margin-bottom: 24px;
            position: relative;
        }
        .profile-header-row {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            position: relative;
        }
        .profile-avatar-wrapper {
            flex-shrink: 0;
            position: relative;
        }
        .profile-avatar-wrapper .verified-icon {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 22px;
            height: 22px;
            z-index: 10;
        }
        .profile-score-corner {
            display: flex;
            align-items: center;
            gap: 4px;
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
        }
        .profile-score-corner .score-val {
            font-size: 20px;
            font-weight: 700;
            color: #D47159;
        }
        .profile-score-corner .score-mask {
            width: 18px;
            height: 18px;
            background-color: #D47159;
            -webkit-mask-image: url('/media/score.svg');
            mask-image: url('/media/score.svg');
            -webkit-mask-size: contain;
            mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
        }
        .profile-score-corner.score-0-799 .score-val { color: rgb(183, 43, 56); }
        .profile-score-corner.score-0-799 .score-mask { background-color: rgb(183, 43, 56); }
        .profile-score-corner.score-800-1199 .score-val { color: rgb(194, 144, 16); }
        .profile-score-corner.score-800-1199 .score-mask { background-color: rgb(194, 144, 16); }
        .profile-score-corner.score-1200-1399 .score-val { color: rgb(193, 192, 182); }
        .profile-score-corner.score-1200-1399 .score-mask { background-color: rgb(193, 192, 182); }
        .profile-score-corner.score-1400-1599 .score-val { color: rgb(124, 141, 168); }
        .profile-score-corner.score-1400-1599 .score-mask { background-color: rgb(124, 141, 168); }
        .profile-score-corner.score-1600-1799 .score-val { color: rgb(78, 134, 185); }
        .profile-score-corner.score-1600-1799 .score-mask { background-color: rgb(78, 134, 185); }
        .profile-score-corner.score-1800-1999 .score-val { color: rgb(46, 123, 195); }
        .profile-score-corner.score-1800-1999 .score-mask { background-color: rgb(46, 123, 195); }
        .profile-score-corner.score-2000-2199 .score-val { color: rgb(66, 123, 86); }
        .profile-score-corner.score-2000-2199 .score-mask { background-color: rgb(66, 123, 86); }
        .profile-score-corner.score-2200-2399 .score-val { color: rgb(18, 127, 49); }
        .profile-score-corner.score-2200-2399 .score-mask { background-color: rgb(18, 127, 49); }
        .profile-score-corner.score-2400-2599 .score-val { color: rgb(131, 109, 166); }
        .profile-score-corner.score-2400-2599 .score-mask { background-color: rgb(131, 109, 166); }
        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #1a1a1a;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: #D47159;
            overflow: hidden;
            border: 3px solid #D47159;
        }
        .profile-avatar.score-0-799 { border-color: rgb(183, 43, 56); }
        .profile-avatar.score-800-1199 { border-color: rgb(194, 144, 16); }
        .profile-avatar.score-1200-1399 { border-color: rgb(193, 192, 182); }
        .profile-avatar.score-1400-1599 { border-color: rgb(124, 141, 168); }
        .profile-avatar.score-1600-1799 { border-color: rgb(78, 134, 185); }
        .profile-avatar.score-1800-1999 { border-color: rgb(46, 123, 195); }
        .profile-avatar.score-2000-2199 { border-color: rgb(66, 123, 86); }
        .profile-avatar.score-2200-2399 { border-color: rgb(18, 127, 49); }
        .profile-avatar.score-2400-2599 { border-color: rgb(131, 109, 166); }
        .profile-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .profile-name-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 4px;
        }
        .profile-name {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
        }
        .profile-name.clickable {
            cursor: pointer;
            transition: color 0.2s;
        }
        .profile-name.clickable:hover {
            color: #D47159;
        }
        .score-inline {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            color: #949390;
        }
        .score-inline .score-val {
            font-size: 18px;
            font-weight: 700;
            color: #D47159;
        }
        .score-inline .score-icon {
            width: 16px;
            height: 16px;
            margin-left: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .score-inline .score-mask {
            width: 16px;
            height: 16px;
            background-color: #D47159;
            -webkit-mask-image: url('/media/score.svg');
            mask-image: url('/media/score.svg');
            -webkit-mask-size: contain;
            mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
        }
        .score-inline.score-0-799 .score-mask { background-color: rgb(183, 43, 56); }
        .score-inline.score-800-1199 .score-mask { background-color: rgb(194, 144, 16); }
        .score-inline.score-1200-1399 .score-mask { background-color: rgb(193, 192, 182); }
        .score-inline.score-1400-1599 .score-mask { background-color: rgb(124, 141, 168); }
        .score-inline.score-1600-1799 .score-mask { background-color: rgb(78, 134, 185); }
        .score-inline.score-1800-1999 .score-mask { background-color: rgb(46, 123, 195); }
        .score-inline.score-2000-2199 .score-mask { background-color: rgb(66, 123, 86); }
        .score-inline.score-2200-2399 .score-mask { background-color: rgb(18, 127, 49); }
        .score-inline.score-2400-2599 .score-mask { background-color: rgb(131, 109, 166); }
        .score-inline.score-0-799 .score-val, .score-inline.score-0-799 .score-icon { color: rgb(183, 43, 56); }
        .score-inline.score-800-1199 .score-val, .score-inline.score-800-1199 .score-icon { color: rgb(194, 144, 16); }
        .score-inline.score-1200-1399 .score-val, .score-inline.score-1200-1399 .score-icon { color: rgb(193, 192, 182); }
        .score-inline.score-1400-1599 .score-val, .score-inline.score-1400-1599 .score-icon { color: rgb(124, 141, 168); }
        .score-inline.score-1600-1799 .score-val, .score-inline.score-1600-1799 .score-icon { color: rgb(78, 134, 185); }
        .score-inline.score-1800-1999 .score-val, .score-inline.score-1800-1999 .score-icon { color: rgb(46, 123, 195); }
        .score-inline.score-2000-2199 .score-val, .score-inline.score-2000-2199 .score-icon { color: rgb(66, 123, 86); }
        .score-inline.score-2200-2399 .score-val, .score-inline.score-2200-2399 .score-icon { color: rgb(18, 127, 49); }
        .score-inline.score-2400-2599 .score-val, .score-inline.score-2400-2599 .score-icon { color: rgb(131, 109, 166); }
        .verified-icon {
            width: 20px;
            height: 20px;
            margin-left: 2px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            vertical-align: middle;
        }
        .verified-icon img {
            width: 100%;
            height: 100%;
        }
        .social-links {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 12px;
            flex-wrap: wrap;
        }
        .social-link {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #1a1a1a;
            border-radius: 6px;
            border: 1px solid #333;
            transition: all 0.2s;
            text-decoration: none;
        }
        .social-link:hover {
            border-color: #D47159;
        }
        .social-link .social-icon {
            width: 16px;
            height: 16px;
            background-color: #949390;
            -webkit-mask-size: contain;
            mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
            transition: background-color 0.2s;
        }
        .social-link:hover .social-icon {
            background-color: #D47159;
        }
        .social-icon.x { -webkit-mask-image: url('/media/x.svg'); mask-image: url('/media/x.svg'); }
        .social-icon.github { -webkit-mask-image: url('/media/github.svg'); mask-image: url('/media/github.svg'); }
        .social-icon.telegram { -webkit-mask-image: url('/media/telegram.svg'); mask-image: url('/media/telegram.svg'); }
        .social-icon.discord { -webkit-mask-image: url('/media/discord.svg'); mask-image: url('/media/discord.svg'); }
        .social-icon.farcaster { -webkit-mask-image: url('/media/farcaster.svg'); mask-image: url('/media/farcaster.svg'); }
        .wallet-icon {
            width: 14px;
            height: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .wallet-icon .wallet-mask {
            width: 14px;
            height: 14px;
            background-color: #949390;
            -webkit-mask-image: url('/media/wallet.svg');
            mask-image: url('/media/wallet.svg');
            -webkit-mask-size: contain;
            mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
            transition: background-color 0.2s;
        }
        .profile-address:hover .wallet-mask {
            background-color: #D47159;
        }
        .profile-username {
            font-size: 14px;
            color: #D47159;
            margin-bottom: 12px;
        }
        .profile-username a {
            color: #D47159;
            text-decoration: none;
        }
        .profile-username a:hover {
            text-decoration: underline;
        }
        .profile-address {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 12px;
            color: #949390;
            font-family: monospace;
            margin-bottom: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .profile-address:hover {
            color: #D47159;
        }
        .profile-address .copy-icon {
            font-size: 12px;
            opacity: 0.6;
        }
        .profile-address:hover .copy-icon {
            opacity: 1;
        }
        .score-badge {
            display: none;
        }
        .score-label {
            font-size: 12px;
            color: #949390;
        }
        .score-value {
            font-size: 20px;
            font-weight: 700;
            color: #D47159;
        }
        .score-value.low { color: #FF6238; }
        .score-value.medium { color: #FFB347; }
        .score-value.high { color: #4CAF50; }
        .not-registered {
            padding: 12px;
            background: rgba(255, 98, 56, 0.1);
            border: 1px solid rgba(255, 98, 56, 0.3);
            border-radius: 8px;
            color: #FF6238;
            font-size: 13px;
            margin-top: 12px;
        }
        .profile-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
            justify-content: center;
        }
        .profile-stat-item {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            background: transparent;
            border-radius: 6px;
            font-size: 11px;
            border: none;
        }
        .profile-stat-item .stat-icon {
            font-size: 12px;
        }
        .profile-stat-item .stat-text {
            color: #B1B2B6;
        }
        .profile-stat-item.xp .stat-icon {
            width: 14px;
            height: 14px;
            background-color: #D47159;
            -webkit-mask-image: url('/media/xp.svg');
            mask-image: url('/media/xp.svg');
            -webkit-mask-size: contain;
            mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
        }
        .profile-stat-item.streak .stat-icon {
            width: 14px;
            height: 14px;
            background-color: #FFB347;
            -webkit-mask-image: url('/media/daily.svg');
            mask-image: url('/media/daily.svg');
            -webkit-mask-size: contain;
            mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
        }
        .profile-stat-item.xp {
            color: #D47159;
        }
        .profile-stat-item.streak {
            color: #FFB347;
        }
        .inviter-section {
            margin-top: 10px;
            padding: 0;
            background: transparent;
            text-align: left;
        }
        .inviter-header {
            font-size: 8px;
            color: #949390;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }
        .inviter-info {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
        }
        .inviter-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #252525;
            overflow: hidden;
            border: 2px solid #D47159;
            flex-shrink: 0;
        }
        .inviter-avatar.score-0-799 { border-color: rgb(183, 43, 56); }
        .inviter-avatar.score-800-1199 { border-color: rgb(194, 144, 16); }
        .inviter-avatar.score-1200-1399 { border-color: rgb(193, 192, 182); }
        .inviter-avatar.score-1400-1599 { border-color: rgb(124, 141, 168); }
        .inviter-avatar.score-1600-1799 { border-color: rgb(78, 134, 185); }
        .inviter-avatar.score-1800-1999 { border-color: rgb(46, 123, 195); }
        .inviter-avatar.score-2000-2199 { border-color: rgb(66, 123, 86); }
        .inviter-avatar.score-2200-2399 { border-color: rgb(18, 127, 49); }
        .inviter-avatar.score-2400-2599 { border-color: rgb(131, 109, 166); }
        .inviter-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .inviter-details {
            display: flex;
            flex-direction: column;
            gap: 1px;
        }
        .inviter-name {
            font-size: 11px;
            color: #fff;
            font-weight: 500;
            cursor: pointer;
        }
        .inviter-name:hover {
            color: #D47159;
        }
        .inviter-username {
            font-size: 9px;
            color: #D47159;
        }
        .inviter-score {
            font-size: 9px;
            color: #949390;
        }
        .network-selector {
            margin-bottom: 24px;
        }
        .network-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        .network-selector label {
            display: block;
            font-size: 11px;
            color: #949390;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .all-networks-toggle {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .toggle-label {
            font-size: 10px;
            color: #949390;
            text-transform: uppercase;
        }
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 36px;
            height: 20px;
        }
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #333;
            border-radius: 20px;
            transition: 0.3s;
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: #949390;
            border-radius: 50%;
            transition: 0.3s;
        }
        .toggle-switch input:checked + .toggle-slider {
            background-color: rgba(212, 113, 89, 0.3);
            border: 1px solid #D47159;
        }
        .toggle-switch input:checked + .toggle-slider:before {
            transform: translateX(16px);
            background-color: #D47159;
        }
        .network-tabs {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }
        .network-tabs.disabled {
            opacity: 0.5;
            pointer-events: none;
        }
        .network-tab {
            flex: 1;
            padding: 8px 8px 6px 8px;
            background: rgba(26, 26, 26, 0.7);
            border: 1px solid #333;
            border-radius: 8px;
            color: #949390;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            position: relative;
        }
        .network-tab img {
            width: 24px;
            height: 24px;
            object-fit: contain;
            opacity: 0.7;
            transition: opacity 0.2s;
        }
        .network-tab .network-name {
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .network-tab .network-tx-count {
            position: absolute;
            top: -8px;
            right: -8px;
            min-width: 24px;
            height: 20px;
            padding: 0 4px;
            background: #D47159;
            border-radius: 10px;
            font-size: 9px;
            font-weight: 600;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .network-tab .network-tx-count.hidden {
            display: none;
        }
        .network-tab:hover {
            border-color: #D47159;
            color: #B1B2B6;
        }
        .network-tab:hover img {
            opacity: 1;
        }
        .network-tab.active {
            background: rgba(212, 113, 89, 0.05);
            border-color: #D47159;
            color: #D47159;
        }
        .network-tab.active img {
            opacity: 1;
        }
        .stats-section {
            margin-bottom: 16px;
        }
        .stats-section h3 {
            font-size: 10px;
            color: #949390;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 6px;
        }
        .stat-item {
            background: #1a1a1a;
            padding: 8px 4px;
            border-radius: 6px;
            text-align: center;
            border: 1px solid #333;
        }
        .stat-value {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
        }
        .stat-value.incoming { color: #4CAF50; }
        .stat-value.outgoing { color: #FF6238; }
        .stat-value.profiles { color: #D47159; }
        .stat-label {
            font-size: 8px;
            color: #949390;
            margin-top: 2px;
            text-transform: uppercase;
        }
        .content {
            margin-left: 320px;
            flex: 1;
            padding: 24px;
            height: calc(100vh - 64px);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .transactions-header {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 12px 20px;
            background: #1a1a1a;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            position: fixed;
            top: 64px;
            left: 320px;
            right: 0;
            z-index: 50;
            border-radius: 12px 12px 0 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        .transactions-title {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
        }
        .pagination-info {
            font-size: 13px;
            color: #949390;
        }
        @media (max-width: 1024px) {
            .transactions-header {
                left: 280px;
            }
        }
        @media (max-width: 768px) {
            .transactions-header {
                left: 0;
                top: 120px;
            }
        }
        .transactions-container {
            background: #252525;
            border-radius: 12px;
            border: 1px solid rgba(212, 113, 89, 0.15);
            overflow: hidden;
            padding-top: 50px;
            padding-bottom: 80px;
            position: relative;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        .transactions-container::after {
            content: '';
            position: fixed;
            top: 50%;
            left: calc(320px + (100% - 320px) / 2);
            transform: translate(-50%, -50%);
            width: 500px;
            height: 500px;
            background-image: url('/media/ethos.svg');
            background-repeat: no-repeat;
            background-position: center center;
            background-size: contain;
            opacity: 0.15;
            pointer-events: none;
            z-index: 0;
        }
        .transaction-item {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            gap: 16px;
            transition: background 0.2s;
            background: rgba(37, 37, 37, 0.85);
            position: relative;
            z-index: 1;
        }
        .transaction-item:hover {
            background: rgba(37, 37, 37, 0.95);
        }
        .transaction-item:last-child {
            border-bottom: none;
        }
        .tx-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #1a1a1a;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: #D47159;
            overflow: hidden;
            border: 2px solid #333;
        }
        .tx-avatar.ethos-registered {
            border-color: #D47159;
            cursor: pointer;
        }
        .tx-avatar.ethos-registered:hover {
            border-color: #FF6238;
        }
        .tx-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .tx-info {
            flex: 1;
            min-width: 0;
        }
        .tx-main {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
        }
        .tx-direction {
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .tx-direction.incoming {
            background: rgba(76, 175, 80, 0.15);
            color: #4CAF50;
        }
        .tx-direction.outgoing {
            background: rgba(255, 98, 56, 0.15);
            color: #FF6238;
        }
        .tx-counterparty {
            font-size: 14px;
            color: #D47159;
            cursor: pointer;
            transition: color 0.2s;
        }
        .tx-counterparty:hover {
            color: #FF6238;
            text-decoration: underline;
        }
        .tx-counterparty-addr {
            font-family: monospace;
            font-size: 12px;
            color: #949390;
            cursor: pointer;
            transition: color 0.2s;
        }
        .tx-counterparty-addr:hover {
            color: #D47159;
        }
        .tx-meta {
            display: flex;
            gap: 16px;
            font-size: 12px;
            color: #666;
        }
        .tx-hash-link {
            color: #D47159;
            text-decoration: none;
            font-family: monospace;
        }
        .tx-hash-link:hover {
            text-decoration: underline;
            color: #FF6238;
        }
        .tx-value {
            text-align: right;
            flex-shrink: 0;
        }
        .tx-amount {
            font-size: 16px;
            font-weight: 600;
        }
        .tx-amount.incoming { color: #4CAF50; }
        .tx-amount.outgoing { color: #FF6238; }
        .tx-asset {
            font-size: 12px;
            color: #949390;
        }
        .pagination {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background: #1a1a1a;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            position: fixed;
            bottom: 0;
            left: 320px;
            right: 0;
            z-index: 50;
            border-radius: 12px 12px 0 0;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
        }
        .pagination-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .page-btn {
            padding: 8px 16px;
            background: #252525;
            border: 1px solid #333;
            border-radius: 6px;
            color: #B1B2B6;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .page-btn:hover:not(:disabled) {
            border-color: #D47159;
            color: #D47159;
        }
        .page-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        .page-numbers {
            display: flex;
            gap: 4px;
        }
        .page-num {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: 1px solid transparent;
            border-radius: 6px;
            color: #949390;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .page-num:hover {
            background: rgba(212, 113, 89, 0.1);
            border-color: rgba(212, 113, 89, 0.3);
        }
        .page-num.active {
            background: #D47159;
            color: #fff;
            font-weight: 600;
        }
        #transactionList {
            position: relative;
            z-index: 1;
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 0;
        }
        #transactionList::-webkit-scrollbar {
            width: 8px;
        }
        #transactionList::-webkit-scrollbar-track {
            background: #1a1a1a;
            border-radius: 4px;
        }
        #transactionList::-webkit-scrollbar-thumb {
            background: #D47159;
            border-radius: 4px;
        }
        #transactionList::-webkit-scrollbar-thumb:hover {
            background: #FF6238;
        }
        .empty-state {
            padding: 80px 20px;
            text-align: center;
            color: #949390;
            background: rgba(37, 37, 37, 0.9);
        }
        .empty-state-icon {
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.5;
        }
        .empty-state p {
            font-size: 16px;
            margin-bottom: 8px;
            color: #B1B2B6;
        }
        .empty-state small {
            font-size: 13px;
            color: #666;
        }
        .loading-spinner {
            display: inline-block;
            width: 24px;
            height: 24px;
            border: 3px solid #333;
            border-top: 3px solid #D47159;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* Enhanced loading animation */
        .loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            background: rgba(37, 37, 37, 0.9);
            position: relative;
            z-index: 1;
        }
        .loading-blocks {
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
        }
        .loading-block {
            width: 12px;
            height: 12px;
            background: #D47159;
            border-radius: 2px;
            animation: loadingPulse 1.4s ease-in-out infinite;
        }
        .loading-block:nth-child(1) { animation-delay: 0s; }
        .loading-block:nth-child(2) { animation-delay: 0.2s; }
        .loading-block:nth-child(3) { animation-delay: 0.4s; }
        .loading-block:nth-child(4) { animation-delay: 0.6s; }
        .loading-block:nth-child(5) { animation-delay: 0.8s; }
        @keyframes loadingPulse {
            0%, 100% { transform: scaleY(1); opacity: 0.4; }
            50% { transform: scaleY(2); opacity: 1; }
        }
        .loading-text {
            color: #949390;
            font-size: 14px;
            text-align: center;
        }
        .loading-subtext {
            color: #666;
            font-size: 12px;
            margin-top: 8px;
        }
        .loading-stats {
            margin-top: 16px;
            padding: 12px 16px;
            background: rgba(212, 113, 89, 0.1);
            border: 1px solid rgba(212, 113, 89, 0.2);
            border-radius: 8px;
            font-size: 12px;
            color: #949390;
            text-align: center;
        }
        /* Transaction avatar flow */
        .tx-avatar-date-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .tx-date {
            font-size: 10px;
            color: #666;
            text-align: center;
            white-space: nowrap;
        }
        .tx-avatar-flow {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .tx-avatar-small {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #1a1a1a;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: #D47159;
            overflow: hidden;
            border: 2px solid #333;
        }
        .tx-avatar-small.ethos-registered {
            border-color: #D47159;
            cursor: pointer;
        }
        .tx-avatar-small.score-0-799 { border-color: rgb(183, 43, 56); }
        .tx-avatar-small.score-800-1199 { border-color: rgb(194, 144, 16); }
        .tx-avatar-small.score-1200-1399 { border-color: rgb(193, 192, 182); }
        .tx-avatar-small.score-1400-1599 { border-color: rgb(124, 141, 168); }
        .tx-avatar-small.score-1600-1799 { border-color: rgb(78, 134, 185); }
        .tx-avatar-small.score-1800-1999 { border-color: rgb(46, 123, 195); }
        .tx-avatar-small.score-2000-2199 { border-color: rgb(66, 123, 86); }
        .tx-avatar-small.score-2200-2399 { border-color: rgb(18, 127, 49); }
        .tx-avatar-small.score-2400-2599 { border-color: rgb(131, 109, 166); }
        .tx-avatar-small.main-profile:not(.ethos-registered) {
            border-color: #333;
        }
        .tx-avatar-small img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .tx-flow-arrow {
            color: #666;
            font-size: 14px;
        }
        .tx-flow-arrow.incoming { color: #4CAF50; }
        .tx-flow-arrow.outgoing { color: #FF6238; }
        /* USD value display */
        .tx-usd {
            font-size: 11px;
            color: #666;
            margin-top: 2px;
        }
        /* Cache button */
        .cache-section {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(212, 113, 89, 0.15);
        }
        .cache-btn {
            width: 100%;
            padding: 10px;
            background: rgba(255, 98, 56, 0.1);
            border: 1px solid rgba(255, 98, 56, 0.3);
            border-radius: 8px;
            color: #FF6238;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .cache-btn:hover:not(:disabled) {
            background: rgba(255, 98, 56, 0.2);
        }
        .cache-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        .cache-btn.analyze-btn {
            background: rgba(212, 113, 89, 0.1);
            border: 1px solid rgba(212, 113, 89, 0.3);
            color: #D47159;
            margin-bottom: 8px;
        }
        .cache-btn.analyze-btn:hover {
            background: rgba(212, 113, 89, 0.2);
        }
        .research-btn {
            width: 100%;
            padding: 14px 20px;
            background: rgba(212, 113, 89, 0.15);
            border: 2px solid #D47159;
            border-radius: 10px;
            color: #D47159;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 12px;
        }
        .research-btn:hover:not(:disabled) {
            background: rgba(212, 113, 89, 0.25);
            transform: translateY(-1px);
        }
        .research-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .research-btn.loading {
            pointer-events: none;
        }
        .ready-state {
            padding: 60px 20px;
            text-align: center;
            color: #949390;
            background: rgba(37, 37, 37, 0.9);
            position: relative;
            z-index: 1;
        }
        .ready-state-icon {
            font-size: 48px;
            margin-bottom: 16px;
            color: #D47159;
            opacity: 0.7;
        }
        .ready-state p {
            font-size: 14px;
            margin-bottom: 8px;
            color: #B1B2B6;
        }
        .ready-state small {
            font-size: 12px;
            color: #666;
        }
        /* Confirmation modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 300;
        }
        .modal-content {
            background: #252525;
            border: 1px solid rgba(212, 113, 89, 0.3);
            border-radius: 12px;
            padding: 24px;
            max-width: 360px;
            text-align: center;
        }
        .modal-title {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 12px;
        }
        .modal-text {
            font-size: 13px;
            color: #949390;
            margin-bottom: 20px;
        }
        .modal-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }
        .modal-btn {
            padding: 10px 24px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        .modal-btn.cancel {
            background: transparent;
            border: 1px solid #333;
            color: #949390;
        }
        .modal-btn.cancel:hover {
            border-color: #D47159;
            color: #B1B2B6;
        }
        .modal-btn.confirm {
            background: rgba(255, 98, 56, 0.2);
            border: 1px solid #FF6238;
            color: #FF6238;
        }
        .modal-btn.confirm:hover {
            background: rgba(255, 98, 56, 0.3);
        }
        .status-message {
            position: fixed;
            bottom: 24px;
            right: 24px;
            padding: 12px 20px;
            background: #252525;
            border: 1px solid #333;
            border-radius: 8px;
            font-size: 13px;
            color: #B1B2B6;
            z-index: 200;
            display: none;
        }
        .status-message.active { display: block; }
        .status-message.error {
            border-color: #FF6238;
            color: #FF6238;
            background: rgba(255, 98, 56, 0.1);
        }
        .status-message.success {
            border-color: #D47159;
            color: #D47159;
            background: rgba(212, 113, 89, 0.1);
        }
        .ethos-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 6px;
            background: rgba(212, 113, 89, 0.15);
            border: 1px solid rgba(212, 113, 89, 0.3);
            border-radius: 4px;
            font-size: 10px;
            color: #D47159;
            margin-left: 6px;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }
        .ethos-badge:hover {
            background: rgba(212, 113, 89, 0.25);
            border-color: #D47159;
        }
        .ethos-badge.gray {
            background: rgba(148, 147, 144, 0.15);
            border: 1px solid rgba(148, 147, 144, 0.3);
            color: #949390;
        }
        .ethos-badge.gray:hover {
            background: rgba(148, 147, 144, 0.25);
            border-color: #949390;
        }
        .ethos-filter-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 0;
            padding: 10px 12px;
            background: #1a1a1a;
            border-radius: 8px;
            border: 1px solid #333;
        }
        .ethos-filter-toggle.disabled {
            opacity: 0.4;
            pointer-events: none;
        }
        .ethos-filter-toggle.disabled .toggle-switch {
            cursor: not-allowed;
        }
        .ethos-filter-toggle .filter-label {
            font-size: 11px;
            color: #949390;
            white-space: nowrap;
        }
        .network-badge {
            display: inline-flex;
            align-items: center;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 9px;
            font-weight: 600;
            text-transform: uppercase;
            margin-left: 6px;
            opacity: 0.5;
        }
        .network-badge.ethereum {
            background: rgba(98, 126, 234, 0.08);
            border: 1px solid rgba(98, 126, 234, 0.15);
            color: #627EEA;
        }
        .network-badge.base {
            background: rgba(0, 82, 255, 0.08);
            border: 1px solid rgba(0, 82, 255, 0.15);
            color: #0052FF;
        }
        .network-badge.arbitrum {
            background: rgba(40, 160, 240, 0.08);
            border: 1px solid rgba(40, 160, 240, 0.15);
            color: #28A0F0;
        }
        .network-badge.bsc {
            background: rgba(243, 186, 47, 0.08);
            border: 1px solid rgba(243, 186, 47, 0.15);
            color: #F3BA2F;
        }
        .network-badge img {
            width: 14px;
            height: 14px;
            margin-right: 4px;
            vertical-align: middle;
        }
        @media (max-width: 1024px) {
            .sidebar {
                width: 280px;
            }
            .content {
                margin-left: 280px;
            }
            .pagination {
                left: 280px;
            }
        }
        @media (max-width: 1024px) {
            .transactions-container::after {
                left: calc(280px + (100% - 280px) / 2);
                width: 400px;
                height: 400px;
            }
        }
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                height: auto;
                padding: 12px;
                gap: 12px;
            }
            .search-box {
                width: 100%;
            }
            .search-input {
                flex: 1;
                width: auto;
            }
            .main-container {
                flex-direction: column;
                margin-top: 120px;
            }
            .sidebar {
                position: relative;
                width: 100%;
                top: 0;
                border-right: none;
                border-bottom: 1px solid rgba(212, 113, 89, 0.15);
            }
            .content {
                margin-left: 0;
            }
            .pagination {
                left: 0;
            }
            .transactions-container::after {
                left: 50%;
                width: 300px;
                height: 300px;
            }
        }
