:root { --primary-gradient: linear-gradient(135deg, #7e22ce 0%, #3b82f6 100%); --primary-color: #7e22ce; --secondary-color: #3b82f6; --tertiary-color: #61DAFB; --text-primary: #2D3748; --text-secondary: #718096; --green-color: #0ACF83; --red-color: #F25F5C; --purple-color: #9C6ADE; --shadow-color: rgba(115, 102, 255, 0.15); --border-radius: 12px; --uiScale: 1; } @media (max-width: 420px) { :root { --uiScale: 0.85; } } .prediction-overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(12, 15, 29, .85); backdrop-filter: blur(5px); padding: 16px; z-index: 2147483646; opacity: 0; animation: menuFadeIn .25s forwards; font-family: 'Poppins', sans-serif; display: none; } .prediction-container { background: #fff; color: var(--text-primary); border-radius: var(--border-radius); box-shadow: 0 10px 30px var(--shadow-color), 0 0 0 1px rgba(220, 220, 250, 0.1); width: 100%; max-width: 300px; overflow: hidden; transform: scale(.97); opacity: 0; animation: menuScale .25s .05s forwards; } .prediction-header { background: var(--primary-gradient); color: #fff; padding: 12px; text-align: center; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .prediction-header h2 { margin: 0; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; } .prediction-header svg { width: 16px; height: 16px; } .prediction-header .close-btn { position: absolute; right: 10px; top: 10px; background: rgba(255, 255, 255, 0.15); border: none; color: white; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; padding: 0; transition: all 0.2s ease; } .prediction-header .close-btn:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); } .prediction-content { padding: 0; } .prediction-section { padding: 12px; background: linear-gradient(to bottom, rgba(249, 250, 255, 1) 0%, rgba(255, 255, 255, 1) 100%); border-bottom: 1px solid #f0f6ff; } .info-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 8px 12px; } .info-item { display: flex; flex-direction: column; gap: 3px; } .info-label { color: var(--text-secondary); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3px; } .info-value { color: var(--text-primary); font-weight: 600; font-size: 12px; display: flex; align-items: center; } .info-tag { background: var(--primary-gradient); color: white; padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 500; margin-left: 4px; box-shadow: 0 2px 4px rgba(97, 218, 251, 0.2); text-transform: uppercase; letter-spacing: 0.3px; } .prediction-timer { color: var(--primary-color); font-weight: 600; font-size: 12px; display: flex; align-items: center; gap: 4px; } .prediction-timer svg { width: 14px; height: 14px; color: var(--primary-color); } .prediction-timer .result-tag { padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; display: inline-block; min-width: 36px; text-align: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); letter-spacing: 0.3px; } .tab-container { display: flex; border-bottom: 1px solid #f0f6ff; padding: 0; background: #fff; } .tab { padding: 10px 12px; cursor: pointer; color: var(--text-secondary); font-size: 12px; font-weight: 500; position: relative; display: flex; align-items: center; gap: 4px; transition: all 0.2s ease; flex: 1; justify-content: center; } .tab:hover { color: var(--primary-color); } .tab.active { color: var(--primary-color); font-weight: 600; background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 255, 1) 100%); } .tab.active::after { content: ''; position: absolute; bottom: -1px; left: 10%; width: 80%; height: 2px; background: var(--primary-gradient); border-radius: 2px; } .tab-content { padding: 0 0 6px; background: #fff; max-height: 40vh; overflow-y: auto; } .tab-pane { display: none; } .tab-pane.active { display: block; } .results-table { width: 100%; border-collapse: collapse; margin: 0; table-layout: fixed; } .results-table th, .results-table td { padding: 8px 4px; font-size: 12px; vertical-align: middle; } .results-table th { color: var(--text-secondary); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; padding-top: 8px; padding-bottom: 4px; } .results-table td { border-bottom: 1px solid #f8faff; } .results-table tr:last-child td { border-bottom: none; } .results-table th:first-child, .results-table td:first-child { width: 40%; text-align: left; padding-left: 12px; } .results-table th:nth-child(2), .results-table td:nth-child(2) { width: 20%; text-align: center; } .results-table th:last-child, .results-table td:last-child { width: 40%; text-align: right; padding-right: 12px; } .results-table .issue { color: var(--text-secondary); } .results-table td.number { padding: 0; } .results-table td.number div { margin: auto; } .result-tag { padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; min-width: 36px; text-align: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); letter-spacing: 0.3px; color: white; /* Ensure text is solid white */ } .result-tag.big { background: linear-gradient(135deg, #F25F5C 0%, #E93F3C 100%); } .result-tag.small { background: linear-gradient(135deg, #0ACF83 0%, #02AB63 100%); } .result-tag.win { background: linear-gradient(135deg, #0ACF83 0%, #02AB63 100%); } .result-tag.loss { background: linear-gradient(135deg, #F25F5C 0%, #E93F3C 100%); } .result-tag.premium { background: var(--primary-gradient); } .result-tag.lock { background: #f5f6fa; color: #8E9CBC; display: flex; align-items: center; justify-content: center; gap: 2px; box-shadow: none; } .show-toggle-container { display: flex; justify-content: center; padding: 4px 0 8px; background: #fff; } .show-toggle { color: var(--text-secondary); font-size: 11px; cursor: pointer; display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 4px; transition: all 0.2s ease; background: #f5f6fa; margin: 0 auto; } .show-toggle:hover { background: #eef0f7; color: var(--primary-color); } .show-toggle svg { transition: transform 0.2s; width: 10px; height: 10px; } .show-toggle.less svg { transform: rotate(180deg); } .num-circle { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .current-badge { background: var(--primary-gradient); color: white; padding: 2px 5px; border-radius: 4px; font-size: 9px; font-weight: 500; margin-left: 4px; text-transform: uppercase; letter-spacing: 0.3px; box-shadow: 0 2px 4px rgba(156, 106, 222, 0.2); } .hidden-row { display: none; } @keyframes menuFadeIn { to { opacity: 1; } } @keyframes menuScale { to { opacity: 1; transform: scale(1); } } @media (max-width: 380px) { .prediction-container { max-width: 280px; } .prediction-section { padding: 10px; } .info-label { font-size: 10px; } .info-value { font-size: 11px; } .results-table td, .results-table th { padding: 6px 2px; font-size: 11px; } .results-table th { font-size: 9px; } .num-circle { width: 20px; height: 20px; font-size: 11px; } .tab { font-size: 11px; padding: 8px 10px; } .prediction-header h2 { font-size: 15px; } }