/* Pingl public dashboard presentation. */
:root {
    --color-page: #050507;
    --color-surface: rgba(255, 255, 255, 0.02);
    --color-surface-raised: rgba(255, 255, 255, 0.04);
    --color-text: #e4e4e7;
    --color-text-strong: #fafafa;
    --color-text-muted: #71717a;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-accent: #fbbf24;
    --color-danger: #f87171;
    --color-success: #4ade80;
}

body.light-mode {
    --color-page: #f4f4f5;
    --color-surface: #ffffff;
    --color-surface-raised: #f4f4f5;
    --color-text: #27272a;
    --color-text-strong: #18181b;
    --color-text-muted: #71717a;
    --color-border: rgba(0, 0, 0, 0.12);
}

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

        body {
            background: var(--color-page);
            color: var(--color-text);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            padding: 32px 24px;
            min-height: 100vh;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 960px;
            margin: 0 auto;
        }

        .header {
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 32px 28px;
            margin-bottom: 28px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            backdrop-filter: blur(12px);
        }

        .header h1 {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 6px;
            color: var(--color-text-strong);
        }

        .header .subtitle {
            color: var(--color-text-muted);
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 16px;
        }

        .instructions {
            background: rgba(255, 255, 255, 0.03);
            border-left: 3px solid rgba(255, 255, 255, 0.2);
            padding: 14px 18px;
            margin-bottom: 16px;
            font-size: 13px;
            color: #a1a1aa;
            border-radius: 0 8px 8px 0;
        }

        .instructions strong {
            color: var(--color-text-strong);
            font-weight: 600;
        }

        .status-bar {
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 24px 28px;
            margin-bottom: 28px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            backdrop-filter: blur(12px);
        }

        .status {
            display: flex;
            align-items: center;
            gap: 14px;
            flex: 1;
        }

        .status-indicator {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--color-danger);
            animation: pulse 2s infinite;
        }

        .status-dot.connected {
            background: var(--color-success);
            animation: none;
            box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
        }

        .status-text {
            font-size: 15px;
            font-weight: 600;
            color: var(--color-text-strong);
        }

        .status-subtext {
            font-size: 12px;
            color: var(--color-text-muted);
            font-weight: 500;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        button {
            background: #fafafa;
            border: none;
            color: #050507;
            padding: 12px 24px;
            font-family: inherit;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.2s ease;
            min-width: 180px;
        }

        button:hover:not(:disabled) {
            background: #e4e4e7;
            transform: translateY(-1px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        }

        button:active:not(:disabled) {
            transform: translateY(0);
        }

        button:disabled {
            background: rgba(255, 255, 255, 0.06);
            color: var(--color-text-muted);
            cursor: not-allowed;
        }

        button.disconnect {
            background: rgba(248, 113, 113, 0.15);
            color: var(--color-danger);
        }

        button.disconnect:hover:not(:disabled) {
            background: rgba(248, 113, 113, 0.25);
            color: #fca5a5;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            margin-bottom: 28px;
        }

        .card {
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 28px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            backdrop-filter: blur(12px);
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .card:hover {
            border-color: rgba(255, 255, 255, 0.12);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
        }

        .card-header {
            font-size: 11px;
            letter-spacing: 0.08em;
            color: var(--color-text-muted);
            margin-bottom: 12px;
            text-transform: uppercase;
            font-weight: 600;
        }

        .card-value {
            font-size: 42px;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 6px;
            color: var(--color-text-strong);
        }

        .card-label {
            font-size: 13px;
            color: var(--color-text-muted);
            margin-bottom: 16px;
            font-weight: 500;
        }

        .comparison {
            font-size: 13px;
            margin-top: 12px;
            padding: 10px 14px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .comparison-icon {
            font-size: 14px;
            font-weight: 600;
        }

        .comparison.positive {
            background: rgba(74, 222, 128, 0.08);
            border-left: 3px solid #4ade80;
        }

        .comparison.positive .comparison-icon {
            color: #4ade80;
        }

        .comparison.negative {
            background: rgba(248, 113, 113, 0.08);
            border-left: 3px solid #f87171;
        }

        .comparison.negative .comparison-icon {
            color: var(--color-danger);
        }

        .comparison.neutral {
            background: rgba(255, 255, 255, 0.04);
            border-left: 3px solid #71717a;
        }

        .comparison.neutral .comparison-icon {
            color: var(--color-text-muted);
        }

        .activity-log {
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.02);
            margin-bottom: 28px;
            overflow: hidden;
            backdrop-filter: blur(12px);
        }

        .activity-log-header {
            padding: 18px 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.02);
        }

        .activity-log-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--color-text-strong);
        }

        .clear-log-btn {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--color-text-muted);
            padding: 8px 14px;
            font-size: 12px;
            font-weight: 500;
            border-radius: 8px;
            min-width: auto;
        }

        .clear-log-btn:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.15);
            color: var(--color-text-strong);
            transform: none;
            box-shadow: none;
        }

        .terminal {
            padding: 18px 24px;
            height: 240px;
            overflow-y: auto;
            font-size: 12px;
            font-weight: 500;
        }

        .terminal-line {
            margin-bottom: 10px;
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }

        .terminal-line .timestamp {
            color: var(--color-text-muted);
            min-width: 80px;
            font-size: 11px;
        }

        .terminal-line .type {
            color: #a1a1aa;
            min-width: 60px;
            font-weight: 600;
        }

        .terminal-line.success .type {
            color: #4ade80;
        }

        .terminal-line.error .type {
            color: var(--color-danger);
        }

        .terminal-line .message {
            color: #a1a1aa;
            flex: 1;
        }

        .controls {
            display: flex;
            gap: 12px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .control-btn {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #a1a1aa;
            padding: 10px 20px;
            min-width: auto;
            font-size: 13px;
            font-weight: 500;
            border-radius: 10px;
        }

        .control-btn:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
            color: var(--color-text-strong);
            transform: none;
            box-shadow: none;
        }

        .help-section {
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 20px 24px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            margin-bottom: 28px;
            backdrop-filter: blur(12px);
        }

        .help-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--color-text-strong);
            margin-bottom: 12px;
        }

        .help-content {
            font-size: 13px;
            color: var(--color-text-muted);
            line-height: 1.8;
            font-weight: 500;
        }

        .help-content strong {
            color: var(--color-text);
        }

        .footer {
            text-align: center;
            padding: 28px;
            font-size: 12px;
            color: var(--color-text-muted);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            font-weight: 500;
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.12);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .loading {
            opacity: 0.6;
            pointer-events: none;
        }

        .spinner {
            display: inline-block;
            width: 14px;
            height: 14px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-top-color: var(--color-text-strong);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .chat-list {
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.02);
            margin-bottom: 28px;
            overflow: hidden;
            backdrop-filter: blur(12px);
        }

        .chat-list-header {
            padding: 18px 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .chat-list-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--color-text-strong);
            letter-spacing: 0;
        }

        .chat-list-count {
            font-size: 11px;
            font-weight: 500;
            color: var(--color-text-muted);
            background: rgba(255, 255, 255, 0.06);
            padding: 4px 12px;
            border-radius: 20px;
        }

        .chat-table {
            width: 100%;
            border-collapse: collapse;
        }

        .chat-table th {
            padding: 12px 20px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--color-text-muted);
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.02);
            font-weight: 600;
        }

        .chat-table td {
            padding: 14px 20px;
            font-size: 13px;
            color: var(--color-text);
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            vertical-align: middle;
            font-weight: 500;
        }

        .chat-table tr:last-child td {
            border-bottom: none;
        }

        .chat-table tr:hover {
            background: rgba(255, 255, 255, 0.03);
        }

        .chat-table tr.active-chat {
            background: rgba(74, 222, 128, 0.06);
        }

        .chat-table tr.active-chat:hover {
            background: rgba(74, 222, 128, 0.1);
        }

        .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }

        .live-dot.live {
            background: var(--color-success);
            box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
            animation: pulse-live 1.5s ease-in-out infinite;
        }

        .live-dot.ended {
            background: #71717a;
        }

        @keyframes pulse-live {
            0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(74, 222, 128, 0.5); }
            50% { opacity: 0.8; box-shadow: 0 0 16px rgba(74, 222, 128, 0.7); }
        }

        .nft-placeholder {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: var(--color-text-muted);
        }

        .chat-empty {
            padding: 36px 24px;
            text-align: center;
            color: var(--color-text-muted);
            font-size: 13px;
            font-weight: 500;
        }

        .chat-duration-live {
            color: #4ade80;
            font-weight: 600;
        }

        .target-address-bar {
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 18px 24px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 14px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            backdrop-filter: blur(12px);
        }

        .target-address-bar label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.08em;
            color: var(--color-text-muted);
            white-space: nowrap;
            text-transform: uppercase;
        }

        .target-address-bar input {
            width: 200px;
            padding: 10px 14px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: var(--color-text-strong);
            font-family: inherit;
            font-size: 13px;
            font-weight: 500;
            outline: none;
            transition: border-color 0.2s;
        }

        .target-address-bar input:focus {
            border-color: rgba(255, 255, 255, 0.25);
        }

        .target-address-bar input.saved {
            border-color: #4ade80;
        }

        .target-address-bar .ok-btn {
            background: #fafafa;
            border: none;
            color: #050507;
            padding: 10px 18px;
            font-family: inherit;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            border-radius: 10px;
            min-width: auto;
            transition: all 0.2s;
        }

        .target-address-bar .ok-btn:hover {
            background: #e4e4e7;
        }

        .target-address-bar .addr-status {
            font-size: 12px;
            color: var(--color-text-muted);
            font-weight: 500;
        }

        .target-address-bar .addr-status.ok {
            color: #4ade80;
        }

        .nft-link {
            color: #a1a1aa;
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
        }

        .nft-link:hover {
            color: var(--color-text-strong);
            text-decoration: underline;
        }

        .nft-minting {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--color-text-muted);
            font-weight: 500;
        }

        #silenceCountdown {
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 16px 24px;
            margin-bottom: 28px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            backdrop-filter: blur(12px);
        }

        @media (max-width: 600px) {
            body {
                padding: 20px 16px;
            }

            .header {
                padding: 24px 20px;
                margin-bottom: 20px;
                border-radius: 12px;
            }

            .header h1 {
                font-size: 26px;
            }

            .status-bar {
                flex-direction: column;
                gap: 16px;
                align-items: stretch;
                text-align: center;
                border-radius: 12px;
            }

            .status {
                justify-content: center;
                margin-bottom: 8px;
            }

            button {
                width: 100%;
                min-width: unset;
            }

            .target-address-bar {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
                border-radius: 12px;
            }

            .target-address-bar input {
                width: 100%;
                box-sizing: border-box;
            }

            .target-address-bar label {
                text-align: center;
                margin-bottom: -4px;
            }

            .chat-list {
                overflow-x: auto;
                border-radius: 12px;
            }

            .chat-table th,
            .chat-table td {
                padding: 10px 14px;
                font-size: 12px;
            }

            .grid {
                gap: 16px;
            }

            .controls {
                flex-direction: column;
                gap: 8px;
            }

            .control-btn {
                width: 100%;
            }

            .help-section {
                padding: 16px 20px;
                border-radius: 12px;
            }
        }

        /* Theme toggle */
        .theme-toggle-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }

        .theme-toggle-wrap span {
            font-size: 12px;
            font-weight: 500;
            color: var(--color-text-muted);
        }

        .theme-toggle {
            position: relative;
            width: 44px;
            height: 24px;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s;
            flex-shrink: 0;
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.18);
        }

        .theme-toggle::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 18px;
            height: 18px;
            background: #fafafa;
            border-radius: 50%;
            transition: transform 0.2s ease;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        .theme-toggle[aria-pressed="true"]::after {
            transform: translateX(20px);
        }

        body.light-mode .theme-toggle {
            background: rgba(0, 0, 0, 0.1);
            border-color: rgba(0, 0, 0, 0.12);
        }

        body.light-mode .theme-toggle:hover {
            background: rgba(0, 0, 0, 0.15);
        }

        body.light-mode .theme-toggle::after {
            background: #09090b;
        }

        body.light-mode .theme-toggle-wrap span {
            color: var(--color-text-muted);
        }

        /* Light mode overrides */
        body.light-mode {
            background: #f4f4f5;
            color: #18181b;
        }

        body.light-mode .header {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        body.light-mode .header h1 {
            color: #09090b;
        }

        body.light-mode .header .subtitle {
            color: var(--color-text-muted);
        }

        body.light-mode .instructions {
            background: rgba(0, 0, 0, 0.04);
            border-left-color: rgba(0, 0, 0, 0.2);
            color: #52525b;
        }

        body.light-mode .instructions strong {
            color: #09090b;
        }

        body.light-mode .status-bar {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        body.light-mode .status-text {
            color: #09090b;
        }

        body.light-mode .status-subtext {
            color: var(--color-text-muted);
        }

        body.light-mode button {
            background: #09090b;
            color: var(--color-text-strong);
        }

        body.light-mode button:hover:not(:disabled) {
            background: #27272a;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }

        body.light-mode button:disabled {
            background: rgba(0, 0, 0, 0.06);
            color: #a1a1aa;
        }

        body.light-mode button.disconnect {
            background: rgba(239, 68, 68, 0.12);
            color: #dc2626;
        }

        body.light-mode button.disconnect:hover:not(:disabled) {
            background: rgba(239, 68, 68, 0.2);
            color: #b91c1c;
        }

        body.light-mode .card {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        body.light-mode .card:hover {
            border-color: rgba(0, 0, 0, 0.12);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        }

        body.light-mode .card-header {
            color: var(--color-text-muted);
        }

        body.light-mode .card-value {
            color: #09090b;
        }

        body.light-mode .card-label {
            color: var(--color-text-muted);
        }

        body.light-mode .comparison {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.06);
        }

        body.light-mode .comparison.positive {
            background: rgba(34, 197, 94, 0.1);
            border-left-color: #22c55e;
        }

        body.light-mode .comparison.positive .comparison-icon {
            color: #22c55e;
        }

        body.light-mode .comparison.negative {
            background: rgba(239, 68, 68, 0.1);
            border-left-color: #ef4444;
        }

        body.light-mode .comparison.negative .comparison-icon {
            color: #ef4444;
        }

        body.light-mode .comparison.neutral {
            background: rgba(0, 0, 0, 0.04);
            border-left-color: var(--color-text-muted);
        }

        body.light-mode .activity-log {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        body.light-mode .activity-log-header {
            border-bottom-color: rgba(0, 0, 0, 0.06);
            background: #fafafa;
        }

        body.light-mode .activity-log-title {
            color: #09090b;
        }

        body.light-mode .clear-log-btn {
            border-color: rgba(0, 0, 0, 0.12);
            color: var(--color-text-muted);
        }

        body.light-mode .clear-log-btn:hover:not(:disabled) {
            background: rgba(0, 0, 0, 0.06);
            border-color: rgba(0, 0, 0, 0.15);
            color: #09090b;
        }

        body.light-mode .terminal-line .timestamp {
            color: var(--color-text-muted);
        }

        body.light-mode .terminal-line .type {
            color: #52525b;
        }

        body.light-mode .terminal-line .message {
            color: #52525b;
        }

        body.light-mode .terminal-line.success .type {
            color: #22c55e;
        }

        body.light-mode .terminal-line.error .type {
            color: #ef4444;
        }

        body.light-mode .control-btn {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.1);
            color: #52525b;
        }

        body.light-mode .control-btn:hover:not(:disabled) {
            background: rgba(0, 0, 0, 0.08);
            border-color: rgba(0, 0, 0, 0.15);
            color: #09090b;
        }

        body.light-mode .help-section {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        body.light-mode .help-title {
            color: #09090b;
        }

        body.light-mode .help-content {
            color: var(--color-text-muted);
        }

        body.light-mode .help-content strong {
            color: #18181b;
        }

        body.light-mode .footer {
            color: var(--color-text-muted);
            border-top-color: rgba(0, 0, 0, 0.06);
        }

        body.light-mode ::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.2);
        }

        body.light-mode ::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.3);
        }

        body.light-mode .spinner {
            border-color: rgba(0, 0, 0, 0.15);
            border-top-color: #09090b;
        }

        body.light-mode .chat-list {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        body.light-mode .chat-list-header {
            border-bottom-color: rgba(0, 0, 0, 0.06);
        }

        body.light-mode .chat-list-title {
            color: #09090b;
        }

        body.light-mode .chat-list-count {
            color: var(--color-text-muted);
            background: rgba(0, 0, 0, 0.06);
        }

        body.light-mode .chat-table th {
            color: var(--color-text-muted);
            border-bottom-color: rgba(0, 0, 0, 0.06);
            background: #fafafa;
        }

        body.light-mode .chat-table td {
            color: #18181b;
            border-bottom-color: rgba(0, 0, 0, 0.04);
        }

        body.light-mode .chat-table tr:hover {
            background: rgba(0, 0, 0, 0.02);
        }

        body.light-mode .chat-table tr.active-chat {
            background: rgba(34, 197, 94, 0.08);
        }

        body.light-mode .chat-table tr.active-chat:hover {
            background: rgba(34, 197, 94, 0.12);
        }

        body.light-mode .live-dot.ended {
            background: #71717a;
        }

        body.light-mode .nft-placeholder {
            background: rgba(0, 0, 0, 0.06);
            border-color: rgba(0, 0, 0, 0.1);
            color: var(--color-text-muted);
        }

        body.light-mode .chat-empty {
            color: var(--color-text-muted);
        }

        body.light-mode .chat-duration-live {
            color: #22c55e;
        }

        body.light-mode .target-address-bar {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        body.light-mode .target-address-bar input {
            background: #f4f4f5;
            border-color: rgba(0, 0, 0, 0.12);
            color: #09090b;
        }

        body.light-mode .target-address-bar input:focus {
            border-color: rgba(0, 0, 0, 0.25);
        }

        body.light-mode .target-address-bar .ok-btn {
            background: #09090b;
            color: var(--color-text-strong);
        }

        body.light-mode .target-address-bar .ok-btn:hover {
            background: #27272a;
        }

        body.light-mode .target-address-bar .addr-status.ok {
            color: #22c55e;
        }

        body.light-mode .nft-link {
            color: #52525b;
        }

        body.light-mode .nft-link:hover {
            color: #09090b;
        }

        body.light-mode .nft-minting {
            color: var(--color-text-muted);
        }

        body.light-mode #silenceCountdown {
            border-color: rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

.countdown-label-row { font-size: 12px; color: var(--color-text-muted); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.countdown-label { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.countdown-seconds { color: var(--color-accent); font-weight: 600; font-size: 14px; }
.countdown-track { height: 6px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.countdown-bar { height: 100%; width: var(--remaining-percent, 100%); background: var(--color-accent); border-radius: 4px; transition: width 1s linear; }
.countdown-bar.is-urgent { background: var(--color-danger); }
.chat-status-indicator { font-size: 13px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--color-surface-raised); border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 8px; }
.chat-status-indicator span { color: var(--color-text-muted); font-weight: 500; }
.chat-table th:nth-child(1) { width: 50px; }
.chat-table th:nth-child(2), .chat-table th:nth-child(5) { width: 60px; }
.nft-cell { text-align: center; }
.nft-image { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); display: block; margin: 0 auto; transition: transform 0.2s, border-color 0.2s; }
.nft-image:hover, .nft-image:focus-visible { transform: scale(1.1); border-color: rgba(255,255,255,0.25); }
.nft-error { color: var(--color-danger); font-size: 16px; }
.nft-placeholder { margin: 0 auto; }
.addr-status.invalid { color: var(--color-danger); }

.card-header { margin-top: 0; }
