:root { --bg: #0e0f12; --panel: #16181d; --panel-2: #1e2128; --text: #e8e8ea; --muted: #8b8f99; --accent: #8b5cf6; --accent-2: #6d28d9; --border: #262932; --danger: #ef4444; --ok: #10b981; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.5; } main { max-width: 620px; margin: 0 auto; padding: 48px 20px 80px; } header { margin-bottom: 32px; } h1 { font-size: 32px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.02em; background: linear-gradient(90deg, #4285f4, #34a853, #fbbc04, #ea4335); -webkit-background-clip: text; background-clip: text; color: transparent; } .tag { color: var(--muted); margin: 0; } .view { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 28px; } .view + .view { margin-top: 16px; } .hidden { display: none !important; } h2 { margin: 0 0 16px; font-size: 20px; font-weight: 600; } h3 { margin: 24px 0 8px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; } .field { display: block; margin-bottom: 20px; } .field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; } input[type="text"], textarea { width: 100%; background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.15s; } input[type="text"]:focus, textarea:focus { border-color: var(--accent); } textarea { resize: vertical; min-height: 84px; } .picker { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-bottom: 10px; } .picker button { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 0; font-size: 22px; cursor: pointer; transition: transform 0.1s, border-color 0.1s; } .picker button:hover { transform: scale(1.08); } .picker button.selected { border-color: var(--accent); background: rgba(139, 92, 246, 0.12); } .upload { display: inline-block; font-size: 13px; color: var(--accent); cursor: pointer; margin-bottom: 10px; } .upload:hover { text-decoration: underline; } .preview img { width: 64px; height: 64px; border-radius: 50%; background: var(--panel-2); object-fit: cover; display: block; } .preview img:empty, .preview img[src=""] { display: none; } button { font-family: inherit; font-size: 14px; cursor: pointer; } button.primary { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: white; border: none; border-radius: 10px; padding: 12px 18px; font-weight: 600; width: 100%; transition: filter 0.15s, transform 0.05s; } button.primary:hover:not(:disabled) { filter: brightness(1.08); } button.primary:active:not(:disabled) { transform: translateY(1px); } button.primary:disabled { opacity: 0.5; cursor: not-allowed; } button.google { background: white; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 10px; padding: 12px 18px; font-weight: 500; font-size: 15px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; transition: background 0.15s, box-shadow 0.15s; } button.google:hover:not(:disabled) { background: #f6f9ff; box-shadow: 0 1px 3px rgba(0,0,0,0.15); } button.google:active:not(:disabled) { background: #ebf2ff; } button.google:disabled { opacity: 0.6; cursor: not-allowed; } button.google svg { width: 18px; height: 18px; flex-shrink: 0; } .banner-warn { background: rgba(234, 67, 53, 0.1); border: 1px solid rgba(234, 67, 53, 0.4); color: #ffd2cd; border-radius: 10px; padding: 14px 16px; font-size: 13px; margin-bottom: 16px; line-height: 1.55; } .banner-warn code { background: rgba(0,0,0,0.35); border-radius: 4px; padding: 1px 6px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; } .banner-warn a { color: #ffe; } button.ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; } button.ghost:hover { color: var(--text); border-color: var(--muted); } .status { font-size: 13px; color: var(--muted); margin: 12px 0 0; min-height: 18px; } .status.error { color: var(--danger); } .status.ok { color: var(--ok); } .secondary { font-size: 13px; color: var(--muted); margin-top: 18px; } .secondary a { color: var(--accent); text-decoration: none; } .secondary a:hover { text-decoration: underline; } .profile { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; margin-bottom: 24px; } .profile img { width: 64px; height: 64px; border-radius: 50%; background: var(--panel-2); object-fit: cover; } .profile h2 { margin: 0; } .profile .npub { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--muted); margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 360px; } .composer { display: grid; gap: 10px; margin-bottom: 8px; } .relays-bar { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; color: var(--muted); } .relays-bar .label { text-transform: uppercase; letter-spacing: 0.05em; } .relay-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; background: var(--border); cursor: help; transition: background 0.2s; } .relay-dot.open { background: var(--ok); } .relay-dot.connecting { background: #facc15; animation: pulse 1s infinite; } .relay-dot.timeout, .relay-dot.closed { background: var(--danger); } @keyframes pulse { 50% { opacity: 0.4; } } table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; } th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; } td:first-child { color: var(--muted); white-space: nowrap; width: 140px; font-variant-numeric: tabular-nums; } tbody tr:last-child td { border-bottom: none; }