.back-link {
  margin-bottom: 6px;
}

.back-link a {
  color: #ffc107;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.back-link a:hover {
  opacity: 0.85;
  transform: translateX(-2px);
}

.winlek-main {
  max-width: 720px;
  padding-top: 22px;
  padding-bottom: 48px;
}

.winlek-panel {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.winlek-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.winlek-input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(16, 35, 63, 0.08);
}

.winlek-input::placeholder {
  color: #9aadc4;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.winlek-input:focus {
  box-shadow:
    inset 0 0 0 1px rgba(30, 92, 255, 0.35),
    0 0 0 3px rgba(30, 92, 255, 0.2);
}

.winlek-reset {
  background: #d0021b;
  border-color: transparent;
}

.winlek-reset:hover {
  background: #b50117;
}

.winlek-hint {
  margin: 12px 0 0;
  color: var(--muted-inv);
  font-size: 13px;
}

.winlek-seed {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.winlek-seed-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-inv);
}

.winlek-seed-value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}

.winlek-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.winlek-card {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.winlek-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.winlek-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.winlek-card-title .num {
  color: #4ea1ff;
  font-weight: 800;
}

.winlek-card-title .tag-double {
  color: #ff5a6e;
  font-weight: 800;
}

.winlek-copy {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border-color: transparent;
  background: #1e5cff;
  color: #fff;
  font-size: 13px;
}

.winlek-copy:hover {
  background: #1749d1;
}

.winlek-copy.is-copied {
  background: #22c55e;
}

.winlek-card-body {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.2px;
  word-break: break-word;
  min-height: 52px;
}

.winlek-card-body.is-empty {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 520px) {
  .winlek-input-row .btn {
    flex: 1 1 auto;
  }

  .winlek-card-head {
    flex-wrap: wrap;
  }
}
