/* === Detail Modal Overlay === */ .detail-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh; background: rgba(4, 5, 8, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: center; z-index: 100000; padding: 1rem; box-sizing: border-box; } /* === Floating Exit Button (Always visible on desktop overlay) === */ .modal-floating-close-btn { position: fixed; top: 16px; right: 20px; z-index: 100002; background: rgba(11, 12, 16, 0.95); border: 1px solid rgba(102, 252, 241, 0.4); color: #66fcf1; padding: 0.45rem 0.95rem; border-radius: 20px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.8px; display: flex; align-items: center; gap: 7px; cursor: pointer; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 12px rgba(102, 252, 241, 0.25); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); } .modal-floating-close-btn:hover { background: #66fcf1; color: #0b0c10; box-shadow: 0 0 22px rgba(102, 252, 241, 0.8); transform: scale(1.04); } /* === Modal Card === */ .detail-modal-card { background: #0b0c10; border: 1px solid rgba(102, 252, 241, 0.25); box-shadow: 0 10px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(102, 252, 241, 0.08); border-radius: 14px; width: 100%; max-width: 960px; height: calc(100vh - 2rem); height: calc(100dvh - 2rem); max-height: 880px; display: flex; flex-direction: column; overflow: hidden; position: relative; } /* === Modal Top Nav Bar (Always visible, prominent Back button) === */ .modal-top-nav-bar { background: #06070a; border-bottom: 1px solid rgba(102, 252, 241, 0.25); padding: 0.55rem 1.2rem; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 0.8rem; position: sticky; top: 0; z-index: 20; } .back-to-scanner-btn { background: #66fcf1; color: #0b0c10; border: 1px solid #66fcf1; border-radius: 6px; padding: 0.45rem 0.95rem; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.7px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 0 16px rgba(102, 252, 241, 0.4); transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1); text-transform: uppercase; } .back-to-scanner-btn:hover { background: #ffffff; border-color: #ffffff; color: #000000; box-shadow: 0 0 24px rgba(102, 252, 241, 0.8); transform: translateX(-2px); } .top-nav-actions { display: flex; align-items: center; gap: 0.6rem; } .esc-key-hint { font-size: 0.64rem; color: var(--text-muted); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); padding: 2px 7px; border-radius: 4px; } /* === Modal Token Identity Banner === */ .modal-token-banner { padding: 0.75rem 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, 0.45); flex-shrink: 0; gap: 0.8rem; min-height: 58px; box-sizing: border-box; } .banner-left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex: 1; } .banner-inline-back-btn { background: rgba(102, 252, 241, 0.12); border: 1px solid rgba(102, 252, 241, 0.4); color: #66fcf1; border-radius: 6px; padding: 0.35rem 0.65rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; flex-shrink: 0; transition: all 0.15s ease; box-shadow: 0 0 10px rgba(102, 252, 241, 0.15); } .banner-inline-back-btn:hover { background: #66fcf1; color: #0b0c10; box-shadow: 0 0 16px rgba(102, 252, 241, 0.6); transform: translateX(-2px); } .modal-token-logo { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(102, 252, 241, 0.3); flex-shrink: 0; object-fit: cover; } .modal-title-box { min-width: 0; overflow: hidden; } .modal-token-name { font-size: 1.05rem; font-weight: 800; margin: 0; color: var(--text-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.4px; display: flex; align-items: center; gap: 6px; } .token-symbol-badge { font-size: 0.75rem; color: var(--accent-cyan); font-family: monospace; } .modal-token-addr { font-size: 0.64rem; color: var(--text-muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; } .modal-token-addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .copy-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 1px 3px; display: inline-flex; align-items: center; transition: color 0.15s; } .copy-btn:hover { color: var(--accent-cyan); } .addr-link { color: var(--accent-cyan); text-decoration: none; display: inline-flex; align-items: center; opacity: 0.8; transition: opacity 0.15s; } .addr-link:hover { opacity: 1; text-decoration: underline; } .banner-right, .modal-header-right { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; } .curve-status-chip { font-size: 0.68rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; letter-spacing: 0.5px; white-space: nowrap; } .curve-status-chip.on-curve { background: rgba(102, 252, 241, 0.12); border: 1px solid var(--accent-cyan); color: var(--accent-cyan); } .curve-status-chip.migrated { background: rgba(46, 204, 113, 0.12); border: 1px solid var(--accent-green); color: var(--accent-green); } .header-trade-cta { background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(0, 200, 150, 0.2)); border: 1px solid var(--accent-cyan); color: var(--accent-cyan); padding: 0.4rem 0.85rem; border-radius: 8px; font-size: 0.72rem; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; white-space: nowrap; } .header-trade-cta:hover { background: var(--accent-cyan); color: #0b0c10; box-shadow: 0 0 14px rgba(102, 252, 241, 0.4); } .modal-close-icon { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-muted); cursor: pointer; padding: 0.35rem; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s; } .modal-close-icon:hover { background: rgba(255, 75, 75, 0.15); color: var(--accent-red); border-color: rgba(255, 75, 75, 0.3); } /* === Navigation Tabs === */ .modal-tab-selector { flex-shrink: 0; display: flex; gap: 8px; padding: 0.65rem 1.2rem 0.55rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: rgba(0, 0, 0, 0.35); overflow-x: auto; } .tab-btn { background: transparent; border: 1px solid transparent; color: var(--text-muted); font-size: 0.74rem; font-weight: 800; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.15s; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; letter-spacing: 0.5px; } .tab-btn.active { background: rgba(102, 252, 241, 0.12); border-color: var(--accent-cyan); color: var(--accent-cyan); box-shadow: 0 0 10px rgba(102, 252, 241, 0.15); } /* === Modal Body Content === */ .modal-body-content { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 1rem 1.2rem; box-sizing: border-box; } .tab-pane { display: flex; flex-direction: column; gap: 1rem; } /* === Bonding Curve Telemetry Banner === */ .curve-telemetry-banner { background: linear-gradient(145deg, rgba(16, 20, 28, 0.95), rgba(8, 12, 18, 0.95)); border: 1px solid rgba(102, 252, 241, 0.2); border-radius: 12px; padding: 1.2rem; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); } .curve-banner-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; } .curve-title { font-size: 0.82rem; font-weight: 900; letter-spacing: 0.8px; color: var(--accent-cyan); display: block; } .curve-desc { font-size: 0.7rem; color: var(--text-muted); margin: 3px 0 0; line-height: 1.4; } .curve-percent-badge { font-size: 1.5rem; font-weight: 900; color: var(--accent-green); white-space: nowrap; text-shadow: 0 0 12px rgba(46, 204, 113, 0.4); } .curve-percent-sub { font-size: 0.65rem; color: var(--text-muted); display: block; text-align: right; letter-spacing: 0.5px; } .curve-progress-bar-bg { width: 100%; height: 12px; background: rgba(255, 255, 255, 0.05); border-radius: 6px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 1.1rem; } .curve-progress-bar-fill { height: 100%; background: linear-gradient(90deg, #1f4068, var(--accent-cyan), var(--accent-green)); border-radius: 6px; transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 0 12px rgba(102, 252, 241, 0.6); } /* Key Metrics Grid */ .curve-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.1rem; } .curve-stat-card { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 8px; padding: 0.65rem 0.8rem; display: flex; flex-direction: column; gap: 4px; } .stat-label { font-size: 0.62rem; font-weight: 800; color: var(--text-muted); letter-spacing: 0.5px; } .stat-value { font-size: 1rem; font-weight: 800; color: var(--text-bright); } /* Actions Row */ .curve-actions-row { display: flex; gap: 0.75rem; flex-wrap: wrap; } .curve-primary-btn { flex: 2; min-width: 220px; background: linear-gradient(135deg, var(--accent-cyan), #00c896); color: #0b0c10; text-decoration: none; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.6px; padding: 0.75rem 1.2rem; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 0 18px rgba(102, 252, 241, 0.35); } .curve-primary-btn:hover { box-shadow: 0 0 28px rgba(102, 252, 241, 0.6); transform: translateY(-1px); } .curve-secondary-btn { flex: 1; min-width: 180px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text-bright); font-size: 0.78rem; font-weight: 800; padding: 0.75rem 1rem; border-radius: 8px; cursor: pointer; transition: all 0.2s; text-align: center; } .curve-secondary-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent-cyan); color: var(--accent-cyan); } /* Chart Embed */ .chart-embed-wrapper { width: 100%; height: 460px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #000; } .chart-iframe { width: 100%; height: 100%; border: none; display: block; } /* Quick Links Bar */ .quick-links-bar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 0.6rem 0.8rem; background: rgba(0, 0, 0, 0.35); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.05); } .quick-links-label { font-size: 0.68rem; color: var(--text-muted); font-weight: 700; margin-right: 4px; } .quick-chip { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); color: var(--text-muted); font-size: 0.68rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; text-decoration: none; transition: all 0.15s; } .quick-chip:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); background: rgba(102, 252, 241, 0.08); } /* === Security Audit Pane === */ .audit-header-summary { background: rgba(0, 0, 0, 0.35); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.06); padding: 0.9rem 1.1rem; } .audit-summary-title { margin: 0; font-size: 0.85rem; font-weight: 900; color: var(--text-bright); display: flex; align-items: center; gap: 8px; letter-spacing: 0.6px; } .audit-summary-desc { margin: 4px 0 0; font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; } .audit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; } .audit-card { background: rgba(16, 20, 28, 0.75); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.65rem; } .audit-card-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 0.5rem; } .audit-card-title { font-size: 0.7rem; font-weight: 900; color: var(--text-muted); letter-spacing: 0.6px; } .audit-badge { font-size: 0.62rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; } .badge-good { background: rgba(46, 204, 113, 0.15); color: var(--accent-green); border: 1px solid var(--accent-green); } .badge-warn { background: rgba(241, 196, 15, 0.15); color: #f1c40f; border: 1px solid #f1c40f; } .badge-danger { background: rgba(231, 76, 60, 0.15); color: var(--accent-red); border: 1px solid var(--accent-red); } .audit-card-body { display: flex; flex-direction: column; gap: 0.45rem; } .audit-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; gap: 0.5rem; } .audit-row .lbl { color: var(--text-muted); flex-shrink: 0; } .audit-row .val { color: var(--text-bright); text-align: right; word-break: break-all; } /* === Modal Bottom Return Bar === */ .modal-bottom-return-bar { background: #06070a; border-top: 1px solid rgba(102, 252, 241, 0.2); padding: 0.55rem 1.2rem; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 0.8rem; z-index: 10; } .bottom-back-btn { background: rgba(102, 252, 241, 0.12); border: 1px solid var(--accent-cyan); color: var(--accent-cyan); border-radius: 6px; padding: 0.42rem 0.95rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 0 10px rgba(102, 252, 241, 0.15); } .bottom-back-btn:hover { background: var(--accent-cyan); color: #0b0c10; box-shadow: 0 0 16px rgba(102, 252, 241, 0.5); transform: translateX(-2px); } .bottom-esc-hint { font-size: 0.62rem; color: var(--text-muted); } /* === Responsive Mobile Styling === */ @media (max-width: 768px) { .detail-modal-overlay { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; width: 100vw !important; height: 100% !important; height: 100vh !important; height: 100dvh !important; padding: 0 !important; margin: 0 !important; background: #0b0c10 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; z-index: 100000 !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; } .detail-modal-card { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; max-width: 100% !important; height: 100% !important; height: 100vh !important; height: 100dvh !important; max-height: 100% !important; max-height: 100vh !important; max-height: 100dvh !important; border-radius: 0 !important; border: none !important; background: #0b0c10 !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; -webkit-transform: translateZ(0); transform: translateZ(0); } .modal-floating-close-btn { display: none !important; } .modal-top-nav-bar { position: sticky !important; top: 0 !important; z-index: 10001 !important; background: #06070a !important; border-bottom: 2px solid #66fcf1 !important; padding: 0.6rem 0.85rem !important; min-height: 52px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; flex-shrink: 0 !important; } .back-to-scanner-btn { font-size: 0.78rem !important; padding: 0.5rem 0.95rem !important; min-height: 40px !important; display: inline-flex !important; align-items: center !important; gap: 7px !important; font-weight: 900 !important; } .modal-close-icon { width: 40px !important; height: 40px !important; display: flex !important; align-items: center !important; justify-content: center !important; } .modal-token-banner { flex-wrap: wrap !important; padding: 0.6rem 0.85rem !important; gap: 0.5rem !important; min-height: auto !important; background: rgba(0, 0, 0, 0.6) !important; } .banner-right .curve-status-chip, .modal-header-right .curve-status-chip { display: none; } .modal-tab-selector { padding: 0.5rem 0.85rem; } .tab-btn { font-size: 0.7rem; padding: 6px 12px; } .modal-body-content { flex: 1 1 auto !important; min-height: 0 !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; padding: 0.75rem 0.85rem !important; } .curve-telemetry-banner { padding: 0.85rem; } .curve-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } .curve-primary-btn, .curve-secondary-btn { min-width: 0; width: 100%; padding: 0.65rem 0.85rem; } .audit-grid { grid-template-columns: 1fr; gap: 0.75rem; } .curve-actions-row { flex-direction: column; gap: 0.5rem; } .chart-embed-wrapper { height: 320px; } .modal-bottom-return-bar { position: sticky !important; bottom: 0 !important; z-index: 10001 !important; background: #06070a !important; border-top: 1px solid rgba(102, 252, 241, 0.25) !important; padding: 0.6rem 0.85rem !important; min-height: 50px !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; } .bottom-back-btn { width: 100% !important; justify-content: center !important; padding: 0.6rem 1rem !important; min-height: 42px !important; font-size: 0.78rem !important; font-weight: 800 !important; } .bottom-esc-hint { display: none; } } @media (max-width: 420px) { .modal-token-name { font-size: 0.92rem; } .token-symbol-badge { font-size: 0.7rem; } .stat-value { font-size: 0.88rem; } .chart-embed-wrapper { height: 280px; } }