@font-face { font-family: Manrope; src: url("../../assets/fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; } :root { font-family: Manrope, sans-serif; font-size: 13px; color-scheme: dark; --bg: #0c0c0e; --surface: #151518; --raised: #1e1e22; --text: #faf7f4; --muted: #a8a5ab; --line: #303035; --accent: #ffad98; --button: #faf7f4; --button-text: #111113; --focus: #ffad98; } [data-theme="light"] { color-scheme: light; --bg: #fcfbfa; --surface: #f2f0ee; --raised: #e9e6e3; --text: #1a191c; --muted: #615c65; --line: #d4cfd4; --accent: #923822; --button: #222024; --button-text: #fff; --focus: #923822; } * { box-sizing: border-box; } body { margin: 0; min-width: 280px; background: var(--bg); color: var(--text); line-height: 1.6; } button, input, select { font: inherit; } button, a, input, select { -webkit-tap-highlight-color: transparent; } button { cursor: pointer; } button:disabled { cursor: default; opacity: 0.5; } a { color: inherit; text-underline-offset: 4px; } button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; } ::selection { background: #a44133; color: #fff; } input { caret-color: var(--accent); } svg { width: 18px; height: 18px; flex: none; } p, h1, h2 { margin: 0; } .app { min-height: 100dvh; display: flex; flex-direction: column; max-width: 600px; margin: auto; } .header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 22px 20px 18px; } .logo { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 750; letter-spacing: -0.03em; white-space: nowrap; } .header-actions { display: flex; align-items: center; gap: 4px; } .header select { border: 0; background: transparent; color: var(--muted); padding: 7px 2px; font-size: 11px; border-radius: 6px; } .btn-icon { display: grid; place-items: center; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; width: 32px; height: 32px; } .status-bar { display: flex; gap: 8px; align-items: flex-start; padding: 0 20px 20px; min-height: 40px; } .status-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; margin-top: 7px; } .status-indicator.online { background: #74cda7; } .status-indicator.scanning { background: var(--accent); animation: pulse 1.4s ease-in-out infinite; } .status-text { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; } .main { flex: 1; padding: 0 20px 24px; display: flex; flex-direction: column; gap: 18px; } .stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .stat-card { padding: 16px 4px 15px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); } .stat-card.accent { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); } .stat-number { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; } .accent .stat-number { color: var(--accent); } .stat-label { display: block; font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 4px; } .btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; font-weight: 650; transition: background 160ms ease-out, transform 160ms ease-out; } .btn-primary { border: 0; background: var(--button); color: var(--button-text); min-height: 46px; padding: 12px 16px; width: 100%; } .btn-secondary { border: 1px solid var(--line); color: var(--text); background: transparent; padding: 6px 10px; font-size: 11px; min-height: 32px; } .btn-primary:active:not(:disabled), .btn-secondary:active:not(:disabled) { transform: scale(0.98); } .scan-details { font-size: 10px; color: var(--muted); margin-top: -7px; } .progress-bar { height: 3px; background: var(--line); overflow: hidden; border-radius: 3px; } .progress-fill { height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease-out; } .progress-text { font-size: 11px; color: var(--muted); margin-top: 12px; } .results-section { display: flex; flex-direction: column; gap: 12px; } .results-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .results-header h2 { font-size: 12px; font-weight: 600; } input[type="search"] { width: 100%; color: var(--text); border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 12px; font-size: 11px; } input::placeholder { color: var(--muted); } .results-list { display: flex; flex-direction: column; gap: 0; } .user-item { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); } .user-profile { display: flex; gap: 10px; align-items: center; min-width: 0; flex: 1; text-decoration: none; border-radius: 4px; } .user-avatar-wrapper { width: 32px; height: 32px; position: relative; flex: none; } .user-avatar-fallback, .user-avatar { position: absolute; inset: 0; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; } .user-avatar-fallback { display: grid; place-items: center; background: var(--raised); color: var(--muted); font-size: 10px; font-weight: 650; } .user-avatar { opacity: 0; } .user-info { min-width: 0; } .user-name { font-size: 12px; font-weight: 650; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .user-handle { font-size: 10px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; } .btn-unfollow { padding: 7px 8px; font-size: 11px; white-space: nowrap; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--text); transition: background 160ms ease-out; } .hint, .empty-state { font-size: 11px; color: var(--muted); } .empty-state { padding: 26px 8px; text-align: center; } .hint { line-height: 1.6; margin-top: 5px; } .footer { padding: 18px 20px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; } .footer-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; } .footer button { border: 0; background: none; color: inherit; font-size: 10px; padding: 4px 0; } .connect-section { padding: 22px 0 10px; } .connect-section h1 { font-size: 25px; line-height: 1.25; letter-spacing: -0.035em; max-width: 240px; margin-bottom: 12px; } .connect-section p { color: var(--muted); font-size: 12px; margin-bottom: 20px; } .connection-mark { color: var(--accent); margin-bottom: 18px; } .connection-mark svg { width: 30px; height: 30px; } .hidden { display: none !important; } .spinner { width: 15px; height: 15px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; } dialog { color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; width: calc(100% - 32px); max-width: 400px; } dialog::backdrop { background: #0009; } dialog h2 { font-size: 19px; line-height: 1.3; } dialog p { font-size: 12px; color: var(--muted); margin: 14px 0 22px; overflow-wrap: anywhere; } .dialog-actions { display: flex; gap: 10px; justify-content: flex-end; } .dialog-actions .btn-primary { width: auto; font-size: 12px; } .dialog-actions .btn-secondary { min-width: 75px; } * { scrollbar-width: thin; scrollbar-color: var(--line) var(--bg); } @keyframes spin { to { transform: rotate(360deg); } } @keyframes pulse { 50% { opacity: 0.4; } } @media (hover: hover) { .btn-primary:hover:not(:disabled) { background: var(--accent); color: var(--bg); } .btn-secondary:hover:not(:disabled), .btn-unfollow:hover:not(:disabled), .btn-icon:hover { background: var(--raised); } .user-profile:hover .user-name { color: var(--accent); } } @media (max-width: 315px) { .header, .main, .status-bar, .footer { padding-left: 14px; padding-right: 14px; } .logo { font-size: 12px; gap: 6px; } .user-item { gap: 5px; } .btn-unfollow { font-size: 11px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }