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

:root {
  --bg:         #0b0b18;
  --panel-bg:   #111124;
  --border:     #1e1e3a;
  --border-lit: #2e2e5a;
  --accent:     #7c3aed;
  --accent2:    #06b6d4;
  --green:      #22c55e;
  --red:        #ef4444;
  --amber:      #f59e0b;
  --text:       #e2e8f0;
  --muted:      #64748b;
  --radius:     12px;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

/* ── Layout ──────────────────────────────────────────── */
.app { display: flex; height: 100vh; }

/* ── Left Panel ──────────────────────────────────────── */
.panel {
  width: 260px;
  min-width: 260px;
  background: var(--panel-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px;
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.round-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Status Bar ──────────────────────────────────────── */
.status-bar { display: flex; gap: 6px; flex-wrap: wrap; }

.status-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 5px 10px;
  transition: border-color 0.3s, background 0.3s;
  flex: 1;
}
.status-item.connected {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.06);
}

.status-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.status-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
}

.status-desc {
  font-size: 0.62rem;
  color: var(--red);
}
.status-item.connected .status-desc { color: var(--green); }

.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(100,116,139,0.4);
  transition: background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.dot.on  { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot.off { background: var(--red);   box-shadow: 0 0 6px rgba(239,68,68,0.5); }

/* ── Keyword row ─────────────────────────────────────── */
.keyword-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.keyword-row .setting-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.keyword-input-wrap {
  display: flex;
  gap: 6px;
}
.keyword-input-wrap #keyword-input {
  flex: 1;
}
.btn-keyword-confirm {
  flex-shrink: 0;
  padding: 0 12px;
  border: 1px solid var(--border-lit);
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-keyword-confirm:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.btn-keyword-confirm.confirmed {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.4);
  color: var(--green);
}
.btn-keyword-confirm:disabled { opacity: 0.35; cursor: not-allowed; }
#keyword-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-lit);
  border-radius: 7px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 9px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#keyword-input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
#keyword-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#keyword-input::placeholder { color: #3a3a5c; }

