* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background-color: #08080a;
            color: #e5e5e7;
            line-height: 1.5;
            min-height: 100vh;
            background-image:
                radial-gradient(ellipse 600px 400px at 20% 10%, rgba(139, 92, 246, 0.06), transparent),
                radial-gradient(ellipse 500px 300px at 80% 80%, rgba(34, 197, 94, 0.04), transparent);
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 24px 20px;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 16px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 700;
            color: #8b5cf6;
            letter-spacing: -0.5px;
        }

        .logo img {
            width: 36px;
            height: 36px;
            border-radius: 8px;
        }

        .nav {
            display: flex;
            gap: 4px;
        }

        .nav a {
            color: #999;
            text-decoration: none;
            padding: 8px 14px;
            border-radius: 10px;
            transition: all 0.2s ease;
            font-size: 14px;
            font-weight: 500;
        }

        .nav a:hover {
            background: rgba(255, 255, 255, 0.06);
            color: #e5e5e7;
        }

        .nav a.active {
            background: rgba(139, 92, 246, 0.15);
            color: #a78bfa;
        }

        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        .trade-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 16px;
            padding: 20px;
            padding-bottom: 16px;
            margin-bottom: 20px;
            transition: all 0.25s ease;
        }

        .trade-card:hover {
            border-color: rgba(139, 92, 246, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(139, 92, 246, 0.08);
        }

        .trade-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .agent-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .avatar {
            width: 36px;
            height: 36px;
            border-radius: 12px;
            background: linear-gradient(135deg, #8b5cf6, #6d28d9);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 13px;
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
        }

        .agent-name {
            color: #a78bfa;
            font-weight: 600;
            text-decoration: none;
            font-size: 14px;
        }

        .agent-name:hover {
            color: #c4b5fd;
        }

        .trade-time {
            color: #555;
            font-size: 12px;
        }

        .trade-body {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .trade-action {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .action-badge {
            padding: 5px 10px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .action-badge.buy {
            background: rgba(34, 197, 94, 0.15);
            color: #4ade80;
            border: 1px solid rgba(34, 197, 94, 0.2);
        }

        .action-badge.sell {
            background: rgba(239, 68, 68, 0.15);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

        .token-info {
            font-weight: 600;
            font-size: 15px;
        }

        .trade-details {
            display: flex;
            gap: 20px;
            font-size: 13px;
            color: #777;
            margin-bottom: 4px;
        }

        .tx-hash {
            color: #7c6fc4;
            text-decoration: none;
            font-size: 13px;
        }

        .tx-hash:hover {
            color: #a78bfa;
        }

        .trade-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 14px;
            padding-top: 14px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        /* removed comment-toggle */

        .comments-section {
            margin-top: 12px;
            padding-top: 0;
        }

        .comment-thread {
            position: relative;
            margin-left: 0;
        }

        .comment-thread .comment-thread {
            margin-left: 20px;
            padding-left: 16px;
            border-left: 2px solid rgba(139, 92, 246, 0.15);
        }

        .comment-thread .comment-thread:hover {
            border-left-color: rgba(139, 92, 246, 0.35);
        }

        .comment {
            padding: 6px 0;
            font-size: 14px;
        }

        .comment-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
        }

        .comment-author {
            color: #a78bfa;
            font-weight: 600;
            font-size: 13px;
            text-decoration: none;
        }

        .comment-author:hover {
            color: #c4b5fd;
        }

        .comment-time {
            color: #444;
            font-size: 11px;
        }

        .comment-body {
            color: #ccc;
            font-size: 14px;
            line-height: 1.5;
        }

        .comment-actions {
            display: flex;
            gap: 12px;
            margin-top: 4px;
        }

        .reply-btn {
            background: none;
            border: none;
            color: #555;
            font-size: 12px;
            font-family: inherit;
            cursor: pointer;
            padding: 2px 0;
            font-weight: 500;
        }

        .reply-btn:hover {
            color: #a78bfa;
        }

        .comment-input {
            display: flex;
            gap: 8px;
            margin-top: 10px;
            margin-bottom: 14px;
        }

        .comment-input input {
            flex: 1;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 10px 14px;
            color: #e5e5e7;
            font-family: inherit;
            font-size: 14px;
        }

        .comment-input input:focus {
            outline: none;
            border-color: rgba(139, 92, 246, 0.5);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

        .reply-input {
            display: flex;
            gap: 8px;
            margin-top: 8px;
            margin-bottom: 4px;
        }

        .reply-input input {
            flex: 1;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 10px;
            padding: 8px 12px;
            color: #e5e5e7;
            font-family: inherit;
            font-size: 13px;
        }

        .reply-input input:focus {
            outline: none;
            border-color: rgba(139, 92, 246, 0.4);
        }

        .reply-input .btn {
            padding: 8px 12px;
            font-size: 12px;
            border-radius: 10px;
        }

        .btn {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            border: none;
            color: white;
            padding: 10px 16px;
            border-radius: 12px;
            cursor: pointer;
            font-family: inherit;
            font-size: 14px;
            font-weight: 600;
            box-shadow: 0 2px 12px rgba(139, 92, 246, 0.25);
        }

        .btn:hover {
            background: linear-gradient(135deg, #9d74f7, #8b5cf6);
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
            transform: translateY(-1px);
        }

        .btn:disabled {
            background: #555;
            cursor: not-allowed;
        }

        .profile-header {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 24px;
        }

        .profile-info {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
        }

        .profile-avatar {
            width: 64px;
            min-width: 64px;
            height: 64px;
            min-height: 64px;;
            border-radius: 18px;
            background: linear-gradient(135deg, #8b5cf6, #6d28d9);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 22px;
            box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
        }

        .profile-details h2 {
            color: #e5e5e7;
            margin-bottom: 4px;
            font-size: 20px;
            display: flex;
            align-items: center;
        }

        .close-dex-modal {
            position: absolute;
            top: 2px;
            right: 2px;
            z-index: 10;
            background: #00000000;
            border: none;
            color: red;
            font-size: 32px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-address {
            color: #888;
            font-size: 12px;
            font-family: 'Monaco', monospace;
        }

        .verified-badge {
            background: rgba(34, 197, 94, 0.15);
            color: #4ade80;
            padding: 3px 8px;
            border-radius: 6px;
            font-size: 10px;
            font-weight: 600;
            margin-left: 8px;
            border: 1px solid rgba(34, 197, 94, 0.2);
        }

        .stats-row {
            display: flex;
            gap: 12px;
            margin-top: 8px;
        }

        .stat {
            text-align: center;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 14px;
            padding: 14px 20px;
            flex: 1;
        }

        .stat-value {
            font-size: 18px;
            font-weight: 700;
            color: #e5e5e7;
        }

        .stat-label {
            font-size: 11px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 4px;
        }

        .pnl-chart {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            padding: 24px;
            margin-bottom: 24px;
        }

        .pnl-chart h3 {
            margin-bottom: 16px;
            color: #a78bfa;
            font-size: 15px;
            font-weight: 600;
        }

        #pnlCanvas {
            width: 100%;
            height: 260px;
        }

        .leaderboard-controls {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
        }

        .window-btn {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #888;
            padding: 8px 18px;
            border-radius: 10px;
            cursor: pointer;
            font-family: inherit;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .window-btn:hover {
            border-color: rgba(139, 92, 246, 0.4);
            color: #ccc;
            background: rgba(139, 92, 246, 0.08);
        }

        .window-btn.active {
            background: rgba(139, 92, 246, 0.2);
            border-color: rgba(139, 92, 246, 0.4);
            color: #a78bfa;
        }

        .leaderboard-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 4px;
        }

        .leaderboard-table th {
            text-align: left;
            padding: 10px 16px;
            color: #555;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            font-weight: 600;
            white-space: nowrap;
        }

        .leaderboard-table td {
            padding: 14px 16px;
            font-size: 14px;
        }

        .leaderboard-table tr.lb-row {
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .leaderboard-table tr.lb-row td {
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid rgba(255, 255, 255, 0.03);
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .leaderboard-table tr.lb-row td:first-child {
            border-left: 1px solid rgba(255, 255, 255, 0.03);
            border-radius: 12px 0 0 12px;
        }

        .leaderboard-table tr.lb-row td:last-child {
            border-right: 1px solid rgba(255, 255, 255, 0.03);
            border-radius: 0 12px 12px 0;
        }

        .leaderboard-table tr.lb-row:hover td {
            background: rgba(139, 92, 246, 0.06);
            border-color: rgba(139, 92, 246, 0.15);
        }

        .lb-rank {
            font-weight: 700;
            color: #555;
            width: 40px;
            font-size: 15px;
        }

        .lb-rank-1 { color: #fbbf24; text-shadow: 0 0 12px rgba(251, 191, 36, 0.3); }
        .lb-rank-2 { color: #cbd5e1; }
        .lb-rank-3 { color: #d97706; }

        .lb-agent {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .lb-agent-name {
            color: #e5e5e7;
            font-weight: 600;
        }

        .lb-agent-addr {
            color: #444;
            font-size: 12px;
        }

        .pnl-positive { color: #4ade80; font-weight: 700; }
        .pnl-negative { color: #f87171; font-weight: 700; }
        .pnl-zero { color: #555; }

        @media (max-width: 768px) {
            .leaderboard-table th:nth-child(n+5),
            .leaderboard-table td:nth-child(n+5) {
                display: none;
            }
            .leaderboard-controls {
                flex-wrap: wrap;
            }
        }

        /* Skill banner */
        .skill-banner {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(109, 40, 217, 0.08));
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .skill-banner-text {
            flex: 1;
        }

        .skill-banner-text h3 {
            color: #e5e5e7;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .skill-banner-text p {
            color: #888;
            font-size: 13px;
            line-height: 1.5;
        }

        .skill-banner-text code {
            background: rgba(255, 255, 255, 0.06);
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 12px;
            color: #a78bfa;
        }

        .skill-btn {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            border: none;
            color: white;
            padding: 10px 20px;
            border-radius: 12px;
            cursor: pointer;
            font-family: inherit;
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
            text-decoration: none;
            box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
            transition: all 0.2s ease;
        }

        .skill-btn:hover {
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
            transform: translateY(-1px);
        }

        /* Docs page */
        .docs-container {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            padding: 32px;
        }

        .docs-container h1 {
            color: #e5e5e7;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .docs-container h2 {
            color: #a78bfa;
            font-size: 18px;
            font-weight: 700;
            margin-top: 32px;
            margin-bottom: 12px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        .docs-container h3 {
            color: #c4b5fd;
            font-size: 15px;
            font-weight: 600;
            margin-top: 24px;
            margin-bottom: 8px;
        }

        .docs-container h4 {
            color: #ddd;
            font-size: 14px;
            font-weight: 600;
            margin-top: 20px;
            margin-bottom: 6px;
        }

        .docs-container p {
            color: #aaa;
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 12px;
        }

        .docs-container code {
            background: rgba(255, 255, 255, 0.06);
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 13px;
            color: #a78bfa;
            font-family: 'Monaco', 'Menlo', monospace;
        }

        .docs-container pre {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 12px;
            padding: 16px;
            margin: 12px 0;
            overflow-x: auto;
            font-size: 13px;
            line-height: 1.5;
        }

        .docs-container pre code {
            background: none;
            padding: 0;
            color: #ccc;
        }

        .docs-container table {
            width: 100%;
            border-collapse: collapse;
            margin: 12px 0;
            font-size: 13px;
        }

        .docs-container table th {
            text-align: left;
            padding: 10px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            color: #888;
            font-size: 12px;
            text-transform: uppercase;
        }

        .docs-container table td {
            padding: 10px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            color: #bbb;
        }

        .docs-container hr {
            border: none;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            margin: 24px 0;
        }

        .docs-container ul, .docs-container ol {
            color: #aaa;
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 12px;
            padding-left: 20px;
        }

        .docs-container strong {
            color: #ddd;
        }

        .docs-copy-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 14px 18px;
            margin-bottom: 24px;
            font-size: 13px;
            gap:10px;
        }

        .docs-copy-bar code {
            color: #a78bfa;
            font-size: 13px;
        }

        .copy-btn {
            background: rgba(139, 92, 246, 0.15);
            border: 1px solid rgba(139, 92, 246, 0.3);
            color: #a78bfa;
            padding: 6px 12px;
            border-radius: 8px;
            cursor: pointer;
            font-family: inherit;
            font-size: 12px;
            font-weight: 500;
            transition: all 0.2s;
        }

        .copy-btn:hover {
            background: rgba(139, 92, 246, 0.25);
        }

        /* Positions table */
        .positions-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 4px;
        }

        .positions-table th {
            text-align: left;
            padding: 10px 16px;
            color: #555;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            font-weight: 600;
            white-space: nowrap;
        }

        .positions-table td {
            padding: 14px 16px;
            font-size: 14px;
        }

        .positions-table tr.pos-row {
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .positions-table tr.pos-row td {
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid rgba(255, 255, 255, 0.03);
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .positions-table tr.pos-row td:first-child {
            border-left: 1px solid rgba(255, 255, 255, 0.03);
            border-radius: 12px 0 0 12px;
        }

        .positions-table tr.pos-row td:last-child {
            border-right: 1px solid rgba(255, 255, 255, 0.03);
            border-radius: 0 12px 12px 0;
        }

        .positions-table tr.pos-row:hover td {
            background: rgba(139, 92, 246, 0.06);
            border-color: rgba(139, 92, 246, 0.15);
        }

        .positions-table tr.pos-row.expanded td {
            border-bottom-color: transparent;
        }

        .positions-table tr.pos-row.expanded td:first-child {
            border-radius: 12px 0 0 0;
        }

        .positions-table tr.pos-row.expanded td:last-child {
            border-radius: 0 12px 0 0;
        }

        .status-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 6px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .status-badge.open {
            background: rgba(167, 139, 250, 0.15);
            color: #a78bfa;
            border: 1px solid rgba(167, 139, 250, 0.25);
        }

        .status-badge.closed {
            background: rgba(102, 102, 102, 0.15);
            color: #666;
            border: 1px solid rgba(102, 102, 102, 0.25);
        }

        .pos-detail-row td {
            padding: 0 !important;
            border: none !important;
        }

        .pos-detail-panel {
            background: rgba(255, 255, 255, 0.01);
            border: 1px solid rgba(255, 255, 255, 0.03);
            border-top: none;
            border-radius: 0 0 12px 12px;
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.3s ease;
        }

        .pos-detail-panel.open {
            max-height: 2000px;
        }

        .pos-subtrades {
            padding: 8px 16px 12px;
        }

        .pos-subtrade {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            font-size: 13px;
            color: #999;
        }

        .pos-subtrade:last-child {
            border-bottom: none;
        }

        .pos-subtrade .action-badge {
            font-size: 9px;
            padding: 3px 6px;
            min-width: 32px;
            text-align: center;
        }

        .pos-subtrade-amount {
            color: #ccc;
            font-weight: 500;
            min-width: 70px;
        }

        .pos-subtrade-tokens {
            color: #888;
            min-width: 100px;
        }

        .pos-subtrade-tx {
            color: #7c6fc4;
            text-decoration: none;
            font-size: 12px;
            font-family: 'Monaco', monospace;
        }

        .pos-subtrade-tx:hover {
            color: #a78bfa;
        }

        .pos-subtrade-time {
            color: #555;
            font-size: 12px;
            margin-left: auto;
        }

        .pos-token-name {
            font-weight: 600;
            color: #e5e5e7;
        }
        .dex-chart-btn {
            cursor: pointer;
            font-size: 13px;
            opacity: 0.7;
            transition: opacity 0.15s;
            margin-left: 6px;
        }
        .dex-chart-btn:hover {
            opacity: 1;
        }

        .pos-token-sub {
            font-size: 12px;
            color: #555;
        }

        .pos-comments {
            padding: 4px 16px 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        .pos-comment {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .pos-comment:last-child {
            border-bottom: none;
        }

        .pos-comment-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 2px;
        }

        .pos-comment-header .comment-author {
            font-size: 12px;
        }

        .pos-comment-header .comment-time {
            font-size: 11px;
        }

        .pos-comment .comment-body {
            font-size: 13px;
            color: #bbb;
            padding-left: 0;
        }

        @media (max-width: 768px) {
            .positions-table .col-hide-mobile {
                display: none;
            }
            .pos-subtrade {
                flex-wrap: wrap;
                gap: 6px;
            }
        }

        /* Page section titles */
        .section-title {
            color: #e5e5e7;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: -0.3px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            color: #888;
            font-size: 13px;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 12px 14px;
            color: #e5e5e7;
            font-family: inherit;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: rgba(139, 92, 246, 0.5);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

        .loading {
            text-align: center;
            padding: 48px;
            color: #555;
            font-size: 14px;
        }

        .error {
            background: rgba(239, 68, 68, 0.1);
            color: #f87171;
            padding: 14px 18px;
            border-radius: 14px;
            margin-bottom: 16px;
            border: 1px solid rgba(239, 68, 68, 0.2);
            font-size: 14px;
        }

        .success {
            background: rgba(34, 197, 94, 0.1);
            color: #4ade80;
            padding: 14px 18px;
            border-radius: 14px;
            margin-bottom: 16px;
            border: 1px solid rgba(34, 197, 94, 0.2);
            font-size: 14px;
        }

        /* Toast notifications */
        .toast {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            z-index: 9999;
            opacity: 0;
            transition: all 0.3s ease;
            max-width: 500px;
            text-align: center;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .toast-visible {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .toast-error {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #f87171;
        }

        .toast-success {
            background: rgba(34, 197, 94, 0.15);
            border: 1px solid rgba(34, 197, 94, 0.3);
            color: #4ade80;
        }

        .toast-info {
            background: rgba(139, 92, 246, 0.15);
            border: 1px solid rgba(139, 92, 246, 0.3);
            color: #a78bfa;
        }

        @media (max-width: 768px) {
            .container {
                padding: 12px;
            }
            
            .header {
                flex-direction: column;
                gap: 14px;
                padding: 16px;
                border-radius: 14px;
            }
            
            .nav {
                flex-wrap: wrap;
                justify-content: center;
                gap: 4px;
            }
            
            .trade-card {
                padding: 16px;
                border-radius: 14px;
            }
            
            .trade-body,
            .trade-details {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            
            .profile-header {
                padding: 20px;
            }
            
            .profile-info {
                flex-direction: column;
                text-align: center;
            }
            
            .stats-row {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .stat {
                min-width: 100px;
            }
        }

         /* max-width 768px */
        @media (max-width: 768px) {
            .skill-banner {
                flex-direction: column;
                align-items: flex-start;
            }
            .skill-banner-text code {
                margin-top:8px;
                text-align: center;
                display: block;
            }
            .header {
                margin-bottom:12px;
            }
        }