/* ── Settings row ────────────────────────────────────── */
.settings-row {
  display: flex;
  gap: 8px;
}
.setting-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.setting-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.setting-item input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-lit);
  border-radius: 7px;
  color: var(--text);
  font-size: 0.88rem;
  padding: 6px 9px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.setting-item input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.setting-item input::placeholder { color: #3a3a5c; }

/* ── Controls ────────────────────────────────────────── */
.controls { display: flex; flex-direction: column; gap: 7px; }

.btn {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.15s, filter 0.15s, opacity 0.15s;
  position: relative;
  overflow: hidden;
}
.btn:not(:disabled):hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn:not(:disabled):active { transform: translateY(0); filter: brightness(0.95); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-start  { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.btn-stop   { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
.btn-resume { background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff; }
.btn-spin   { background: linear-gradient(135deg, #6d28d9, #7c3aed); color: #fff; box-shadow: 0 4px 18px rgba(124,58,237,0.35); }
.btn-next   { background: linear-gradient(135deg, #0e7490, #06b6d4); color: #fff; }
.btn-new     { background: linear-gradient(135deg, #0891b2, #38bdf8); color: #fff; }

.btn-row {
  display: flex;
  gap: 6px;
}
.btn-row .btn { flex: 1; }

.btn-records   { background: rgba(167,139,250,0.12); color: #a78bfa; border: 1px solid rgba(167,139,250,0.25); font-size: 0.8rem; }
.btn-test      { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border-lit); font-size: 0.8rem; }
.btn-exit-test { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.25); font-size: 0.8rem; }

/* ── Records overlay ─────────────────────────────────── */
.records-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,20,0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.records-modal {
  width: min(680px, 92vw);
  max-height: 80vh;
  background: linear-gradient(145deg, #1a1730, #0f0f23);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 24px 60px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.records-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.records-title {
  font-size: 1rem;
  font-weight: 700;
  color: #a78bfa;
}

.records-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon-danger {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-icon-danger:hover { background: rgba(239,68,68,0.22); }

.btn-icon-close {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--border-lit);
  border-radius: 7px;
  width: 30px; height: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.btn-icon-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.records-summary {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.rec-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rec-stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
}
.rec-stat-label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.records-body {
  overflow-y: auto;
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.records-body::-webkit-scrollbar { width: 3px; }
.records-body::-webkit-scrollbar-thumb { background: var(--border-lit); border-radius: 2px; }

.rec-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 0.9rem;
}

.rec-entry {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s;
}
.rec-entry:hover { border-color: rgba(167,139,250,0.3); }

.rec-entry-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-round-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(124,58,237,0.2);
  color: #a78bfa;
  border: 1px solid rgba(124,58,237,0.3);
  flex-shrink: 0;
}

.rec-time {
  font-size: 0.72rem;
  color: var(--muted);
}

.rec-winners {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rec-winner-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-lit);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.hidden { display: none !important; }

/* ── Collecting hint ─────────────────────────────────── */
.collecting-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--green);
  padding: 6px 10px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Participants ─────────────────────────────────────── */
.participants-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}

.participants-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 11px;
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  flex-shrink: 0;
  gap: 6px;
}

.participants-header-left { display: flex; align-items: center; gap: 6px; }

.btn-clear-list {
  background: none;
  border: 1px solid var(--border-lit);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  padding: 2px 7px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-clear-list:hover { color: var(--red); border-color: var(--red); }

.badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
}

.max-hint {
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: auto;
}
.max-hint.full { color: var(--amber); }

.participants-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.participants-list::-webkit-scrollbar { width: 3px; }
.participants-list::-webkit-scrollbar-track { background: transparent; }
.participants-list::-webkit-scrollbar-thumb { background: var(--border-lit); border-radius: 2px; }

.p-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 7px;
  font-size: 0.8rem;
  animation: slideIn 0.22s ease;
  transition: background 0.15s;
  border: 1px solid transparent;
}
.p-item:hover { background: rgba(255,255,255,0.06); }
.p-item.winner-highlight {
  background: rgba(124,58,237,0.18) !important;
  border-color: rgba(124,58,237,0.4);
}

.p-num  { font-size: 0.65rem; color: var(--muted); min-width: 16px; text-align: right; flex-shrink: 0; }
.p-name { flex: 1; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Source tags (reused in list + slot cards) ───────── */
.p-tag {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.tag-okx     { background: rgba(59,130,246,0.18); color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); }
.tag-binance { background: rgba(240,185,11,0.18); color: #f0b90b; border: 1px solid rgba(240,185,11,0.25); }
.tag-unknown { background: rgba(100,116,139,0.15); color: var(--muted); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── No-connection overlay ───────────────────────────── */
.no-conn-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(22,16,58,0.95) 0%, rgba(11,11,24,0.98) 70%);
  animation: fadeIn 0.3s ease;
}

.no-conn-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 24px;
  padding: 48px 60px;
  max-width: 520px;
  width: 90%;
}

.no-conn-icon {
  font-size: 3.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.no-conn-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #e2e8f0;
  letter-spacing: -0.02em;
}

.no-conn-desc {
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.no-conn-desc strong { color: #a78bfa; }

.no-conn-hint {
  font-size: 0.72rem;
  color: rgba(100,116,139,0.45);
}

.no-conn-btns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}

.no-conn-btn {
  flex: 1;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: filter 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
}
.no-conn-btn:hover { filter: brightness(1.12); transform: translateY(-2px); }

.btn-okx {
  background: linear-gradient(135deg, #1a56db, #3b82f6);
  color: #fff !important;
}
.btn-binance {
  background: linear-gradient(135deg, #b7860a, #f0b90b);
  color: #1a1000 !important;
}

/* ── Slot Area ───────────────────────────────────────── */
.slot-area {
  flex: 1;
  position: relative;
  background: radial-gradient(ellipse at 50% 50%, #16103a 0%, #0b0b18 70%);
  overflow: hidden;
}

.slot-area::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(124,58,237,0.07);
  filter: blur(80px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.slot-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  z-index: 1;
}

.slot-row {
  flex: 1;
  min-height: 0;
  max-height: 220px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* top + bottom pointers */
.slot-pointer-top,
.slot-pointer-bottom {
  width: 0; height: 0;
  border-left:  14px solid transparent;
  border-right: 14px solid transparent;
  position: relative;
  z-index: 5;
  filter: drop-shadow(0 0 8px rgba(249,115,22,0.8));
}
.slot-pointer-top {
  border-top: 22px solid #f97316;
  margin-bottom: -1px;
}
.slot-pointer-bottom {
  border-bottom: 22px solid #f97316;
  margin-top: -1px;
}

/* the scrolling track */
.slot-track {
  width: 100%;
  flex: 1;          /* fill space between the two pointers */
  min-height: 60px;
  max-height: 160px;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
  border-top:    2px solid rgba(249,115,22,0.5);
  border-bottom: 2px solid rgba(249,115,22,0.5);
}

/* center highlight window */
.slot-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 220px;
  transform: translateX(-50%);
  border-left:  2px solid rgba(249,115,22,0.55);
  border-right: 2px solid rgba(249,115,22,0.55);
  box-shadow:
    inset 0 0 30px rgba(249,115,22,0.08),
    0 0 20px rgba(249,115,22,0.2);
  z-index: 3;
  pointer-events: none;
}

/* edge fade overlays */
.slot-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #0b0b18 0%, transparent 28%,  transparent 72%, #0b0b18 100%);
  z-index: 4;
  pointer-events: none;
}

/* the moving strip */
.slot-inner {
  display: flex;
  align-items: center;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  will-change: transform;
}

/* individual name cards */
.slot-card {
  width: 200px;
  /* height set via JS based on row count */
  margin: 0 10px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30,27,75,0.9), rgba(15,15,35,0.9));
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.slot-card.slot-winner {
  border-color: rgba(249,115,22,0.7);
  box-shadow: 0 0 30px rgba(249,115,22,0.3);
  background: linear-gradient(145deg, rgba(124,58,237,0.25), rgba(15,15,35,0.95));
  animation: winnerPulse 0.6s ease;
}

@keyframes winnerPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.slot-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
  text-align: center;
  padding: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
}

.slot-card .p-tag {
  font-size: 0.68rem;
  padding: 3px 9px;
}

/* idle placeholder text */
.slot-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(167,139,250,0.4);
  font-size: 0.9rem;
  z-index: 2;
  pointer-events: none;
}
.slot-idle span { font-size: 0.75rem; color: rgba(100,116,139,0.5); }

/* ── Winner Overlay ──────────────────────────────────── */
.winner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,5,20,0.82);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.35s ease;
  z-index: 20;
}

.winner-card {
  text-align: center;
  padding: 36px 52px;
  background: linear-gradient(145deg, #1e1b4b 0%, #0f0f23 100%);
  border: 2px solid rgba(124,58,237,0.6);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04),
              0 20px 60px rgba(0,0,0,0.6),
              0 0 80px rgba(124,58,237,0.3);
  animation: popIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 480px;
  width: 90%;
}

.fireworks {
  font-size: 2.2rem;
  margin-bottom: 8px;
  animation: bounce 0.6s ease infinite alternate;
}
@keyframes bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

.winner-progress {
  font-size: 0.72rem;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 8px;
}

.winner-name {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(167,139,250,0.7);
  word-break: break-all;
  line-height: 1.2;
}

.winner-source-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

/* multiple winners grid */
.prev-winners {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-height: 55vh;
  overflow-y: auto;
}
.prev-winner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 28px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 16px;
  min-width: 140px;
}
.prev-winner-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 30px rgba(167,139,250,0.6);
  word-break: break-all;
  text-align: center;
  line-height: 1.2;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.65); }
  to   { opacity: 1; transform: scale(1); }
}
